Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust-toolchain.toml to scrypto package template #1981

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

iamyulong
Copy link
Member

Summary

Add rust-toolchain.toml to scrypto package template

Testing

Existing tests and manual local test.

Copy link

github-actions bot commented Oct 28, 2024

Docker tags
docker.io/radixdlt/private-scrypto-builder:38b5b7156d

Copy link

github-actions bot commented Oct 28, 2024

Benchmark for 38b5b71

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 44.1±0.15ms 44.2±0.09ms +0.23%
costing::decode_encoded_i8_array_to_manifest_raw_value 19.7±0.09ms 19.7±0.11ms 0.00%
costing::decode_encoded_i8_array_to_manifest_value 41.9±0.05ms 42.5±0.08ms +1.43%
costing::decode_encoded_tuple_array_to_manifest_raw_value 63.7±0.17ms 63.5±0.11ms -0.31%
costing::decode_encoded_tuple_array_to_manifest_value 98.2±0.19ms 99.1±0.17ms +0.92%
costing::decode_encoded_u8_array_to_manifest_raw_value 26.1±0.06µs 32.4±0.14µs +24.14%
costing::decode_encoded_u8_array_to_manifest_value 41.8±0.04ms 42.6±0.10ms +1.91%
costing::decode_rpd_to_manifest_raw_value 12.5±0.04µs 12.6±0.04µs +0.80%
costing::decode_rpd_to_manifest_value 11.0±0.01µs 11.0±0.07µs 0.00%
costing::deserialize_wasm 1235.5±8.05µs 1236.7±6.69µs +0.10%
costing::execute_transaction_creating_big_vec_substates 688.1±4.65ms 691.7±9.17ms +0.52%
costing::execute_transaction_reading_big_vec_substates 574.9±0.69ms 598.5±2.10ms +4.11%
costing::instantiate_flash_loan 949.2±540.00µs 1001.1±1286.86µs +5.47%
costing::instantiate_radiswap 984.1±1197.02µs 1051.2±1230.12µs +6.82%
costing::scrypto_malloc 622.3±0.64ms 588.4±1.74ms -5.45%
costing::scrypto_sbor_decode 592.9±1.16ms 557.8±8.95ms -5.92%
costing::scrypto_sha256 409.4±1.65ms 394.4±4.36ms -3.66%
costing::spin_loop_v1 709.5±0.43ms 619.8±50.92ms -12.64%
costing::spin_loop_v2 3.2±0.02s 2.7±0.00s -15.63%
costing::validate_sbor_payload 32.0±0.09µs 29.8±0.08µs -6.87%
costing::validate_sbor_payload_bytes 274.9±0.69ns 247.0±0.73ns -10.15%
costing::validate_secp256k1 76.7±0.09µs 76.6±0.08µs -0.13%
costing::validate_wasm 33.5±0.05ms 33.4±0.03ms -0.30%
decimal::add/0 8.4±0.00ns 8.4±0.01ns 0.00%
decimal::add/rust-native 9.8±0.00ns 9.8±0.00ns 0.00%
decimal::add/wasmi 220.5±0.26ns 229.9±0.37ns +4.26%
decimal::add/wasmi-call-native 2.2±0.00µs 2.2±0.01µs 0.00%
decimal::div/0 168.2±0.11ns 168.3±0.07ns +0.06%
decimal::from_string/0 155.9±0.14ns 155.9±0.08ns 0.00%
decimal::mul/0 129.0±0.16ns 128.8±0.15ns -0.16%
decimal::mul/rust-native 127.5±0.10ns 127.4±0.05ns -0.08%
decimal::mul/wasmi 11.5±0.09µs 11.4±0.10µs -0.87%
decimal::mul/wasmi-call-native 2.2±0.01µs 2.2±0.01µs 0.00%
decimal::pow/0 592.7±0.52ns 602.7±0.34ns +1.69%
decimal::pow/rust-native 588.3±0.31ns 588.7±0.56ns +0.07%
decimal::pow/wasmi 57.3±0.80µs 57.3±0.60µs 0.00%
decimal::pow/wasmi-call-native 3.3±0.01µs 3.2±0.02µs -3.03%
decimal::root/0 8.5±0.01µs 8.1±0.00µs -4.71%
decimal::sub/0 8.2±0.01ns 8.2±0.01ns 0.00%
decimal::to_string/0 444.6±0.68ns 442.3±0.61ns -0.52%
large_transaction_processing::prepare 2.5±0.00ms 2.6±0.00ms +4.00%
large_transaction_processing::prepare_and_decompile 6.2±0.01ms 6.4±0.03ms +3.23%
large_transaction_processing::prepare_and_decompile_and_recompile 29.9±1.28ms 29.6±1.77ms -1.00%
metadata_validation::validate_urls 5.0±0.09µs 4.9±0.13µs -2.00%
precise_decimal::add/0 8.9±0.00ns 8.9±0.01ns 0.00%
precise_decimal::add/rust-native 10.8±0.10ns 10.8±0.15ns 0.00%
precise_decimal::add/wasmi 275.4±0.83ns 278.7±0.46ns +1.20%
precise_decimal::add/wasmi-call-native 2.8±0.00µs 2.8±0.00µs 0.00%
precise_decimal::div/0 295.9±1.46ns 295.5±0.67ns -0.14%
precise_decimal::from_string/0 201.8±0.16ns 201.2±0.22ns -0.30%
precise_decimal::mul/0 338.8±1.01ns 339.1±1.64ns +0.09%
precise_decimal::mul/rust-native 286.9±0.29ns 287.3±0.18ns +0.14%
precise_decimal::mul/wasmi 33.5±0.13µs 31.9±0.28µs -4.78%
precise_decimal::mul/wasmi-call-native 3.1±0.00µs 3.1±0.00µs 0.00%
precise_decimal::pow/0 1723.4±2.78ns 1726.4±1.20ns +0.17%
precise_decimal::pow/rust-native 1357.0±1.14ns 1357.9±0.90ns +0.07%
precise_decimal::pow/wasmi 162.0±0.62µs 159.3±1.13µs -1.67%
precise_decimal::pow/wasmi-call-native 5.3±0.01µs 5.3±0.01µs 0.00%
precise_decimal::root/0 59.3±0.11µs 58.5±0.04µs -1.35%
precise_decimal::sub/0 9.2±0.02ns 9.2±0.05ns 0.00%
precise_decimal::to_string/0 694.4±1.62ns 691.6±0.73ns -0.40%
schema::validate_payload 383.6±0.57µs 383.4±0.36µs -0.05%
transaction::radiswap 4.7±0.02ms 4.7±0.02ms 0.00%
transaction::transfer 1800.1±3.00µs 1801.5±3.40µs +0.08%
transaction_validation::validate_manifest 43.1±0.06µs 43.1±0.04µs 0.00%
transaction_validation::verify_bls_2KB 1057.2±33.77µs 1087.1±18.84µs +2.83%
transaction_validation::verify_bls_32B 1051.3±29.10µs 1006.6±11.04µs -4.25%
transaction_validation::verify_ecdsa 74.6±0.06µs 74.6±0.07µs 0.00%
transaction_validation::verify_ed25519 42.4±0.06µs 42.6±0.17µs +0.47%

@iamyulong iamyulong merged commit 87bfced into develop Oct 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants