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

Test - moving proofs and buckets #1621

Merged
merged 14 commits into from
Oct 16, 2023
Merged

Test - moving proofs and buckets #1621

merged 14 commits into from
Oct 16, 2023

Conversation

mstrug-rdx
Copy link
Contributor

Summary

Added test on moving Bucket and Proof between components.

@github-actions
Copy link

github-actions bot commented Oct 12, 2023

Benchmark for 841410d

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 77.4±0.45ms 77.5±0.40ms +0.13%
costing::decode_sbor 16.3±0.04µs 16.3±0.06µs 0.00%
costing::decode_sbor_bytes 52.1±0.16µs 51.0±0.84µs -2.11%
costing::deserialize_wasm 1401.9±4.74µs 1403.3±10.66µs +0.10%
costing::instantiate_flash_loan 4.1±0.39ms 4.1±0.06ms 0.00%
costing::instantiate_radiswap 5.8±0.08ms 5.9±0.05ms +1.72%
costing::spin_loop 26.3±0.06ms 28.7±0.06ms +9.13%
costing::validate_sbor_payload 30.8±0.04µs 30.8±0.07µs 0.00%
costing::validate_sbor_payload_bytes 378.9±0.83ns 391.7±4.92ns +3.38%
costing::validate_secp256k1 87.5±0.22µs 87.8±0.89µs +0.34%
costing::validate_wasm 42.7±0.06ms 43.2±0.06ms +1.17%
decimal::add/0 9.3±0.00ns 9.3±0.06ns 0.00%
decimal::add/rust-native 10.8±0.01ns 11.0±0.01ns +1.85%
decimal::add/wasmer 143.0±1.38ns 130.6±0.25ns -8.67%
decimal::add/wasmer-call-native 570.7±2.22ns 565.2±0.63ns -0.96%
decimal::add/wasmi 821.0±7.64ns 799.7±4.40ns -2.59%
decimal::add/wasmi-call-native 8.3±0.01µs 8.3±0.02µs 0.00%
decimal::div/0 200.6±0.18ns 201.8±1.12ns +0.60%
decimal::from_string/0 181.7±1.14ns 181.8±0.88ns +0.06%
decimal::mul/0 158.3±0.20ns 155.5±0.25ns -1.77%
decimal::mul/rust-native 153.2±0.44ns 152.6±0.10ns -0.39%
decimal::mul/wasmer 1745.4±2.23ns 1689.6±1.15ns -3.20%
decimal::mul/wasmer-call-native 754.0±4.57ns 712.9±3.38ns -5.45%
decimal::mul/wasmi 60.5±0.14µs 60.8±0.16µs +0.50%
decimal::mul/wasmi-call-native 8.5±0.01µs 8.4±0.02µs -1.18%
decimal::pow/0 722.5±0.60ns 723.6±0.40ns +0.15%
decimal::pow/rust-native 697.3±0.94ns 699.4±0.70ns +0.30%
decimal::pow/wasmer 7.3±0.00µs 7.7±0.01µs +5.48%
decimal::pow/wasmer-call-native 1206.0±1.46ns 1175.4±3.19ns -2.54%
decimal::pow/wasmi 281.1±0.23µs 283.8±1.04µs +0.96%
decimal::pow/wasmi-call-native 7.4±0.01µs 7.4±0.02µs 0.00%
decimal::root/0 9.8±0.02µs 9.2±0.02µs -6.12%
decimal::sub/0 9.4±0.01ns 9.4±0.03ns 0.00%
decimal::to_string/0 496.1±2.48ns 495.8±1.88ns -0.06%
precise_decimal::add/0 10.5±0.08ns 11.1±0.01ns +5.71%
precise_decimal::add/rust-native 12.6±0.07ns 12.3±0.00ns -2.38%
precise_decimal::add/wasmer 157.0±1.09ns 136.4±0.13ns -13.12%
precise_decimal::add/wasmer-call-native 578.1±0.77ns 579.8±0.65ns +0.29%
precise_decimal::add/wasmi 1023.7±3.79ns 1015.5±6.21ns -0.80%
precise_decimal::add/wasmi-call-native 8.8±0.01µs 8.8±0.01µs 0.00%
precise_decimal::div/0 326.8±0.71ns 326.4±0.80ns -0.12%
precise_decimal::from_string/0 226.1±0.41ns 224.6±0.20ns -0.66%
precise_decimal::mul/0 347.9±4.07ns 346.7±0.56ns -0.34%
precise_decimal::mul/rust-native 324.4±0.75ns 324.0±0.62ns -0.12%
precise_decimal::mul/wasmer 3.8±0.01µs 3.8±0.00µs 0.00%
precise_decimal::mul/wasmer-call-native 958.9±1.13ns 932.6±1.78ns -2.74%
precise_decimal::mul/wasmi 151.9±0.07µs 150.9±0.13µs -0.66%
precise_decimal::mul/wasmi-call-native 9.4±0.03µs 9.3±0.01µs -1.06%
precise_decimal::pow/0 2.0±0.00µs 1999.9±4.83ns -0.00%
precise_decimal::pow/rust-native 1593.7±13.02ns 1577.3±3.29ns -1.03%
precise_decimal::pow/wasmer 18.0±0.01µs 18.1±0.04µs +0.56%
precise_decimal::pow/wasmer-call-native 2.3±0.00µs 2.3±0.00µs 0.00%
precise_decimal::pow/wasmi 730.2±0.95µs 731.1±2.04µs +0.12%
precise_decimal::pow/wasmi-call-native 16.5±0.05µs 16.5±0.04µs 0.00%
precise_decimal::root/0 64.7±0.03µs 64.7±0.15µs 0.00%
precise_decimal::sub/0 10.5±0.00ns 10.6±0.01ns +0.95%
precise_decimal::to_string/0 792.8±12.86ns 786.2±4.21ns -0.83%
schema::validate_payload 359.6±0.70µs 352.4±0.60µs -2.00%
transaction::radiswap 7.4±0.10ms 7.5±0.06ms +1.35%
transaction::transfer 2.6±0.00ms 2.6±0.01ms 0.00%
transaction_processing::prepare 2.8±0.00ms 2.8±0.00ms 0.00%
transaction_processing::prepare_and_decompile 7.1±0.01ms 7.1±0.01ms 0.00%
transaction_processing::prepare_and_decompile_and_recompile 26.7±0.14ms 27.5±0.14ms +3.00%
transaction_validation::validate_manifest 48.5±0.03µs 48.5±0.02µs 0.00%
transaction_validation::verify_ecdsa 85.1±0.31µs 84.9±0.06µs -0.24%
transaction_validation::verify_ed25519 60.7±0.08µs 60.6±0.10µs -0.16%

@mstrug-rdx mstrug-rdx merged commit 41f285f into develop Oct 16, 2023
@mstrug-rdx mstrug-rdx deleted the test/moving-proofs branch October 16, 2023 14:34
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