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 `frame_election_provider_support`
//!
//! 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:
@@ -48,22 +49,30 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 5_743_124 nanoseconds.
Weight::from_ref_time(5_792_819_000)
// Standard Error: 138_395
.saturating_add(Weight::from_ref_time(5_680_397).saturating_mul(v.into()))
// Standard Error: 14_149_036
.saturating_add(Weight::from_ref_time(1_496_025_833).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_551_903 nanoseconds.
Weight::from_ref_time(6_570_398_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 143_968
.saturating_add(Weight::from_ref_time(6_021_286).saturating_mul(v.into()))
// Standard Error: 14_718_857
.saturating_add(Weight::from_ref_time(1_574_587_516).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 4_096_862 nanoseconds.
Weight::from_ref_time(4_145_331_000)
// Standard Error: 125_858
.saturating_add(Weight::from_ref_time(4_831_715).saturating_mul(v.into()))
// Standard Error: 12_867_350
.saturating_add(Weight::from_ref_time(1_470_365_686).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_050_990 nanoseconds.
Weight::from_ref_time(5_084_143_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 151_814
.saturating_add(Weight::from_ref_time(5_869_433).saturating_mul(v.into()))
// Standard Error: 15_521_006
.saturating_add(Weight::from_ref_time(1_798_999_843).saturating_mul(d.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_system`
//!
//! 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:
@@ -46,51 +47,82 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_854 nanoseconds.
Weight::from_ref_time(301_345)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_675 nanoseconds.
Weight::from_ref_time(1_706_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(482).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(368).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_378 nanoseconds.
Weight::from_ref_time(13_835_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_054).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_568 nanoseconds.
Weight::from_ref_time(7_764_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_742).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
/// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_776 nanoseconds.
Weight::from_ref_time(9_105_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_919 nanoseconds.
Weight::from_ref_time(4_109_000)
.saturating_add(Weight::from_proof_size(495))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_963 nanoseconds.
Weight::from_ref_time(4_141_000)
// Standard Error: 2_146
.saturating_add(Weight::from_ref_time(688_366).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_817 nanoseconds.
Weight::from_ref_time(1_883_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_018
.saturating_add(Weight::from_ref_time(671_252).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_837 nanoseconds.
Weight::from_ref_time(3_945_000)
// Standard Error: 878
.saturating_add(Weight::from_ref_time(510_270).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_856 nanoseconds.
Weight::from_ref_time(1_924_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 760
.saturating_add(Weight::from_ref_time(487_035).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_601 nanoseconds.
Weight::from_ref_time(5_791_000)
// Standard Error: 1_315
.saturating_add(Weight::from_ref_time(1_159_943).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `132 + p * (69 ±0)`
// Estimated: `105 + p * (70 ±0)`
// Minimum execution time: 3_689 nanoseconds.
Weight::from_ref_time(3_811_000)
.saturating_add(Weight::from_proof_size(105))
// Standard Error: 975
.saturating_add(Weight::from_ref_time(1_001_061).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! 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,34 +45,59 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bags_list`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: VoterList ListBags (r:1 w:1)
/// Storage: Staking Bonded (r:1 w:0)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:4 w:4)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:1 w:1)
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn rebag_non_terminal() -> Weight {
// Minimum execution time: 64_049 nanoseconds.
Weight::from_ref_time(66_599_000)
// Proof Size summary in bytes:
// Measured: `1848`
// Estimated: `19186`
// Minimum execution time: 59_887 nanoseconds.
Weight::from_ref_time(60_724_000)
.saturating_add(Weight::from_proof_size(19186))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
/// Storage: Staking Bonded (r:1 w:0)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:2 w:2)
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn rebag_terminal() -> Weight {
// Minimum execution time: 64_248 nanoseconds.
Weight::from_ref_time(71_257_000)
// Proof Size summary in bytes:
// Measured: `1742`
// Estimated: `19114`
// Minimum execution time: 58_432 nanoseconds.
Weight::from_ref_time(58_798_000)
.saturating_add(Weight::from_proof_size(19114))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: Staking Bonded (r:2 w:0)
// Storage: Staking Ledger (r:2 w:0)
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: VoterList ListBags (r:1 w:1)
/// Storage: VoterList ListNodes (r:4 w:4)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:2 w:0)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:2 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: VoterList CounterForListNodes (r:1 w:1)
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:1 w:1)
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn put_in_front_of() -> Weight {
// Minimum execution time: 63_370 nanoseconds.
Weight::from_ref_time(67_244_000)
// Proof Size summary in bytes:
// Measured: `2085`
// Estimated: `25798`
// Minimum execution time: 64_755 nanoseconds.
Weight::from_ref_time(66_216_000)
.saturating_add(Weight::from_proof_size(25798))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_balances`
//!
//! 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,52 +45,87 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_balances`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 44_730 nanoseconds.
Weight::from_ref_time(45_839_000)
// Proof Size summary in bytes:
// Measured: `1741`
// Estimated: `2603`
// Minimum execution time: 51_250 nanoseconds.
Weight::from_ref_time(51_736_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 33_515 nanoseconds.
Weight::from_ref_time(34_438_000)
// Proof Size summary in bytes:
// Measured: `1558`
// Estimated: `2603`
// Minimum execution time: 39_169 nanoseconds.
Weight::from_ref_time(39_913_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_balance_creating() -> Weight {
// Minimum execution time: 23_841 nanoseconds.
Weight::from_ref_time(24_425_000)
// Proof Size summary in bytes:
// Measured: `1775`
// Estimated: `2603`
// Minimum execution time: 28_148 nanoseconds.
Weight::from_ref_time(28_912_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_balance_killing() -> Weight {
// Minimum execution time: 26_521 nanoseconds.
Weight::from_ref_time(27_752_000)
// Proof Size summary in bytes:
// Measured: `1775`
// Estimated: `2603`
// Minimum execution time: 32_281 nanoseconds.
Weight::from_ref_time(32_957_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 44_019 nanoseconds.
Weight::from_ref_time(45_026_000)
// Proof Size summary in bytes:
// Measured: `1737`
// Estimated: `5206`
// Minimum execution time: 51_442 nanoseconds.
Weight::from_ref_time(51_824_000)
.saturating_add(Weight::from_proof_size(5206))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_all() -> Weight {
// Minimum execution time: 39_240 nanoseconds.
Weight::from_ref_time(39_667_000)
// Proof Size summary in bytes:
// Measured: `1558`
// Estimated: `2603`
// Minimum execution time: 45_698 nanoseconds.
Weight::from_ref_time(46_221_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_unreserve() -> Weight {
// Minimum execution time: 20_883 nanoseconds.
Weight::from_ref_time(21_632_000)
// Proof Size summary in bytes:
// Measured: `1592`
// Estimated: `2603`
// Minimum execution time: 25_042 nanoseconds.
Weight::from_ref_time(25_410_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_election_provider_multi_phase`
//!
//! 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,132 +45,223 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_election_provider_multi_phase`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
// Storage: Staking CurrentEra (r:1 w:0)
// Storage: Staking CurrentPlannedSession (r:1 w:0)
// Storage: Staking ErasStartSessionIndex (r:1 w:0)
// Storage: Babe EpochIndex (r:1 w:0)
// Storage: Babe GenesisSlot (r:1 w:0)
// Storage: Babe CurrentSlot (r:1 w:0)
// Storage: Staking ForceEra (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking CurrentPlannedSession (r:1 w:0)
/// Proof: Staking CurrentPlannedSession (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking ErasStartSessionIndex (r:1 w:0)
/// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Babe EpochIndex (r:1 w:0)
/// Proof: Babe EpochIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Babe GenesisSlot (r:1 w:0)
/// Proof: Babe GenesisSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Babe CurrentSlot (r:1 w:0)
/// Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Staking ForceEra (r:1 w:0)
/// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_nothing() -> Weight {
// Minimum execution time: 17_197 nanoseconds.
Weight::from_ref_time(17_957_000)
// Proof Size summary in bytes:
// Measured: `919`
// Estimated: `6908`
// Minimum execution time: 17_448 nanoseconds.
Weight::from_ref_time(17_974_000)
.saturating_add(Weight::from_proof_size(6908))
.saturating_add(T::DbWeight::get().reads(8))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_signed() -> Weight {
// Minimum execution time: 15_499 nanoseconds.
Weight::from_ref_time(16_123_000)
// Proof Size summary in bytes:
// Measured: `6`
// Estimated: `1002`
// Minimum execution time: 11_902 nanoseconds.
Weight::from_ref_time(12_229_000)
.saturating_add(Weight::from_proof_size(1002))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_unsigned() -> Weight {
// Minimum execution time: 16_937 nanoseconds.
Weight::from_ref_time(17_340_000)
// Proof Size summary in bytes:
// Measured: `6`
// Estimated: `1002`
// Minimum execution time: 13_259 nanoseconds.
Weight::from_ref_time(13_588_000)
.saturating_add(Weight::from_proof_size(1002))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
fn finalize_signed_phase_accept_solution() -> Weight {
// Minimum execution time: 31_455 nanoseconds.
Weight::from_ref_time(32_494_000)
// Proof Size summary in bytes:
// Measured: `206`
// Estimated: `2809`
// Minimum execution time: 25_278 nanoseconds.
Weight::from_ref_time(25_491_000)
.saturating_add(Weight::from_proof_size(2809))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn finalize_signed_phase_reject_solution() -> Weight {
// Minimum execution time: 24_474 nanoseconds.
Weight::from_ref_time(25_269_000)
// Proof Size summary in bytes:
// Measured: `206`
// Estimated: `2603`
// Minimum execution time: 17_235 nanoseconds.
Weight::from_ref_time(17_897_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
// Minimum execution time: 572_470 nanoseconds.
Weight::from_ref_time(591_650_000)
// Standard Error: 3_258
.saturating_add(Weight::from_ref_time(324_058).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 469_631 nanoseconds.
Weight::from_ref_time(482_168_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_574
.saturating_add(Weight::from_ref_time(277_913).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
// Storage: System BlockWeight (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
/// Storage: System BlockWeight (r:1 w:1)
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn elect_queued(a: u32, d: u32, ) -> Weight {
// Minimum execution time: 450_955 nanoseconds.
Weight::from_ref_time(164_237_468)
// Standard Error: 8_396
.saturating_add(Weight::from_ref_time(555_007).saturating_mul(a.into()))
// Standard Error: 12_586
.saturating_add(Weight::from_ref_time(153_341).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `259 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `9102 + a * (6912 ±0) + d * (441 ±0)`
// Minimum execution time: 286_476 nanoseconds.
Weight::from_ref_time(75_074_488)
.saturating_add(Weight::from_proof_size(9102))
// Standard Error: 4_060
.saturating_add(Weight::from_ref_time(349_006).saturating_mul(a.into()))
// Standard Error: 6_085
.saturating_add(Weight::from_ref_time(131_457).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(9))
.saturating_add(Weight::from_proof_size(6912).saturating_mul(a.into()))
.saturating_add(Weight::from_proof_size(441).saturating_mul(d.into()))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
/// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
fn submit() -> Weight {
// Minimum execution time: 68_633 nanoseconds.
Weight::from_ref_time(70_643_000)
// Proof Size summary in bytes:
// Measured: `7400`
// Estimated: `39491`
// Minimum execution time: 51_857 nanoseconds.
Weight::from_ref_time(52_335_000)
.saturating_add(Weight::from_proof_size(39491))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 6_123_952 nanoseconds.
Weight::from_ref_time(6_315_509_000)
// Standard Error: 20_268
.saturating_add(Weight::from_ref_time(98_941).saturating_mul(v.into()))
// Standard Error: 60_063
.saturating_add(Weight::from_ref_time(6_083_015).saturating_mul(a.into()))
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `142 + v * (553 ±0) + t * (32 ±0)`
// Estimated: `4459 + v * (3871 ±0) + t * (224 ±0)`
// Minimum execution time: 5_318_645 nanoseconds.
Weight::from_ref_time(5_344_057_000)
.saturating_add(Weight::from_proof_size(4459))
// Standard Error: 16_918
.saturating_add(Weight::from_ref_time(74_831).saturating_mul(v.into()))
// Standard Error: 50_136
.saturating_add(Weight::from_ref_time(5_004_341).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(3871).saturating_mul(v.into()))
.saturating_add(Weight::from_proof_size(224).saturating_mul(t.into()))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 5_133_409 nanoseconds.
Weight::from_ref_time(5_319_991_000)
// Standard Error: 15_334
.saturating_add(Weight::from_ref_time(350_749).saturating_mul(v.into()))
// Standard Error: 45_441
.saturating_add(Weight::from_ref_time(3_495_879).saturating_mul(a.into()))
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `117 + v * (553 ±0) + t * (32 ±0)`
// Estimated: `2448 + v * (2212 ±0) + t * (128 ±0)`
// Minimum execution time: 4_570_612 nanoseconds.
Weight::from_ref_time(4_595_904_000)
.saturating_add(Weight::from_proof_size(2448))
// Standard Error: 13_748
.saturating_add(Weight::from_ref_time(157_036).saturating_mul(v.into()))
// Standard Error: 40_743
.saturating_add(Weight::from_ref_time(3_886_610).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(Weight::from_proof_size(2212).saturating_mul(v.into()))
.saturating_add(Weight::from_proof_size(128).saturating_mul(t.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_fast_unstake`
//!
//! 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,86 +45,150 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_fast_unstake`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T> {
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking ValidatorCount (r:1 w:0)
// Storage: FastUnstake Head (r:1 w:1)
// Storage: FastUnstake CounterForQueue (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: Staking CurrentEra (r:1 w:0)
// Storage: Staking SlashingSpans (r:1 w:0)
// Storage: Staking Bonded (r:1 w:1)
// Storage: Staking Validators (r:1 w:0)
// Storage: Staking Nominators (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: Staking Ledger (r:0 w:1)
// Storage: Staking Payee (r:0 w:1)
/// The range of component `b` is `[1, 32]`.
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking ValidatorCount (r:1 w:0)
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: FastUnstake Head (r:1 w:1)
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3087), added: 3582, mode: MaxEncodedLen)
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking SlashingSpans (r:64 w:0)
/// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured)
/// Storage: Staking Bonded (r:64 w:64)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Validators (r:64 w:0)
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
/// Storage: Staking Nominators (r:64 w:0)
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
/// Storage: System Account (r:64 w:64)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:64 w:64)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:0 w:64)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Staking Payee (r:0 w:64)
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// The range of component `b` is `[1, 64]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Minimum execution time: 106_411 nanoseconds.
Weight::from_ref_time(77_651_621)
// Standard Error: 33_723
.saturating_add(Weight::from_ref_time(37_782_150).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `1160 + b * (376 ±0)`
// Estimated: `8345 + b * (17706 ±0)`
// Minimum execution time: 76_955 nanoseconds.
Weight::from_ref_time(51_550_896)
.saturating_add(Weight::from_proof_size(8345))
// Standard Error: 49_968
.saturating_add(Weight::from_ref_time(41_612_399).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_proof_size(17706).saturating_mul(b.into()))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking ValidatorCount (r:1 w:0)
// Storage: FastUnstake Head (r:1 w:1)
// Storage: FastUnstake CounterForQueue (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: Staking CurrentEra (r:1 w:0)
// Storage: Staking ErasStakers (r:2 w:0)
/// The range of component `v` is `[1, 1000]`.
/// The range of component `b` is `[1, 32]`.
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking ValidatorCount (r:1 w:0)
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: FastUnstake Head (r:1 w:1)
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3087), added: 3582, mode: MaxEncodedLen)
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking ErasStakers (r:257 w:0)
/// Proof Skipped: Staking ErasStakers (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 256]`.
/// The range of component `b` is `[1, 64]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Minimum execution time: 852_650 nanoseconds.
Weight::from_ref_time(856_265_000)
// Standard Error: 8_198_820
.saturating_add(Weight::from_ref_time(271_792_952).saturating_mul(v.into()))
// Standard Error: 256_629_920
.saturating_add(Weight::from_ref_time(7_991_342_711).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `1374 + v * (2517 ±0) + b * (48 ±0)`
// Estimated: `11002 + v * (7511 ±0) + b * (98 ±0)`
// Minimum execution time: 785_089 nanoseconds.
Weight::from_ref_time(787_821_000)
.saturating_add(Weight::from_proof_size(11002))
// Standard Error: 6_537_112
.saturating_add(Weight::from_ref_time(209_763_687).saturating_mul(v.into()))
// Standard Error: 26_155_732
.saturating_add(Weight::from_ref_time(810_490_010).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(7511).saturating_mul(v.into()))
.saturating_add(Weight::from_proof_size(98).saturating_mul(b.into()))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:1)
// Storage: FastUnstake Queue (r:1 w:1)
// Storage: FastUnstake Head (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Validators (r:1 w:0)
// Storage: Staking Nominators (r:1 w:1)
// Storage: Staking CounterForNominators (r:1 w:1)
// Storage: VoterList ListNodes (r:2 w:2)
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: Staking CurrentEra (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:1)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: FastUnstake Queue (r:1 w:1)
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// Storage: FastUnstake Head (r:1 w:0)
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3087), added: 3582, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Validators (r:1 w:0)
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
/// Storage: Staking Nominators (r:1 w:1)
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
/// Storage: Staking CounterForNominators (r:1 w:1)
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:1 w:1)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:1 w:1)
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
/// Storage: VoterList CounterForListNodes (r:1 w:1)
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn register_fast_unstake() -> Weight {
// Minimum execution time: 154_157 nanoseconds.
Weight::from_ref_time(155_617_000)
.saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().writes(10))
// Proof Size summary in bytes:
// Measured: `1992`
// Estimated: `29234`
// Minimum execution time: 111_625 nanoseconds.
Weight::from_ref_time(112_568_000)
.saturating_add(Weight::from_proof_size(29234))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: FastUnstake Queue (r:1 w:1)
// Storage: FastUnstake Head (r:1 w:0)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: FastUnstake Queue (r:1 w:1)
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// Storage: FastUnstake Head (r:1 w:0)
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3087), added: 3582, mode: MaxEncodedLen)
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn deregister() -> Weight {
// Minimum execution time: 72_434 nanoseconds.
Weight::from_ref_time(75_710_000)
// Proof Size summary in bytes:
// Measured: `1220`
// Estimated: `10677`
// Minimum execution time: 42_563 nanoseconds.
Weight::from_ref_time(43_047_000)
.saturating_add(Weight::from_proof_size(10677))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
/// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn control() -> Weight {
// Minimum execution time: 5_328 nanoseconds.
Weight::from_ref_time(5_522_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_676 nanoseconds.
Weight::from_ref_time(2_825_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_identity`
//!
//! 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,209 +45,307 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_identity`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn add_registrar(r: u32, ) -> Weight {
// Minimum execution time: 17_721 nanoseconds.
Weight::from_ref_time(18_727_060)
// Standard Error: 3_240
.saturating_add(Weight::from_ref_time(171_319).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `64 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 11_675 nanoseconds.
Weight::from_ref_time(12_539_616)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_875
.saturating_add(Weight::from_ref_time(113_199).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 39_104 nanoseconds.
Weight::from_ref_time(36_816_420)
// Standard Error: 7_039
.saturating_add(Weight::from_ref_time(215_550).saturating_mul(r.into()))
// Standard Error: 1_373
.saturating_add(Weight::from_ref_time(323_272).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `474 + r * (5 ±0)`
// Estimated: `10013`
// Minimum execution time: 29_044 nanoseconds.
Weight::from_ref_time(29_062_250)
.saturating_add(Weight::from_proof_size(10013))
// Standard Error: 5_693
.saturating_add(Weight::from_ref_time(78_081).saturating_mul(r.into()))
// Standard Error: 1_110
.saturating_add(Weight::from_ref_time(458_837).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:2 w:2)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:100 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Minimum execution time: 10_506 nanoseconds.
Weight::from_ref_time(28_645_089)
// Standard Error: 5_054
.saturating_add(Weight::from_ref_time(2_631_504).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `101`
// Estimated: `15746 + s * (2589 ±0)`
// Minimum execution time: 9_098 nanoseconds.
Weight::from_ref_time(22_624_884)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 3_865
.saturating_add(Weight::from_ref_time(2_735_607).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_proof_size(2589).saturating_mul(s.into()))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:2)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Minimum execution time: 10_464 nanoseconds.
Weight::from_ref_time(28_679_151)
// Standard Error: 4_404
.saturating_add(Weight::from_ref_time(1_165_328).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `226 + p * (32 ±0)`
// Estimated: `15746`
// Minimum execution time: 8_814 nanoseconds.
Weight::from_ref_time(22_140_295)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 3_600
.saturating_add(Weight::from_ref_time(1_108_458).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 54_718 nanoseconds.
Weight::from_ref_time(36_657_052)
// Standard Error: 10_516
.saturating_add(Weight::from_ref_time(225_162).saturating_mul(r.into()))
// Standard Error: 2_053
.saturating_add(Weight::from_ref_time(1_154_975).saturating_mul(s.into()))
// Standard Error: 2_053
.saturating_add(Weight::from_ref_time(185_205).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `15746`
// Minimum execution time: 49_319 nanoseconds.
Weight::from_ref_time(28_073_986)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 6_192
.saturating_add(Weight::from_ref_time(62_200).saturating_mul(r.into()))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(1_122_770).saturating_mul(s.into()))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(225_189).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:0)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 39_400 nanoseconds.
Weight::from_ref_time(37_112_415)
// Standard Error: 7_303
.saturating_add(Weight::from_ref_time(232_983).saturating_mul(r.into()))
// Standard Error: 1_425
.saturating_add(Weight::from_ref_time(348_409).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `431 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11649`
// Minimum execution time: 30_208 nanoseconds.
Weight::from_ref_time(28_731_902)
.saturating_add(Weight::from_proof_size(11649))
// Standard Error: 5_027
.saturating_add(Weight::from_ref_time(127_894).saturating_mul(r.into()))
// Standard Error: 981
.saturating_add(Weight::from_ref_time(474_811).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 35_733 nanoseconds.
Weight::from_ref_time(34_355_159)
// Standard Error: 6_018
.saturating_add(Weight::from_ref_time(169_133).saturating_mul(r.into()))
// Standard Error: 1_174
.saturating_add(Weight::from_ref_time(338_064).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `430 + x * (66 ±0)`
// Estimated: `10013`
// Minimum execution time: 27_041 nanoseconds.
Weight::from_ref_time(26_760_677)
.saturating_add(Weight::from_proof_size(10013))
// Standard Error: 7_122
.saturating_add(Weight::from_ref_time(62_459).saturating_mul(r.into()))
// Standard Error: 1_389
.saturating_add(Weight::from_ref_time(468_208).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
// Minimum execution time: 8_840 nanoseconds.
Weight::from_ref_time(9_690_231)
// Standard Error: 2_034
.saturating_add(Weight::from_ref_time(113_840).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 7_140 nanoseconds.
Weight::from_ref_time(7_733_950)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_671
.saturating_add(Weight::from_ref_time(110_862).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
// Minimum execution time: 9_051 nanoseconds.
Weight::from_ref_time(9_696_417)
// Standard Error: 1_920
.saturating_add(Weight::from_ref_time(114_060).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 7_292 nanoseconds.
Weight::from_ref_time(7_744_432)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_228
.saturating_add(Weight::from_ref_time(103_386).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
// Minimum execution time: 9_076 nanoseconds.
Weight::from_ref_time(9_789_994)
// Standard Error: 2_023
.saturating_add(Weight::from_ref_time(121_698).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 7_335 nanoseconds.
Weight::from_ref_time(7_713_621)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_281
.saturating_add(Weight::from_ref_time(99_586).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:0)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 28_978 nanoseconds.
Weight::from_ref_time(27_340_145)
// Standard Error: 6_507
.saturating_add(Weight::from_ref_time(207_315).saturating_mul(r.into()))
// Standard Error: 1_203
.saturating_add(Weight::from_ref_time(589_768).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `509 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11649`
// Minimum execution time: 23_161 nanoseconds.
Weight::from_ref_time(22_446_907)
.saturating_add(Weight::from_proof_size(11649))
// Standard Error: 5_391
.saturating_add(Weight::from_ref_time(112_497).saturating_mul(r.into()))
// Standard Error: 997
.saturating_add(Weight::from_ref_time(769_392).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 59_454 nanoseconds.
Weight::from_ref_time(42_570_386)
// Standard Error: 10_698
.saturating_add(Weight::from_ref_time(183_102).saturating_mul(r.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_ref_time(1_159_349).saturating_mul(s.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_ref_time(182_901).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `18349`
// Minimum execution time: 54_015 nanoseconds.
Weight::from_ref_time(32_925_712)
.saturating_add(Weight::from_proof_size(18349))
// Standard Error: 7_533
.saturating_add(Weight::from_ref_time(63_262).saturating_mul(r.into()))
// Standard Error: 1_471
.saturating_add(Weight::from_ref_time(1_155_232).saturating_mul(s.into()))
// Standard Error: 1_471
.saturating_add(Weight::from_ref_time(226_801).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn add_sub(s: u32, ) -> Weight {
// Minimum execution time: 33_811 nanoseconds.
Weight::from_ref_time(38_973_792)
// Standard Error: 1_648
.saturating_add(Weight::from_ref_time(124_121).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `507 + s * (36 ±0)`
// Estimated: `18335`
// Minimum execution time: 26_638 nanoseconds.
Weight::from_ref_time(31_911_936)
.saturating_add(Weight::from_proof_size(18335))
// Standard Error: 1_403
.saturating_add(Weight::from_ref_time(68_428).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Minimum execution time: 14_469 nanoseconds.
Weight::from_ref_time(15_663_711)
// Standard Error: 761
.saturating_add(Weight::from_ref_time(55_243).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `623 + s * (3 ±0)`
// Estimated: `12602`
// Minimum execution time: 12_649 nanoseconds.
Weight::from_ref_time(14_714_076)
.saturating_add(Weight::from_proof_size(12602))
// Standard Error: 739
.saturating_add(Weight::from_ref_time(15_226).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Minimum execution time: 38_024 nanoseconds.
Weight::from_ref_time(41_170_092)
// Standard Error: 1_694
.saturating_add(Weight::from_ref_time(112_577).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `702 + s * (35 ±0)`
// Estimated: `18335`
// Minimum execution time: 30_152 nanoseconds.
Weight::from_ref_time(33_576_799)
.saturating_add(Weight::from_proof_size(18335))
// Standard Error: 937
.saturating_add(Weight::from_ref_time(52_181).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Minimum execution time: 26_560 nanoseconds.
Weight::from_ref_time(29_489_434)
// Standard Error: 1_131
.saturating_add(Weight::from_ref_time(105_237).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `628 + s * (37 ±0)`
// Estimated: `8322`
// Minimum execution time: 19_192 nanoseconds.
Weight::from_ref_time(21_910_906)
.saturating_add(Weight::from_proof_size(8322))
// Standard Error: 1_053
.saturating_add(Weight::from_ref_time(53_639).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_im_online`
//!
//! 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,21 +45,32 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_im_online`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
// Storage: Session Validators (r:1 w:0)
// Storage: Session CurrentIndex (r:1 w:0)
// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
// Storage: ImOnline AuthoredBlocks (r:1 w:0)
// Storage: ImOnline Keys (r:1 w:0)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Session CurrentIndex (r:1 w:0)
/// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ImOnline Keys (r:1 w:0)
/// Proof: ImOnline Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen)
/// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(10021032), added: 10023507, mode: MaxEncodedLen)
/// Storage: ImOnline AuthoredBlocks (r:1 w:0)
/// Proof: ImOnline AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// The range of component `k` is `[1, 1000]`.
/// The range of component `e` is `[1, 100]`.
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
// Minimum execution time: 123_239 nanoseconds.
Weight::from_ref_time(104_992_306)
// Standard Error: 444
.saturating_add(Weight::from_ref_time(34_727).saturating_mul(k.into()))
// Standard Error: 4_475
.saturating_add(Weight::from_ref_time(400_482).saturating_mul(e.into()))
// Proof Size summary in bytes:
// Measured: `425 + k * (32 ±0)`
// Estimated: `10345844 + k * (64 ±0) + e * (25 ±0)`
// Minimum execution time: 91_212 nanoseconds.
Weight::from_ref_time(72_601_149)
.saturating_add(Weight::from_proof_size(10345844))
// Standard Error: 256
.saturating_add(Weight::from_ref_time(23_275).saturating_mul(k.into()))
// Standard Error: 2_588
.saturating_add(Weight::from_ref_time(387_376).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(64).saturating_mul(k.into()))
.saturating_add(Weight::from_proof_size(25).saturating_mul(e.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_indices`
//!
//! 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,40 +45,67 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_indices`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn claim() -> Weight {
// Minimum execution time: 28_304 nanoseconds.
Weight::from_ref_time(28_913_000)
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `2544`
// Minimum execution time: 20_043 nanoseconds.
Weight::from_ref_time(20_524_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 34_582 nanoseconds.
Weight::from_ref_time(36_289_000)
// Proof Size summary in bytes:
// Measured: `405`
// Estimated: `5147`
// Minimum execution time: 25_756 nanoseconds.
Weight::from_ref_time(26_328_000)
.saturating_add(Weight::from_proof_size(5147))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn free() -> Weight {
// Minimum execution time: 28_944 nanoseconds.
Weight::from_ref_time(30_183_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `2544`
// Minimum execution time: 21_115 nanoseconds.
Weight::from_ref_time(21_969_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 29_140 nanoseconds.
Weight::from_ref_time(29_767_000)
// Proof Size summary in bytes:
// Measured: `405`
// Estimated: `5147`
// Minimum execution time: 23_431 nanoseconds.
Weight::from_ref_time(23_760_000)
.saturating_add(Weight::from_proof_size(5147))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Minimum execution time: 34_327 nanoseconds.
Weight::from_ref_time(35_344_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `2544`
// Minimum execution time: 23_719 nanoseconds.
Weight::from_ref_time(24_080_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! 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:
@@ -46,80 +47,113 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 16_814 nanoseconds.
Weight::from_ref_time(18_252_508)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(555).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_271 nanoseconds.
Weight::from_ref_time(12_669_904)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(556).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 49_472 nanoseconds.
Weight::from_ref_time(35_944_742)
// Standard Error: 1_394
.saturating_add(Weight::from_ref_time(155_857).saturating_mul(s.into()))
// Standard Error: 13
.saturating_add(Weight::from_ref_time(1_929).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `395 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 38_074 nanoseconds.
Weight::from_ref_time(31_174_864)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 609
.saturating_add(Weight::from_ref_time(73_824).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_584).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 38_081 nanoseconds.
Weight::from_ref_time(26_846_048)
// Standard Error: 1_192
.saturating_add(Weight::from_ref_time(136_620).saturating_mul(s.into()))
// Standard Error: 11
.saturating_add(Weight::from_ref_time(1_811).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `317`
// Estimated: `5821`
// Minimum execution time: 28_082 nanoseconds.
Weight::from_ref_time(22_085_278)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 711
.saturating_add(Weight::from_ref_time(72_605).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_523).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 55_395 nanoseconds.
Weight::from_ref_time(38_385_316)
// Standard Error: 1_684
.saturating_add(Weight::from_ref_time(188_921).saturating_mul(s.into()))
// Standard Error: 16
.saturating_add(Weight::from_ref_time(2_024).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `455 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 42_802 nanoseconds.
Weight::from_ref_time(34_774_719)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 450
.saturating_add(Weight::from_ref_time(87_427).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_575).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 32_781 nanoseconds.
Weight::from_ref_time(35_307_540)
// Standard Error: 1_664
.saturating_add(Weight::from_ref_time(154_999).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 24_006 nanoseconds.
Weight::from_ref_time(24_709_664)
// Standard Error: 1_253
.saturating_add(Weight::from_ref_time(147_127).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `405 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 28_126 nanoseconds.
Weight::from_ref_time(29_606_606)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 830
.saturating_add(Weight::from_ref_time(79_120).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `317`
// Estimated: `5821`
// Minimum execution time: 18_249 nanoseconds.
Weight::from_ref_time(19_695_213)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 662
.saturating_add(Weight::from_ref_time(77_485).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 34_794 nanoseconds.
Weight::from_ref_time(36_103_891)
// Standard Error: 1_306
.saturating_add(Weight::from_ref_time(157_422).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `521 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 29_871 nanoseconds.
Weight::from_ref_time(30_661_326)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 563
.saturating_add(Weight::from_ref_time(75_613).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! 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:
@@ -72,10 +73,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn join() -> Weight {
// Proof Size summary in bytes:
// Measured: `3468`
// Measured: `3586`
// Estimated: `38468`
// Minimum execution time: 152_199 nanoseconds.
Weight::from_ref_time(157_673_000)
// Minimum execution time: 154_304 nanoseconds.
Weight::from_ref_time(155_220_000)
.saturating_add(Weight::from_proof_size(38468))
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(12))
@@ -100,10 +101,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `3510`
// Measured: `3628`
// Estimated: `39063`
// Minimum execution time: 150_270 nanoseconds.
Weight::from_ref_time(155_619_000)
// Minimum execution time: 150_523 nanoseconds.
Weight::from_ref_time(154_073_000)
.saturating_add(Weight::from_proof_size(39063))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12))
@@ -130,10 +131,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `3393`
// Measured: `3427`
// Estimated: `38950`
// Minimum execution time: 164_700 nanoseconds.
Weight::from_ref_time(169_418_000)
// Minimum execution time: 162_554 nanoseconds.
Weight::from_ref_time(164_041_000)
.saturating_add(Weight::from_proof_size(38950))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12))
@@ -152,8 +153,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1220`
// Estimated: `13485`
// Minimum execution time: 56_711 nanoseconds.
Weight::from_ref_time(58_399_000)
// Minimum execution time: 58_946 nanoseconds.
Weight::from_ref_time(59_799_000)
.saturating_add(Weight::from_proof_size(13485))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
@@ -183,20 +184,18 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: VoterList ListBags (r:2 w:2)
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
/// Storage: NominationPools SubPoolsStorage (r:1 w:1)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, mode: MaxEncodedLen)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(261), added: 2736, mode: MaxEncodedLen)
/// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
/// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
fn unbond() -> Weight {
// Proof Size summary in bytes:
// Measured: `3748`
// Estimated: `44674`
// Minimum execution time: 158_330 nanoseconds.
Weight::from_ref_time(164_448_000)
.saturating_add(Weight::from_proof_size(44674))
// Measured: `3865`
// Estimated: `43738`
// Minimum execution time: 155_416 nanoseconds.
Weight::from_ref_time(157_093_000)
.saturating_add(Weight::from_proof_size(43738))
.saturating_add(T::DbWeight::get().reads(18))
.saturating_add(T::DbWeight::get().writes(14))
.saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: NominationPools BondedPools (r:1 w:0)
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
@@ -211,13 +210,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1672`
// Measured: `1706`
// Estimated: `13025`
// Minimum execution time: 52_454 nanoseconds.
Weight::from_ref_time(54_517_406)
// Minimum execution time: 52_621 nanoseconds.
Weight::from_ref_time(53_508_921)
.saturating_add(Weight::from_proof_size(13025))
// Standard Error: 1_474
.saturating_add(Weight::from_ref_time(55_026).saturating_mul(s.into()))
// Standard Error: 790
.saturating_add(Weight::from_ref_time(15_066).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -228,7 +227,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: NominationPools BondedPools (r:1 w:1)
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
/// Storage: NominationPools SubPoolsStorage (r:1 w:1)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, mode: MaxEncodedLen)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(261), added: 2736, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:1)
@@ -239,18 +238,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
/// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2196`
// Estimated: `22991`
// Minimum execution time: 98_434 nanoseconds.
Weight::from_ref_time(103_207_163)
.saturating_add(Weight::from_proof_size(22991))
// Standard Error: 2_701
.saturating_add(Weight::from_ref_time(68_680).saturating_mul(s.into()))
// Measured: `2230`
// Estimated: `22055`
// Minimum execution time: 102_019 nanoseconds.
Weight::from_ref_time(104_029_094)
.saturating_add(Weight::from_proof_size(22055))
// Standard Error: 1_344
.saturating_add(Weight::from_ref_time(13_886).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(7))
.saturating_add(T::DbWeight::get().writes(8))
}
/// Storage: NominationPools PoolMembers (r:1 w:1)
/// Proof: NominationPools PoolMembers (max_values: None, max_size: Some(717), added: 3192, mode: MaxEncodedLen)
@@ -259,7 +260,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: NominationPools BondedPools (r:1 w:1)
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
/// Storage: NominationPools SubPoolsStorage (r:1 w:1)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, mode: MaxEncodedLen)
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(261), added: 2736, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:1)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:1)
@@ -292,18 +293,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: NominationPools CounterForBondedPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking Payee (r:0 w:1)
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2584`
// Estimated: `46001`
// Minimum execution time: 153_991 nanoseconds.
Weight::from_ref_time(160_710_694)
.saturating_add(Weight::from_proof_size(46001))
// Standard Error: 3_944
.saturating_add(Weight::from_ref_time(4_851).saturating_mul(s.into()))
// Measured: `2618`
// Estimated: `45099`
// Minimum execution time: 161_236 nanoseconds.
Weight::from_ref_time(164_070_568)
.saturating_add(Weight::from_proof_size(45099))
// Standard Error: 2_621
.saturating_add(Weight::from_ref_time(10_297).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(17))
.saturating_add(T::DbWeight::get().writes(18))
}
/// Storage: NominationPools LastPoolId (r:1 w:1)
/// Proof: NominationPools LastPoolId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -349,10 +352,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `1220`
// Measured: `1254`
// Estimated: `32002`
// Minimum execution time: 133_178 nanoseconds.
Weight::from_ref_time(139_719_000)
// Minimum execution time: 142_981 nanoseconds.
Weight::from_ref_time(144_237_000)
.saturating_add(Weight::from_proof_size(32002))
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(15))
@@ -384,13 +387,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1805`
// Measured: `1839`
// Estimated: `21998 + n * (2520 ±0)`
// Minimum execution time: 64_454 nanoseconds.
Weight::from_ref_time(66_211_268)
// Minimum execution time: 65_217 nanoseconds.
Weight::from_ref_time(65_750_377)
.saturating_add(Weight::from_proof_size(21998))
// Standard Error: 8_856
.saturating_add(Weight::from_ref_time(1_214_910).saturating_mul(n.into()))
// Standard Error: 7_685
.saturating_add(Weight::from_ref_time(1_336_128).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
@@ -404,10 +407,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
fn set_state() -> Weight {
// Proof Size summary in bytes:
// Measured: `1393`
// Measured: `1427`
// Estimated: `8752`
// Minimum execution time: 32_632 nanoseconds.
Weight::from_ref_time(34_156_000)
// Minimum execution time: 35_863 nanoseconds.
Weight::from_ref_time(36_287_000)
.saturating_add(Weight::from_proof_size(8752))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
@@ -423,11 +426,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `525`
// Estimated: `5883`
// Minimum execution time: 13_558 nanoseconds.
Weight::from_ref_time(14_425_466)
// Minimum execution time: 13_860 nanoseconds.
Weight::from_ref_time(14_425_990)
.saturating_add(Weight::from_proof_size(5883))
// Standard Error: 163
.saturating_add(Weight::from_ref_time(1_089).saturating_mul(n.into()))
// Standard Error: 94
.saturating_add(Weight::from_ref_time(1_103).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -445,8 +448,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_500 nanoseconds.
Weight::from_ref_time(4_878_000)
// Minimum execution time: 5_097 nanoseconds.
Weight::from_ref_time(5_385_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -456,8 +459,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `525`
// Estimated: `2639`
// Minimum execution time: 18_420 nanoseconds.
Weight::from_ref_time(19_058_000)
// Minimum execution time: 19_168 nanoseconds.
Weight::from_ref_time(19_566_000)
.saturating_add(Weight::from_proof_size(2639))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -482,10 +485,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn chill() -> Weight {
// Proof Size summary in bytes:
// Measured: `2032`
// Measured: `2066`
// Estimated: `20489`
// Minimum execution time: 63_588 nanoseconds.
Weight::from_ref_time(65_776_000)
// Minimum execution time: 64_030 nanoseconds.
Weight::from_ref_time(64_573_000)
.saturating_add(Weight::from_proof_size(20489))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
@@ -498,8 +501,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `508`
// Estimated: `5708`
// Minimum execution time: 14_303 nanoseconds.
Weight::from_ref_time(15_001_000)
// Minimum execution time: 14_137 nanoseconds.
Weight::from_ref_time(14_483_000)
.saturating_add(Weight::from_proof_size(5708))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_preimage`
//!
//! 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,102 +45,168 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_preimage`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
// Minimum execution time: 31_562 nanoseconds.
Weight::from_ref_time(171_400_857)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(2_527).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `213`
// Estimated: `2566`
// Minimum execution time: 26_332 nanoseconds.
Weight::from_ref_time(26_523_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_331).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
// Minimum execution time: 22_020 nanoseconds.
Weight::from_ref_time(22_351_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_791).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 16_527 nanoseconds.
Weight::from_ref_time(16_615_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_329).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Minimum execution time: 20_963 nanoseconds.
Weight::from_ref_time(21_456_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_795).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 15_795 nanoseconds.
Weight::from_ref_time(15_943_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_327).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_preimage() -> Weight {
// Minimum execution time: 63_207 nanoseconds.
Weight::from_ref_time(69_356_000)
// Proof Size summary in bytes:
// Measured: `391`
// Estimated: `2566`
// Minimum execution time: 33_007 nanoseconds.
Weight::from_ref_time(33_864_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_no_deposit_preimage() -> Weight {
// Minimum execution time: 50_694 nanoseconds.
Weight::from_ref_time(53_449_000)
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `2566`
// Minimum execution time: 20_702 nanoseconds.
Weight::from_ref_time(21_897_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_preimage() -> Weight {
// Minimum execution time: 45_428 nanoseconds.
Weight::from_ref_time(50_044_000)
// Proof Size summary in bytes:
// Measured: `258`
// Estimated: `2566`
// Minimum execution time: 18_832 nanoseconds.
Weight::from_ref_time(19_900_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_no_deposit_preimage() -> Weight {
// Minimum execution time: 27_772 nanoseconds.
Weight::from_ref_time(30_683_000)
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `2566`
// Minimum execution time: 11_561 nanoseconds.
Weight::from_ref_time(12_213_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_unnoted_preimage() -> Weight {
// Minimum execution time: 33_497 nanoseconds.
Weight::from_ref_time(35_702_000)
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `2566`
// Minimum execution time: 12_670 nanoseconds.
Weight::from_ref_time(13_316_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_requested_preimage() -> Weight {
// Minimum execution time: 12_126 nanoseconds.
Weight::from_ref_time(13_934_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 8_232 nanoseconds.
Weight::from_ref_time(8_455_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unrequest_preimage() -> Weight {
// Minimum execution time: 46_863 nanoseconds.
Weight::from_ref_time(52_194_000)
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `2566`
// Minimum execution time: 19_508 nanoseconds.
Weight::from_ref_time(20_469_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_unnoted_preimage() -> Weight {
// Minimum execution time: 12_336 nanoseconds.
Weight::from_ref_time(14_182_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 8_487 nanoseconds.
Weight::from_ref_time(9_047_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_multi_referenced_preimage() -> Weight {
// Minimum execution time: 12_643 nanoseconds.
Weight::from_ref_time(14_132_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 8_421 nanoseconds.
Weight::from_ref_time(8_691_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! 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,121 +45,174 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_611 nanoseconds.
Weight::from_ref_time(21_993_943)
// Standard Error: 2_242
.saturating_add(Weight::from_ref_time(48_834).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 15_347 nanoseconds.
Weight::from_ref_time(15_780_294)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 837
.saturating_add(Weight::from_ref_time(38_642).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 39_883 nanoseconds.
Weight::from_ref_time(40_883_571)
// Standard Error: 3_523
.saturating_add(Weight::from_ref_time(147_668).saturating_mul(a.into()))
// Standard Error: 3_640
.saturating_add(Weight::from_ref_time(46_388).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `650 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 37_274 nanoseconds.
Weight::from_ref_time(38_291_200)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(131_239).saturating_mul(a.into()))
// Standard Error: 5_166
.saturating_add(Weight::from_ref_time(23_237).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_811 nanoseconds.
Weight::from_ref_time(29_632_960)
// Standard Error: 2_730
.saturating_add(Weight::from_ref_time(120_711).saturating_mul(a.into()))
// Standard Error: 2_820
.saturating_add(Weight::from_ref_time(10_478).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `533 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 21_081 nanoseconds.
Weight::from_ref_time(22_305_156)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_368
.saturating_add(Weight::from_ref_time(156_042).saturating_mul(a.into()))
// Standard Error: 1_413
.saturating_add(Weight::from_ref_time(1_098).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_051 nanoseconds.
Weight::from_ref_time(29_928_975)
// Standard Error: 2_750
.saturating_add(Weight::from_ref_time(119_102).saturating_mul(a.into()))
// Standard Error: 2_841
.saturating_add(Weight::from_ref_time(2_233).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `533 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 21_085 nanoseconds.
Weight::from_ref_time(22_134_455)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_470
.saturating_add(Weight::from_ref_time(158_283).saturating_mul(a.into()))
// Standard Error: 1_519
.saturating_add(Weight::from_ref_time(6_784).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 36_193 nanoseconds.
Weight::from_ref_time(38_162_314)
// Standard Error: 2_756
.saturating_add(Weight::from_ref_time(124_559).saturating_mul(a.into()))
// Standard Error: 2_847
.saturating_add(Weight::from_ref_time(37_787).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `582 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 29_959 nanoseconds.
Weight::from_ref_time(34_668_660)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 4_792
.saturating_add(Weight::from_ref_time(142_266).saturating_mul(a.into()))
// Standard Error: 4_951
.saturating_add(Weight::from_ref_time(16_544).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_819 nanoseconds.
Weight::from_ref_time(31_646_836)
// Standard Error: 2_629
.saturating_add(Weight::from_ref_time(69_752).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 22_615 nanoseconds.
Weight::from_ref_time(23_406_833)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_400
.saturating_add(Weight::from_ref_time(61_266).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 30_096 nanoseconds.
Weight::from_ref_time(31_657_583)
// Standard Error: 2_641
.saturating_add(Weight::from_ref_time(74_552).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 22_549 nanoseconds.
Weight::from_ref_time(23_521_968)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_589
.saturating_add(Weight::from_ref_time(61_407).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 26_013 nanoseconds.
Weight::from_ref_time(27_323_978)
// Standard Error: 1_722
.saturating_add(Weight::from_ref_time(37_878).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_911 nanoseconds.
Weight::from_ref_time(18_770_263)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_302
.saturating_add(Weight::from_ref_time(24_471).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 32_395 nanoseconds.
Weight::from_ref_time(34_072_271)
// Standard Error: 2_410
.saturating_add(Weight::from_ref_time(16_526).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
fn create_pure(_p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `3716`
// Minimum execution time: 24_293 nanoseconds.
Weight::from_ref_time(25_926_875)
.saturating_add(Weight::from_proof_size(3716))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 27_149 nanoseconds.
Weight::from_ref_time(28_629_950)
// Standard Error: 2_634
.saturating_add(Weight::from_ref_time(29_904).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `296 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_885 nanoseconds.
Weight::from_ref_time(19_514_850)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_244
.saturating_add(Weight::from_ref_time(35_764).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_scheduler`
//!
//! 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,96 +45,157 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_scheduler`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler IncompleteSince (r:1 w:1)
/// Storage: Scheduler IncompleteSince (r:1 w:1)
/// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn service_agendas_base() -> Weight {
// Minimum execution time: 5_078 nanoseconds.
Weight::from_ref_time(5_283_000)
// Proof Size summary in bytes:
// Measured: `69`
// Estimated: `499`
// Minimum execution time: 4_026 nanoseconds.
Weight::from_ref_time(4_139_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
// Minimum execution time: 5_670 nanoseconds.
Weight::from_ref_time(6_515_590)
// Standard Error: 1_621
.saturating_add(Weight::from_ref_time(838_283).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 3_563 nanoseconds.
Weight::from_ref_time(6_693_198)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 2_186
.saturating_add(Weight::from_ref_time(933_319).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
// Minimum execution time: 10_831 nanoseconds.
Weight::from_ref_time(11_053_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_928 nanoseconds.
Weight::from_ref_time(6_097_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
// Minimum execution time: 24_280 nanoseconds.
Weight::from_ref_time(24_426_000)
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_681).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `249 + s * (1 ±0)`
// Estimated: `5290 + s * (1 ±0)`
// Minimum execution time: 20_421 nanoseconds.
Weight::from_ref_time(20_813_000)
.saturating_add(Weight::from_proof_size(5290))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_167).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(1).saturating_mul(s.into()))
}
// Storage: Scheduler Lookup (r:0 w:1)
/// Storage: Scheduler Lookup (r:0 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn service_task_named() -> Weight {
// Minimum execution time: 12_201 nanoseconds.
Weight::from_ref_time(12_693_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_724 nanoseconds.
Weight::from_ref_time(7_911_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
// Minimum execution time: 10_850 nanoseconds.
Weight::from_ref_time(11_218_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_909 nanoseconds.
Weight::from_ref_time(6_046_000)
.saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_signed() -> Weight {
// Minimum execution time: 4_322 nanoseconds.
Weight::from_ref_time(4_424_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_570 nanoseconds.
Weight::from_ref_time(2_658_000)
.saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_unsigned() -> Weight {
// Minimum execution time: 4_264 nanoseconds.
Weight::from_ref_time(4_407_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_428 nanoseconds.
Weight::from_ref_time(2_590_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
// Minimum execution time: 19_171 nanoseconds.
Weight::from_ref_time(21_225_154)
// Standard Error: 3_051
.saturating_add(Weight::from_ref_time(896_757).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 13_394 nanoseconds.
Weight::from_ref_time(16_496_080)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 2_394
.saturating_add(Weight::from_ref_time(922_960).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// Storage: Scheduler Lookup (r:0 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
// Minimum execution time: 22_320 nanoseconds.
Weight::from_ref_time(20_983_225)
// Standard Error: 3_505
.saturating_add(Weight::from_ref_time(1_548_439).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 17_994 nanoseconds.
Weight::from_ref_time(17_091_448)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 2_380
.saturating_add(Weight::from_ref_time(1_653_591).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Lookup (r:1 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
// Minimum execution time: 21_422 nanoseconds.
Weight::from_ref_time(24_542_138)
// Standard Error: 3_635
.saturating_add(Weight::from_ref_time(936_057).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `325 + s * (185 ±0)`
// Estimated: `43961`
// Minimum execution time: 16_065 nanoseconds.
Weight::from_ref_time(20_232_697)
.saturating_add(Weight::from_proof_size(43961))
// Standard Error: 3_412
.saturating_add(Weight::from_ref_time(972_992).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Lookup (r:1 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
// Minimum execution time: 24_084 nanoseconds.
Weight::from_ref_time(23_234_964)
// Standard Error: 3_163
.saturating_add(Weight::from_ref_time(1_562_424).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `351 + s * (185 ±0)`
// Estimated: `43961`
// Minimum execution time: 18_848 nanoseconds.
Weight::from_ref_time(19_042_838)
.saturating_add(Weight::from_proof_size(43961))
// Standard Error: 2_754
.saturating_add(Weight::from_ref_time(1_676_910).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_session`
//!
//! 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,21 +45,35 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_session`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Staking Ledger (r:1 w:0)
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:6 w:6)
/// Storage: Staking Ledger (r:1 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Session NextKeys (r:1 w:1)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session KeyOwner (r:6 w:6)
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn set_keys() -> Weight {
// Minimum execution time: 63_868 nanoseconds.
Weight::from_ref_time(66_590_000)
// Proof Size summary in bytes:
// Measured: `1985`
// Estimated: `24861`
// Minimum execution time: 51_818 nanoseconds.
Weight::from_ref_time(52_338_000)
.saturating_add(Weight::from_proof_size(24861))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:6)
/// Storage: Staking Ledger (r:1 w:0)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Session NextKeys (r:1 w:1)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session KeyOwner (r:0 w:6)
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn purge_keys() -> Weight {
// Minimum execution time: 49_220 nanoseconds.
Weight::from_ref_time(51_396_000)
// Proof Size summary in bytes:
// Measured: `1881`
// Estimated: `9803`
// Minimum execution time: 37_554 nanoseconds.
Weight::from_ref_time(38_608_000)
.saturating_add(Weight::from_proof_size(9803))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(7))
}
File diff suppressed because it is too large Load Diff
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! 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,16 +45,26 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_timestamp`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
// Storage: Babe CurrentSlot (r:1 w:0)
/// Storage: Timestamp Now (r:1 w:1)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Babe CurrentSlot (r:1 w:0)
/// Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn set() -> Weight {
// Minimum execution time: 10_391 nanoseconds.
Weight::from_ref_time(10_881_000)
// Proof Size summary in bytes:
// Measured: `311`
// Estimated: `1006`
// Minimum execution time: 9_409 nanoseconds.
Weight::from_ref_time(9_725_000)
.saturating_add(Weight::from_proof_size(1006))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_327 nanoseconds.
Weight::from_ref_time(4_494_000)
// Proof Size summary in bytes:
// Measured: `94`
// Estimated: `0`
// Minimum execution time: 3_952 nanoseconds.
Weight::from_ref_time(4_025_000)
.saturating_add(Weight::from_proof_size(0))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_utility`
//!
//! 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:
@@ -46,31 +47,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 12_976 nanoseconds.
Weight::from_ref_time(17_945_328)
// Standard Error: 2_191
.saturating_add(Weight::from_ref_time(4_298_440).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_885 nanoseconds.
Weight::from_ref_time(11_162_365)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_439
.saturating_add(Weight::from_ref_time(4_637_012).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_487 nanoseconds.
Weight::from_ref_time(6_822_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_203 nanoseconds.
Weight::from_ref_time(5_441_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 13_287 nanoseconds.
Weight::from_ref_time(23_435_451)
// Standard Error: 1_891
.saturating_add(Weight::from_ref_time(4_521_746).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_067 nanoseconds.
Weight::from_ref_time(11_552_327)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_783
.saturating_add(Weight::from_ref_time(4_935_647).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 15_069 nanoseconds.
Weight::from_ref_time(15_654_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_999 nanoseconds.
Weight::from_ref_time(9_297_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 13_148 nanoseconds.
Weight::from_ref_time(21_124_216)
// Standard Error: 2_515
.saturating_add(Weight::from_ref_time(4_292_695).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_876 nanoseconds.
Weight::from_ref_time(10_175_160)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 3_709
.saturating_add(Weight::from_ref_time(4_685_640).saturating_mul(c.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_vesting`
//!
//! 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,121 +45,175 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_vesting`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_606 nanoseconds.
Weight::from_ref_time(39_126_286)
// Standard Error: 2_229
.saturating_add(Weight::from_ref_time(49_156).saturating_mul(l.into()))
// Standard Error: 3_966
.saturating_add(Weight::from_ref_time(131_485).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `411 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `7306`
// Minimum execution time: 29_824 nanoseconds.
Weight::from_ref_time(28_717_712)
.saturating_add(Weight::from_proof_size(7306))
// Standard Error: 764
.saturating_add(Weight::from_ref_time(46_637).saturating_mul(l.into()))
// Standard Error: 1_359
.saturating_add(Weight::from_ref_time(74_164).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_725 nanoseconds.
Weight::from_ref_time(39_316_940)
// Standard Error: 2_096
.saturating_add(Weight::from_ref_time(51_129).saturating_mul(l.into()))
// Standard Error: 3_729
.saturating_add(Weight::from_ref_time(91_410).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `411 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `7306`
// Minimum execution time: 28_921 nanoseconds.
Weight::from_ref_time(28_545_679)
.saturating_add(Weight::from_proof_size(7306))
// Standard Error: 590
.saturating_add(Weight::from_ref_time(38_502).saturating_mul(l.into()))
// Standard Error: 1_049
.saturating_add(Weight::from_ref_time(46_713).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 40_094 nanoseconds.
Weight::from_ref_time(39_181_593)
// Standard Error: 2_656
.saturating_add(Weight::from_ref_time(58_520).saturating_mul(l.into()))
// Standard Error: 4_726
.saturating_add(Weight::from_ref_time(106_280).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `546 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 31_695 nanoseconds.
Weight::from_ref_time(30_837_986)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 795
.saturating_add(Weight::from_ref_time(50_558).saturating_mul(l.into()))
// Standard Error: 1_415
.saturating_add(Weight::from_ref_time(73_289).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_572 nanoseconds.
Weight::from_ref_time(39_262_140)
// Standard Error: 2_331
.saturating_add(Weight::from_ref_time(48_095).saturating_mul(l.into()))
// Standard Error: 4_148
.saturating_add(Weight::from_ref_time(89_208).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `546 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 31_319 nanoseconds.
Weight::from_ref_time(30_790_564)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 665
.saturating_add(Weight::from_ref_time(39_746).saturating_mul(l.into()))
// Standard Error: 1_183
.saturating_add(Weight::from_ref_time(50_607).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 56_483 nanoseconds.
Weight::from_ref_time(57_095_510)
// Standard Error: 2_782
.saturating_add(Weight::from_ref_time(42_757).saturating_mul(l.into()))
// Standard Error: 4_950
.saturating_add(Weight::from_ref_time(79_812).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `617 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 49_632 nanoseconds.
Weight::from_ref_time(50_035_640)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 1_457
.saturating_add(Weight::from_ref_time(45_951).saturating_mul(l.into()))
// Standard Error: 2_593
.saturating_add(Weight::from_ref_time(58_374).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 55_270 nanoseconds.
Weight::from_ref_time(57_043_614)
// Standard Error: 2_833
.saturating_add(Weight::from_ref_time(29_839).saturating_mul(l.into()))
// Standard Error: 5_040
.saturating_add(Weight::from_ref_time(67_429).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `752 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12512`
// Minimum execution time: 51_816 nanoseconds.
Weight::from_ref_time(51_705_864)
.saturating_add(Weight::from_proof_size(12512))
// Standard Error: 1_446
.saturating_add(Weight::from_ref_time(43_671).saturating_mul(l.into()))
// Standard Error: 2_574
.saturating_add(Weight::from_ref_time(63_148).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 41_695 nanoseconds.
Weight::from_ref_time(41_640_100)
// Standard Error: 2_040
.saturating_add(Weight::from_ref_time(33_458).saturating_mul(l.into()))
// Standard Error: 3_768
.saturating_add(Weight::from_ref_time(101_011).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `544 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 32_895 nanoseconds.
Weight::from_ref_time(32_577_652)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 1_018
.saturating_add(Weight::from_ref_time(37_445).saturating_mul(l.into()))
// Standard Error: 1_880
.saturating_add(Weight::from_ref_time(65_218).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 40_834 nanoseconds.
Weight::from_ref_time(40_051_044)
// Standard Error: 1_874
.saturating_add(Weight::from_ref_time(61_045).saturating_mul(l.into()))
// Standard Error: 3_462
.saturating_add(Weight::from_ref_time(113_102).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `544 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 33_169 nanoseconds.
Weight::from_ref_time(32_526_311)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 884
.saturating_add(Weight::from_ref_time(39_392).saturating_mul(l.into()))
// Standard Error: 1_633
.saturating_add(Weight::from_ref_time(64_317).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_xcm`
//!
//! 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,123 +45,223 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_xcm`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn send() -> Weight {
// Minimum execution time: 38_435 nanoseconds.
Weight::from_ref_time(39_264_000)
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `9260`
// Minimum execution time: 30_849 nanoseconds.
Weight::from_ref_time(31_945_000)
.saturating_add(Weight::from_proof_size(9260))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
fn teleport_assets() -> Weight {
// Minimum execution time: 29_090 nanoseconds.
Weight::from_ref_time(29_801_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 22_799 nanoseconds.
Weight::from_ref_time(23_316_000)
.saturating_add(Weight::from_proof_size(0))
}
fn reserve_transfer_assets() -> Weight {
// Minimum execution time: 27_998 nanoseconds.
Weight::from_ref_time(29_079_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_833 nanoseconds.
Weight::from_ref_time(22_121_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
Weight::from_ref_time(18_446_744_073_709_551_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: XcmPallet SupportedVersion (r:0 w:1)
/// Storage: XcmPallet SupportedVersion (r:0 w:1)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn force_xcm_version() -> Weight {
// Minimum execution time: 15_893 nanoseconds.
Weight::from_ref_time(16_196_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_945 nanoseconds.
Weight::from_ref_time(10_250_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
/// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
fn force_default_xcm_version() -> Weight {
// Minimum execution time: 4_403 nanoseconds.
Weight::from_ref_time(4_553_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_700 nanoseconds.
Weight::from_ref_time(2_815_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
// Storage: XcmPallet QueryCounter (r:1 w:1)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: XcmPallet Queries (r:0 w:1)
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet QueryCounter (r:1 w:1)
/// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet Queries (r:0 w:1)
/// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured)
fn force_subscribe_version_notify() -> Weight {
// Minimum execution time: 42_466 nanoseconds.
Weight::from_ref_time(43_907_000)
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `12737`
// Minimum execution time: 36_182 nanoseconds.
Weight::from_ref_time(36_714_000)
.saturating_add(Weight::from_proof_size(12737))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: XcmPallet Queries (r:0 w:1)
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet Queries (r:0 w:1)
/// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured)
fn force_unsubscribe_version_notify() -> Weight {
// Minimum execution time: 46_063 nanoseconds.
Weight::from_ref_time(47_278_000)
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `13172`
// Minimum execution time: 36_706 nanoseconds.
Weight::from_ref_time(37_135_000)
.saturating_add(Weight::from_proof_size(13172))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: XcmPallet SupportedVersion (r:4 w:2)
/// Storage: XcmPallet SupportedVersion (r:4 w:2)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn migrate_supported_version() -> Weight {
// Minimum execution time: 15_315 nanoseconds.
Weight::from_ref_time(15_983_000)
// Proof Size summary in bytes:
// Measured: `229`
// Estimated: `10129`
// Minimum execution time: 15_818 nanoseconds.
Weight::from_ref_time(16_246_000)
.saturating_add(Weight::from_proof_size(10129))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifiers (r:4 w:2)
/// Storage: XcmPallet VersionNotifiers (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notifiers() -> Weight {
// Minimum execution time: 15_715 nanoseconds.
Weight::from_ref_time(16_212_000)
// Proof Size summary in bytes:
// Measured: `233`
// Estimated: `10133`
// Minimum execution time: 15_799 nanoseconds.
Weight::from_ref_time(16_232_000)
.saturating_add(Weight::from_proof_size(10133))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifyTargets (r:5 w:0)
/// Storage: XcmPallet VersionNotifyTargets (r:5 w:0)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn already_notified_target() -> Weight {
// Minimum execution time: 18_319 nanoseconds.
Weight::from_ref_time(18_821_000)
// Proof Size summary in bytes:
// Measured: `243`
// Estimated: `12618`
// Minimum execution time: 18_584 nanoseconds.
Weight::from_ref_time(19_031_000)
.saturating_add(Weight::from_proof_size(12618))
.saturating_add(T::DbWeight::get().reads(5))
}
// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn notify_current_targets() -> Weight {
// Minimum execution time: 38_303 nanoseconds.
Weight::from_ref_time(39_210_000)
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `14799`
// Minimum execution time: 33_133 nanoseconds.
Weight::from_ref_time(33_402_000)
.saturating_add(Weight::from_proof_size(14799))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: XcmPallet VersionNotifyTargets (r:3 w:0)
/// Storage: XcmPallet VersionNotifyTargets (r:3 w:0)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn notify_target_migration_fail() -> Weight {
// Minimum execution time: 8_105 nanoseconds.
Weight::from_ref_time(8_402_000)
// Proof Size summary in bytes:
// Measured: `272`
// Estimated: `7697`
// Minimum execution time: 8_589 nanoseconds.
Weight::from_ref_time(8_837_000)
.saturating_add(Weight::from_proof_size(7697))
.saturating_add(T::DbWeight::get().reads(3))
}
// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notify_targets() -> Weight {
// Minimum execution time: 16_035 nanoseconds.
Weight::from_ref_time(16_561_000)
// Proof Size summary in bytes:
// Measured: `240`
// Estimated: `10140`
// Minimum execution time: 16_573 nanoseconds.
Weight::from_ref_time(17_162_000)
.saturating_add(Weight::from_proof_size(10140))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn migrate_and_notify_old_targets() -> Weight {
// Minimum execution time: 45_300 nanoseconds.
Weight::from_ref_time(46_946_000)
// Proof Size summary in bytes:
// Measured: `243`
// Estimated: `19773`
// Minimum execution time: 39_648 nanoseconds.
Weight::from_ref_time(40_257_000)
.saturating_add(Weight::from_proof_size(19773))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::auctions`
//!
//! 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,53 +45,94 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::auctions`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInfo<T> {
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Auctions AuctionCounter (r:1 w:1)
/// Storage: Auctions AuctionInfo (r:1 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Auctions AuctionCounter (r:1 w:1)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn new_auction() -> Weight {
// Minimum execution time: 18_809 nanoseconds.
Weight::from_ref_time(19_672_000)
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1002`
// Minimum execution time: 12_271 nanoseconds.
Weight::from_ref_time(12_608_000)
.saturating_add(Weight::from_proof_size(1002))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions Winning (r:1 w:1)
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions Winning (r:1 w:1)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:2 w:2)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn bid() -> Weight {
// Minimum execution time: 97_164 nanoseconds.
Weight::from_ref_time(101_731_000)
// Proof Size summary in bytes:
// Measured: `635`
// Estimated: `19290`
// Minimum execution time: 69_074 nanoseconds.
Weight::from_ref_time(70_726_000)
.saturating_add(Weight::from_proof_size(19290))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Babe NextRandomness (r:1 w:0)
// Storage: Babe EpochStart (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Auctions Winning (r:3600 w:3600)
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Slots Leases (r:7 w:7)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
/// Storage: Auctions AuctionInfo (r:1 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Babe NextRandomness (r:1 w:0)
/// Proof: Babe NextRandomness (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: Babe EpochStart (r:1 w:0)
/// Proof: Babe EpochStart (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Auctions Winning (r:3600 w:3600)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:37 w:36)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:36 w:36)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Slots Leases (r:7 w:7)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, 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 ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
fn on_initialize() -> Weight {
// Minimum execution time: 18_715_887 nanoseconds.
Weight::from_ref_time(19_146_918_000)
// Proof Size summary in bytes:
// Measured: `7060429`
// Estimated: `51338925`
// Minimum execution time: 16_090_025 nanoseconds.
Weight::from_ref_time(16_438_002_000)
.saturating_add(Weight::from_proof_size(51338925))
.saturating_add(T::DbWeight::get().reads(3688))
.saturating_add(T::DbWeight::get().writes(3683))
}
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Auctions Winning (r:0 w:3600)
// Storage: Auctions AuctionInfo (r:0 w:1)
/// Storage: Auctions ReservedAmounts (r:37 w:36)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:36 w:36)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Auctions Winning (r:3600 w:3600)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions AuctionInfo (r:0 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn cancel_auction() -> Weight {
// Minimum execution time: 5_818_774 nanoseconds.
Weight::from_ref_time(5_962_283_000)
.saturating_add(T::DbWeight::get().reads(73))
// Proof Size summary in bytes:
// Measured: `178884`
// Estimated: `16009503`
// Minimum execution time: 4_773_572 nanoseconds.
Weight::from_ref_time(4_870_970_000)
.saturating_add(Weight::from_proof_size(16009503))
.saturating_add(T::DbWeight::get().reads(3673))
.saturating_add(T::DbWeight::get().writes(3673))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! 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,102 +45,174 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::crowdloan`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightInfo<T> {
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Crowdloan NextFundIndex (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan NextFundIndex (r:1 w:1)
/// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured)
fn create() -> Weight {
// Minimum execution time: 72_148 nanoseconds.
Weight::from_ref_time(76_111_000)
// Proof Size summary in bytes:
// Measured: `418`
// Estimated: `9592`
// Minimum execution time: 39_590 nanoseconds.
Weight::from_ref_time(40_531_000)
.saturating_add(Weight::from_proof_size(9592))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Crowdloan EndingsCount (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:1)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Crowdloan EndingsCount (r:1 w:0)
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
fn contribute() -> Weight {
// Minimum execution time: 156_487 nanoseconds.
Weight::from_ref_time(168_788_000)
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `13872`
// Minimum execution time: 111_368 nanoseconds.
Weight::from_ref_time(112_815_000)
.saturating_add(Weight::from_proof_size(13872))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:1)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
/// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
fn withdraw() -> Weight {
// Minimum execution time: 80_510 nanoseconds.
Weight::from_ref_time(84_823_000)
// Proof Size summary in bytes:
// Measured: `786`
// Estimated: `12239`
// Minimum execution time: 57_399 nanoseconds.
Weight::from_ref_time(58_224_000)
.saturating_add(Weight::from_proof_size(12239))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `k` is `[0, 500]`.
fn refund(k: u32, ) -> Weight {
// Minimum execution time: 76_619 nanoseconds.
Weight::from_ref_time(26_853_164)
// Standard Error: 15_512
.saturating_add(Weight::from_ref_time(22_564_390).saturating_mul(k.into()))
// Proof Size summary in bytes:
// Measured: `236 + k * (220 ±0)`
// Estimated: `256 + k * (221 ±0)`
// Minimum execution time: 40_233 nanoseconds.
Weight::from_ref_time(54_026_000)
.saturating_add(Weight::from_proof_size(256))
// Standard Error: 13_085
.saturating_add(Weight::from_ref_time(22_927_324).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_proof_size(221).saturating_mul(k.into()))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn dissolve() -> Weight {
// Minimum execution time: 50_520 nanoseconds.
Weight::from_ref_time(55_019_000)
// Proof Size summary in bytes:
// Measured: `439`
// Estimated: `5517`
// Minimum execution time: 29_857 nanoseconds.
Weight::from_ref_time(30_340_000)
.saturating_add(Weight::from_proof_size(5517))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Crowdloan Funds (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
fn edit() -> Weight {
// Minimum execution time: 38_580 nanoseconds.
Weight::from_ref_time(42_137_000)
// Proof Size summary in bytes:
// Measured: `267`
// Estimated: `2742`
// Minimum execution time: 17_245 nanoseconds.
Weight::from_ref_time(17_847_000)
.saturating_add(Weight::from_proof_size(2742))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
fn add_memo() -> Weight {
// Minimum execution time: 49_364 nanoseconds.
Weight::from_ref_time(53_683_000)
// Proof Size summary in bytes:
// Measured: `444`
// Estimated: `5838`
// Minimum execution time: 24_929 nanoseconds.
Weight::from_ref_time(25_462_000)
.saturating_add(Weight::from_proof_size(5838))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
fn poke() -> Weight {
// Minimum execution time: 37_979 nanoseconds.
Weight::from_ref_time(40_397_000)
// Proof Size summary in bytes:
// Measured: `271`
// Estimated: `3512`
// Minimum execution time: 17_200 nanoseconds.
Weight::from_ref_time(17_776_000)
.saturating_add(Weight::from_proof_size(3512))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Crowdloan EndingsCount (r:1 w:1)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: Crowdloan Funds (r:2 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Slots Leases (r:2 w:0)
// Storage: Auctions Winning (r:1 w:1)
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:2 w:2)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Crowdloan EndingsCount (r:1 w:1)
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan Funds (r:100 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Paras ParaLifecycles (r:100 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:100 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions Winning (r:1 w:1)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:100 w:100)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:100 w:100)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `n` is `[2, 100]`.
fn on_initialize(n: u32, ) -> Weight {
// Minimum execution time: 131_992 nanoseconds.
Weight::from_ref_time(44_527_784)
// Standard Error: 54_125
.saturating_add(Weight::from_ref_time(48_555_553).saturating_mul(n.into()))
// Proof Size summary in bytes:
// Measured: `118 + n * (420 ±0)`
// Estimated: `6947 + n * (14663 ±0)`
// Minimum execution time: 114_121 nanoseconds.
Weight::from_ref_time(116_551_000)
.saturating_add(Weight::from_proof_size(6947))
// Standard Error: 47_770
.saturating_add(Weight::from_ref_time(50_697_962).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(14663).saturating_mul(n.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::paras_registrar`
//!
//! 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,96 +45,169 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::paras_registrar`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for WeightInfo<T> {
// Storage: Registrar NextFreeParaId (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
/// Storage: Registrar NextFreeParaId (r:1 w:1)
/// Proof Skipped: Registrar NextFreeParaId (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
fn reserve() -> Weight {
// Minimum execution time: 34_291 nanoseconds.
Weight::from_ref_time(35_169_000)
// Proof Size summary in bytes:
// Measured: `97`
// Estimated: `5736`
// Minimum execution time: 27_616 nanoseconds.
Weight::from_ref_time(28_197_000)
.saturating_add(Weight::from_proof_size(5736))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, 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: 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)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:0 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured)
fn register() -> Weight {
// Minimum execution time: 8_013_023 nanoseconds.
Weight::from_ref_time(8_293_565_000)
// Proof Size summary in bytes:
// Measured: `302`
// Estimated: `18063`
// Minimum execution time: 7_577_009 nanoseconds.
Weight::from_ref_time(7_620_824_000)
.saturating_add(Weight::from_proof_size(18063))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, 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: 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)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:0 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured)
fn force_register() -> Weight {
// Minimum execution time: 7_800_623 nanoseconds.
Weight::from_ref_time(8_122_517_000)
// Proof Size summary in bytes:
// Measured: `187`
// Estimated: `17028`
// Minimum execution time: 7_373_489 nanoseconds.
Weight::from_ref_time(7_488_705_000)
.saturating_add(Weight::from_proof_size(17028))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Paras FutureCodeHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar PendingSwap (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeHash (r:1 w:0)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, 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 ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar PendingSwap (r:0 w:1)
/// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured)
fn deregister() -> Weight {
// Minimum execution time: 62_973 nanoseconds.
Weight::from_ref_time(68_158_000)
// Proof Size summary in bytes:
// Measured: `467`
// Estimated: `13197`
// Minimum execution time: 41_183 nanoseconds.
Weight::from_ref_time(41_974_000)
.saturating_add(Weight::from_proof_size(13197))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Registrar Paras (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:2)
// Storage: Registrar PendingSwap (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Crowdloan Funds (r:2 w:2)
// Storage: Slots Leases (r:2 w:2)
/// Storage: Registrar Paras (r:1 w:0)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:2 w:2)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar PendingSwap (r:1 w:1)
/// Proof Skipped: Registrar PendingSwap (max_values: None, 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 ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan Funds (r:2 w:2)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:2 w:2)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
fn swap() -> Weight {
// Minimum execution time: 59_960 nanoseconds.
Weight::from_ref_time(66_150_000)
// Proof Size summary in bytes:
// Measured: `668`
// Estimated: `27446`
// Minimum execution time: 45_991 nanoseconds.
Weight::from_ref_time(47_156_000)
.saturating_add(Weight::from_proof_size(27446))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras UpgradeRestrictionSignal (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 FutureCodeHash (r:1 w:1)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
/// Proof Skipped: Paras UpgradeRestrictionSignal (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)
/// The range of component `b` is `[1, 3145728]`.
fn schedule_code_upgrade(b: u32, ) -> Weight {
// Minimum execution time: 46_384 nanoseconds.
Weight::from_ref_time(47_270_000)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(2_696).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `16615`
// Minimum execution time: 39_149 nanoseconds.
Weight::from_ref_time(39_522_000)
.saturating_add(Weight::from_proof_size(16615))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_325).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
// 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 `b` is `[1, 1048576]`.
fn set_current_head(b: u32, ) -> Weight {
// Minimum execution time: 14_753 nanoseconds.
Weight::from_ref_time(14_372_398)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_024).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_032 nanoseconds.
Weight::from_ref_time(9_110_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(919).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::slots`
//!
//! 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,52 +45,85 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::slots`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T> {
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Slots Leases (r:1 w:1)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_lease() -> Weight {
// Minimum execution time: 33_866 nanoseconds.
Weight::from_ref_time(34_857_000)
// Proof Size summary in bytes:
// Measured: `213`
// Estimated: `5291`
// Minimum execution time: 25_281 nanoseconds.
Weight::from_ref_time(25_756_000)
.saturating_add(Weight::from_proof_size(5291))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras Parachains (r:1 w:0)
// Storage: Slots Leases (r:101 w:100)
// Storage: Paras ParaLifecycles (r:100 w:100)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:100 w:100)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Slots Leases (r:101 w:100)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:200 w:200)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, 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 ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:100 w:100)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 100]`.
/// The range of component `t` is `[0, 100]`.
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
// Minimum execution time: 669_275 nanoseconds.
Weight::from_ref_time(677_390_000)
// Standard Error: 81_554
.saturating_add(Weight::from_ref_time(2_774_748).saturating_mul(c.into()))
// Standard Error: 81_554
.saturating_add(Weight::from_ref_time(15_978_870).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `0 + c * (47 ±0) + t * (370 ±0)`
// Estimated: `268218 + c * (1076 ±0) + t * (7963 ±0)`
// Minimum execution time: 642_912 nanoseconds.
Weight::from_ref_time(645_898_000)
.saturating_add(Weight::from_proof_size(268218))
// Standard Error: 82_879
.saturating_add(Weight::from_ref_time(2_665_736).saturating_mul(c.into()))
// Standard Error: 82_879
.saturating_add(Weight::from_ref_time(13_913_344).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_proof_size(1076).saturating_mul(c.into()))
.saturating_add(Weight::from_proof_size(7963).saturating_mul(t.into()))
}
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:8 w:8)
/// Storage: Slots Leases (r:1 w:1)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:8 w:8)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn clear_all_leases() -> Weight {
// Minimum execution time: 123_998 nanoseconds.
Weight::from_ref_time(131_162_000)
// Proof Size summary in bytes:
// Measured: `2941`
// Estimated: `26240`
// Minimum execution time: 98_060 nanoseconds.
Weight::from_ref_time(99_621_000)
.saturating_add(Weight::from_proof_size(26240))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: Slots Leases (r:1 w:0)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, 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 ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
fn trigger_onboard() -> Weight {
// Minimum execution time: 43_235 nanoseconds.
Weight::from_ref_time(46_143_000)
// Proof Size summary in bytes:
// Measured: `628`
// Estimated: `13535`
// Minimum execution time: 26_638 nanoseconds.
Weight::from_ref_time(27_214_000)
.saturating_add(Weight::from_proof_size(13535))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::configuration`
//!
//! 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,53 +45,93 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::configuration`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for WeightInfo<T> {
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (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)
fn set_config_with_block_number() -> Weight {
// Minimum execution time: 13_368 nanoseconds.
Weight::from_ref_time(13_767_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `1755`
// Minimum execution time: 9_185 nanoseconds.
Weight::from_ref_time(9_492_000)
.saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (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)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 13_127 nanoseconds.
Weight::from_ref_time(13_589_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `1755`
// Minimum execution time: 9_350 nanoseconds.
Weight::from_ref_time(9_740_000)
.saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (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)
fn set_config_with_option_u32() -> Weight {
// Minimum execution time: 13_040 nanoseconds.
Weight::from_ref_time(13_607_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `1755`
// Minimum execution time: 9_462 nanoseconds.
Weight::from_ref_time(9_762_000)
.saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (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)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 13_190 nanoseconds.
Weight::from_ref_time(13_486_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `1755`
// Minimum execution time: 9_576 nanoseconds.
Weight::from_ref_time(9_879_000)
.saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn set_hrmp_open_request_ttl() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (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)
fn set_config_with_balance() -> Weight {
// Minimum execution time: 13_204 nanoseconds.
Weight::from_ref_time(13_495_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `1755`
// Minimum execution time: 9_608 nanoseconds.
Weight::from_ref_time(9_928_000)
.saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::disputes`
//!
//! 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,10 +45,15 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::disputes`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
// Storage: ParasDisputes Frozen (r:0 w:1)
/// Storage: ParasDisputes Frozen (r:0 w:1)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
fn force_unfreeze() -> Weight {
// Minimum execution time: 4_453 nanoseconds.
Weight::from_ref_time(4_845_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_740 nanoseconds.
Weight::from_ref_time(2_842_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::disputes::slashing`
//!
//! 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,25 +45,52 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::disputes::slashing`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::disputes::slashing::WeightInfo for WeightInfo<T> {
// Storage: Session CurrentIndex (r:1 w:0)
// Storage: Historical HistoricalSessions (r:1 w:0)
// Storage: ParaSessionInfo Sessions (r:1 w:0)
// Storage: ParasSlashing UnappliedSlashes (r:1 w:1)
// Storage: Offences ReportsByKindIndex (r:1 w:1)
// Storage: Offences ConcurrentReportsIndex (r:1 w:1)
// Storage: Offences Reports (r:1 w:1)
// Storage: Staking SlashRewardFraction (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0)
// Storage: Staking ErasStartSessionIndex (r:1 w:0)
// Storage: Staking Invulnerables (r:1 w:0)
// Storage: Staking ValidatorSlashInEra (r:1 w:0)
/// Storage: Session CurrentIndex (r:1 w:0)
/// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Historical HistoricalSessions (r:1 w:0)
/// Proof: Historical HistoricalSessions (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: ParaSessionInfo Sessions (r:1 w:0)
/// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasSlashing UnappliedSlashes (r:1 w:1)
/// Proof Skipped: ParasSlashing UnappliedSlashes (max_values: None, max_size: None, mode: Measured)
/// Storage: Offences ReportsByKindIndex (r:1 w:1)
/// Proof Skipped: Offences ReportsByKindIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Offences ConcurrentReportsIndex (r:1 w:1)
/// Proof Skipped: Offences ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Offences Reports (r:1 w:1)
/// Proof Skipped: Offences Reports (max_values: None, max_size: None, mode: Measured)
/// Storage: Staking SlashRewardFraction (r:1 w:0)
/// Proof: Staking SlashRewardFraction (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking ActiveEra (r:1 w:0)
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
/// Storage: Staking ErasStartSessionIndex (r:1 w:0)
/// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Staking Invulnerables (r:1 w:0)
/// Proof Skipped: Staking Invulnerables (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking ValidatorSlashInEra (r:1 w:1)
/// Proof: Staking ValidatorSlashInEra (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking SlashingSpans (r:1 w:1)
/// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured)
/// Storage: Staking SpanSlash (r:1 w:1)
/// Proof: Staking SpanSlash (max_values: None, max_size: Some(76), added: 2551, mode: MaxEncodedLen)
/// Storage: Staking OffendingValidators (r:1 w:1)
/// Proof Skipped: Staking OffendingValidators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking UnappliedSlashes (r:1 w:1)
/// Proof Skipped: Staking UnappliedSlashes (max_values: None, max_size: None, mode: Measured)
/// The range of component `n` is `[4, 300]`.
fn report_dispute_lost(n: u32, ) -> Weight {
// Minimum execution time: 112_012 nanoseconds.
Weight::from_ref_time(129_548_015)
// Standard Error: 4_303
.saturating_add(Weight::from_ref_time(386_999).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(4))
// Proof Size summary in bytes:
// Measured: `4631 + n * (209 ±0)`
// Estimated: `77841 + n * (2317 ±0)`
// Minimum execution time: 86_772 nanoseconds.
Weight::from_ref_time(124_398_343)
.saturating_add(Weight::from_proof_size(77841))
// Standard Error: 3_624
.saturating_add(Weight::from_ref_time(361_232).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(9))
.saturating_add(Weight::from_proof_size(2317).saturating_mul(n.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::hrmp`
//!
//! 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,139 +45,235 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::hrmp`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInfo<T> {
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:2 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_init_open_channel() -> Weight {
// Minimum execution time: 44_758 nanoseconds.
Weight::from_ref_time(45_389_000)
// Proof Size summary in bytes:
// Measured: `307`
// Estimated: `22751`
// Minimum execution time: 35_099 nanoseconds.
Weight::from_ref_time(35_616_000)
.saturating_add(Weight::from_proof_size(22751))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_accept_open_channel() -> Weight {
// Minimum execution time: 44_016 nanoseconds.
Weight::from_ref_time(45_257_000)
// Proof Size summary in bytes:
// Measured: `453`
// Estimated: `17568`
// Minimum execution time: 32_216 nanoseconds.
Weight::from_ref_time(32_725_000)
.saturating_add(Weight::from_proof_size(17568))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_close_channel() -> Weight {
// Minimum execution time: 39_833 nanoseconds.
Weight::from_ref_time(41_031_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `11745`
// Minimum execution time: 27_964 nanoseconds.
Weight::from_ref_time(28_273_000)
.saturating_add(Weight::from_proof_size(11745))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:127 w:127)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1)
// Storage: Hrmp HrmpChannelContents (r:0 w:127)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:254 w:254)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelContents (r:0 w:254)
/// Proof Skipped: Hrmp HrmpChannelContents (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 127]`.
/// The range of component `e` is `[0, 127]`.
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
// Minimum execution time: 1_069_994 nanoseconds.
Weight::from_ref_time(1_077_474_000)
// Standard Error: 100_039
.saturating_add(Weight::from_ref_time(3_329_744).saturating_mul(i.into()))
// Standard Error: 100_039
.saturating_add(Weight::from_ref_time(3_319_499).saturating_mul(e.into()))
// Proof Size summary in bytes:
// Measured: `215 + i * (131 ±0) + e * (131 ±0)`
// Estimated: `6120 + i * (5742 ±0) + e * (5736 ±0)`
// Minimum execution time: 1_079_349 nanoseconds.
Weight::from_ref_time(1_082_875_000)
.saturating_add(Weight::from_proof_size(6120))
// Standard Error: 96_221
.saturating_add(Weight::from_ref_time(3_166_230).saturating_mul(i.into()))
// Standard Error: 96_221
.saturating_add(Weight::from_ref_time(3_268_684).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into())))
.saturating_add(Weight::from_proof_size(5742).saturating_mul(i.into()))
.saturating_add(Weight::from_proof_size(5736).saturating_mul(e.into()))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
// Storage: Paras ParaLifecycles (r:4 w:0)
// Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpEgressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:2 w:2)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:2 w:2)
// Storage: Hrmp HrmpChannels (r:0 w:2)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:256 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:128 w:128)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:0 w:128)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_open(c: u32, ) -> Weight {
// Minimum execution time: 11_011 nanoseconds.
Weight::from_ref_time(11_210_000)
// Standard Error: 10_892
.saturating_add(Weight::from_ref_time(18_988_029).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `427 + c * (166 ±0)`
// Estimated: `3804 + c * (18661 ±0)`
// Minimum execution time: 6_079 nanoseconds.
Weight::from_ref_time(2_963_503)
.saturating_add(Weight::from_proof_size(3804))
// Standard Error: 16_012
.saturating_add(Weight::from_ref_time(18_835_466).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(18661).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpChannels (r:2 w:2)
// Storage: Hrmp HrmpEgressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:2)
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
/// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:128 w:128)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:128)
/// Proof Skipped: Hrmp HrmpCloseChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelContents (r:0 w:128)
/// Proof Skipped: Hrmp HrmpChannelContents (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_close(c: u32, ) -> Weight {
// Minimum execution time: 7_063 nanoseconds.
Weight::from_ref_time(1_086_025)
// Standard Error: 11_522
.saturating_add(Weight::from_ref_time(11_790_425).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `268 + c * (155 ±0)`
// Estimated: `1998 + c * (8361 ±0)`
// Minimum execution time: 4_900 nanoseconds.
Weight::from_ref_time(1_670_034)
.saturating_add(Weight::from_proof_size(1998))
// Standard Error: 11_256
.saturating_add(Weight::from_ref_time(11_514_950).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(8361).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
// Minimum execution time: 26_364 nanoseconds.
Weight::from_ref_time(35_855_385)
// Standard Error: 2_773
.saturating_add(Weight::from_ref_time(218_705).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `983 + c * (13 ±0)`
// Estimated: `7794 + c * (45 ±0)`
// Minimum execution time: 20_543 nanoseconds.
Weight::from_ref_time(26_343_259)
.saturating_add(Weight::from_proof_size(7794))
// Standard Error: 1_548
.saturating_add(Weight::from_ref_time(69_766).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(45).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn clean_open_channel_requests(c: u32, ) -> Weight {
// Minimum execution time: 5_105 nanoseconds.
Weight::from_ref_time(390_771)
// Standard Error: 4_747
.saturating_add(Weight::from_ref_time(3_278_499).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `178 + c * (94 ±0)`
// Estimated: `834 + c * (2664 ±0)`
// Minimum execution time: 4_088 nanoseconds.
Weight::from_ref_time(3_216_089)
.saturating_add(Weight::from_proof_size(834))
// Standard Error: 3_010
.saturating_add(Weight::from_ref_time(3_078_715).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(2664).saturating_mul(c.into()))
}
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:2 w:2)
// Storage: Dmp DownwardMessageQueueHeads (r:2 w:2)
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:2 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:2 w:2)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:2 w:2)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
fn force_open_hrmp_channel() -> Weight {
// Minimum execution time: 57_630 nanoseconds.
Weight::from_ref_time(59_011_000)
// Proof Size summary in bytes:
// Measured: `307`
// Estimated: `33265`
// Minimum execution time: 48_862 nanoseconds.
Weight::from_ref_time(49_253_000)
.saturating_add(Weight::from_proof_size(33265))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::initializer`
//!
//! 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,14 +45,20 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::initializer`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for WeightInfo<T> {
// Storage: System Digest (r:1 w:1)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `d` is `[0, 65536]`.
fn force_approve(d: u32, ) -> Weight {
// Minimum execution time: 8_646 nanoseconds.
Weight::from_ref_time(8_762_000)
// Standard Error: 20
.saturating_add(Weight::from_ref_time(2_851).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `28 + d * (11 ±0)`
// Estimated: `519 + d * (11 ±0)`
// Minimum execution time: 3_562 nanoseconds.
Weight::from_ref_time(5_936_312)
.saturating_add(Weight::from_proof_size(519))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_313).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(11).saturating_mul(d.into()))
}
}
@@ -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))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent`
//!
//! 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,159 +45,300 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::paras_inherent`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for WeightInfo<T> {
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaSessionInfo Sessions (r:1 w:0)
// Storage: ParasDisputes Disputes (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// 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: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (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: ParaInherent OnChainVotes (r:1 w:1)
// 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: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
// Storage: Session CurrentIndex (r:1 w:0)
// Storage: ParasSlashing UnappliedSlashes (r:0 w:1)
/// Storage: ParaInherent Included (r:1 w:1)
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System ParentHash (r:1 w:0)
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
/// Storage: ParaSessionInfo Sessions (r:1 w:0)
/// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasDisputes Disputes (r:1 w:1)
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasDisputes BackersOnDisputes (r:1 w:1)
/// Proof Skipped: ParasDisputes BackersOnDisputes (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Included (r:1 w:1)
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking ActiveEra (r:1 w:0)
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
/// Storage: Staking ErasRewardPoints (r:1 w:1)
/// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasDisputes Frozen (r:1 w:0)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler Scheduled (r:1 w:1)
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[10, 200]`.
fn enter_variable_disputes(v: u32, ) -> Weight {
// Minimum execution time: 1_002_512 nanoseconds.
Weight::from_ref_time(454_827_518)
// Standard Error: 15_344
.saturating_add(Weight::from_ref_time(57_070_679).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(27))
// Proof Size summary in bytes:
// Measured: `50844`
// Estimated: `1459401 + v * (16 ±0)`
// Minimum execution time: 792_123 nanoseconds.
Weight::from_ref_time(317_232_240)
.saturating_add(Weight::from_proof_size(1459401))
// Standard Error: 31_502
.saturating_add(Weight::from_ref_time(48_212_479).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(28))
.saturating_add(T::DbWeight::get().writes(16))
.saturating_add(Weight::from_proof_size(16).saturating_mul(v.into()))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// 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: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (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: ParaInherent OnChainVotes (r:1 w:1)
// Storage: ParasDisputes Disputes (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: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParaInclusion AvailabilityBitfields (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)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Storage: ParaInherent Included (r:1 w:1)
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System ParentHash (r:1 w:0)
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Frozen (r:1 w:0)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking ActiveEra (r:1 w:0)
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
/// Storage: Staking ErasRewardPoints (r:1 w:1)
/// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Disputes (r:1 w:0)
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler Scheduled (r:1 w:1)
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion AvailabilityBitfields (r:0 w:1)
/// Proof Skipped: ParaInclusion AvailabilityBitfields (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasDisputes Included (r:0 w:1)
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
/// Proof Skipped: Hrmp HrmpWatermarks (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)
fn enter_bitfields() -> Weight {
// Minimum execution time: 464_245 nanoseconds.
Weight::from_ref_time(495_566_000)
// Proof Size summary in bytes:
// Measured: `42647`
// Estimated: `1182237`
// Minimum execution time: 346_395 nanoseconds.
Weight::from_ref_time(352_253_000)
.saturating_add(Weight::from_proof_size(1182237))
.saturating_add(T::DbWeight::get().reads(26))
.saturating_add(T::DbWeight::get().writes(17))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// 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: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (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: ParaInherent OnChainVotes (r:1 w:1)
// 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 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: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Storage: ParaInherent Included (r:1 w:1)
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System ParentHash (r:1 w:0)
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Frozen (r:1 w:0)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking ActiveEra (r:1 w:0)
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
/// Storage: Staking ErasRewardPoints (r:1 w:1)
/// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Disputes (r:2 w:0)
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler Scheduled (r:1 w:1)
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), 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: Ump RelayDispatchQueueSize (r:1 w:0)
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Included (r:0 w:1)
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[101, 200]`.
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
// Minimum execution time: 6_765_662 nanoseconds.
Weight::from_ref_time(1_144_270_364)
// Standard Error: 24_331
.saturating_add(Weight::from_ref_time(56_243_191).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `42678`
// Estimated: `1233177`
// Minimum execution time: 5_650_864 nanoseconds.
Weight::from_ref_time(912_498_037)
.saturating_add(Weight::from_proof_size(1233177))
// Standard Error: 44_727
.saturating_add(Weight::from_ref_time(47_405_991).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(29))
.saturating_add(T::DbWeight::get().writes(16))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// 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: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (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: ParaInherent OnChainVotes (r:1 w:1)
// 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 CurrentCodeHash (r:1 w:0)
// Storage: Paras FutureCodeHash (r:1 w:0)
// Storage: Paras UpgradeRestrictionSignal (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: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Storage: ParaInherent Included (r:1 w:1)
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System ParentHash (r:1 w:0)
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Frozen (r:1 w:0)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Staking ActiveEra (r:1 w:0)
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
/// Storage: Staking ErasRewardPoints (r:1 w:1)
/// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Disputes (r:2 w:0)
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler Scheduled (r:1 w:1)
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), 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 FutureCodeHash (r:1 w:0)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeRestrictionSignal (r:1 w:0)
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasDisputes Included (r:0 w:1)
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
/// Proof Skipped: Hrmp HrmpWatermarks (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)
fn enter_backed_candidate_code_upgrade() -> Weight {
// Minimum execution time: 46_830_584 nanoseconds.
Weight::from_ref_time(47_913_075_000)
// Proof Size summary in bytes:
// Measured: `42705`
// Estimated: `1324293`
// Minimum execution time: 38_692_756 nanoseconds.
Weight::from_ref_time(38_855_318_000)
.saturating_add(Weight::from_proof_size(1324293))
.saturating_add(T::DbWeight::get().reads(31))
.saturating_add(T::DbWeight::get().writes(16))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::ump`
//!
//! 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:
@@ -46,26 +47,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 51200]`.
fn process_upward_message(s: u32, ) -> Weight {
// Minimum execution time: 10_863 nanoseconds.
Weight::from_ref_time(2_547_047)
// Standard Error: 16
.saturating_add(Weight::from_ref_time(2_339).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_303 nanoseconds.
Weight::from_ref_time(680_036)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 11
.saturating_add(Weight::from_ref_time(1_902).saturating_mul(s.into()))
}
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: Ump RelayDispatchQueues (r:0 w:1)
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump RelayDispatchQueues (r:0 w:1)
/// Proof Skipped: Ump RelayDispatchQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
fn clean_ump_after_outgoing() -> Weight {
// Minimum execution time: 9_385 nanoseconds.
Weight::from_ref_time(9_784_000)
// Proof Size summary in bytes:
// Measured: `238`
// Estimated: `1942`
// Minimum execution time: 9_313 nanoseconds.
Weight::from_ref_time(9_573_000)
.saturating_add(Weight::from_proof_size(1942))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Ump Overweight (r:1 w:1)
// Storage: Ump CounterForOverweight (r:1 w:1)
/// Storage: Ump Overweight (r:1 w:1)
/// Proof Skipped: Ump Overweight (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump CounterForOverweight (r:1 w:1)
/// Proof: Ump CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn service_overweight() -> Weight {
// Minimum execution time: 29_452 nanoseconds.
Weight::from_ref_time(31_140_000)
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `3197`
// Minimum execution time: 23_606 nanoseconds.
Weight::from_ref_time(24_025_000)
.saturating_add(Weight::from_proof_size(3197))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}