Make Benchmark Output Analysis Function Configurable (#8228)
* Integrate `output-analysis`
* fix test
* use default
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --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
* Update frame/system/src/weights.rs
* cargo run --release --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml -- benchmark --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 --output-analysis=max
* Update frame/system/src/weights.rs
* dont discard value_dist and model
* feedback
Co-authored-by:
Parity Benchmarking Bot <admin@parity.io>
Showing
- substrate/frame/benchmarking/src/analysis.rs 69 additions, 0 deletionssubstrate/frame/benchmarking/src/analysis.rs
- substrate/frame/benchmarking/src/lib.rs 1 addition, 1 deletionsubstrate/frame/benchmarking/src/lib.rs
- substrate/frame/system/src/weights.rs 22 additions, 21 deletionssubstrate/frame/system/src/weights.rs
- substrate/utils/frame/benchmarking-cli/src/lib.rs 7 additions, 0 deletionssubstrate/utils/frame/benchmarking-cli/src/lib.rs
- substrate/utils/frame/benchmarking-cli/src/writer.rs 32 additions, 9 deletionssubstrate/utils/frame/benchmarking-cli/src/writer.rs
Please register or sign in to comment