Add benchmarks for for import/validation/production (#2579)
* Add benchmarks * Remove endowed accounts * Fix group * Remove duplicate code * Comments * Use execute_block instead of block import * Apply suggestions from code review Co-authored-by:Anton <anton.kalyaev@gmail.com> * Add missing comments * Clippy * Reorganize utils * Remove unused import * Switch to compiled again * Apply suggestions from code review Co-authored-by:
Davide Galassi <davxy@datawok.net> * Refactor local_testnet * Do not write wasm blob to file * Remove unnecessary block * Add comment fixes * fmt * lock --------- Co-authored-by:
Anton <anton.kalyaev@gmail.com> Co-authored-by:
Davide Galassi <davxy@datawok.net>
Showing
- cumulus/Cargo.lock 524 additions, 2 deletionscumulus/Cargo.lock
- cumulus/test/client/src/lib.rs 35 additions, 8 deletionscumulus/test/client/src/lib.rs
- cumulus/test/runtime/Cargo.toml 1 addition, 0 deletionscumulus/test/runtime/Cargo.toml
- cumulus/test/runtime/src/lib.rs 12 additions, 1 deletioncumulus/test/runtime/src/lib.rs
- cumulus/test/service/Cargo.toml 41 additions, 0 deletionscumulus/test/service/Cargo.toml
- cumulus/test/service/benches/block_import.rs 79 additions, 0 deletionscumulus/test/service/benches/block_import.rs
- cumulus/test/service/benches/block_import_glutton.rs 93 additions, 0 deletionscumulus/test/service/benches/block_import_glutton.rs
- cumulus/test/service/benches/block_production.rs 111 additions, 0 deletionscumulus/test/service/benches/block_production.rs
- cumulus/test/service/benches/block_production_glutton.rs 114 additions, 0 deletionscumulus/test/service/benches/block_production_glutton.rs
- cumulus/test/service/benches/validate_block.rs 163 additions, 0 deletionscumulus/test/service/benches/validate_block.rs
- cumulus/test/service/benches/validate_block_glutton.rs 211 additions, 0 deletionscumulus/test/service/benches/validate_block_glutton.rs
- cumulus/test/service/src/bench_utils.rs 262 additions, 0 deletionscumulus/test/service/src/bench_utils.rs
- cumulus/test/service/src/chain_spec.rs 39 additions, 20 deletionscumulus/test/service/src/chain_spec.rs
- cumulus/test/service/src/lib.rs 24 additions, 8 deletionscumulus/test/service/src/lib.rs
Please register or sign in to comment