Expose Benchmarking Component Ranges (#11545)
* Add component ranges to benchmarking Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Adding component ranges to templates Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs * tweak script to reduce diff * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by:
Parity Bot <admin@parity.io> Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
Showing
- substrate/.maintain/frame-weight-template.hbs 6 additions, 0 deletionssubstrate/.maintain/frame-weight-template.hbs
- substrate/frame/identity/src/weights.rs 158 additions, 105 deletionssubstrate/frame/identity/src/weights.rs
- substrate/frame/system/src/weights.rs 12 additions, 2 deletionssubstrate/frame/system/src/weights.rs
- substrate/scripts/run_all_benchmarks.sh 3 additions, 2 deletionssubstrate/scripts/run_all_benchmarks.sh
- substrate/utils/frame/benchmarking-cli/src/pallet/command.rs 22 additions, 2 deletionssubstrate/utils/frame/benchmarking-cli/src/pallet/command.rs
- substrate/utils/frame/benchmarking-cli/src/pallet/template.hbs 3 additions, 0 deletions...rate/utils/frame/benchmarking-cli/src/pallet/template.hbs
- substrate/utils/frame/benchmarking-cli/src/pallet/writer.rs 16 additions, 4 deletionssubstrate/utils/frame/benchmarking-cli/src/pallet/writer.rs
Please register or sign in to comment