Add benchmarks for pallet-membership (#8596)
* Add benchmakrs for membership * Update frame/membership/src/lib.rs Co-authored-by:Guillaume Thiolliere <gui.thiolliere@gmail.com> * Make it all work * Add mock weights * Update frame/membership/src/lib.rs * Update frame/membership/src/lib.rs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/membership/src/weights.rs --template=./.maintain/frame-weight-template.hbs * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/membership/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Parity Benchmarking Bot <admin@parity.io>
Showing
- substrate/Cargo.lock 2 additions, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node/runtime/Cargo.toml 1 addition, 0 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 3 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/benchmarking/src/lib.rs 10 additions, 0 deletionssubstrate/frame/benchmarking/src/lib.rs
- substrate/frame/elections-phragmen/src/benchmarking.rs 1 addition, 9 deletionssubstrate/frame/elections-phragmen/src/benchmarking.rs
- substrate/frame/im-online/src/weights.rs 0 additions, 5 deletionssubstrate/frame/im-online/src/weights.rs
- substrate/frame/membership/Cargo.toml 13 additions, 2 deletionssubstrate/frame/membership/Cargo.toml
- substrate/frame/membership/src/lib.rs 203 additions, 9 deletionssubstrate/frame/membership/src/lib.rs
- substrate/frame/membership/src/weights.rs 159 additions, 0 deletionssubstrate/frame/membership/src/weights.rs
Please register or sign in to comment