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

Enable portable feature on blst #1882

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

iamyulong
Copy link
Member

No description provided.

Copy link

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

Copy link

Benchmark for a0f4ae4

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 65.9±0.15ms 65.8±0.09ms -0.15%
costing::decode_sbor 11.0±0.04µs 10.8±0.02µs -1.82%
costing::decode_sbor_bytes 29.1±0.03µs 29.2±0.04µs +0.34%
costing::deserialize_wasm 1305.8±5.23µs 1309.2±2.68µs +0.26%
costing::instantiate_flash_loan 4.0±0.81ms 3.9±0.34ms -2.50%
costing::instantiate_radiswap 5.7±0.07ms 5.9±0.07ms +3.51%
costing::spin_loop 22.0±0.05ms 21.6±0.03ms -1.82%
costing::validate_sbor_payload 30.1±0.03µs 30.8±0.04µs +2.33%
costing::validate_sbor_payload_bytes 246.9±0.93ns 284.2±0.99ns +15.11%
costing::validate_secp256k1 76.6±0.23µs 76.7±0.06µs +0.13%
costing::validate_wasm 36.8±0.06ms 37.8±0.05ms +2.72%
decimal::add/0 8.4±0.00ns 8.4±0.00ns 0.00%
decimal::add/rust-native 9.8±0.01ns 9.8±0.00ns 0.00%
decimal::add/wasmer 116.9±0.20ns 120.6±0.13ns +3.17%
decimal::add/wasmer-call-native 453.6±2.98ns 463.2±0.24ns +2.12%
decimal::add/wasmi 713.3±4.74ns 618.5±2.61ns -13.29%
decimal::add/wasmi-call-native 5.3±0.03µs 5.4±0.04µs +1.89%
decimal::div/0 190.6±0.09ns 190.8±0.20ns +0.10%
decimal::from_string/0 150.3±0.11ns 153.4±0.21ns +2.06%
decimal::mul/0 142.6±0.14ns 141.6±0.40ns -0.70%
decimal::mul/rust-native 137.2±0.32ns 138.5±0.04ns +0.95%
decimal::mul/wasmer 1488.1±1.44ns 1527.1±1.23ns +2.62%
decimal::mul/wasmer-call-native 591.9±0.55ns 605.6±0.26ns +2.31%
decimal::mul/wasmi 46.4±0.16µs 47.1±0.05µs +1.51%
decimal::mul/wasmi-call-native 5.3±0.01µs 5.4±0.01µs +1.89%
decimal::pow/0 651.4±0.53ns 657.3±0.81ns +0.91%
decimal::pow/rust-native 634.4±0.57ns 632.5±0.38ns -0.30%
decimal::pow/wasmer 6.8±0.01µs 6.5±0.00µs -4.41%
decimal::pow/wasmer-call-native 1027.6±0.43ns 1037.7±0.71ns +0.98%
decimal::pow/wasmi 223.6±2.39µs 227.6±0.07µs +1.79%
decimal::pow/wasmi-call-native 5.3±0.02µs 5.4±0.06µs +1.89%
decimal::root/0 7.8±0.01µs 8.0±0.03µs +2.56%
decimal::sub/0 8.5±0.01ns 8.5±0.01ns 0.00%
decimal::to_string/0 444.1±1.19ns 446.8±1.25ns +0.61%
precise_decimal::add/0 9.4±0.11ns 9.5±0.00ns +1.06%
precise_decimal::add/rust-native 11.6±0.00ns 11.6±0.00ns 0.00%
precise_decimal::add/wasmer 115.5±0.10ns 113.8±0.10ns -1.47%
precise_decimal::add/wasmer-call-native 487.9±0.28ns 502.0±0.79ns +2.89%
precise_decimal::add/wasmi 856.9±4.26ns 797.5±6.59ns -6.93%
precise_decimal::add/wasmi-call-native 6.6±0.01µs 6.9±0.03µs +4.55%
precise_decimal::div/0 300.1±0.29ns 307.4±1.85ns +2.43%
precise_decimal::from_string/0 195.5±0.12ns 196.3±0.27ns +0.41%
precise_decimal::mul/0 357.6±4.55ns 355.5±2.09ns -0.59%
precise_decimal::mul/rust-native 303.7±0.17ns 301.9±0.43ns -0.59%
precise_decimal::mul/wasmer 3.4±0.00µs 3.5±0.00µs +2.94%
precise_decimal::mul/wasmer-call-native 814.6±1.33ns 816.6±1.23ns +0.25%
precise_decimal::mul/wasmi 118.4±0.09µs 120.4±0.27µs +1.69%
precise_decimal::mul/wasmi-call-native 7.2±0.03µs 7.4±0.06µs +2.78%
precise_decimal::pow/0 1924.3±8.69ns 1863.5±3.48ns -3.16%
precise_decimal::pow/rust-native 1442.0±1.22ns 1452.2±3.28ns +0.71%
precise_decimal::pow/wasmer 16.4±0.01µs 16.1±0.01µs -1.83%
precise_decimal::pow/wasmer-call-native 2.1±0.00µs 2.1±0.00µs 0.00%
precise_decimal::pow/wasmi 577.3±0.24µs 562.0±0.29µs -2.65%
precise_decimal::pow/wasmi-call-native 14.7±0.08µs 14.5±0.05µs -1.36%
precise_decimal::root/0 57.1±0.01µs 57.8±0.03µs +1.23%
precise_decimal::sub/0 9.4±0.07ns 9.5±0.00ns +1.06%
precise_decimal::to_string/0 722.6±1.01ns 742.1±2.34ns +2.70%
schema::validate_payload 342.9±0.33µs 359.6±0.25µs +4.87%
transaction::radiswap 5.5±0.04ms 5.6±0.03ms +1.82%
transaction::transfer 1772.4±1.93µs 1823.8±4.56µs +2.90%
transaction_processing::prepare 2.2±0.00ms 2.3±0.00ms +4.55%
transaction_processing::prepare_and_decompile 6.0±0.01ms 6.3±0.03ms +5.00%
transaction_processing::prepare_and_decompile_and_recompile 26.6±1.99ms 24.5±0.15ms -7.89%
transaction_validation::validate_manifest 42.3±0.03µs 42.4±0.04µs +0.24%
transaction_validation::verify_bls_2KB 1003.2±11.78µs 1003.6±11.68µs +0.04%
transaction_validation::verify_bls_32B 1005.0±13.87µs 1022.7±32.07µs +1.76%
transaction_validation::verify_ecdsa 74.7±0.07µs 74.5±0.05µs -0.27%
transaction_validation::verify_ed25519 54.6±0.07µs 55.1±0.05µs +0.92%

@iamyulong iamyulong marked this pull request as ready for review August 20, 2024 12:31
@iamyulong iamyulong merged commit e602344 into release/bottlenose Aug 20, 2024
35 of 36 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