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 scrypto toolchain install shell scripts #2000

Merged
merged 5 commits into from
Nov 29, 2024

Conversation

azizi-a
Copy link
Contributor

@azizi-a azizi-a commented Nov 13, 2024

Summary

Add Scrypto toolchain install scripts for macOS, Linux (Debian based distros) and Windows.

Copy link

github-actions bot commented Nov 13, 2024

Docker tags
docker.io/radixdlt/private-scrypto-builder:0b0c8a919e

Copy link

github-actions bot commented Nov 13, 2024

Benchmark for 0b0c8a9

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 44.5±0.24ms 44.7±0.22ms +0.45%
costing::decode_encoded_i8_array_to_manifest_raw_value 19.6±0.01ms 19.3±0.01ms -1.53%
costing::decode_encoded_i8_array_to_manifest_value 40.6±0.08ms 42.2±0.09ms +3.94%
costing::decode_encoded_tuple_array_to_manifest_raw_value 71.3±0.11ms 72.2±0.15ms +1.26%
costing::decode_encoded_tuple_array_to_manifest_value 98.5±0.20ms 99.4±0.25ms +0.91%
costing::decode_encoded_u8_array_to_manifest_raw_value 32.5±0.21µs 32.4±0.12µs -0.31%
costing::decode_encoded_u8_array_to_manifest_value 40.6±0.10ms 42.4±0.08ms +4.43%
costing::decode_rpd_to_manifest_raw_value 14.7±0.04µs 14.8±0.13µs +0.68%
costing::decode_rpd_to_manifest_value 10.8±0.06µs 10.7±0.02µs -0.93%
costing::deserialize_wasm 1209.4±5.52µs 1238.2±5.48µs +2.38%
costing::execute_transaction_creating_big_vec_substates 681.4±3.19ms 705.0±12.11ms +3.46%
costing::execute_transaction_reading_big_vec_substates 568.3±1.59ms 602.9±1.21ms +6.09%
costing::instantiate_flash_loan 881.6±352.35µs 884.7±518.38µs +0.35%
costing::instantiate_radiswap 992.4±831.42µs 1090.3±1708.73µs +9.86%
costing::scrypto_malloc 679.0±2.09ms 680.2±2.14ms +0.18%
costing::scrypto_sbor_decode 662.7±2.86ms 658.0±0.69ms -0.71%
costing::scrypto_sha256 584.2±0.71ms 582.8±0.62ms -0.24%
costing::spin_loop_v1 508.5±0.78ms 509.7±1.17ms +0.24%
costing::spin_loop_v2 595.4±1.13ms 597.7±1.02ms +0.39%
costing::validate_sbor_payload 29.6±0.06µs 30.7±0.07µs +3.72%
costing::validate_sbor_payload_bytes 249.1±0.58ns 253.1±0.62ns +1.61%
costing::validate_secp256k1 76.5±0.05µs 76.5±0.08µs 0.00%
costing::validate_wasm 33.5±0.04ms 33.5±0.03ms 0.00%
decimal::add/0 8.4±0.01ns 8.4±0.00ns 0.00%
decimal::add/rust-native 9.8±0.00ns 9.8±0.00ns 0.00%
decimal::add/wasmi 307.8±1.54ns 309.0±3.06ns +0.39%
decimal::add/wasmi-call-native 2.8±0.00µs 2.8±0.00µs 0.00%
decimal::div/0 166.6±0.12ns 168.6±0.36ns +1.20%
decimal::from_string/0 163.6±0.13ns 156.4±0.11ns -4.40%
decimal::mul/0 126.6±0.03ns 129.6±0.06ns +2.37%
decimal::mul/rust-native 125.3±0.29ns 124.8±0.06ns -0.40%
decimal::mul/wasmi 19.3±0.10µs 19.2±0.03µs -0.52%
decimal::mul/wasmi-call-native 3.0±0.01µs 3.0±0.00µs 0.00%
decimal::pow/0 592.6±0.35ns 592.0±0.27ns -0.10%
decimal::pow/rust-native 590.0±0.29ns 590.5±0.35ns +0.08%
decimal::pow/wasmi 91.4±0.11µs 91.1±0.33µs -0.33%
decimal::pow/wasmi-call-native 4.7±0.02µs 4.7±0.02µs 0.00%
decimal::root/0 8.0±0.02µs 8.1±0.01µs +1.25%
decimal::sub/0 8.2±0.00ns 8.4±0.01ns +2.44%
decimal::to_string/0 444.5±0.93ns 440.5±0.34ns -0.90%
large_transaction_processing::prepare 3.1±0.00ms 2.5±0.00ms -19.35%
large_transaction_processing::prepare_and_decompile 6.1±0.01ms 6.2±0.03ms +1.64%
large_transaction_processing::prepare_and_decompile_and_recompile 31.4±0.15ms 31.9±0.50ms +1.59%
metadata_validation::validate_urls 5.1±0.09µs 4.7±0.01µs -7.84%
precise_decimal::add/0 8.7±0.03ns 8.7±0.01ns 0.00%
precise_decimal::add/rust-native 10.6±0.01ns 10.6±0.01ns 0.00%
precise_decimal::add/wasmi 420.0±5.51ns 426.3±4.33ns +1.50%
precise_decimal::add/wasmi-call-native 3.6±0.00µs 3.7±0.02µs +2.78%
precise_decimal::div/0 289.7±0.41ns 286.7±0.52ns -1.04%
precise_decimal::from_string/0 201.1±0.16ns 204.2±0.29ns +1.54%
precise_decimal::mul/0 336.1±2.45ns 342.0±3.73ns +1.76%
precise_decimal::mul/rust-native 283.5±0.43ns 283.3±0.49ns -0.07%
precise_decimal::mul/wasmi 47.8±0.09µs 47.8±0.12µs 0.00%
precise_decimal::mul/wasmi-call-native 4.2±0.01µs 4.2±0.00µs 0.00%
precise_decimal::pow/0 1732.0±4.54ns 1738.0±2.89ns +0.35%
precise_decimal::pow/rust-native 1354.3±1.38ns 1353.1±1.30ns -0.09%
precise_decimal::pow/wasmi 228.5±0.33µs 227.4±0.88µs -0.48%
precise_decimal::pow/wasmi-call-native 7.5±0.05µs 7.4±0.03µs -1.33%
precise_decimal::root/0 58.1±0.03µs 57.6±0.03µs -0.86%
precise_decimal::sub/0 9.0±0.03ns 9.0±0.15ns 0.00%
precise_decimal::to_string/0 701.9±1.44ns 705.9±4.04ns +0.57%
schema::validate_payload 379.5±0.75µs 393.0±0.72µs +3.56%
transaction::radiswap 5.0±0.02ms 5.0±0.02ms 0.00%
transaction::transfer 1802.1±6.17µs 1812.1±12.18µs +0.55%
transaction_validation::validate_manifest 43.1±0.04µs 43.2±0.05µs +0.23%
transaction_validation::verify_bls_2KB 960.8±14.18µs 978.8±22.55µs +1.87%
transaction_validation::verify_bls_32B 977.7±27.06µs 987.0±26.19µs +0.95%
transaction_validation::verify_ecdsa 74.5±0.06µs 74.4±0.10µs -0.13%
transaction_validation::verify_ed25519 42.3±0.06µs 42.6±0.05µs +0.71%

@azizi-a azizi-a changed the base branch from main to develop November 18, 2024 08:56
@azizi-a azizi-a force-pushed the add-scrypto-install-shell-scripts branch 4 times, most recently from ca61f99 to 97d1fb2 Compare November 19, 2024 22:20
@azizi-a azizi-a marked this pull request as ready for review November 19, 2024 22:21
@azizi-a azizi-a requested review from dhedey and iamyulong November 19, 2024 22:22
@azizi-a azizi-a force-pushed the add-scrypto-install-shell-scripts branch 4 times, most recently from daef499 to 5aba962 Compare November 22, 2024 18:37
@azizi-a azizi-a changed the base branch from develop to release/cuttlefish November 27, 2024 18:04
@azizi-a azizi-a force-pushed the add-scrypto-install-shell-scripts branch 13 times, most recently from f5c5bbf to 2378086 Compare November 29, 2024 10:27
@azizi-a azizi-a force-pushed the add-scrypto-install-shell-scripts branch from 2378086 to 28b0758 Compare November 29, 2024 13:34
@azizi-a azizi-a merged commit 0f1c6cf into release/cuttlefish Nov 29, 2024
31 checks passed
@azizi-a azizi-a deleted the add-scrypto-install-shell-scripts branch November 29, 2024 14:36
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