Improve instruction benchmarks (#9712)
* seal_input can be called multiple times
* Increase size of instruction benchmarks
* Remove randomness from instr_br* benchmarks
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by:
Parity Bot <admin@parity.io>
Showing
- substrate/Cargo.lock 2 additions, 2 deletionssubstrate/Cargo.lock
- substrate/frame/contracts/Cargo.toml 1 addition, 1 deletionsubstrate/frame/contracts/Cargo.toml
- substrate/frame/contracts/src/benchmarking/mod.rs 14 additions, 16 deletionssubstrate/frame/contracts/src/benchmarking/mod.rs
- substrate/frame/contracts/src/schedule.rs 4 additions, 4 deletionssubstrate/frame/contracts/src/schedule.rs
- substrate/frame/contracts/src/weights.rs 587 additions, 583 deletionssubstrate/frame/contracts/src/weights.rs
Please register or sign in to comment