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

Tool: Add checker object count #1626

Merged
merged 6 commits into from
Oct 16, 2023
Merged

Conversation

talekhinezh
Copy link
Member

Add object counting to database checker

@talekhinezh talekhinezh marked this pull request as ready for review October 13, 2023 19:33
@talekhinezh talekhinezh changed the base branch from main to develop October 13, 2023 19:33
@github-actions
Copy link

Benchmark for 1066dd9

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 79.2±1.76ms 77.6±0.53ms -2.02%
costing::decode_sbor 17.0±0.15µs 17.0±0.17µs 0.00%
costing::decode_sbor_bytes 48.7±0.41µs 48.5±0.38µs -0.41%
costing::deserialize_wasm 1397.8±3.50µs 1405.5±3.20µs +0.55%
costing::instantiate_flash_loan 4.4±0.68ms 4.2±0.57ms -4.55%
costing::instantiate_radiswap 5.6±0.09ms 5.7±0.08ms +1.79%
costing::spin_loop 28.2±0.31ms 26.1±0.07ms -7.45%
costing::validate_sbor_payload 30.9±0.06µs 30.6±0.04µs -0.97%
costing::validate_sbor_payload_bytes 370.5±0.71ns 386.8±0.96ns +4.40%
costing::validate_secp256k1 87.5±0.05µs 87.4±0.03µs -0.11%
costing::validate_wasm 43.7±0.05ms 43.7±0.11ms 0.00%
decimal::add/0 9.3±0.00ns 9.3±0.00ns 0.00%
decimal::add/rust-native 10.9±0.01ns 10.9±0.01ns 0.00%
decimal::add/wasmer 127.5±0.08ns 141.2±1.81ns +10.75%
decimal::add/wasmer-call-native 546.3±0.66ns 564.0±0.81ns +3.24%
decimal::add/wasmi 794.3±3.33ns 817.5±5.84ns +2.92%
decimal::add/wasmi-call-native 8.7±0.01µs 8.2±0.01µs -5.75%
decimal::div/0 199.6±1.86ns 201.7±0.22ns +1.05%
decimal::from_string/0 160.0±0.34ns 176.2±0.39ns +10.12%
decimal::mul/0 157.3±0.16ns 157.3±0.21ns 0.00%
decimal::mul/rust-native 151.3±0.31ns 153.9±0.07ns +1.72%
decimal::mul/wasmer 1698.8±4.27ns 1685.8±3.94ns -0.77%
decimal::mul/wasmer-call-native 708.9±0.35ns 706.2±0.71ns -0.38%
decimal::mul/wasmi 61.0±0.11µs 60.5±0.09µs -0.82%
decimal::mul/wasmi-call-native 8.5±0.01µs 8.4±0.01µs -1.18%
decimal::pow/0 722.3±0.55ns 729.0±1.00ns +0.93%
decimal::pow/rust-native 700.2±0.62ns 703.2±0.68ns +0.43%
decimal::pow/wasmer 7.4±0.01µs 7.3±0.01µs -1.35%
decimal::pow/wasmer-call-native 1161.6±0.98ns 1173.0±1.41ns +0.98%
decimal::pow/wasmi 281.2±0.20µs 284.4±0.32µs +1.14%
decimal::pow/wasmi-call-native 7.4±0.01µs 7.4±0.02µs 0.00%
decimal::root/0 9.4±0.01µs 9.4±0.01µs 0.00%
decimal::sub/0 9.4±0.01ns 9.4±0.07ns 0.00%
decimal::to_string/0 488.3±0.72ns 482.5±0.27ns -1.19%
precise_decimal::add/0 10.4±0.02ns 10.5±0.38ns +0.96%
precise_decimal::add/rust-native 12.7±0.00ns 12.7±0.00ns 0.00%
precise_decimal::add/wasmer 138.8±0.14ns 136.9±0.07ns -1.37%
precise_decimal::add/wasmer-call-native 577.2±0.55ns 579.2±0.30ns +0.35%
precise_decimal::add/wasmi 1006.3±5.30ns 1080.6±6.24ns +7.38%
precise_decimal::add/wasmi-call-native 9.0±0.01µs 8.8±0.01µs -2.22%
precise_decimal::div/0 326.2±0.46ns 326.3±0.54ns +0.03%
precise_decimal::from_string/0 222.0±0.26ns 224.4±0.33ns +1.08%
precise_decimal::mul/0 347.5±1.79ns 355.2±6.48ns +2.22%
precise_decimal::mul/rust-native 324.4±0.94ns 347.2±4.93ns +7.03%
precise_decimal::mul/wasmer 3.8±0.00µs 3.8±0.00µs 0.00%
precise_decimal::mul/wasmer-call-native 934.4±2.15ns 991.1±1.19ns +6.07%
precise_decimal::mul/wasmi 151.2±0.09µs 151.3±0.07µs +0.07%
precise_decimal::mul/wasmi-call-native 9.3±0.03µs 9.2±0.01µs -1.08%
precise_decimal::pow/0 2.0±0.01µs 2.0±0.00µs 0.00%
precise_decimal::pow/rust-native 1586.6±2.15ns 1591.8±12.92ns +0.33%
precise_decimal::pow/wasmer 18.1±0.03µs 18.1±0.01µs 0.00%
precise_decimal::pow/wasmer-call-native 2.3±0.03µs 2.4±0.01µs +4.35%
precise_decimal::pow/wasmi 733.0±0.23µs 730.2±0.71µs -0.38%
precise_decimal::pow/wasmi-call-native 16.5±0.04µs 16.8±0.03µs +1.82%
precise_decimal::root/0 65.0±0.04µs 64.6±0.03µs -0.62%
precise_decimal::sub/0 10.5±0.01ns 10.5±0.02ns 0.00%
precise_decimal::to_string/0 767.0±1.35ns 773.2±1.17ns +0.81%
schema::validate_payload 362.6±1.28µs 349.3±1.83µs -3.67%
transaction::radiswap 8.0±0.04ms 7.5±0.09ms -6.25%
transaction::transfer 3.0±0.01ms 2.6±0.00ms -13.33%
transaction_processing::prepare 2.9±0.01ms 2.9±0.01ms 0.00%
transaction_processing::prepare_and_decompile 7.2±0.05ms 7.0±0.01ms -2.78%
transaction_processing::prepare_and_decompile_and_recompile 27.0±0.16ms 27.2±0.26ms +0.74%
transaction_validation::validate_manifest 48.6±0.02µs 48.7±0.06µs +0.21%
transaction_validation::verify_ecdsa 85.0±0.15µs 84.9±0.05µs -0.12%
transaction_validation::verify_ed25519 60.9±0.20µs 60.1±0.08µs -1.31%

@talekhinezh talekhinezh merged commit 593240d into develop Oct 16, 2023
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