Run paras inherent benchmarks (#4454)

* Some new lines

* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs

* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras_inherent.rs

* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs

Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
Zeke Mostov
2021-12-06 12:12:12 -08:00
committed by GitHub
parent 5601fd6b84
commit 39310088b0
4 changed files with 88 additions and 79 deletions
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent` //! Autogenerated weights for `runtime_parachains::paras_inherent`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-12-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -33,7 +33,6 @@
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs // --output=./runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
@@ -48,11 +47,16 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: System ParentHash (r:1 w:0) // Storage: System ParentHash (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1) // Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParaSessionInfo Sessions (r:1 w:0)
// Storage: ParasDisputes Disputes (r:1 w:1)
// Storage: ParasDisputes Included (r:1 w:1)
// Storage: ParasDisputes SpamSlots (r:1 w:1)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -70,21 +74,22 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_variable_disputes(v: u32, ) -> Weight { fn enter_variable_disputes(v: u32, ) -> Weight {
(202_257_000 as Weight) (282_901_000 as Weight)
// Standard Error: 2_000 // Standard Error: 13_000
.saturating_add((311_000 as Weight).saturating_mul(v as Weight)) .saturating_add((49_184_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(28 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(17 as Weight))
} }
// Storage: ParaInherent Included (r:1 w:1) // Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0) // Storage: System ParentHash (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1) // Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -92,6 +97,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Dmp DownwardMessageQueues (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Hrmp HrmpChannelDigests (r:1 w:1) // Storage: Hrmp HrmpChannelDigests (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:1 w:0) // Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: ParasDisputes Disputes (r:1 w:0)
// Storage: ParaScheduler SessionStartBlock (r:1 w:0) // Storage: ParaScheduler SessionStartBlock (r:1 w:0)
// Storage: ParaScheduler ParathreadQueue (r:1 w:1) // Storage: ParaScheduler ParathreadQueue (r:1 w:1)
// Storage: ParaScheduler Scheduled (r:1 w:1) // Storage: ParaScheduler Scheduled (r:1 w:1)
@@ -100,57 +106,62 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParaInclusion AvailabilityBitfields (r:0 w:1) // Storage: ParaInclusion AvailabilityBitfields (r:0 w:1)
// Storage: ParaInherent OnChainVotes (r:0 w:1) // Storage: ParaInherent OnChainVotes (r:0 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_bitfields() -> Weight { fn enter_bitfields() -> Weight {
(247_226_000 as Weight) (256_399_000 as Weight)
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(25 as Weight))
.saturating_add(T::DbWeight::get().writes(16 as Weight))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0)
// Storage: Staking ErasRewardPoints (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: ParasDisputes Disputes (r:2 w:0)
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
// Storage: ParaScheduler Scheduled (r:1 w:1)
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
// Storage: Paras PastCodeMeta (r:1 w:0)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParaInherent OnChainVotes (r:0 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
(319_740_000 as Weight)
// Standard Error: 26_000
.saturating_add((49_051_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(29 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight))
} }
// Storage: ParaInherent Included (r:1 w:1) // Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0) // Storage: System ParentHash (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1) // Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0)
// Storage: Staking ErasRewardPoints (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
// Storage: ParaScheduler Scheduled (r:1 w:1)
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
// Storage: Paras PastCodeMeta (r:1 w:0)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParaInherent OnChainVotes (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
(322_535_000 as Weight)
// Standard Error: 24_000
.saturating_add((49_098_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(26 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -158,6 +169,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Dmp DownwardMessageQueues (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Hrmp HrmpChannelDigests (r:1 w:1) // Storage: Hrmp HrmpChannelDigests (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:1 w:0) // Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: ParasDisputes Disputes (r:2 w:0)
// Storage: ParaScheduler SessionStartBlock (r:1 w:0) // Storage: ParaScheduler SessionStartBlock (r:1 w:0)
// Storage: ParaScheduler ParathreadQueue (r:1 w:1) // Storage: ParaScheduler ParathreadQueue (r:1 w:1)
// Storage: ParaScheduler Scheduled (r:1 w:1) // Storage: ParaScheduler Scheduled (r:1 w:1)
@@ -168,11 +180,12 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParaInherent OnChainVotes (r:0 w:1) // Storage: ParaInherent OnChainVotes (r:0 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidate_code_upgrade() -> Weight { fn enter_backed_candidate_code_upgrade() -> Weight {
(41_671_398_000 as Weight) (42_221_346_000 as Weight)
.saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().reads(29 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight))
} }
} }
@@ -45,10 +45,12 @@ benchmarks! {
verify { verify {
// Assert that the block was not discarded // Assert that the block was not discarded
assert!(Included::<T>::get().is_some()); assert!(Included::<T>::get().is_some());
// Assert that there are on-chain votes that got scraped // Assert that there are on-chain votes that got scraped
let onchain_votes = OnChainVotes::<T>::get(); let onchain_votes = OnChainVotes::<T>::get();
assert!(onchain_votes.is_some()); assert!(onchain_votes.is_some());
let vote = onchain_votes.unwrap(); let vote = onchain_votes.unwrap();
// Ensure that the votes are for the correct session // Ensure that the votes are for the correct session
assert_eq!(vote.session, scenario._session); assert_eq!(vote.session, scenario._session);
} }
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent` //! Autogenerated weights for `runtime_parachains::paras_inherent`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-11-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-12-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -33,7 +33,6 @@
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs // --output=./runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
@@ -70,9 +69,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_variable_disputes(v: u32, ) -> Weight { fn enter_variable_disputes(v: u32, ) -> Weight {
(201_282_000 as Weight) (201_142_000 as Weight)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((309_000 as Weight).saturating_mul(v as Weight)) .saturating_add((304_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(23 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
@@ -103,7 +102,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_bitfields() -> Weight { fn enter_bitfields() -> Weight {
(245_511_000 as Weight) (248_756_000 as Weight)
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(23 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight))
} }
@@ -136,9 +135,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidates_variable(v: u32, ) -> Weight { fn enter_backed_candidates_variable(v: u32, ) -> Weight {
(318_776_000 as Weight) (309_456_000 as Weight)
// Standard Error: 24_000 // Standard Error: 26_000
.saturating_add((49_071_000 as Weight).saturating_mul(v as Weight)) .saturating_add((49_003_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().reads(26 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
@@ -171,7 +170,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidate_code_upgrade() -> Weight { fn enter_backed_candidate_code_upgrade() -> Weight {
(42_284_487_000 as Weight) (42_288_295_000 as Weight)
.saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().reads(26 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
@@ -16,13 +16,13 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent` //! Autogenerated weights for `runtime_parachains::paras_inherent`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-12-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
// target/release/polkadot // target/release/polkadot
// benchmark // benchmark
// --chain=kusama-dev // --chain=westend-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=runtime_parachains::paras_inherent // --pallet=runtime_parachains::paras_inherent
@@ -31,8 +31,7 @@
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs // --output=./runtime/westend/src/weights/runtime_parachains_paras_inherent.rs
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
@@ -52,7 +51,6 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -70,10 +68,10 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_variable_disputes(v: u32, ) -> Weight { fn enter_variable_disputes(v: u32, ) -> Weight {
(202_257_000 as Weight) (199_341_000 as Weight)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((311_000 as Weight).saturating_mul(v as Weight)) .saturating_add((312_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(22 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
// Storage: ParaInherent Included (r:1 w:1) // Storage: ParaInherent Included (r:1 w:1)
@@ -84,7 +82,6 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -103,8 +100,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_bitfields() -> Weight { fn enter_bitfields() -> Weight {
(247_226_000 as Weight) (241_955_000 as Weight)
.saturating_add(T::DbWeight::get().reads(23 as Weight)) .saturating_add(T::DbWeight::get().reads(22 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight))
} }
// Storage: ParaInherent Included (r:1 w:1) // Storage: ParaInherent Included (r:1 w:1)
@@ -115,7 +112,6 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -136,10 +132,10 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidates_variable(v: u32, ) -> Weight { fn enter_backed_candidates_variable(v: u32, ) -> Weight {
(322_535_000 as Weight) (312_340_000 as Weight)
// Standard Error: 24_000 // Standard Error: 25_000
.saturating_add((49_098_000 as Weight).saturating_mul(v as Weight)) .saturating_add((49_112_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().reads(25 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
// Storage: ParaInherent Included (r:1 w:1) // Storage: ParaInherent Included (r:1 w:1)
@@ -150,7 +146,6 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Parachains (r:1 w:0) // Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Session Validators (r:1 w:0) // Storage: Session Validators (r:1 w:0)
// Storage: ParasShared ActiveValidatorIndices (r:1 w:0) // Storage: ParasShared ActiveValidatorIndices (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0)
@@ -171,8 +166,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1) // Storage: Paras Heads (r:0 w:1)
fn enter_backed_candidate_code_upgrade() -> Weight { fn enter_backed_candidate_code_upgrade() -> Weight {
(41_671_398_000 as Weight) (42_008_483_000 as Weight)
.saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().reads(25 as Weight))
.saturating_add(T::DbWeight::get().writes(14 as Weight)) .saturating_add(T::DbWeight::get().writes(14 as Weight))
} }
} }