update weights (#6798)

* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-02-28 15:08:21 +01:00
committed by GitHub
parent 56f6b39da8
commit 63d1641b1e
165 changed files with 6974 additions and 5180 deletions
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::paras`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,136 +45,231 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::paras`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightInfo<T> {
// Storage: Paras CurrentCodeHash (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras PastCodeMeta (r:1 w:1)
// Storage: Paras PastCodePruning (r:1 w:1)
// Storage: Paras PastCodeHash (r:0 w:1)
// Storage: Paras CodeByHash (r:0 w:1)
/// Storage: Paras CurrentCodeHash (r:1 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PastCodeMeta (r:1 w:1)
/// Proof Skipped: Paras PastCodeMeta (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PastCodePruning (r:1 w:1)
/// Proof Skipped: Paras PastCodePruning (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PastCodeHash (r:0 w:1)
/// Proof Skipped: Paras PastCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:0 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn force_set_current_code(c: u32, ) -> Weight {
// Minimum execution time: 38_090 nanoseconds.
Weight::from_ref_time(38_598_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_666).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `8341`
// Estimated: `57966`
// Minimum execution time: 32_871 nanoseconds.
Weight::from_ref_time(33_099_000)
.saturating_add(Weight::from_proof_size(57966))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_313).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Paras Heads (r:0 w:1)
/// Storage: Paras Heads (r:0 w:1)
/// Proof Skipped: Paras Heads (max_values: None, max_size: None, mode: Measured)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
// Minimum execution time: 14_296 nanoseconds.
Weight::from_ref_time(4_984_392)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_063).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_008 nanoseconds.
Weight::from_ref_time(8_206_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(921).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Paras UpgradeCooldowns (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: Paras UpcomingUpgrades (r:1 w:1)
// Storage: System Digest (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// Storage: Paras FutureCodeHash (r:1 w:1)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:1 w:0)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeCooldowns (r:1 w:1)
/// Proof Skipped: Paras UpgradeCooldowns (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingUpgrades (r:1 w:1)
/// Proof Skipped: Paras UpcomingUpgrades (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Minimum execution time: 64_275 nanoseconds.
Weight::from_ref_time(5_873_402)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_702).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `16526`
// Estimated: `179120`
// Minimum execution time: 57_920 nanoseconds.
Weight::from_ref_time(58_255_000)
.saturating_add(Weight::from_proof_size(179120))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_337).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras Heads (r:0 w:1)
/// Proof Skipped: Paras Heads (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
// Minimum execution time: 20_002 nanoseconds.
Weight::from_ref_time(16_809_711)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_046).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `95`
// Estimated: `2760`
// Minimum execution time: 13_669 nanoseconds.
Weight::from_ref_time(13_872_000)
.saturating_add(Weight::from_proof_size(2760))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(917).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
fn force_queue_action() -> Weight {
// Minimum execution time: 25_194 nanoseconds.
Weight::from_ref_time(25_638_000)
// Proof Size summary in bytes:
// Measured: `4283`
// Estimated: `11536`
// Minimum execution time: 19_437 nanoseconds.
Weight::from_ref_time(20_010_000)
.saturating_add(Weight::from_proof_size(11536))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Minimum execution time: 9_271 nanoseconds.
Weight::from_ref_time(9_433_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_673).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `5006`
// Minimum execution time: 7_714 nanoseconds.
Weight::from_ref_time(7_825_000)
.saturating_add(Weight::from_proof_size(5006))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_320).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
/// Storage: Paras CodeByHashRefs (r:1 w:0)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:0 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
fn poke_unused_validation_code() -> Weight {
// Minimum execution time: 7_600 nanoseconds.
Weight::from_ref_time(7_857_000)
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `2531`
// Minimum execution time: 5_518 nanoseconds.
Weight::from_ref_time(5_683_000)
.saturating_add(Weight::from_proof_size(2531))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement() -> Weight {
// Minimum execution time: 125_304 nanoseconds.
Weight::from_ref_time(134_007_000)
// Proof Size summary in bytes:
// Measured: `26709`
// Estimated: `83592`
// Minimum execution time: 87_670 nanoseconds.
Weight::from_ref_time(90_517_000)
.saturating_add(Weight::from_proof_size(83592))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras UpcomingUpgrades (r:1 w:1)
// Storage: System Digest (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteList (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras UpcomingUpgrades (r:1 w:1)
/// Proof Skipped: Paras UpcomingUpgrades (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:0 w:100)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Minimum execution time: 811_926 nanoseconds.
Weight::from_ref_time(833_485_000)
// Proof Size summary in bytes:
// Measured: `27295`
// Estimated: `196015`
// Minimum execution time: 803_005 nanoseconds.
Weight::from_ref_time(811_058_000)
.saturating_add(Weight::from_proof_size(196015))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(104))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Minimum execution time: 127_021 nanoseconds.
Weight::from_ref_time(132_480_000)
// Proof Size summary in bytes:
// Measured: `27241`
// Estimated: `85188`
// Minimum execution time: 87_231 nanoseconds.
Weight::from_ref_time(87_949_000)
.saturating_add(Weight::from_proof_size(85188))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras ActionsQueue (r:1 w:1)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteList (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Minimum execution time: 638_553 nanoseconds.
Weight::from_ref_time(657_891_000)
// Proof Size summary in bytes:
// Measured: `26763`
// Estimated: `140250`
// Minimum execution time: 636_356 nanoseconds.
Weight::from_ref_time(641_339_000)
.saturating_add(Weight::from_proof_size(140250))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Minimum execution time: 122_237 nanoseconds.
Weight::from_ref_time(130_202_000)
// Proof Size summary in bytes:
// Measured: `26709`
// Estimated: `83592`
// Minimum execution time: 86_178 nanoseconds.
Weight::from_ref_time(87_400_000)
.saturating_add(Weight::from_proof_size(83592))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}