FRAME Weights with Storage Metadata (#9471)
* weights with metadata
* fix
* fix contract test
* skip metadata tag
* special handling for `frame_system`
* cargo run --quiet --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
* add skip metadata to contracts
* 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
* fix contract test
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* expose component information
* fix test generation
* refactor list benchmarks
* move component selection out of runtime
* add benchmark verification
* missing feature
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* add internal repeats
* update weights with internal repeats
* fix warning
* return error with pov
* try without tracking
* Revert "return error with pov"
This reverts commit 44c36cbbd3c6818f36f377e3e291f1df156e40f7.
* Revert "try without tracking"
This reverts commit f401c44aebff2232389d8d307b20924891e5d77d.
* Revert "Revert "try without tracking""
This reverts commit 4b4e05929802ad3e8154e107359447634e5fb21b.
* state without tracking
* fix build
* temp test
* split db and timing benchmarks
* extend db results?
* default repeat is internal
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix warning
* bump linked hash map
* use linked hash map for storage tracker
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* remove conflicting short command
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* missed one linked hashmap
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* new weights with latest changes
* Update frame/benchmarking/src/utils.rs
Co-authored-by:
Parity Benchmarking Bot <admin@parity.io>
Showing
- substrate/.maintain/frame-weight-template.hbs 4 additions, 0 deletionssubstrate/.maintain/frame-weight-template.hbs
- substrate/client/db/Cargo.toml 1 addition, 1 deletionsubstrate/client/db/Cargo.toml
- substrate/client/db/src/bench.rs 25 additions, 9 deletionssubstrate/client/db/src/bench.rs
- substrate/client/finality-grandpa/Cargo.toml 1 addition, 1 deletionsubstrate/client/finality-grandpa/Cargo.toml
- substrate/client/network/Cargo.toml 1 addition, 1 deletionsubstrate/client/network/Cargo.toml
- substrate/client/transaction-pool/Cargo.toml 1 addition, 1 deletionsubstrate/client/transaction-pool/Cargo.toml
- substrate/client/transaction-pool/graph/Cargo.toml 1 addition, 1 deletionsubstrate/client/transaction-pool/graph/Cargo.toml
- substrate/frame/assets/src/weights.rs 164 additions, 64 deletionssubstrate/frame/assets/src/weights.rs
- substrate/frame/balances/src/weights.rs 13 additions, 13 deletionssubstrate/frame/balances/src/weights.rs
- substrate/frame/benchmarking/src/lib.rs 129 additions, 153 deletionssubstrate/frame/benchmarking/src/lib.rs
- substrate/frame/benchmarking/src/tests.rs 18 additions, 0 deletionssubstrate/frame/benchmarking/src/tests.rs
- substrate/frame/benchmarking/src/utils.rs 30 additions, 29 deletionssubstrate/frame/benchmarking/src/utils.rs
- substrate/frame/bounties/src/weights.rs 78 additions, 28 deletionssubstrate/frame/bounties/src/weights.rs
- substrate/frame/collective/src/weights.rs 149 additions, 79 deletionssubstrate/frame/collective/src/weights.rs
- substrate/frame/contracts/src/benchmarking/mod.rs 5 additions, 0 deletionssubstrate/frame/contracts/src/benchmarking/mod.rs
- substrate/frame/contracts/src/tests.rs 1 addition, 1 deletionsubstrate/frame/contracts/src/tests.rs
- substrate/frame/contracts/src/weights.rs 1118 additions, 606 deletionssubstrate/frame/contracts/src/weights.rs
- substrate/frame/democracy/src/weights.rs 220 additions, 100 deletionssubstrate/frame/democracy/src/weights.rs
- substrate/frame/election-provider-multi-phase/src/weights.rs 210 additions, 74 deletionssubstrate/frame/election-provider-multi-phase/src/weights.rs
- substrate/frame/elections-phragmen/src/weights.rs 154 additions, 56 deletionssubstrate/frame/elections-phragmen/src/weights.rs
Please register or sign in to comment