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

Remove libfuzzer support from the fuzzer #1611

Merged
merged 6 commits into from
Oct 10, 2023
Merged

Conversation

lrubasze
Copy link
Contributor

@lrubasze lrubasze commented Oct 6, 2023

Additional changes:

  • Update fuzzer README
  • Update .gitignore
  • Make sure simple-fuzzer is used when generating raw input

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Benchmark for a0ebb0e

Click to view benchmark
Test Base PR %
costing::bench_prepare_wasm 79.6±0.60ms 79.7±0.45ms +0.13%
costing::decode_sbor 16.7±0.06µs 16.4±0.01µs -1.80%
costing::decode_sbor_bytes 46.1±0.12µs 51.4±0.13µs +11.50%
costing::deserialize_wasm 1398.0±2.00µs 1396.6±24.65µs -0.10%
costing::instantiate_flash_loan 4.3±0.58ms 4.1±0.03ms -4.65%
costing::instantiate_radiswap 5.7±0.05ms 5.8±0.06ms +1.75%
costing::spin_loop 26.4±0.10ms 28.7±0.09ms +8.71%
costing::validate_sbor_payload 30.9±0.06µs 30.7±0.18µs -0.65%
costing::validate_sbor_payload_bytes 379.2±0.70ns 378.1±1.03ns -0.29%
costing::validate_secp256k1 87.5±0.04µs 87.6±0.05µs +0.11%
costing::validate_wasm 43.0±0.09ms 44.1±0.16ms +2.56%
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 133.3±0.12ns 131.8±0.18ns -1.13%
decimal::add/wasmer-call-native 543.5±0.33ns 546.1±0.73ns +0.48%
decimal::add/wasmi 905.0±5.57ns 915.9±5.38ns +1.20%
decimal::add/wasmi-call-native 8.2±0.05µs 8.3±0.02µs +1.22%
decimal::div/0 198.5±0.19ns 200.4±0.39ns +0.96%
decimal::from_string/0 160.2±0.29ns 161.6±0.45ns +0.87%
decimal::mul/0 156.5±0.22ns 154.6±0.55ns -1.21%
decimal::mul/rust-native 152.7±0.20ns 151.8±0.46ns -0.59%
decimal::mul/wasmer 1681.5±0.67ns 1680.9±4.81ns -0.04%
decimal::mul/wasmer-call-native 702.8±0.95ns 702.8±0.65ns 0.00%
decimal::mul/wasmi 60.7±0.07µs 60.7±0.06µs 0.00%
decimal::mul/wasmi-call-native 8.4±0.00µs 8.4±0.01µs 0.00%
decimal::pow/0 726.0±4.25ns 723.3±0.63ns -0.37%
decimal::pow/rust-native 696.8±0.47ns 697.2±0.88ns +0.06%
decimal::pow/wasmer 7.3±0.01µs 7.4±0.00µs +1.37%
decimal::pow/wasmer-call-native 1180.4±0.86ns 1178.0±2.48ns -0.20%
decimal::pow/wasmi 288.1±0.50µs 287.7±0.20µs -0.14%
decimal::pow/wasmi-call-native 7.5±0.01µs 7.5±0.01µs 0.00%
decimal::root/0 9.5±0.01µs 9.6±0.60µs +1.05%
decimal::sub/0 9.4±0.01ns 9.4±0.01ns 0.00%
decimal::to_string/0 483.3±0.40ns 483.3±0.33ns 0.00%
precise_decimal::add/0 10.5±0.14ns 11.1±0.00ns +5.71%
precise_decimal::add/rust-native 12.7±0.00ns 12.7±0.00ns 0.00%
precise_decimal::add/wasmer 138.7±0.09ns 132.8±0.17ns -4.25%
precise_decimal::add/wasmer-call-native 578.1±0.45ns 580.1±11.35ns +0.35%
precise_decimal::add/wasmi 1091.0±6.19ns 1107.8±3.71ns +1.54%
precise_decimal::add/wasmi-call-native 8.7±0.17µs 8.8±0.05µs +1.15%
precise_decimal::div/0 326.0±0.83ns 327.8±0.40ns +0.55%
precise_decimal::from_string/0 220.1±0.78ns 218.5±0.25ns -0.73%
precise_decimal::mul/0 350.8±2.10ns 372.4±4.51ns +6.16%
precise_decimal::mul/rust-native 326.9±1.29ns 324.8±0.98ns -0.64%
precise_decimal::mul/wasmer 3.8±0.00µs 3.8±0.00µs 0.00%
precise_decimal::mul/wasmer-call-native 958.4±1.47ns 964.3±0.88ns +0.62%
precise_decimal::mul/wasmi 151.7±0.14µs 152.5±0.20µs +0.53%
precise_decimal::mul/wasmi-call-native 9.2±0.02µs 9.3±0.01µs +1.09%
precise_decimal::pow/0 1929.0±4.48ns 1933.8±6.33ns +0.25%
precise_decimal::pow/rust-native 1572.3±3.09ns 1568.6±3.18ns -0.24%
precise_decimal::pow/wasmer 18.1±0.01µs 18.2±0.01µs +0.55%
precise_decimal::pow/wasmer-call-native 2.3±0.00µs 2.3±0.00µs 0.00%
precise_decimal::pow/wasmi 736.7±0.83µs 742.6±2.35µs +0.80%
precise_decimal::pow/wasmi-call-native 16.7±0.04µs 16.8±0.05µs +0.60%
precise_decimal::root/0 64.3±0.20µs 63.7±0.02µs -0.93%
precise_decimal::sub/0 10.5±0.01ns 10.5±0.02ns 0.00%
precise_decimal::to_string/0 780.1±1.51ns 780.4±3.69ns +0.04%
schema::validate_payload 343.4±0.63µs 347.0±0.77µs +1.05%
transaction::radiswap 8.2±0.04ms 8.2±0.03ms 0.00%
transaction::transfer 3.1±0.01ms 3.0±0.01ms -3.23%
transaction_processing::prepare 3.0±0.01ms 2.9±0.00ms -3.33%
transaction_processing::prepare_and_decompile 7.0±0.03ms 7.1±0.16ms +1.43%
transaction_processing::prepare_and_decompile_and_recompile 26.3±0.15ms 27.5±0.20ms +4.56%
transaction_validation::validate_manifest 48.7±0.03µs 48.8±0.37µs +0.21%
transaction_validation::verify_ecdsa 84.9±0.08µs 84.9±0.10µs 0.00%
transaction_validation::verify_ed25519 61.1±0.07µs 61.1±0.05µs 0.00%

@lrubasze lrubasze merged commit e370e70 into develop Oct 10, 2023
25 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