diff --git a/polkadot/runtime/kusama/constants/src/weights/block_weights.rs b/polkadot/runtime/kusama/constants/src/weights/block_weights.rs
index 5bdbbc6612..ff385443f1 100644
--- a/polkadot/runtime/kusama/constants/src/weights/block_weights.rs
+++ b/polkadot/runtime/kusama/constants/src/weights/block_weights.rs
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-24 (Y/M/D)
-//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! DATE: 2023-02-23 (Y/M/D)
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
- /// Min, Max: 11_101_648, 11_377_824
- /// Average: 11_158_208
- /// Median: 11_134_153
- /// Std-Dev: 62437.99
+ /// Min, Max: 9_063_597, 9_605_760
+ /// Average: 9_225_024
+ /// Median: 9_197_375
+ /// Std-Dev: 83325.89
///
/// Percentiles nanoseconds:
- /// 99th: 11_368_494
- /// 95th: 11_302_388
- /// 75th: 11_151_929
+ /// 99th: 9_437_618
+ /// 95th: 9_402_155
+ /// 75th: 9_250_717
pub const BlockExecutionWeight: Weight =
- Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(11_158_208));
+ Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_225_024));
}
#[cfg(test)]
diff --git a/polkadot/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/polkadot/runtime/kusama/constants/src/weights/extrinsic_weights.rs
index d3d9a1c0b6..e5bc82658b 100644
--- a/polkadot/runtime/kusama/constants/src/weights/extrinsic_weights.rs
+++ b/polkadot/runtime/kusama/constants/src/weights/extrinsic_weights.rs
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-24 (Y/M/D)
-//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! DATE: 2023-02-23 (Y/M/D)
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
- /// Min, Max: 109_996, 111_665
- /// Average: 110_575
- /// Median: 110_568
- /// Std-Dev: 245.27
+ /// Min, Max: 99_280, 101_585
+ /// Average: 99_912
+ /// Median: 99_844
+ /// Std-Dev: 361.48
///
/// Percentiles nanoseconds:
- /// 99th: 111_123
- /// 95th: 110_957
- /// 75th: 110_703
+ /// 99th: 101_439
+ /// 95th: 100_633
+ /// 75th: 99_966
pub const ExtrinsicBaseWeight: Weight =
- Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_575));
+ Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_912));
}
#[cfg(test)]
diff --git a/polkadot/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/polkadot/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
index 405b1eba1a..dff681aea3 100644
--- a/polkadot/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
+++ b/polkadot/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +47,57 @@ pub struct WeightInfo(PhantomData);
impl frame_benchmarking::baseline::WeightInfo for WeightInfo {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
- // Minimum execution time: 116 nanoseconds.
- Weight::from_ref_time(148_551)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 115 nanoseconds.
+ Weight::from_ref_time(156_869)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
- // Minimum execution time: 116 nanoseconds.
- Weight::from_ref_time(146_564)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 126 nanoseconds.
+ Weight::from_ref_time(163_413)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
- // Minimum execution time: 113 nanoseconds.
- Weight::from_ref_time(147_394)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 125 nanoseconds.
+ Weight::from_ref_time(165_700)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
- // Minimum execution time: 115 nanoseconds.
- Weight::from_ref_time(147_033)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 114 nanoseconds.
+ Weight::from_ref_time(160_757)
+ .saturating_add(Weight::from_proof_size(0))
}
- /// The range of component `i` is `[0, 100]`.
- fn hashing(_i: u32, ) -> Weight {
- // Minimum execution time: 23_983_154 nanoseconds.
- Weight::from_ref_time(24_070_029_392)
+ fn hashing() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 20_199_657 nanoseconds.
+ Weight::from_ref_time(20_348_638_000)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
- // Minimum execution time: 130 nanoseconds.
- Weight::from_ref_time(1_606_463)
- // Standard Error: 5_589
- .saturating_add(Weight::from_ref_time(55_538_842).saturating_mul(i.into()))
- }
- // Storage: Skipped Metadata (r:0 w:0)
- /// The range of component `i` is `[0, 1000]`.
- fn storage_read(i: u32, ) -> Weight {
- // Minimum execution time: 118 nanoseconds.
- Weight::from_ref_time(136_000)
- // Standard Error: 2_899
- .saturating_add(Weight::from_ref_time(2_363_633).saturating_mul(i.into()))
- .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
- }
- // Storage: Skipped Metadata (r:0 w:0)
- /// The range of component `i` is `[0, 1000]`.
- fn storage_write(i: u32, ) -> Weight {
- // Minimum execution time: 119 nanoseconds.
- Weight::from_ref_time(141_000)
- // Standard Error: 923
- .saturating_add(Weight::from_ref_time(386_949).saturating_mul(i.into()))
- .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 146 nanoseconds.
+ Weight::from_ref_time(181_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 18_837
+ .saturating_add(Weight::from_ref_time(47_289_133).saturating_mul(i.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs b/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs
index 48af470f34..eef4b994ea 100644
--- a/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs
+++ b/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,22 +49,30 @@ impl 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_668_576 nanoseconds.
- Weight::from_ref_time(5_712_755_000)
- // Standard Error: 133_923
- .saturating_add(Weight::from_ref_time(5_516_772).saturating_mul(v.into()))
- // Standard Error: 13_691_904
- .saturating_add(Weight::from_ref_time(1_483_939_563).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_806_565 nanoseconds.
+ Weight::from_ref_time(5_866_482_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 138_296
+ .saturating_add(Weight::from_ref_time(5_701_761).saturating_mul(v.into()))
+ // Standard Error: 14_138_940
+ .saturating_add(Weight::from_ref_time(1_548_790_171).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: 3_905_717 nanoseconds.
- Weight::from_ref_time(3_950_012_000)
- // Standard Error: 121_037
- .saturating_add(Weight::from_ref_time(4_593_528).saturating_mul(v.into()))
- // Standard Error: 12_374_443
- .saturating_add(Weight::from_ref_time(1_416_607_758).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_595_992 nanoseconds.
+ Weight::from_ref_time(4_626_336_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 149_717
+ .saturating_add(Weight::from_ref_time(5_673_749).saturating_mul(v.into()))
+ // Standard Error: 15_306_572
+ .saturating_add(Weight::from_ref_time(1_806_945_095).saturating_mul(d.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/frame_system.rs b/polkadot/runtime/kusama/src/weights/frame_system.rs
index 0b447b77d3..b495a30ea0 100644
--- a/polkadot/runtime/kusama/src/weights/frame_system.rs
+++ b/polkadot/runtime/kusama/src/weights/frame_system.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +47,82 @@ pub struct WeightInfo(PhantomData);
impl frame_system::WeightInfo for WeightInfo {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
- // Minimum execution time: 3_479 nanoseconds.
- Weight::from_ref_time(3_232_796)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_670 nanoseconds.
+ Weight::from_ref_time(1_704_000)
+ .saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
- .saturating_add(Weight::from_ref_time(539).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(415).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
- // Minimum execution time: 13_120 nanoseconds.
- Weight::from_ref_time(176_550_818)
- // Standard Error: 5
- .saturating_add(Weight::from_ref_time(1_915).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_327 nanoseconds.
+ Weight::from_ref_time(6_508_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(1_777).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_452 nanoseconds.
- Weight::from_ref_time(8_855_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `495`
+ // Minimum execution time: 3_621 nanoseconds.
+ Weight::from_ref_time(3_764_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_536 nanoseconds.
- Weight::from_ref_time(3_673_000)
- // Standard Error: 2_059
- .saturating_add(Weight::from_ref_time(678_301).saturating_mul(i.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_680 nanoseconds.
+ Weight::from_ref_time(1_735_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 1_838
+ .saturating_add(Weight::from_ref_time(587_349).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_390 nanoseconds.
- Weight::from_ref_time(3_504_000)
- // Standard Error: 890
- .saturating_add(Weight::from_ref_time(509_654).saturating_mul(i.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_693 nanoseconds.
+ Weight::from_ref_time(1_742_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 858
+ .saturating_add(Weight::from_ref_time(446_600).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_185 nanoseconds.
- Weight::from_ref_time(5_253_000)
- // Standard Error: 1_170
- .saturating_add(Weight::from_ref_time(1_152_577).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `120 + p * (69 ±0)`
+ // Estimated: `121 + p * (70 ±0)`
+ // Minimum execution time: 3_458 nanoseconds.
+ Weight::from_ref_time(3_578_000)
+ .saturating_add(Weight::from_proof_size(121))
+ // Standard Error: 1_106
+ .saturating_add(Weight::from_ref_time(990_233).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()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_bags_list.rs b/polkadot/runtime/kusama/src/weights/pallet_bags_list.rs
index e1781c03dd..0c4ff67e45 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_bags_list.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_bags_list.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,34 +45,59 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bags_list`.
pub struct WeightInfo(PhantomData);
impl pallet_bags_list::WeightInfo for WeightInfo {
- // 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_102 nanoseconds.
- Weight::from_ref_time(66_882_000)
+ // Proof Size summary in bytes:
+ // Measured: `1846`
+ // Estimated: `19186`
+ // Minimum execution time: 54_999 nanoseconds.
+ Weight::from_ref_time(55_668_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: 63_969 nanoseconds.
- Weight::from_ref_time(65_863_000)
+ // Proof Size summary in bytes:
+ // Measured: `1740`
+ // Estimated: `19114`
+ // Minimum execution time: 54_080 nanoseconds.
+ Weight::from_ref_time(54_660_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_120 nanoseconds.
- Weight::from_ref_time(64_737_000)
+ // Proof Size summary in bytes:
+ // Measured: `2081`
+ // Estimated: `25798`
+ // Minimum execution time: 58_444 nanoseconds.
+ Weight::from_ref_time(59_445_000)
+ .saturating_add(Weight::from_proof_size(25798))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs b/polkadot/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs
index ed78f632c8..88cf87bb47 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,61 +45,105 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_balances`.
pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
- // Storage: NisCounterpartBalances Account (r:2 w:2)
- // Storage: System Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:2 w:2)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn transfer() -> Weight {
- // Minimum execution time: 46_620 nanoseconds.
- Weight::from_ref_time(47_736_000)
+ // Proof Size summary in bytes:
+ // Measured: `1884`
+ // Estimated: `8288`
+ // Minimum execution time: 49_883 nanoseconds.
+ Weight::from_ref_time(50_796_000)
+ .saturating_add(Weight::from_proof_size(8288))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: NisCounterpartBalances Account (r:2 w:2)
- // Storage: System Account (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:2 w:2)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, 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_keep_alive() -> Weight {
- // Minimum execution time: 32_475 nanoseconds.
- Weight::from_ref_time(33_360_000)
+ // Proof Size summary in bytes:
+ // Measured: `1710`
+ // Estimated: `7777`
+ // Minimum execution time: 35_180 nanoseconds.
+ Weight::from_ref_time(36_037_000)
+ .saturating_add(Weight::from_proof_size(7777))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: NisCounterpartBalances Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_balance_creating() -> Weight {
- // Minimum execution time: 21_317 nanoseconds.
- Weight::from_ref_time(21_933_000)
+ // Proof Size summary in bytes:
+ // Measured: `1360`
+ // Estimated: `3098`
+ // Minimum execution time: 23_788 nanoseconds.
+ Weight::from_ref_time(24_661_000)
+ .saturating_add(Weight::from_proof_size(3098))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: NisCounterpartBalances Account (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_balance_killing() -> Weight {
- // Minimum execution time: 30_035 nanoseconds.
- Weight::from_ref_time(31_160_000)
+ // Proof Size summary in bytes:
+ // Measured: `1918`
+ // Estimated: `5701`
+ // Minimum execution time: 33_223 nanoseconds.
+ Weight::from_ref_time(33_679_000)
+ .saturating_add(Weight::from_proof_size(5701))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: NisCounterpartBalances Account (r:2 w:2)
- // Storage: System Account (r:2 w:2)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:2 w:2)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
- // Minimum execution time: 45_090 nanoseconds.
- Weight::from_ref_time(46_780_000)
+ // Proof Size summary in bytes:
+ // Measured: `1880`
+ // Estimated: `10891`
+ // Minimum execution time: 47_875 nanoseconds.
+ Weight::from_ref_time(49_321_000)
+ .saturating_add(Weight::from_proof_size(10891))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: NisCounterpartBalances Account (r:2 w:2)
- // Storage: System Account (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:2 w:2)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, 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_all() -> Weight {
- // Minimum execution time: 42_326 nanoseconds.
- Weight::from_ref_time(43_268_000)
+ // Proof Size summary in bytes:
+ // Measured: `1882`
+ // Estimated: `7777`
+ // Minimum execution time: 44_440 nanoseconds.
+ Weight::from_ref_time(45_714_000)
+ .saturating_add(Weight::from_proof_size(7777))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
fn force_unreserve() -> Weight {
- // Minimum execution time: 19_632 nanoseconds.
- Weight::from_ref_time(20_402_000)
+ // Proof Size summary in bytes:
+ // Measured: `1358`
+ // Estimated: `2587`
+ // Minimum execution time: 22_362 nanoseconds.
+ Weight::from_ref_time(23_025_000)
+ .saturating_add(Weight::from_proof_size(2587))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_bounties.rs b/polkadot/runtime/kusama/src/weights/pallet_bounties.rs
index c44048f46a..d3adc6df03 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_bounties.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_bounties.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,107 +45,181 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bounties`.
pub struct WeightInfo(PhantomData);
impl pallet_bounties::WeightInfo for WeightInfo {
- // Storage: Bounties BountyCount (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
- // Storage: Bounties Bounties (r:0 w:1)
+ /// Storage: Bounties BountyCount (r:1 w:1)
+ /// Proof: Bounties BountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:0 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
- // Minimum execution time: 29_623 nanoseconds.
- Weight::from_ref_time(31_822_254)
- // Standard Error: 12
- .saturating_add(Weight::from_ref_time(897).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `242`
+ // Estimated: `3102`
+ // Minimum execution time: 21_635 nanoseconds.
+ Weight::from_ref_time(23_127_861)
+ .saturating_add(Weight::from_proof_size(3102))
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(775).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn approve_bounty() -> Weight {
- // Minimum execution time: 11_503 nanoseconds.
- Weight::from_ref_time(11_905_000)
+ // Proof Size summary in bytes:
+ // Measured: `334`
+ // Estimated: `3549`
+ // Minimum execution time: 10_202 nanoseconds.
+ Weight::from_ref_time(10_505_000)
+ .saturating_add(Weight::from_proof_size(3549))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
- // Minimum execution time: 10_559 nanoseconds.
- Weight::from_ref_time(10_904_000)
+ // Proof Size summary in bytes:
+ // Measured: `354`
+ // Estimated: `2652`
+ // Minimum execution time: 9_140 nanoseconds.
+ Weight::from_ref_time(9_265_000)
+ .saturating_add(Weight::from_proof_size(2652))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
- // Minimum execution time: 42_366 nanoseconds.
- Weight::from_ref_time(43_357_000)
+ // Proof Size summary in bytes:
+ // Measured: `562`
+ // Estimated: `5255`
+ // Minimum execution time: 31_336 nanoseconds.
+ Weight::from_ref_time(31_803_000)
+ .saturating_add(Weight::from_proof_size(5255))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
- // Minimum execution time: 29_157 nanoseconds.
- Weight::from_ref_time(30_677_000)
+ // Proof Size summary in bytes:
+ // Measured: `558`
+ // Estimated: `5255`
+ // Minimum execution time: 21_259 nanoseconds.
+ Weight::from_ref_time(21_664_000)
+ .saturating_add(Weight::from_proof_size(5255))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
- // Minimum execution time: 24_479 nanoseconds.
- Weight::from_ref_time(25_270_000)
+ // Proof Size summary in bytes:
+ // Measured: `538`
+ // Estimated: `5143`
+ // Minimum execution time: 17_471 nanoseconds.
+ Weight::from_ref_time(17_691_000)
+ .saturating_add(Weight::from_proof_size(5143))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
- // Minimum execution time: 75_799 nanoseconds.
- Weight::from_ref_time(78_144_000)
+ // Proof Size summary in bytes:
+ // Measured: `966`
+ // Estimated: `12964`
+ // Minimum execution time: 68_126 nanoseconds.
+ Weight::from_ref_time(69_083_000)
+ .saturating_add(Weight::from_proof_size(12964))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
- // Minimum execution time: 46_842 nanoseconds.
- Weight::from_ref_time(47_536_000)
+ // Proof Size summary in bytes:
+ // Measured: `614`
+ // Estimated: `7746`
+ // Minimum execution time: 35_780 nanoseconds.
+ Weight::from_ref_time(36_451_000)
+ .saturating_add(Weight::from_proof_size(7746))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
- // Minimum execution time: 58_090 nanoseconds.
- Weight::from_ref_time(60_188_000)
+ // Proof Size summary in bytes:
+ // Measured: `882`
+ // Estimated: `10349`
+ // Minimum execution time: 47_996 nanoseconds.
+ Weight::from_ref_time(49_003_000)
+ .saturating_add(Weight::from_proof_size(10349))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Bounties Bounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
fn extend_bounty_expiry() -> Weight {
- // Minimum execution time: 21_089 nanoseconds.
- Weight::from_ref_time(21_836_000)
+ // Proof Size summary in bytes:
+ // Measured: `390`
+ // Estimated: `2652`
+ // Minimum execution time: 13_706 nanoseconds.
+ Weight::from_ref_time(14_041_000)
+ .saturating_add(Weight::from_proof_size(2652))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties BountyApprovals (r:1 w:1)
- // Storage: Bounties Bounties (r:2 w:2)
- // Storage: System Account (r:4 w:4)
+ /// Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:100 w:100)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:200 w:200)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(b: u32, ) -> Weight {
- // Minimum execution time: 7_570 nanoseconds.
- Weight::from_ref_time(19_660_003)
- // Standard Error: 11_535
- .saturating_add(Weight::from_ref_time(31_144_972).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + b * (360 ±0)`
+ // Estimated: `897 + b * (7858 ±0)`
+ // Minimum execution time: 4_106 nanoseconds.
+ Weight::from_ref_time(4_153_000)
+ .saturating_add(Weight::from_proof_size(897))
+ // Standard Error: 16_153
+ .saturating_add(Weight::from_ref_time(28_990_437).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_proof_size(7858).saturating_mul(b.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_child_bounties.rs b/polkadot/runtime/kusama/src/weights/pallet_child_bounties.rs
index c501a3a8b6..a3f12548ee 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_child_bounties.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_child_bounties.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,87 +45,152 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_child_bounties`.
pub struct WeightInfo(PhantomData);
impl pallet_child_bounties::WeightInfo for WeightInfo {
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: ChildBounties ChildBountyCount (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
- // Storage: ChildBounties ChildBounties (r:0 w:1)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyCount (r:1 w:1)
+ /// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:0 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
- // Minimum execution time: 55_323 nanoseconds.
- Weight::from_ref_time(57_716_941)
- // Standard Error: 16
- .saturating_add(Weight::from_ref_time(934).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `710`
+ // Estimated: `10848`
+ // Minimum execution time: 48_061 nanoseconds.
+ Weight::from_ref_time(49_239_456)
+ .saturating_add(Weight::from_proof_size(10848))
+ // Standard Error: 9
+ .saturating_add(Weight::from_ref_time(788).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
- // Minimum execution time: 18_709 nanoseconds.
- Weight::from_ref_time(19_319_000)
+ // Proof Size summary in bytes:
+ // Measured: `764`
+ // Estimated: `7775`
+ // Minimum execution time: 16_701 nanoseconds.
+ Weight::from_ref_time(17_041_000)
+ .saturating_add(Weight::from_proof_size(7775))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
- // Minimum execution time: 34_386 nanoseconds.
- Weight::from_ref_time(35_898_000)
+ // Proof Size summary in bytes:
+ // Measured: `942`
+ // Estimated: `7875`
+ // Minimum execution time: 28_897 nanoseconds.
+ Weight::from_ref_time(29_291_000)
+ .saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: System Account (r:1 w:1)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
- // Minimum execution time: 48_360 nanoseconds.
- Weight::from_ref_time(49_866_000)
+ // Proof Size summary in bytes:
+ // Measured: `942`
+ // Estimated: `7875`
+ // Minimum execution time: 40_320 nanoseconds.
+ Weight::from_ref_time(40_620_000)
+ .saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
- // Minimum execution time: 28_240 nanoseconds.
- Weight::from_ref_time(29_435_000)
+ // Proof Size summary in bytes:
+ // Measured: `807`
+ // Estimated: `5272`
+ // Minimum execution time: 20_861 nanoseconds.
+ Weight::from_ref_time(21_665_000)
+ .saturating_add(Weight::from_proof_size(5272))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
- // Minimum execution time: 75_273 nanoseconds.
- Weight::from_ref_time(77_122_000)
+ // Proof Size summary in bytes:
+ // Measured: `778`
+ // Estimated: `12920`
+ // Minimum execution time: 68_247 nanoseconds.
+ Weight::from_ref_time(69_376_000)
+ .saturating_add(Weight::from_proof_size(12920))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: System Account (r:2 w:2)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
- // Minimum execution time: 55_596 nanoseconds.
- Weight::from_ref_time(57_045_000)
+ // Proof Size summary in bytes:
+ // Measured: `1074`
+ // Estimated: `15472`
+ // Minimum execution time: 50_591 nanoseconds.
+ Weight::from_ref_time(51_617_000)
+ .saturating_add(Weight::from_proof_size(15472))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
- // Minimum execution time: 66_320 nanoseconds.
- Weight::from_ref_time(68_259_000)
+ // Proof Size summary in bytes:
+ // Measured: `1293`
+ // Estimated: `18075`
+ // Minimum execution time: 62_527 nanoseconds.
+ Weight::from_ref_time(63_452_000)
+ .saturating_add(Weight::from_proof_size(18075))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_collective_council.rs b/polkadot/runtime/kusama/src/weights/pallet_collective_council.rs
index 7863685d6d..b2ec455046 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_collective_council.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_collective_council.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo(PhantomData);
impl pallet_collective::WeightInfo for WeightInfo {
- // Storage: Council Members (r:1 w:1)
- // Storage: Council Proposals (r:1 w:0)
- // Storage: Council Prime (r:0 w:1)
- // Storage: Council Voting (r:100 w:100)
+ /// Storage: Council Members (r:1 w:1)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:0)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:100 w:100)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:0 w:1)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
@@ -55,51 +60,75 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
- // Minimum execution time: 16_648 nanoseconds.
- Weight::from_ref_time(16_874_000)
- // Standard Error: 36_550
- .saturating_add(Weight::from_ref_time(4_155_460).saturating_mul(m.into()))
- // Standard Error: 36_550
- .saturating_add(Weight::from_ref_time(6_898_238).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
+ // Estimated: `16322 + m * (7809 ±16) + p * (10238 ±16)`
+ // Minimum execution time: 15_982 nanoseconds.
+ Weight::from_ref_time(16_149_000)
+ .saturating_add(Weight::from_proof_size(16322))
+ // Standard Error: 48_046
+ .saturating_add(Weight::from_ref_time(5_473_996).saturating_mul(m.into()))
+ // Standard Error: 48_046
+ .saturating_add(Weight::from_ref_time(7_914_849).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
+ .saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
}
- // Storage: Council Members (r:1 w:0)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 20_604 nanoseconds.
- Weight::from_ref_time(20_117_098)
- // Standard Error: 20
- .saturating_add(Weight::from_ref_time(1_951).saturating_mul(b.into()))
- // Standard Error: 213
- .saturating_add(Weight::from_ref_time(13_087).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `168 + m * (32 ±0)`
+ // Estimated: `664 + m * (32 ±0)`
+ // Minimum execution time: 14_779 nanoseconds.
+ Weight::from_ref_time(13_911_153)
+ .saturating_add(Weight::from_proof_size(664))
+ // Standard Error: 18
+ .saturating_add(Weight::from_ref_time(1_722).saturating_mul(b.into()))
+ // Standard Error: 194
+ .saturating_add(Weight::from_ref_time(16_113).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:0)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:0)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 23_005 nanoseconds.
- Weight::from_ref_time(22_039_338)
- // Standard Error: 25
- .saturating_add(Weight::from_ref_time(2_000).saturating_mul(b.into()))
- // Standard Error: 265
- .saturating_add(Weight::from_ref_time(21_045).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `168 + m * (32 ±0)`
+ // Estimated: `3308 + m * (64 ±0)`
+ // Minimum execution time: 17_349 nanoseconds.
+ Weight::from_ref_time(16_113_673)
+ .saturating_add(Weight::from_proof_size(3308))
+ // Standard Error: 22
+ .saturating_add(Weight::from_ref_time(1_794).saturating_mul(b.into()))
+ // Standard Error: 231
+ .saturating_add(Weight::from_ref_time(25_859).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:1)
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council ProposalCount (r:1 w:1)
- // Storage: Council Voting (r:0 w:1)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalCount (r:1 w:1)
+ /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:0 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -107,51 +136,78 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 28_984 nanoseconds.
- Weight::from_ref_time(27_067_662)
- // Standard Error: 97
- .saturating_add(Weight::from_ref_time(4_243).saturating_mul(b.into()))
- // Standard Error: 1_015
- .saturating_add(Weight::from_ref_time(29_845).saturating_mul(m.into()))
- // Standard Error: 1_002
- .saturating_add(Weight::from_ref_time(197_072).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `490 + m * (32 ±0) + p * (36 ±0)`
+ // Estimated: `6025 + m * (165 ±0) + p * (180 ±0)`
+ // Minimum execution time: 22_245 nanoseconds.
+ Weight::from_ref_time(22_665_027)
+ .saturating_add(Weight::from_proof_size(6025))
+ // Standard Error: 48
+ .saturating_add(Weight::from_ref_time(2_822).saturating_mul(b.into()))
+ // Standard Error: 501
+ .saturating_add(Weight::from_ref_time(17_282).saturating_mul(m.into()))
+ // Standard Error: 495
+ .saturating_add(Weight::from_ref_time(95_897).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
+ .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Voting (r:1 w:1)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
- // Minimum execution time: 34_329 nanoseconds.
- Weight::from_ref_time(36_958_595)
- // Standard Error: 750
- .saturating_add(Weight::from_ref_time(45_910).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `940 + m * (64 ±0)`
+ // Estimated: `4848 + m * (128 ±0)`
+ // Minimum execution time: 20_105 nanoseconds.
+ Weight::from_ref_time(20_545_471)
+ .saturating_add(Weight::from_proof_size(4848))
+ // Standard Error: 737
+ .saturating_add(Weight::from_ref_time(49_541).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council ProposalOf (r:0 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:0 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 30_842 nanoseconds.
- Weight::from_ref_time(32_492_766)
- // Standard Error: 884
- .saturating_add(Weight::from_ref_time(31_628).saturating_mul(m.into()))
- // Standard Error: 862
- .saturating_add(Weight::from_ref_time(186_164).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `560 + m * (64 ±0) + p * (36 ±0)`
+ // Estimated: `5629 + m * (260 ±0) + p * (144 ±0)`
+ // Minimum execution time: 24_515 nanoseconds.
+ Weight::from_ref_time(26_016_776)
+ .saturating_add(Weight::from_proof_size(5629))
+ // Standard Error: 841
+ .saturating_add(Weight::from_ref_time(9_082).saturating_mul(m.into()))
+ // Standard Error: 820
+ .saturating_add(Weight::from_ref_time(114_701).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:1)
- // Storage: Council Proposals (r:1 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -159,41 +215,64 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 41_248 nanoseconds.
- Weight::from_ref_time(41_974_210)
- // Standard Error: 97
- .saturating_add(Weight::from_ref_time(3_399).saturating_mul(b.into()))
- // Standard Error: 1_032
- .saturating_add(Weight::from_ref_time(28_568).saturating_mul(m.into()))
- // Standard Error: 1_006
- .saturating_add(Weight::from_ref_time(212_759).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `896 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
+ // Estimated: `8900 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
+ // Minimum execution time: 34_779 nanoseconds.
+ Weight::from_ref_time(38_037_892)
+ .saturating_add(Weight::from_proof_size(8900))
+ // Standard Error: 66
+ .saturating_add(Weight::from_ref_time(1_917).saturating_mul(b.into()))
+ // Standard Error: 706
+ .saturating_add(Weight::from_ref_time(15_325).saturating_mul(m.into()))
+ // Standard Error: 688
+ .saturating_add(Weight::from_ref_time(108_416).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into()))
+ .saturating_add(Weight::from_proof_size(264).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Prime (r:1 w:0)
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council ProposalOf (r:0 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:1 w:0)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:0 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 34_511 nanoseconds.
- Weight::from_ref_time(34_445_374)
- // Standard Error: 820
- .saturating_add(Weight::from_ref_time(38_784).saturating_mul(m.into()))
- // Standard Error: 799
- .saturating_add(Weight::from_ref_time(191_619).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `580 + m * (64 ±0) + p * (36 ±0)`
+ // Estimated: `6765 + m * (325 ±0) + p * (180 ±0)`
+ // Minimum execution time: 27_246 nanoseconds.
+ Weight::from_ref_time(28_726_731)
+ .saturating_add(Weight::from_proof_size(6765))
+ // Standard Error: 855
+ .saturating_add(Weight::from_ref_time(29_438).saturating_mul(m.into()))
+ // Standard Error: 834
+ .saturating_add(Weight::from_ref_time(105_832).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Prime (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:1)
- // Storage: Council Proposals (r:1 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:1 w:0)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -201,28 +280,43 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 43_512 nanoseconds.
- Weight::from_ref_time(43_763_995)
- // Standard Error: 108
- .saturating_add(Weight::from_ref_time(3_663).saturating_mul(b.into()))
- // Standard Error: 1_143
- .saturating_add(Weight::from_ref_time(32_094).saturating_mul(m.into()))
- // Standard Error: 1_114
- .saturating_add(Weight::from_ref_time(218_006).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `916 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
+ // Estimated: `10235 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
+ // Minimum execution time: 40_211 nanoseconds.
+ Weight::from_ref_time(41_064_837)
+ .saturating_add(Weight::from_proof_size(10235))
+ // Standard Error: 60
+ .saturating_add(Weight::from_ref_time(1_910).saturating_mul(b.into()))
+ // Standard Error: 643
+ .saturating_add(Weight::from_ref_time(15_864).saturating_mul(m.into()))
+ // Standard Error: 627
+ .saturating_add(Weight::from_ref_time(107_526).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into()))
+ .saturating_add(Weight::from_proof_size(330).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(200).saturating_mul(p.into()))
}
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council Voting (r:0 w:1)
- // Storage: Council ProposalOf (r:0 w:1)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:0 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:0 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 19_588 nanoseconds.
- Weight::from_ref_time(22_092_936)
- // Standard Error: 912
- .saturating_add(Weight::from_ref_time(174_551).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `325 + p * (32 ±0)`
+ // Estimated: `1470 + p * (96 ±0)`
+ // Minimum execution time: 13_506 nanoseconds.
+ Weight::from_ref_time(15_355_734)
+ .saturating_add(Weight::from_proof_size(1470))
+ // Standard Error: 440
+ .saturating_add(Weight::from_ref_time(83_215).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/polkadot/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
index e5c89f27d8..c137cda772 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo(PhantomData);
impl pallet_collective::WeightInfo for WeightInfo {
- // Storage: TechnicalCommittee Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
- // Storage: TechnicalCommittee Voting (r:100 w:100)
+ /// Storage: TechnicalCommittee Members (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Voting (r:100 w:100)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
@@ -55,51 +60,75 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
- // Minimum execution time: 17_364 nanoseconds.
- Weight::from_ref_time(17_747_000)
- // Standard Error: 36_695
- .saturating_add(Weight::from_ref_time(4_154_922).saturating_mul(m.into()))
- // Standard Error: 36_695
- .saturating_add(Weight::from_ref_time(6_925_329).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
+ // Estimated: `16478 + m * (7809 ±16) + p * (10238 ±16)`
+ // Minimum execution time: 16_790 nanoseconds.
+ Weight::from_ref_time(16_995_000)
+ .saturating_add(Weight::from_proof_size(16478))
+ // Standard Error: 48_182
+ .saturating_add(Weight::from_ref_time(5_453_981).saturating_mul(m.into()))
+ // Standard Error: 48_182
+ .saturating_add(Weight::from_ref_time(7_960_093).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
+ .saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 21_204 nanoseconds.
- Weight::from_ref_time(20_409_573)
- // Standard Error: 17
- .saturating_add(Weight::from_ref_time(2_055).saturating_mul(b.into()))
- // Standard Error: 179
- .saturating_add(Weight::from_ref_time(13_580).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `207 + m * (32 ±0)`
+ // Estimated: `703 + m * (32 ±0)`
+ // Minimum execution time: 15_321 nanoseconds.
+ Weight::from_ref_time(14_435_685)
+ .saturating_add(Weight::from_proof_size(703))
+ // Standard Error: 18
+ .saturating_add(Weight::from_ref_time(1_773).saturating_mul(b.into()))
+ // Standard Error: 189
+ .saturating_add(Weight::from_ref_time(14_653).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee ProposalOf (r:1 w:0)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 23_743 nanoseconds.
- Weight::from_ref_time(22_706_099)
- // Standard Error: 18
- .saturating_add(Weight::from_ref_time(1_980).saturating_mul(b.into()))
- // Standard Error: 190
- .saturating_add(Weight::from_ref_time(19_216).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `207 + m * (32 ±0)`
+ // Estimated: `3386 + m * (64 ±0)`
+ // Minimum execution time: 18_068 nanoseconds.
+ Weight::from_ref_time(16_814_687)
+ .saturating_add(Weight::from_proof_size(3386))
+ // Standard Error: 17
+ .saturating_add(Weight::from_ref_time(1_789).saturating_mul(b.into()))
+ // Standard Error: 178
+ .saturating_add(Weight::from_ref_time(21_690).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee ProposalOf (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
- // Storage: TechnicalCommittee ProposalCount (r:1 w:1)
- // Storage: TechnicalCommittee Voting (r:0 w:1)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Voting (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -107,51 +136,78 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 29_569 nanoseconds.
- Weight::from_ref_time(27_693_865)
- // Standard Error: 86
- .saturating_add(Weight::from_ref_time(4_711).saturating_mul(b.into()))
- // Standard Error: 903
- .saturating_add(Weight::from_ref_time(30_048).saturating_mul(m.into()))
- // Standard Error: 891
- .saturating_add(Weight::from_ref_time(205_569).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `529 + m * (32 ±0) + p * (36 ±0)`
+ // Estimated: `6220 + m * (165 ±0) + p * (180 ±0)`
+ // Minimum execution time: 22_986 nanoseconds.
+ Weight::from_ref_time(23_451_803)
+ .saturating_add(Weight::from_proof_size(6220))
+ // Standard Error: 52
+ .saturating_add(Weight::from_ref_time(2_807).saturating_mul(b.into()))
+ // Standard Error: 551
+ .saturating_add(Weight::from_ref_time(17_437).saturating_mul(m.into()))
+ // Standard Error: 544
+ .saturating_add(Weight::from_ref_time(97_273).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
+ .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
- // Minimum execution time: 35_170 nanoseconds.
- Weight::from_ref_time(37_544_583)
- // Standard Error: 631
- .saturating_add(Weight::from_ref_time(49_997).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `979 + m * (64 ±0)`
+ // Estimated: `4926 + m * (128 ±0)`
+ // Minimum execution time: 20_921 nanoseconds.
+ Weight::from_ref_time(21_577_981)
+ .saturating_add(Weight::from_proof_size(4926))
+ // Standard Error: 361
+ .saturating_add(Weight::from_ref_time(44_227).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
}
- // Storage: TechnicalCommittee Voting (r:1 w:1)
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
- // Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 33_117 nanoseconds.
- Weight::from_ref_time(33_433_456)
- // Standard Error: 822
- .saturating_add(Weight::from_ref_time(31_987).saturating_mul(m.into()))
- // Standard Error: 801
- .saturating_add(Weight::from_ref_time(184_413).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `599 + m * (64 ±0) + p * (36 ±0)`
+ // Estimated: `5785 + m * (260 ±0) + p * (144 ±0)`
+ // Minimum execution time: 25_585 nanoseconds.
+ Weight::from_ref_time(27_510_279)
+ .saturating_add(Weight::from_proof_size(5785))
+ // Standard Error: 840
+ .saturating_add(Weight::from_ref_time(21_073).saturating_mul(m.into()))
+ // Standard Error: 819
+ .saturating_add(Weight::from_ref_time(105_369).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Voting (r:1 w:1)
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee ProposalOf (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -159,41 +215,64 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 42_577 nanoseconds.
- Weight::from_ref_time(43_196_678)
- // Standard Error: 95
- .saturating_add(Weight::from_ref_time(3_166).saturating_mul(b.into()))
- // Standard Error: 1_009
- .saturating_add(Weight::from_ref_time(25_748).saturating_mul(m.into()))
- // Standard Error: 983
- .saturating_add(Weight::from_ref_time(212_874).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `935 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
+ // Estimated: `9056 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
+ // Minimum execution time: 38_408 nanoseconds.
+ Weight::from_ref_time(39_049_584)
+ .saturating_add(Weight::from_proof_size(9056))
+ // Standard Error: 58
+ .saturating_add(Weight::from_ref_time(1_791).saturating_mul(b.into()))
+ // Standard Error: 622
+ .saturating_add(Weight::from_ref_time(15_547).saturating_mul(m.into()))
+ // Standard Error: 607
+ .saturating_add(Weight::from_ref_time(107_265).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into()))
+ .saturating_add(Weight::from_proof_size(264).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Voting (r:1 w:1)
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee Prime (r:1 w:0)
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
- // Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 34_923 nanoseconds.
- Weight::from_ref_time(34_983_792)
- // Standard Error: 717
- .saturating_add(Weight::from_ref_time(39_140).saturating_mul(m.into()))
- // Standard Error: 699
- .saturating_add(Weight::from_ref_time(194_907).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `619 + m * (64 ±0) + p * (36 ±0)`
+ // Estimated: `6960 + m * (325 ±0) + p * (180 ±0)`
+ // Minimum execution time: 28_316 nanoseconds.
+ Weight::from_ref_time(30_856_750)
+ .saturating_add(Weight::from_proof_size(6960))
+ // Standard Error: 536
+ .saturating_add(Weight::from_ref_time(26_570).saturating_mul(m.into()))
+ // Standard Error: 523
+ .saturating_add(Weight::from_ref_time(93_141).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Voting (r:1 w:1)
- // Storage: TechnicalCommittee Members (r:1 w:0)
- // Storage: TechnicalCommittee Prime (r:1 w:0)
- // Storage: TechnicalCommittee ProposalOf (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Storage: TechnicalCommittee Voting (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Members (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -201,28 +280,43 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 43_911 nanoseconds.
- Weight::from_ref_time(44_774_702)
- // Standard Error: 100
- .saturating_add(Weight::from_ref_time(3_555).saturating_mul(b.into()))
- // Standard Error: 1_060
- .saturating_add(Weight::from_ref_time(29_486).saturating_mul(m.into()))
- // Standard Error: 1_033
- .saturating_add(Weight::from_ref_time(218_377).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `955 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
+ // Estimated: `10430 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
+ // Minimum execution time: 41_400 nanoseconds.
+ Weight::from_ref_time(41_772_428)
+ .saturating_add(Weight::from_proof_size(10430))
+ // Standard Error: 57
+ .saturating_add(Weight::from_ref_time(1_894).saturating_mul(b.into()))
+ // Standard Error: 605
+ .saturating_add(Weight::from_ref_time(16_640).saturating_mul(m.into()))
+ // Standard Error: 589
+ .saturating_add(Weight::from_ref_time(108_579).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into()))
+ .saturating_add(Weight::from_proof_size(330).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(200).saturating_mul(p.into()))
}
- // Storage: TechnicalCommittee Proposals (r:1 w:1)
- // Storage: TechnicalCommittee Voting (r:0 w:1)
- // Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:1)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Voting (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 20_192 nanoseconds.
- Weight::from_ref_time(22_521_459)
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(177_568).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `364 + p * (32 ±0)`
+ // Estimated: `1587 + p * (96 ±0)`
+ // Minimum execution time: 14_309 nanoseconds.
+ Weight::from_ref_time(16_007_363)
+ .saturating_add(Weight::from_proof_size(1587))
+ // Standard Error: 391
+ .saturating_add(Weight::from_ref_time(84_034).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_conviction_voting.rs b/polkadot/runtime/kusama/src/weights/pallet_conviction_voting.rs
index c61d1775a5..e34497242e 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_conviction_voting.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_conviction_voting.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_conviction_voting`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,81 +45,137 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_conviction_voting`.
pub struct WeightInfo(PhantomData);
impl pallet_conviction_voting::WeightInfo for WeightInfo {
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: ConvictionVoting VotingFor (r:1 w:1)
- // Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting VotingFor (r:1 w:1)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
+ /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn vote_new() -> Weight {
- // Minimum execution time: 176_250 nanoseconds.
- Weight::from_ref_time(183_105_000)
+ // Proof Size summary in bytes:
+ // Measured: `13540`
+ // Estimated: `81125`
+ // Minimum execution time: 108_443 nanoseconds.
+ Weight::from_ref_time(111_052_000)
+ .saturating_add(Weight::from_proof_size(81125))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: ConvictionVoting VotingFor (r:1 w:1)
- // Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting VotingFor (r:1 w:1)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
+ /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn vote_existing() -> Weight {
- // Minimum execution time: 239_904 nanoseconds.
- Weight::from_ref_time(248_494_000)
+ // Proof Size summary in bytes:
+ // Measured: `14292`
+ // Estimated: `122563`
+ // Minimum execution time: 177_568 nanoseconds.
+ Weight::from_ref_time(179_465_000)
+ .saturating_add(Weight::from_proof_size(122563))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: ConvictionVoting VotingFor (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: ConvictionVoting VotingFor (r:1 w:1)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn remove_vote() -> Weight {
- // Minimum execution time: 209_359 nanoseconds.
- Weight::from_ref_time(222_154_000)
+ // Proof Size summary in bytes:
+ // Measured: `14012`
+ // Estimated: `116003`
+ // Minimum execution time: 159_991 nanoseconds.
+ Weight::from_ref_time(162_639_000)
+ .saturating_add(Weight::from_proof_size(116003))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: ConvictionVoting VotingFor (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:1 w:0)
+ /// Storage: ConvictionVoting VotingFor (r:1 w:1)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
fn remove_other_vote() -> Weight {
- // Minimum execution time: 103_052 nanoseconds.
- Weight::from_ref_time(107_461_000)
+ // Proof Size summary in bytes:
+ // Measured: `13067`
+ // Estimated: `33127`
+ // Minimum execution time: 59_647 nanoseconds.
+ Weight::from_ref_time(61_753_000)
+ .saturating_add(Weight::from_proof_size(33127))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: ConvictionVoting VotingFor (r:2 w:2)
- // Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:10 w:10)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: ConvictionVoting VotingFor (r:2 w:2)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:512 w:512)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
+ /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, 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 `r` is `[0, 512]`.
fn delegate(r: u32, ) -> Weight {
- // Minimum execution time: 102_070 nanoseconds.
- Weight::from_ref_time(1_776_040_090)
- // Standard Error: 149_833
- .saturating_add(Weight::from_ref_time(38_268_419).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `29734 + r * (397 ±0)`
+ // Estimated: `148868 + r * (3411 ±0)`
+ // Minimum execution time: 45_902 nanoseconds.
+ Weight::from_ref_time(1_827_961_044)
+ .saturating_add(Weight::from_proof_size(148868))
+ // Standard Error: 164_484
+ .saturating_add(Weight::from_ref_time(43_698_724).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
+ .saturating_add(Weight::from_proof_size(3411).saturating_mul(r.into()))
}
- // Storage: ConvictionVoting VotingFor (r:2 w:2)
- // Storage: Referenda ReferendumInfoFor (r:10 w:10)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: ConvictionVoting VotingFor (r:2 w:2)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:512 w:512)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 512]`.
fn undelegate(r: u32, ) -> Weight {
- // Minimum execution time: 75_841 nanoseconds.
- Weight::from_ref_time(1_698_737_760)
- // Standard Error: 145_937
- .saturating_add(Weight::from_ref_time(38_386_704).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `29650 + r * (397 ±0)`
+ // Estimated: `142308 + r * (3411 ±0)`
+ // Minimum execution time: 31_727 nanoseconds.
+ Weight::from_ref_time(1_789_781_378)
+ .saturating_add(Weight::from_proof_size(142308))
+ // Standard Error: 162_421
+ .saturating_add(Weight::from_ref_time(43_745_656).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
+ .saturating_add(Weight::from_proof_size(3411).saturating_mul(r.into()))
}
- // Storage: ConvictionVoting VotingFor (r:1 w:1)
- // Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: ConvictionVoting VotingFor (r:1 w:1)
+ /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
+ /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
+ /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn unlock() -> Weight {
- // Minimum execution time: 130_072 nanoseconds.
- Weight::from_ref_time(132_988_000)
+ // Proof Size summary in bytes:
+ // Measured: `12312`
+ // Estimated: `36276`
+ // Minimum execution time: 68_864 nanoseconds.
+ Weight::from_ref_time(71_033_000)
+ .saturating_add(Weight::from_proof_size(36276))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_democracy.rs b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs
index 21e5ca2ab3..5788de31bb 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_democracy.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,249 +45,469 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_democracy`.
pub struct WeightInfo(PhantomData);
impl pallet_democracy::WeightInfo for WeightInfo {
- // Storage: Democracy PublicPropCount (r:1 w:1)
- // Storage: Democracy PublicProps (r:1 w:1)
- // Storage: Democracy Blacklist (r:1 w:0)
- // Storage: Democracy DepositOf (r:0 w:1)
+ /// Storage: Democracy PublicPropCount (r:1 w:1)
+ /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy PublicProps (r:1 w:1)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Democracy Blacklist (r:1 w:0)
+ /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
+ /// Storage: Democracy DepositOf (r:0 w:1)
+ /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
fn propose() -> Weight {
- // Minimum execution time: 53_031 nanoseconds.
- Weight::from_ref_time(55_864_000)
+ // Proof Size summary in bytes:
+ // Measured: `4831`
+ // Estimated: `23409`
+ // Minimum execution time: 32_448 nanoseconds.
+ Weight::from_ref_time(33_263_000)
+ .saturating_add(Weight::from_proof_size(23409))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy DepositOf (r:1 w:1)
+ /// Storage: Democracy DepositOf (r:1 w:1)
+ /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
fn second() -> Weight {
- // Minimum execution time: 46_017 nanoseconds.
- Weight::from_ref_time(47_880_000)
+ // Proof Size summary in bytes:
+ // Measured: `3587`
+ // Estimated: `5705`
+ // Minimum execution time: 31_130 nanoseconds.
+ Weight::from_ref_time(31_618_000)
+ .saturating_add(Weight::from_proof_size(5705))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy VotingOf (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn vote_new() -> Weight {
- // Minimum execution time: 57_992 nanoseconds.
- Weight::from_ref_time(60_252_000)
+ // Proof Size summary in bytes:
+ // Measured: `3532`
+ // Estimated: `12720`
+ // Minimum execution time: 44_480 nanoseconds.
+ Weight::from_ref_time(45_330_000)
+ .saturating_add(Weight::from_proof_size(12720))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy VotingOf (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn vote_existing() -> Weight {
- // Minimum execution time: 60_354 nanoseconds.
- Weight::from_ref_time(62_448_000)
+ // Proof Size summary in bytes:
+ // Measured: `3554`
+ // Estimated: `12720`
+ // Minimum execution time: 44_688 nanoseconds.
+ Weight::from_ref_time(45_422_000)
+ .saturating_add(Weight::from_proof_size(12720))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy Cancellations (r:1 w:1)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy Cancellations (r:1 w:1)
+ /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn emergency_cancel() -> Weight {
- // Minimum execution time: 22_119 nanoseconds.
- Weight::from_ref_time(22_651_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(2))
- }
- // Storage: Democracy PublicProps (r:1 w:1)
- // Storage: Democracy DepositOf (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Democracy NextExternal (r:1 w:1)
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy Blacklist (r:0 w:1)
- fn blacklist() -> Weight {
- // Minimum execution time: 94_424 nanoseconds.
- Weight::from_ref_time(96_984_000)
- .saturating_add(T::DbWeight::get().reads(5))
- .saturating_add(T::DbWeight::get().writes(6))
- }
- // Storage: Democracy NextExternal (r:1 w:1)
- // Storage: Democracy Blacklist (r:1 w:0)
- fn external_propose() -> Weight {
- // Minimum execution time: 17_013 nanoseconds.
- Weight::from_ref_time(17_572_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: Democracy NextExternal (r:0 w:1)
- fn external_propose_majority() -> Weight {
- // Minimum execution time: 4_391 nanoseconds.
- Weight::from_ref_time(4_561_000)
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: Democracy NextExternal (r:0 w:1)
- fn external_propose_default() -> Weight {
- // Minimum execution time: 4_295 nanoseconds.
- Weight::from_ref_time(4_586_000)
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: Democracy NextExternal (r:1 w:1)
- // Storage: Democracy ReferendumCount (r:1 w:1)
- // Storage: Democracy ReferendumInfoOf (r:0 w:1)
- fn fast_track() -> Weight {
- // Minimum execution time: 21_958 nanoseconds.
- Weight::from_ref_time(22_606_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(3))
- }
- // Storage: Democracy NextExternal (r:1 w:1)
- // Storage: Democracy Blacklist (r:1 w:1)
- fn veto_external() -> Weight {
- // Minimum execution time: 27_007 nanoseconds.
- Weight::from_ref_time(27_693_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(2))
- }
- // Storage: Democracy PublicProps (r:1 w:1)
- // Storage: Democracy DepositOf (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- fn cancel_proposal() -> Weight {
- // Minimum execution time: 80_566 nanoseconds.
- Weight::from_ref_time(82_175_000)
+ // Proof Size summary in bytes:
+ // Measured: `365`
+ // Estimated: `7712`
+ // Minimum execution time: 23_949 nanoseconds.
+ Weight::from_ref_time(24_354_000)
+ .saturating_add(Weight::from_proof_size(7712))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy ReferendumInfoOf (r:0 w:1)
- fn cancel_referendum() -> Weight {
- // Minimum execution time: 14_105 nanoseconds.
- Weight::from_ref_time(14_330_000)
+ /// Storage: Democracy PublicProps (r:1 w:1)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Democracy DepositOf (r:1 w:1)
+ /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:3 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
+ /// Storage: Democracy NextExternal (r:1 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy Blacklist (r:0 w:1)
+ /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
+ fn blacklist() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `6003`
+ // Estimated: `36392`
+ // Minimum execution time: 83_852 nanoseconds.
+ Weight::from_ref_time(85_197_000)
+ .saturating_add(Weight::from_proof_size(36392))
+ .saturating_add(T::DbWeight::get().reads(8))
+ .saturating_add(T::DbWeight::get().writes(7))
+ }
+ /// Storage: Democracy NextExternal (r:1 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy Blacklist (r:1 w:0)
+ /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
+ fn external_propose() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `3415`
+ // Estimated: `6340`
+ // Minimum execution time: 11_916 nanoseconds.
+ Weight::from_ref_time(12_246_000)
+ .saturating_add(Weight::from_proof_size(6340))
+ .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Democracy LowestUnbaked (r:1 w:1)
- // Storage: Democracy ReferendumCount (r:1 w:0)
- // Storage: Democracy ReferendumInfoOf (r:2 w:0)
+ /// Storage: Democracy NextExternal (r:0 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ fn external_propose_majority() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 3_099 nanoseconds.
+ Weight::from_ref_time(3_237_000)
+ .saturating_add(Weight::from_proof_size(0))
+ .saturating_add(T::DbWeight::get().writes(1))
+ }
+ /// Storage: Democracy NextExternal (r:0 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ fn external_propose_default() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 3_073 nanoseconds.
+ Weight::from_ref_time(3_218_000)
+ .saturating_add(Weight::from_proof_size(0))
+ .saturating_add(T::DbWeight::get().writes(1))
+ }
+ /// Storage: Democracy NextExternal (r:1 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumCount (r:1 w:1)
+ /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:2)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:0 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ fn fast_track() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `253`
+ // Estimated: `3654`
+ // Minimum execution time: 24_786 nanoseconds.
+ Weight::from_ref_time(25_163_000)
+ .saturating_add(Weight::from_proof_size(3654))
+ .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().writes(5))
+ }
+ /// Storage: Democracy NextExternal (r:1 w:1)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy Blacklist (r:1 w:1)
+ /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
+ fn veto_external() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `3518`
+ // Estimated: `8868`
+ // Minimum execution time: 29_863 nanoseconds.
+ Weight::from_ref_time(30_129_000)
+ .saturating_add(Weight::from_proof_size(8868))
+ .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().writes(3))
+ }
+ /// Storage: Democracy PublicProps (r:1 w:1)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Democracy DepositOf (r:1 w:1)
+ /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
+ fn cancel_proposal() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `5882`
+ // Estimated: `28033`
+ // Minimum execution time: 68_445 nanoseconds.
+ Weight::from_ref_time(69_434_000)
+ .saturating_add(Weight::from_proof_size(28033))
+ .saturating_add(T::DbWeight::get().reads(4))
+ .saturating_add(T::DbWeight::get().writes(4))
+ }
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:0 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ fn cancel_referendum() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `238`
+ // Estimated: `2528`
+ // Minimum execution time: 18_448 nanoseconds.
+ Weight::from_ref_time(18_737_000)
+ .saturating_add(Weight::from_proof_size(2528))
+ .saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(T::DbWeight::get().writes(2))
+ }
+ /// Storage: Democracy LowestUnbaked (r:1 w:1)
+ /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumCount (r:1 w:0)
+ /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:99 w:0)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
- // Minimum execution time: 6_648 nanoseconds.
- Weight::from_ref_time(7_364_590)
- // Standard Error: 5_128
- .saturating_add(Weight::from_ref_time(2_510_520).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `211 + r * (117 ±0)`
+ // Estimated: `998 + r * (2676 ±0)`
+ // Minimum execution time: 6_036 nanoseconds.
+ Weight::from_ref_time(8_660_219)
+ .saturating_add(Weight::from_proof_size(998))
+ // Standard Error: 6_378
+ .saturating_add(Weight::from_ref_time(2_616_095).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
- // Storage: Democracy LowestUnbaked (r:1 w:1)
- // Storage: Democracy ReferendumCount (r:1 w:0)
- // Storage: Democracy LastTabledWasExternal (r:1 w:0)
- // Storage: Democracy NextExternal (r:1 w:0)
- // Storage: Democracy PublicProps (r:1 w:0)
- // Storage: Democracy ReferendumInfoOf (r:2 w:0)
+ /// Storage: Democracy LowestUnbaked (r:1 w:1)
+ /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumCount (r:1 w:0)
+ /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Democracy LastTabledWasExternal (r:1 w:0)
+ /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: Democracy NextExternal (r:1 w:0)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy PublicProps (r:1 w:0)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:99 w:0)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
- // Minimum execution time: 9_093 nanoseconds.
- Weight::from_ref_time(9_336_059)
- // Standard Error: 5_350
- .saturating_add(Weight::from_ref_time(2_532_170).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `211 + r * (117 ±0)`
+ // Estimated: `19318 + r * (2676 ±0)`
+ // Minimum execution time: 8_631 nanoseconds.
+ Weight::from_ref_time(11_561_886)
+ .saturating_add(Weight::from_proof_size(19318))
+ // Standard Error: 7_214
+ .saturating_add(Weight::from_ref_time(2_624_663).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
- // Storage: Democracy VotingOf (r:3 w:3)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Democracy ReferendumInfoOf (r:2 w:2)
+ /// Storage: Democracy VotingOf (r:3 w:3)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:99 w:99)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, 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 `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
- // Minimum execution time: 43_838 nanoseconds.
- Weight::from_ref_time(48_205_620)
- // Standard Error: 6_563
- .saturating_add(Weight::from_ref_time(3_759_724).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `925 + r * (139 ±0)`
+ // Estimated: `22584 + r * (2676 ±0)`
+ // Minimum execution time: 38_364 nanoseconds.
+ Weight::from_ref_time(40_665_356)
+ .saturating_add(Weight::from_proof_size(22584))
+ // Standard Error: 7_334
+ .saturating_add(Weight::from_ref_time(3_616_029).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
+ .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
- // Storage: Democracy VotingOf (r:2 w:2)
- // Storage: Democracy ReferendumInfoOf (r:2 w:2)
+ /// Storage: Democracy VotingOf (r:2 w:2)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
+ /// Storage: Democracy ReferendumInfoOf (r:99 w:99)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
- // Minimum execution time: 25_985 nanoseconds.
- Weight::from_ref_time(26_010_777)
- // Standard Error: 5_537
- .saturating_add(Weight::from_ref_time(3_730_949).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `524 + r * (139 ±0)`
+ // Estimated: `12540 + r * (2676 ±0)`
+ // Minimum execution time: 19_499 nanoseconds.
+ Weight::from_ref_time(21_959_820)
+ .saturating_add(Weight::from_proof_size(12540))
+ // Standard Error: 7_005
+ .saturating_add(Weight::from_ref_time(3_586_309).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
+ .saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
- // Storage: Democracy PublicProps (r:0 w:1)
+ /// Storage: Democracy PublicProps (r:0 w:1)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
fn clear_public_proposals() -> Weight {
- // Minimum execution time: 4_740 nanoseconds.
- Weight::from_ref_time(4_902_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_923 nanoseconds.
+ Weight::from_ref_time(3_101_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Democracy VotingOf (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, 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 `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
- // Minimum execution time: 26_132 nanoseconds.
- Weight::from_ref_time(32_056_980)
- // Standard Error: 1_594
- .saturating_add(Weight::from_ref_time(98_086).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `594`
+ // Estimated: `12647`
+ // Minimum execution time: 18_675 nanoseconds.
+ Weight::from_ref_time(23_931_039)
+ .saturating_add(Weight::from_proof_size(12647))
+ // Standard Error: 1_216
+ .saturating_add(Weight::from_ref_time(19_479).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy VotingOf (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, 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 `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
- // Minimum execution time: 30_655 nanoseconds.
- Weight::from_ref_time(31_821_090)
- // Standard Error: 1_353
- .saturating_add(Weight::from_ref_time(136_551).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `595 + r * (22 ±0)`
+ // Estimated: `12647`
+ // Minimum execution time: 21_945 nanoseconds.
+ Weight::from_ref_time(23_334_960)
+ .saturating_add(Weight::from_proof_size(12647))
+ // Standard Error: 600
+ .saturating_add(Weight::from_ref_time(62_939).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy VotingOf (r:1 w:1)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
- // Minimum execution time: 16_010 nanoseconds.
- Weight::from_ref_time(17_557_366)
- // Standard Error: 1_264
- .saturating_add(Weight::from_ref_time(126_455).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `758 + r * (26 ±0)`
+ // Estimated: `8946`
+ // Minimum execution time: 14_336 nanoseconds.
+ Weight::from_ref_time(16_654_029)
+ .saturating_add(Weight::from_proof_size(8946))
+ // Standard Error: 1_913
+ .saturating_add(Weight::from_ref_time(89_192).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Democracy ReferendumInfoOf (r:1 w:1)
- // Storage: Democracy VotingOf (r:1 w:1)
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:1)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy VotingOf (r:1 w:1)
+ /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
- // Minimum execution time: 15_954 nanoseconds.
- Weight::from_ref_time(17_840_992)
- // Standard Error: 1_036
- .saturating_add(Weight::from_ref_time(122_167).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `758 + r * (26 ±0)`
+ // Estimated: `8946`
+ // Minimum execution time: 14_394 nanoseconds.
+ Weight::from_ref_time(16_771_177)
+ .saturating_add(Weight::from_proof_size(8946))
+ // Standard Error: 2_019
+ .saturating_add(Weight::from_ref_time(91_328).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
+ /// Storage: Democracy NextExternal (r:1 w:0)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:0 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_external_metadata() -> Weight {
- Weight::from_parts(17_946_000, 3193)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `323`
+ // Estimated: `3193`
+ // Minimum execution time: 16_795 nanoseconds.
+ Weight::from_ref_time(17_014_000)
+ .saturating_add(Weight::from_proof_size(3193))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Democracy NextExternal (r:1 w:0)
+ /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_external_metadata() -> Weight {
- Weight::from_parts(15_990_000, 3155)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `253`
+ // Estimated: `3155`
+ // Minimum execution time: 15_809 nanoseconds.
+ Weight::from_ref_time(16_073_000)
+ .saturating_add(Weight::from_proof_size(3155))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Democracy PublicProps (r:1 w:0)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:0 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_proposal_metadata() -> Weight {
- Weight::from_parts(37_778_000, 19763)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `4886`
+ // Estimated: `19763`
+ // Minimum execution time: 30_378 nanoseconds.
+ Weight::from_ref_time(30_713_000)
+ .saturating_add(Weight::from_proof_size(19763))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Democracy PublicProps (r:1 w:0)
+ /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_proposal_metadata() -> Weight {
- Weight::from_parts(34_737_000, 19725)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `4820`
+ // Estimated: `19725`
+ // Minimum execution time: 28_070 nanoseconds.
+ Weight::from_ref_time(28_476_000)
+ .saturating_add(Weight::from_proof_size(19725))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:0 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_referendum_metadata() -> Weight {
- Weight::from_parts(13_463_000, 2566)
- .saturating_add(T::DbWeight::get().reads(1_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `144`
+ // Estimated: `2566`
+ // Minimum execution time: 13_497 nanoseconds.
+ Weight::from_ref_time(13_735_000)
+ .saturating_add(Weight::from_proof_size(2566))
+ .saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Democracy ReferendumInfoOf (r:1 w:0)
+ /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
+ /// Storage: Democracy MetadataOf (r:1 w:1)
+ /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_referendum_metadata() -> Weight {
- Weight::from_parts(18_399_000, 5204)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `269`
+ // Estimated: `5204`
+ // Minimum execution time: 17_343 nanoseconds.
+ Weight::from_ref_time(17_638_000)
+ .saturating_add(Weight::from_proof_size(5204))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/polkadot/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
index a37190e42b..f96f8670f0 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,132 +45,221 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_election_provider_multi_phase`.
pub struct WeightInfo(PhantomData);
impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo {
- // 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: 18_220 nanoseconds.
- Weight::from_ref_time(18_767_000)
+ // Proof Size summary in bytes:
+ // Measured: `1027`
+ // Estimated: `7016`
+ // Minimum execution time: 20_218 nanoseconds.
+ Weight::from_ref_time(21_129_000)
+ .saturating_add(Weight::from_proof_size(7016))
.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: 16_645 nanoseconds.
- Weight::from_ref_time(17_324_000)
+ // Proof Size summary in bytes:
+ // Measured: `148`
+ // Estimated: `1286`
+ // Minimum execution time: 12_541 nanoseconds.
+ Weight::from_ref_time(12_859_000)
+ .saturating_add(Weight::from_proof_size(1286))
.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: 17_613 nanoseconds.
- Weight::from_ref_time(18_177_000)
+ // Proof Size summary in bytes:
+ // Measured: `148`
+ // Estimated: `1286`
+ // Minimum execution time: 13_506 nanoseconds.
+ Weight::from_ref_time(13_834_000)
+ .saturating_add(Weight::from_proof_size(1286))
.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_444 nanoseconds.
- Weight::from_ref_time(32_013_000)
+ // Proof Size summary in bytes:
+ // Measured: `206`
+ // Estimated: `2809`
+ // Minimum execution time: 22_188 nanoseconds.
+ Weight::from_ref_time(22_437_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_552 nanoseconds.
- Weight::from_ref_time(25_406_000)
+ // Proof Size summary in bytes:
+ // Measured: `206`
+ // Estimated: `2603`
+ // Minimum execution time: 15_425 nanoseconds.
+ Weight::from_ref_time(15_785_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: 714_239 nanoseconds.
- Weight::from_ref_time(84_470_692)
- // Standard Error: 6_597
- .saturating_add(Weight::from_ref_time(613_422).saturating_mul(v.into()))
- // Standard Error: 13_189
- .saturating_add(Weight::from_ref_time(67_715).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 611_054 nanoseconds.
+ Weight::from_ref_time(25_448_005)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 2_348
+ .saturating_add(Weight::from_ref_time(553_533).saturating_mul(v.into()))
+ // Standard Error: 4_694
+ .saturating_add(Weight::from_ref_time(76_270).saturating_mul(t.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: 555_385 nanoseconds.
- Weight::from_ref_time(564_798_000)
- // Standard Error: 7_883
- .saturating_add(Weight::from_ref_time(558_973).saturating_mul(a.into()))
+ fn elect_queued(a: u32, d: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `930 + a * (1152 ±0) + d * (47 ±0)`
+ // Estimated: `14223 + a * (10368 ±0) + d * (432 ±0)`
+ // Minimum execution time: 355_277 nanoseconds.
+ Weight::from_ref_time(362_563_000)
+ .saturating_add(Weight::from_proof_size(14223))
+ // Standard Error: 8_805
+ .saturating_add(Weight::from_ref_time(602_857).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(9))
+ .saturating_add(Weight::from_proof_size(10368).saturating_mul(a.into()))
+ .saturating_add(Weight::from_proof_size(432).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: 54_820 nanoseconds.
- Weight::from_ref_time(56_623_000)
+ // Proof Size summary in bytes:
+ // Measured: `1270`
+ // Estimated: `8841`
+ // Minimum execution time: 42_640 nanoseconds.
+ Weight::from_ref_time(43_830_000)
+ .saturating_add(Weight::from_proof_size(8841))
.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: 8_484_246 nanoseconds.
- Weight::from_ref_time(8_564_396_000)
- // Standard Error: 24_321
- .saturating_add(Weight::from_ref_time(121_513).saturating_mul(v.into()))
- // Standard Error: 72_073
- .saturating_add(Weight::from_ref_time(7_383_336).saturating_mul(a.into()))
+ fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `285 + v * (809 ±0) + t * (32 ±0)`
+ // Estimated: `5460 + v * (5663 ±0) + t * (224 ±0)`
+ // Minimum execution time: 7_076_255 nanoseconds.
+ Weight::from_ref_time(7_143_809_000)
+ .saturating_add(Weight::from_proof_size(5460))
+ // Standard Error: 64_098
+ .saturating_add(Weight::from_ref_time(7_244_284).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(5663).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: 6_730_487 nanoseconds.
- Weight::from_ref_time(6_792_752_000)
- // Standard Error: 26_316
- .saturating_add(Weight::from_ref_time(463_489).saturating_mul(v.into()))
- // Standard Error: 77_986
- .saturating_add(Weight::from_ref_time(5_397_852).saturating_mul(a.into()))
+ fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `260 + v * (809 ±0) + t * (32 ±0)`
+ // Estimated: `3020 + v * (3236 ±0) + t * (128 ±0)`
+ // Minimum execution time: 5_883_999 nanoseconds.
+ Weight::from_ref_time(5_922_040_000)
+ .saturating_add(Weight::from_proof_size(3020))
+ // Standard Error: 22_843
+ .saturating_add(Weight::from_ref_time(243_391).saturating_mul(v.into()))
+ // Standard Error: 67_692
+ .saturating_add(Weight::from_ref_time(5_418_651).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4))
+ .saturating_add(Weight::from_proof_size(3236).saturating_mul(v.into()))
+ .saturating_add(Weight::from_proof_size(128).saturating_mul(t.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs
index 4cdb82af2b..4ab5dd8176 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_elections_phragmen`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,153 +45,259 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_elections_phragmen`.
pub struct WeightInfo(PhantomData);
impl pallet_elections_phragmen::WeightInfo for WeightInfo {
- // Storage: PhragmenElection Candidates (r:1 w:0)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: PhragmenElection RunnersUp (r:1 w:0)
- // Storage: PhragmenElection Voting (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: PhragmenElection Candidates (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Voting (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// 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 `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
- // Minimum execution time: 33_181 nanoseconds.
- Weight::from_ref_time(34_284_379)
- // Standard Error: 4_703
- .saturating_add(Weight::from_ref_time(193_150).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `499 + v * (80 ±0)`
+ // Estimated: `9726 + v * (320 ±0)`
+ // Minimum execution time: 24_124 nanoseconds.
+ Weight::from_ref_time(24_820_145)
+ .saturating_add(Weight::from_proof_size(9726))
+ // Standard Error: 4_601
+ .saturating_add(Weight::from_ref_time(149_084).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
- // Storage: PhragmenElection Candidates (r:1 w:0)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: PhragmenElection RunnersUp (r:1 w:0)
- // Storage: PhragmenElection Voting (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: PhragmenElection Candidates (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Voting (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// 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 `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
- // Minimum execution time: 43_559 nanoseconds.
- Weight::from_ref_time(45_014_304)
- // Standard Error: 6_002
- .saturating_add(Weight::from_ref_time(232_544).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `467 + v * (80 ±0)`
+ // Estimated: `9598 + v * (320 ±0)`
+ // Minimum execution time: 32_530 nanoseconds.
+ Weight::from_ref_time(33_536_886)
+ .saturating_add(Weight::from_proof_size(9598))
+ // Standard Error: 6_592
+ .saturating_add(Weight::from_ref_time(157_802).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
- // Storage: PhragmenElection Candidates (r:1 w:0)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: PhragmenElection RunnersUp (r:1 w:0)
- // Storage: PhragmenElection Voting (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: PhragmenElection Candidates (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Voting (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// 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 `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
- // Minimum execution time: 43_465 nanoseconds.
- Weight::from_ref_time(45_027_590)
- // Standard Error: 6_393
- .saturating_add(Weight::from_ref_time(218_368).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `499 + v * (80 ±0)`
+ // Estimated: `9726 + v * (320 ±0)`
+ // Minimum execution time: 32_815 nanoseconds.
+ Weight::from_ref_time(33_459_507)
+ .saturating_add(Weight::from_proof_size(9726))
+ // Standard Error: 5_272
+ .saturating_add(Weight::from_ref_time(149_556).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
- // Storage: PhragmenElection Voting (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: PhragmenElection Voting (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn remove_voter() -> Weight {
- // Minimum execution time: 42_363 nanoseconds.
- Weight::from_ref_time(43_806_000)
+ // Proof Size summary in bytes:
+ // Measured: `989`
+ // Estimated: `7238`
+ // Minimum execution time: 30_494 nanoseconds.
+ Weight::from_ref_time(31_211_000)
+ .saturating_add(Weight::from_proof_size(7238))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: PhragmenElection Candidates (r:1 w:1)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Storage: PhragmenElection Candidates (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
fn submit_candidacy(c: u32, ) -> Weight {
- // Minimum execution time: 43_408 nanoseconds.
- Weight::from_ref_time(37_013_988)
- // Standard Error: 1_189
- .saturating_add(Weight::from_ref_time(111_132).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2839 + c * (48 ±0)`
+ // Estimated: `9996 + c * (144 ±0)`
+ // Minimum execution time: 29_459 nanoseconds.
+ Weight::from_ref_time(22_025_901)
+ .saturating_add(Weight::from_proof_size(9996))
+ // Standard Error: 944
+ .saturating_add(Weight::from_ref_time(85_761).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(144).saturating_mul(c.into()))
}
- // Storage: PhragmenElection Candidates (r:1 w:1)
+ /// Storage: PhragmenElection Candidates (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
- // Minimum execution time: 40_256 nanoseconds.
- Weight::from_ref_time(32_461_064)
- // Standard Error: 1_225
- .saturating_add(Weight::from_ref_time(87_968).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `348 + c * (48 ±0)`
+ // Estimated: `830 + c * (48 ±0)`
+ // Minimum execution time: 22_591 nanoseconds.
+ Weight::from_ref_time(15_955_268)
+ .saturating_add(Weight::from_proof_size(830))
+ // Standard Error: 863
+ .saturating_add(Weight::from_ref_time(58_325).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(48).saturating_mul(c.into()))
}
- // Storage: PhragmenElection Members (r:1 w:1)
- // Storage: PhragmenElection RunnersUp (r:1 w:1)
- // Storage: Council Prime (r:1 w:1)
- // Storage: Council Proposals (r:1 w:0)
- // Storage: Council Members (r:0 w:1)
+ /// Storage: PhragmenElection Members (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:1)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:1 w:1)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:0)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Members (r:0 w:1)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_members() -> Weight {
- // Minimum execution time: 54_566 nanoseconds.
- Weight::from_ref_time(56_705_000)
+ // Proof Size summary in bytes:
+ // Measured: `3113`
+ // Estimated: `17545`
+ // Minimum execution time: 39_699 nanoseconds.
+ Weight::from_ref_time(40_416_000)
+ .saturating_add(Weight::from_proof_size(17545))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: PhragmenElection RunnersUp (r:1 w:1)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:1)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_runners_up() -> Weight {
- // Minimum execution time: 42_417 nanoseconds.
- Weight::from_ref_time(43_317_000)
+ // Proof Size summary in bytes:
+ // Measured: `1776`
+ // Estimated: `2271`
+ // Minimum execution time: 25_378 nanoseconds.
+ Weight::from_ref_time(25_887_000)
+ .saturating_add(Weight::from_proof_size(2271))
.saturating_add(T::DbWeight::get().reads(1))
.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 remove_member_without_replacement() -> 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: PhragmenElection Members (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: PhragmenElection RunnersUp (r:1 w:1)
- // Storage: Council Prime (r:1 w:1)
- // Storage: Council Proposals (r:1 w:0)
- // Storage: Council Members (r:0 w:1)
+ /// Storage: PhragmenElection Members (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), 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)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:1)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:1 w:1)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:0)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Members (r:0 w:1)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn remove_member_with_replacement() -> Weight {
- // Minimum execution time: 72_982 nanoseconds.
- Weight::from_ref_time(74_640_000)
+ // Proof Size summary in bytes:
+ // Measured: `3113`
+ // Estimated: `20148`
+ // Minimum execution time: 53_927 nanoseconds.
+ Weight::from_ref_time(54_587_000)
+ .saturating_add(Weight::from_proof_size(20148))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: PhragmenElection Voting (r:5001 w:5000)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: PhragmenElection RunnersUp (r:1 w:0)
- // Storage: PhragmenElection Candidates (r:1 w:0)
- // Storage: Balances Locks (r:5000 w:5000)
- // Storage: System Account (r:5000 w:5000)
+ /// Storage: PhragmenElection Voting (r:10001 w:10000)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:0)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Candidates (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Balances Locks (r:10000 w:10000)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: System Account (r:10000 w:10000)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[5000, 10000]`.
/// The range of component `d` is `[0, 5000]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
- // Minimum execution time: 306_719_494 nanoseconds.
- Weight::from_ref_time(307_744_759_000)
- // Standard Error: 264_406
- .saturating_add(Weight::from_ref_time(37_950_413).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `35989 + v * (872 ±0)`
+ // Estimated: `149016 + v * (12340 ±0)`
+ // Minimum execution time: 301_660_312 nanoseconds.
+ Weight::from_ref_time(302_331_384_000)
+ .saturating_add(Weight::from_proof_size(149016))
+ // Standard Error: 258_113
+ .saturating_add(Weight::from_ref_time(37_352_809).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
+ .saturating_add(Weight::from_proof_size(12340).saturating_mul(v.into()))
}
- // Storage: PhragmenElection Candidates (r:1 w:1)
- // Storage: PhragmenElection Members (r:1 w:1)
- // Storage: PhragmenElection RunnersUp (r:1 w:1)
- // Storage: PhragmenElection Voting (r:10001 w:0)
- // Storage: Council Proposals (r:1 w:0)
- // Storage: PhragmenElection ElectionRounds (r:1 w:1)
- // Storage: Council Members (r:0 w:1)
- // Storage: Council Prime (r:0 w:1)
- // Storage: System Account (r:3 w:3)
+ /// Storage: PhragmenElection Candidates (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:1)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection RunnersUp (r:1 w:1)
+ /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Voting (r:10001 w:0)
+ /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:0)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: System Account (r:962 w:962)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: PhragmenElection ElectionRounds (r:1 w:1)
+ /// Proof Skipped: PhragmenElection ElectionRounds (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Members (r:0 w:1)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:0 w:1)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
/// The range of component `v` is `[1, 10000]`.
/// The range of component `e` is `[10000, 160000]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
- // Minimum execution time: 32_291_015 nanoseconds.
- Weight::from_ref_time(32_417_150_000)
- // Standard Error: 470_328
- .saturating_add(Weight::from_ref_time(40_784_045).saturating_mul(v.into()))
- // Standard Error: 30_182
- .saturating_add(Weight::from_ref_time(1_969_474).saturating_mul(e.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + v * (639 ±0) + e * (28 ±0)`
+ // Estimated: `5334911 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)`
+ // Minimum execution time: 31_848_053 nanoseconds.
+ Weight::from_ref_time(32_037_795_000)
+ .saturating_add(Weight::from_proof_size(5334911))
+ // Standard Error: 562_406
+ .saturating_add(Weight::from_ref_time(46_112_512).saturating_mul(v.into()))
+ // Standard Error: 36_091
+ .saturating_add(Weight::from_ref_time(2_428_764).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(265))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
+ .saturating_add(Weight::from_proof_size(5714).saturating_mul(v.into()))
+ .saturating_add(Weight::from_proof_size(123).saturating_mul(e.into()))
+ .saturating_add(Weight::from_proof_size(2560).saturating_mul(c.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_fast_unstake.rs b/polkadot/runtime/kusama/src/weights/pallet_fast_unstake.rs
index 014902cd04..ca85d1e279 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_fast_unstake.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_fast_unstake.rs
@@ -16,23 +16,22 @@
//! Autogenerated weights for `pallet_fast_unstake`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
+//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
-// /home/benchbot/cargo_target_dir/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
+// --chain=kusama-dev
// --steps=50
// --repeat=20
+// --pallet=pallet_fast_unstake
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
-// --heap-pages=4096
-// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
-// --pallet=pallet-fast-unstake
-// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -46,86 +45,150 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_fast_unstake`.
pub struct WeightInfo(PhantomData);
impl pallet_fast_unstake::WeightInfo for WeightInfo {
- // 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)
+ /// 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(3191), added: 3686, 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(814), added: 3289, 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: 77_225 nanoseconds.
- Weight::from_ref_time(45_851_915)
- // Standard Error: 27_205
- .saturating_add(Weight::from_ref_time(34_256_381).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `1348 + b * (375 ±0)`
+ // Estimated: `8805 + b * (17962 ±0)`
+ // Minimum execution time: 72_453 nanoseconds.
+ Weight::from_ref_time(36_866_925)
+ .saturating_add(Weight::from_proof_size(8805))
+ // Standard Error: 37_385
+ .saturating_add(Weight::from_ref_time(36_921_980).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(17962).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)
+ /// 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(3191), added: 3686, 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: 1_671_682 nanoseconds.
- Weight::from_ref_time(1_683_909_000)
- // Standard Error: 16_637_473
- .saturating_add(Weight::from_ref_time(533_652_266).saturating_mul(v.into()))
- // Standard Error: 66_568_424
- .saturating_add(Weight::from_ref_time(2_085_678_765).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `1516 + v * (18519 ±0) + b * (48 ±0)`
+ // Estimated: `11390 + v * (39515 ±0) + b * (98 ±0)`
+ // Minimum execution time: 1_796_062 nanoseconds.
+ Weight::from_ref_time(1_819_911_000)
+ .saturating_add(Weight::from_proof_size(11390))
+ // Standard Error: 18_164_058
+ .saturating_add(Weight::from_ref_time(581_195_072).saturating_mul(v.into()))
+ // Standard Error: 72_676_465
+ .saturating_add(Weight::from_ref_time(2_280_507_183).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(39515).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:1 w:1)
- // 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(3191), added: 3686, 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(814), added: 3289, 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: 106_509 nanoseconds.
- Weight::from_ref_time(107_537_000)
+ // Proof Size summary in bytes:
+ // Measured: `2026`
+ // Estimated: `29594`
+ // Minimum execution time: 102_183 nanoseconds.
+ Weight::from_ref_time(103_295_000)
+ .saturating_add(Weight::from_proof_size(29594))
.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(3191), added: 3686, 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: 43_328 nanoseconds.
- Weight::from_ref_time(43_904_000)
+ // Proof Size summary in bytes:
+ // Measured: `1220`
+ // Estimated: `10781`
+ // Minimum execution time: 38_964 nanoseconds.
+ Weight::from_ref_time(39_656_000)
+ .saturating_add(Weight::from_proof_size(10781))
.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: 4_153 nanoseconds.
- Weight::from_ref_time(4_337_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_438 nanoseconds.
+ Weight::from_ref_time(2_581_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_identity.rs b/polkadot/runtime/kusama/src/weights/pallet_identity.rs
index 6fb78e4360..6f47795b64 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_identity.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_identity.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,209 +45,307 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_identity`.
pub struct WeightInfo(PhantomData);
impl pallet_identity::WeightInfo for WeightInfo {
- // 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_354 nanoseconds.
- Weight::from_ref_time(18_441_207)
- // Standard Error: 2_957
- .saturating_add(Weight::from_ref_time(141_456).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `64 + r * (57 ±0)`
+ // Estimated: `1636`
+ // Minimum execution time: 11_195 nanoseconds.
+ Weight::from_ref_time(11_765_258)
+ .saturating_add(Weight::from_proof_size(1636))
+ // Standard Error: 1_445
+ .saturating_add(Weight::from_ref_time(95_110).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: 37_054 nanoseconds.
- Weight::from_ref_time(35_369_164)
- // Standard Error: 4_776
- .saturating_add(Weight::from_ref_time(211_183).saturating_mul(r.into()))
- // Standard Error: 931
- .saturating_add(Weight::from_ref_time(336_019).saturating_mul(x.into()))
+ // Proof Size summary in bytes:
+ // Measured: `474 + r * (5 ±0)`
+ // Estimated: `10013`
+ // Minimum execution time: 25_964 nanoseconds.
+ Weight::from_ref_time(25_535_031)
+ .saturating_add(Weight::from_proof_size(10013))
+ // Standard Error: 3_218
+ .saturating_add(Weight::from_ref_time(80_669).saturating_mul(r.into()))
+ // Standard Error: 628
+ .saturating_add(Weight::from_ref_time(354_047).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: 9_977 nanoseconds.
- Weight::from_ref_time(26_989_253)
- // Standard Error: 5_046
- .saturating_add(Weight::from_ref_time(2_628_412).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `101`
+ // Estimated: `15746 + s * (2589 ±0)`
+ // Minimum execution time: 8_088 nanoseconds.
+ Weight::from_ref_time(19_440_138)
+ .saturating_add(Weight::from_proof_size(15746))
+ // Standard Error: 4_097
+ .saturating_add(Weight::from_ref_time(2_322_730).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: 9_876 nanoseconds.
- Weight::from_ref_time(27_929_667)
- // Standard Error: 4_272
- .saturating_add(Weight::from_ref_time(1_168_298).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `226 + p * (32 ±0)`
+ // Estimated: `15746`
+ // Minimum execution time: 7_655 nanoseconds.
+ Weight::from_ref_time(19_696_935)
+ .saturating_add(Weight::from_proof_size(15746))
+ // Standard Error: 3_076
+ .saturating_add(Weight::from_ref_time(948_853).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_136 nanoseconds.
- Weight::from_ref_time(35_196_644)
- // Standard Error: 8_850
- .saturating_add(Weight::from_ref_time(198_541).saturating_mul(r.into()))
- // Standard Error: 1_728
- .saturating_add(Weight::from_ref_time(1_165_595).saturating_mul(s.into()))
- // Standard Error: 1_728
- .saturating_add(Weight::from_ref_time(193_346).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: 41_677 nanoseconds.
+ Weight::from_ref_time(25_991_211)
+ .saturating_add(Weight::from_proof_size(15746))
+ // Standard Error: 6_465
+ .saturating_add(Weight::from_ref_time(12_989).saturating_mul(r.into()))
+ // Standard Error: 1_262
+ .saturating_add(Weight::from_ref_time(935_907).saturating_mul(s.into()))
+ // Standard Error: 1_262
+ .saturating_add(Weight::from_ref_time(183_603).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_240 nanoseconds.
- Weight::from_ref_time(36_979_755)
- // Standard Error: 5_166
- .saturating_add(Weight::from_ref_time(192_783).saturating_mul(r.into()))
- // Standard Error: 1_008
- .saturating_add(Weight::from_ref_time(355_089).saturating_mul(x.into()))
+ // Proof Size summary in bytes:
+ // Measured: `431 + r * (57 ±0) + x * (66 ±0)`
+ // Estimated: `11649`
+ // Minimum execution time: 27_382 nanoseconds.
+ Weight::from_ref_time(26_616_055)
+ .saturating_add(Weight::from_proof_size(11649))
+ // Standard Error: 3_992
+ .saturating_add(Weight::from_ref_time(82_215).saturating_mul(r.into()))
+ // Standard Error: 779
+ .saturating_add(Weight::from_ref_time(373_281).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: 34_463 nanoseconds.
- Weight::from_ref_time(33_803_228)
- // Standard Error: 4_576
- .saturating_add(Weight::from_ref_time(138_349).saturating_mul(r.into()))
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(357_375).saturating_mul(x.into()))
+ // Proof Size summary in bytes:
+ // Measured: `430 + x * (66 ±0)`
+ // Estimated: `10013`
+ // Minimum execution time: 23_894 nanoseconds.
+ Weight::from_ref_time(23_658_097)
+ .saturating_add(Weight::from_proof_size(10013))
+ // Standard Error: 3_756
+ .saturating_add(Weight::from_ref_time(74_002).saturating_mul(r.into()))
+ // Standard Error: 732
+ .saturating_add(Weight::from_ref_time(370_777).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_425 nanoseconds.
- Weight::from_ref_time(9_044_127)
- // Standard Error: 1_636
- .saturating_add(Weight::from_ref_time(107_577).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `121 + r * (57 ±0)`
+ // Estimated: `1636`
+ // Minimum execution time: 6_561 nanoseconds.
+ Weight::from_ref_time(7_047_009)
+ .saturating_add(Weight::from_proof_size(1636))
+ // Standard Error: 1_274
+ .saturating_add(Weight::from_ref_time(94_495).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: 8_541 nanoseconds.
- Weight::from_ref_time(9_308_228)
- // Standard Error: 1_640
- .saturating_add(Weight::from_ref_time(96_433).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `121 + r * (57 ±0)`
+ // Estimated: `1636`
+ // Minimum execution time: 6_522 nanoseconds.
+ Weight::from_ref_time(7_090_342)
+ .saturating_add(Weight::from_proof_size(1636))
+ // Standard Error: 1_190
+ .saturating_add(Weight::from_ref_time(90_568).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: 8_501 nanoseconds.
- Weight::from_ref_time(9_205_910)
- // Standard Error: 1_661
- .saturating_add(Weight::from_ref_time(101_137).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `121 + r * (57 ±0)`
+ // Estimated: `1636`
+ // Minimum execution time: 6_544 nanoseconds.
+ Weight::from_ref_time(6_914_393)
+ .saturating_add(Weight::from_proof_size(1636))
+ // Standard Error: 1_187
+ .saturating_add(Weight::from_ref_time(99_100).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: 27_926 nanoseconds.
- Weight::from_ref_time(26_389_787)
- // Standard Error: 8_172
- .saturating_add(Weight::from_ref_time(188_558).saturating_mul(r.into()))
- // Standard Error: 1_512
- .saturating_add(Weight::from_ref_time(610_330).saturating_mul(x.into()))
+ // Proof Size summary in bytes:
+ // Measured: `509 + r * (57 ±0) + x * (66 ±0)`
+ // Estimated: `11649`
+ // Minimum execution time: 21_120 nanoseconds.
+ Weight::from_ref_time(20_888_928)
+ .saturating_add(Weight::from_proof_size(11649))
+ // Standard Error: 7_297
+ .saturating_add(Weight::from_ref_time(61_293).saturating_mul(r.into()))
+ // Standard Error: 1_350
+ .saturating_add(Weight::from_ref_time(621_534).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: 68_482 nanoseconds.
- Weight::from_ref_time(49_232_241)
- // Standard Error: 10_120
- .saturating_add(Weight::from_ref_time(218_005).saturating_mul(r.into()))
- // Standard Error: 1_976
- .saturating_add(Weight::from_ref_time(1_168_901).saturating_mul(s.into()))
- // Standard Error: 1_976
- .saturating_add(Weight::from_ref_time(189_496).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_559 nanoseconds.
+ Weight::from_ref_time(39_005_377)
+ .saturating_add(Weight::from_proof_size(18349))
+ // Standard Error: 5_126
+ .saturating_add(Weight::from_ref_time(33_077).saturating_mul(r.into()))
+ // Standard Error: 1_001
+ .saturating_add(Weight::from_ref_time(945_425).saturating_mul(s.into()))
+ // Standard Error: 1_001
+ .saturating_add(Weight::from_ref_time(184_103).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_200 nanoseconds.
- Weight::from_ref_time(38_150_899)
- // Standard Error: 1_510
- .saturating_add(Weight::from_ref_time(127_824).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `507 + s * (36 ±0)`
+ // Estimated: `18335`
+ // Minimum execution time: 23_448 nanoseconds.
+ Weight::from_ref_time(28_331_460)
+ .saturating_add(Weight::from_proof_size(18335))
+ // Standard Error: 1_419
+ .saturating_add(Weight::from_ref_time(68_122).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: 13_618 nanoseconds.
- Weight::from_ref_time(15_021_275)
- // Standard Error: 670
- .saturating_add(Weight::from_ref_time(51_155).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `623 + s * (3 ±0)`
+ // Estimated: `12602`
+ // Minimum execution time: 11_087 nanoseconds.
+ Weight::from_ref_time(13_274_177)
+ .saturating_add(Weight::from_proof_size(12602))
+ // Standard Error: 777
+ .saturating_add(Weight::from_ref_time(18_771).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: 37_371 nanoseconds.
- Weight::from_ref_time(40_000_929)
- // Standard Error: 1_206
- .saturating_add(Weight::from_ref_time(112_783).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `702 + s * (35 ±0)`
+ // Estimated: `18335`
+ // Minimum execution time: 26_468 nanoseconds.
+ Weight::from_ref_time(32_702_486)
+ .saturating_add(Weight::from_proof_size(18335))
+ // Standard Error: 1_482
+ .saturating_add(Weight::from_ref_time(56_971).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: 25_933 nanoseconds.
- Weight::from_ref_time(28_737_270)
- // Standard Error: 1_234
- .saturating_add(Weight::from_ref_time(105_581).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `628 + s * (37 ±0)`
+ // Estimated: `8322`
+ // Minimum execution time: 17_228 nanoseconds.
+ Weight::from_ref_time(20_306_990)
+ .saturating_add(Weight::from_proof_size(8322))
+ // Standard Error: 1_365
+ .saturating_add(Weight::from_ref_time(51_564).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_im_online.rs b/polkadot/runtime/kusama/src/weights/pallet_im_online.rs
index f46e240355..bf708ec796 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_im_online.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_im_online.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,21 +45,32 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_im_online`.
pub struct WeightInfo(PhantomData);
impl pallet_im_online::WeightInfo for WeightInfo {
- // 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: 122_387 nanoseconds.
- Weight::from_ref_time(92_297_457)
- // Standard Error: 409
- .saturating_add(Weight::from_ref_time(43_408).saturating_mul(k.into()))
- // Standard Error: 4_126
- .saturating_add(Weight::from_ref_time(410_087).saturating_mul(e.into()))
+ // Proof Size summary in bytes:
+ // Measured: `425 + k * (32 ±0)`
+ // Estimated: `10345844 + e * (25 ±0) + k * (64 ±0)`
+ // Minimum execution time: 89_393 nanoseconds.
+ Weight::from_ref_time(70_533_029)
+ .saturating_add(Weight::from_proof_size(10345844))
+ // Standard Error: 326
+ .saturating_add(Weight::from_ref_time(24_444).saturating_mul(k.into()))
+ // Standard Error: 3_285
+ .saturating_add(Weight::from_ref_time(322_267).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(25).saturating_mul(e.into()))
+ .saturating_add(Weight::from_proof_size(64).saturating_mul(k.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_indices.rs b/polkadot/runtime/kusama/src/weights/pallet_indices.rs
index d0bd99ed29..a4ac3ed861 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_indices.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_indices.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,40 +45,67 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_indices`.
pub struct WeightInfo(PhantomData);
impl pallet_indices::WeightInfo for WeightInfo {
- // 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: 27_604 nanoseconds.
- Weight::from_ref_time(29_111_000)
+ // Proof Size summary in bytes:
+ // Measured: `142`
+ // Estimated: `2544`
+ // Minimum execution time: 17_834 nanoseconds.
+ Weight::from_ref_time(18_267_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: 33_837 nanoseconds.
- Weight::from_ref_time(34_404_000)
+ // Proof Size summary in bytes:
+ // Measured: `405`
+ // Estimated: `5147`
+ // Minimum execution time: 23_205 nanoseconds.
+ Weight::from_ref_time(23_614_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_427 nanoseconds.
- Weight::from_ref_time(29_210_000)
+ // Proof Size summary in bytes:
+ // Measured: `270`
+ // Estimated: `2544`
+ // Minimum execution time: 19_347 nanoseconds.
+ Weight::from_ref_time(19_755_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: 28_980 nanoseconds.
- Weight::from_ref_time(29_703_000)
+ // Proof Size summary in bytes:
+ // Measured: `405`
+ // Estimated: `5147`
+ // Minimum execution time: 21_607 nanoseconds.
+ Weight::from_ref_time(21_934_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_262 nanoseconds.
- Weight::from_ref_time(35_150_000)
+ // Proof Size summary in bytes:
+ // Measured: `270`
+ // Estimated: `2544`
+ // Minimum execution time: 21_265 nanoseconds.
+ Weight::from_ref_time(21_623_000)
+ .saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_membership.rs b/polkadot/runtime/kusama/src/weights/pallet_membership.rs
index 61b80d6baf..49f55ea35d 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_membership.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_membership.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_membership`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,93 +45,158 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_membership`.
pub struct WeightInfo(PhantomData);
impl pallet_membership::WeightInfo for WeightInfo {
- // Storage: TechnicalMembership Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalCommittee Members (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:1)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Members (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
- // Minimum execution time: 21_318 nanoseconds.
- Weight::from_ref_time(22_310_915)
- // Standard Error: 609
- .saturating_add(Weight::from_ref_time(34_170).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `272 + m * (64 ±0)`
+ // Estimated: `5005 + m * (192 ±0)`
+ // Minimum execution time: 14_833 nanoseconds.
+ Weight::from_ref_time(15_622_054)
+ .saturating_add(Weight::from_proof_size(5005))
+ // Standard Error: 441
+ .saturating_add(Weight::from_ref_time(39_128).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalMembership Prime (r:1 w:0)
- // Storage: TechnicalCommittee Members (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:1)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalMembership Prime (r:1 w:0)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Members (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
- // Minimum execution time: 23_414 nanoseconds.
- Weight::from_ref_time(24_871_975)
- // Standard Error: 565
- .saturating_add(Weight::from_ref_time(30_404).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `376 + m * (64 ±0)`
+ // Estimated: `5844 + m * (192 ±0)`
+ // Minimum execution time: 17_676 nanoseconds.
+ Weight::from_ref_time(18_382_549)
+ .saturating_add(Weight::from_proof_size(5844))
+ // Standard Error: 547
+ .saturating_add(Weight::from_ref_time(32_188).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalMembership Prime (r:1 w:0)
- // Storage: TechnicalCommittee Members (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:1)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalMembership Prime (r:1 w:0)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Members (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
- // Minimum execution time: 24_199 nanoseconds.
- Weight::from_ref_time(25_105_433)
- // Standard Error: 693
- .saturating_add(Weight::from_ref_time(39_937).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `376 + m * (64 ±0)`
+ // Estimated: `5844 + m * (192 ±0)`
+ // Minimum execution time: 17_667 nanoseconds.
+ Weight::from_ref_time(18_574_464)
+ .saturating_add(Weight::from_proof_size(5844))
+ // Standard Error: 536
+ .saturating_add(Weight::from_ref_time(47_803).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalMembership Prime (r:1 w:0)
- // Storage: TechnicalCommittee Members (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:1)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalMembership Prime (r:1 w:0)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Members (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
- // Minimum execution time: 23_515 nanoseconds.
- Weight::from_ref_time(24_672_195)
- // Standard Error: 943
- .saturating_add(Weight::from_ref_time(142_771).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `376 + m * (64 ±0)`
+ // Estimated: `5844 + m * (192 ±0)`
+ // Minimum execution time: 17_061 nanoseconds.
+ Weight::from_ref_time(18_138_776)
+ .saturating_add(Weight::from_proof_size(5844))
+ // Standard Error: 779
+ .saturating_add(Weight::from_ref_time(165_950).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Members (r:1 w:1)
- // Storage: TechnicalCommittee Proposals (r:1 w:0)
- // Storage: TechnicalMembership Prime (r:1 w:1)
- // Storage: TechnicalCommittee Members (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:1)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Proposals (r:1 w:0)
+ /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalMembership Prime (r:1 w:1)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Members (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
- // Minimum execution time: 24_598 nanoseconds.
- Weight::from_ref_time(25_786_600)
- // Standard Error: 649
- .saturating_add(Weight::from_ref_time(38_506).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `376 + m * (64 ±0)`
+ // Estimated: `5844 + m * (192 ±0)`
+ // Minimum execution time: 17_997 nanoseconds.
+ Weight::from_ref_time(19_185_070)
+ .saturating_add(Weight::from_proof_size(5844))
+ // Standard Error: 695
+ .saturating_add(Weight::from_ref_time(45_161).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Members (r:1 w:0)
- // Storage: TechnicalMembership Prime (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Members (r:1 w:0)
+ /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
+ /// Storage: TechnicalMembership Prime (r:0 w:1)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn set_prime(m: u32, ) -> Weight {
- // Minimum execution time: 7_936 nanoseconds.
- Weight::from_ref_time(8_522_758)
- // Standard Error: 253
- .saturating_add(Weight::from_ref_time(8_317).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `64 + m * (32 ±0)`
+ // Estimated: `3761 + m * (32 ±0)`
+ // Minimum execution time: 6_293 nanoseconds.
+ Weight::from_ref_time(6_598_116)
+ .saturating_add(Weight::from_proof_size(3761))
+ // Standard Error: 163
+ .saturating_add(Weight::from_ref_time(11_399).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
- // Storage: TechnicalMembership Prime (r:0 w:1)
- // Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Storage: TechnicalMembership Prime (r:0 w:1)
+ /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: TechnicalCommittee Prime (r:0 w:1)
+ /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
- fn clear_prime(_m: u32, ) -> Weight {
- // Minimum execution time: 4_463 nanoseconds.
- Weight::from_ref_time(4_874_434)
+ fn clear_prime(m: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_689 nanoseconds.
+ Weight::from_ref_time(2_861_104)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 79
+ .saturating_add(Weight::from_ref_time(799).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_multisig.rs b/polkadot/runtime/kusama/src/weights/pallet_multisig.rs
index 756f88bfeb..54288dbf6f 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_multisig.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_multisig.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,80 +47,113 @@ pub struct WeightInfo(PhantomData);
impl pallet_multisig::WeightInfo for WeightInfo {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
- // Minimum execution time: 16_159 nanoseconds.
- Weight::from_ref_time(17_175_479)
- // Standard Error: 7
- .saturating_add(Weight::from_ref_time(651).saturating_mul(z.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 11_709 nanoseconds.
+ Weight::from_ref_time(12_139_383)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 2
+ .saturating_add(Weight::from_ref_time(599).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_360 nanoseconds.
- Weight::from_ref_time(37_020_587)
- // Standard Error: 1_311
- .saturating_add(Weight::from_ref_time(153_070).saturating_mul(s.into()))
- // Standard Error: 12
- .saturating_add(Weight::from_ref_time(1_922).saturating_mul(z.into()))
- .saturating_add(T::DbWeight::get().reads(2))
+ // Proof Size summary in bytes:
+ // Measured: `352 + s * (2 ±0)`
+ // Estimated: `5821`
+ // Minimum execution time: 35_352 nanoseconds.
+ Weight::from_ref_time(28_118_450)
+ .saturating_add(Weight::from_proof_size(5821))
+ // Standard Error: 664
+ .saturating_add(Weight::from_ref_time(83_685).saturating_mul(s.into()))
+ // Standard Error: 6
+ .saturating_add(Weight::from_ref_time(1_561).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_658 nanoseconds.
- Weight::from_ref_time(25_186_518)
- // Standard Error: 897
- .saturating_add(Weight::from_ref_time(144_299).saturating_mul(s.into()))
- // Standard Error: 8
- .saturating_add(Weight::from_ref_time(1_935).saturating_mul(z.into()))
+ // Proof Size summary in bytes:
+ // Measured: `351`
+ // Estimated: `5821`
+ // Minimum execution time: 26_156 nanoseconds.
+ Weight::from_ref_time(19_125_495)
+ .saturating_add(Weight::from_proof_size(5821))
+ // Standard Error: 545
+ .saturating_add(Weight::from_ref_time(74_327).saturating_mul(s.into()))
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(1_649).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: 56_575 nanoseconds.
- Weight::from_ref_time(38_391_618)
- // Standard Error: 1_236
- .saturating_add(Weight::from_ref_time(192_850).saturating_mul(s.into()))
- // Standard Error: 12
- .saturating_add(Weight::from_ref_time(2_002).saturating_mul(z.into()))
+ // Proof Size summary in bytes:
+ // Measured: `489 + s * (33 ±0)`
+ // Estimated: `8424`
+ // Minimum execution time: 42_556 nanoseconds.
+ Weight::from_ref_time(31_748_011)
+ .saturating_add(Weight::from_proof_size(8424))
+ // Standard Error: 1_038
+ .saturating_add(Weight::from_ref_time(111_127).saturating_mul(s.into()))
+ // Standard Error: 10
+ .saturating_add(Weight::from_ref_time(1_681).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: 33_603 nanoseconds.
- Weight::from_ref_time(35_215_690)
- // Standard Error: 1_234
- .saturating_add(Weight::from_ref_time(157_046).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: 23_333 nanoseconds.
- Weight::from_ref_time(24_230_639)
- // Standard Error: 1_011
- .saturating_add(Weight::from_ref_time(139_771).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `359 + s * (2 ±0)`
+ // Estimated: `5821`
+ // Minimum execution time: 24_876 nanoseconds.
+ Weight::from_ref_time(26_575_836)
+ .saturating_add(Weight::from_proof_size(5821))
+ // Standard Error: 702
+ .saturating_add(Weight::from_ref_time(75_537).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: `351`
+ // Estimated: `5821`
+ // Minimum execution time: 17_073 nanoseconds.
+ Weight::from_ref_time(17_894_052)
+ .saturating_add(Weight::from_proof_size(5821))
+ // Standard Error: 523
+ .saturating_add(Weight::from_ref_time(73_433).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_207 nanoseconds.
- Weight::from_ref_time(35_768_409)
- // Standard Error: 1_147
- .saturating_add(Weight::from_ref_time(149_225).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `555 + s * (1 ±0)`
+ // Estimated: `5821`
+ // Minimum execution time: 26_183 nanoseconds.
+ Weight::from_ref_time(28_189_731)
+ .saturating_add(Weight::from_proof_size(5821))
+ // Standard Error: 1_748
+ .saturating_add(Weight::from_ref_time(106_618).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_nis.rs b/polkadot/runtime/kusama/src/weights/pallet_nis.rs
index f3965b0535..f9531e800d 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_nis.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_nis.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_nis`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,112 +45,193 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_nis`.
pub struct WeightInfo(PhantomData);
impl pallet_nis::WeightInfo for WeightInfo {
- // Storage: Nis Queues (r:1 w:1)
- // Storage: Balances Reserves (r:1 w:1)
- // Storage: Nis QueueTotals (r:1 w:1)
+ /// Storage: Nis Queues (r:1 w:1)
+ /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
+ /// Storage: Nis QueueTotals (r:1 w:1)
+ /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
- // Minimum execution time: 38_870 nanoseconds.
- Weight::from_ref_time(39_602_991)
- // Standard Error: 1_085
- .saturating_add(Weight::from_ref_time(91_818).saturating_mul(l.into()))
+ // Proof Size summary in bytes:
+ // Measured: `10279 + l * (48 ±0)`
+ // Estimated: `64718`
+ // Minimum execution time: 28_528 nanoseconds.
+ Weight::from_ref_time(31_444_194)
+ .saturating_add(Weight::from_proof_size(64718))
+ // Standard Error: 703
+ .saturating_add(Weight::from_ref_time(81_351).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Nis Queues (r:1 w:1)
- // Storage: Balances Reserves (r:1 w:1)
- // Storage: Nis QueueTotals (r:1 w:1)
+ /// Storage: Nis Queues (r:1 w:1)
+ /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
+ /// Storage: Nis QueueTotals (r:1 w:1)
+ /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
fn place_bid_max() -> Weight {
- // Minimum execution time: 130_046 nanoseconds.
- Weight::from_ref_time(134_004_000)
+ // Proof Size summary in bytes:
+ // Measured: `58281`
+ // Estimated: `64718`
+ // Minimum execution time: 106_859 nanoseconds.
+ Weight::from_ref_time(108_554_000)
+ .saturating_add(Weight::from_proof_size(64718))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Nis Queues (r:1 w:1)
- // Storage: Nis QueueTotals (r:1 w:1)
- // Storage: Balances Reserves (r:1 w:1)
+ /// Storage: Nis Queues (r:1 w:1)
+ /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
+ /// Storage: Nis QueueTotals (r:1 w:1)
+ /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
- // Minimum execution time: 46_356 nanoseconds.
- Weight::from_ref_time(41_332_958)
- // Standard Error: 955
- .saturating_add(Weight::from_ref_time(78_417).saturating_mul(l.into()))
+ // Proof Size summary in bytes:
+ // Measured: `10279 + l * (48 ±0)`
+ // Estimated: `64718`
+ // Minimum execution time: 36_699 nanoseconds.
+ Weight::from_ref_time(32_538_199)
+ .saturating_add(Weight::from_proof_size(64718))
+ // Standard Error: 705
+ .saturating_add(Weight::from_ref_time(63_013).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Nis Summary (r:1 w:0)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Nis Summary (r:1 w:0)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn fund_deficit() -> Weight {
- // Minimum execution time: 43_583 nanoseconds.
- Weight::from_ref_time(44_814_000)
+ // Proof Size summary in bytes:
+ // Measured: `256`
+ // Estimated: `3138`
+ // Minimum execution time: 30_998 nanoseconds.
+ Weight::from_ref_time(31_362_000)
+ .saturating_add(Weight::from_proof_size(3138))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Nis Receipts (r:1 w:1)
- // Storage: Nis Summary (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: Balances Reserves (r:1 w:1)
+ /// Storage: Nis Receipts (r:1 w:1)
+ /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
+ /// Storage: Nis Summary (r:1 w:1)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:0)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
fn thaw_private() -> Weight {
- // Minimum execution time: 58_517 nanoseconds.
- Weight::from_ref_time(60_162_000)
+ // Proof Size summary in bytes:
+ // Measured: `457`
+ // Estimated: `9418`
+ // Minimum execution time: 45_471 nanoseconds.
+ Weight::from_ref_time(46_193_000)
+ .saturating_add(Weight::from_proof_size(9418))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Nis Receipts (r:1 w:1)
- // Storage: Nis Summary (r:1 w:1)
- // Storage: NisCounterpartBalances Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Nis Receipts (r:1 w:1)
+ /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
+ /// Storage: Nis Summary (r:1 w:1)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn thaw_communal() -> Weight {
- // Minimum execution time: 74_288 nanoseconds.
- Weight::from_ref_time(76_187_000)
+ // Proof Size summary in bytes:
+ // Measured: `698`
+ // Estimated: `8792`
+ // Minimum execution time: 59_553 nanoseconds.
+ Weight::from_ref_time(61_402_000)
+ .saturating_add(Weight::from_proof_size(8792))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: Nis Receipts (r:1 w:1)
- // Storage: Nis Summary (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: NisCounterpartBalances Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
- // Storage: Balances Reserves (r:1 w:1)
+ /// Storage: Nis Receipts (r:1 w:1)
+ /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
+ /// Storage: Nis Summary (r:1 w:1)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
fn privatize() -> Weight {
- // Minimum execution time: 82_045 nanoseconds.
- Weight::from_ref_time(84_290_000)
+ // Proof Size summary in bytes:
+ // Measured: `760`
+ // Estimated: `12516`
+ // Minimum execution time: 66_969 nanoseconds.
+ Weight::from_ref_time(67_990_000)
+ .saturating_add(Weight::from_proof_size(12516))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Nis Receipts (r:1 w:1)
- // Storage: Balances Reserves (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Nis Summary (r:1 w:1)
- // Storage: NisCounterpartBalances Account (r:1 w:1)
- // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Storage: Nis Receipts (r:1 w:1)
+ /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
+ /// Storage: Balances Reserves (r:1 w:1)
+ /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Nis Summary (r:1 w:1)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances Account (r:1 w:1)
+ /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
+ /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
+ /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn communify() -> Weight {
- // Minimum execution time: 71_365 nanoseconds.
- Weight::from_ref_time(73_197_000)
+ // Proof Size summary in bytes:
+ // Measured: `539`
+ // Estimated: `12516`
+ // Minimum execution time: 64_656 nanoseconds.
+ Weight::from_ref_time(65_544_000)
+ .saturating_add(Weight::from_proof_size(12516))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Nis Summary (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: Nis QueueTotals (r:1 w:1)
+ /// Storage: Nis Summary (r:1 w:1)
+ /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:0)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Nis QueueTotals (r:1 w:1)
+ /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
fn process_queues() -> Weight {
- // Minimum execution time: 46_394 nanoseconds.
- Weight::from_ref_time(48_354_000)
+ // Proof Size summary in bytes:
+ // Measured: `10689`
+ // Estimated: `13635`
+ // Minimum execution time: 24_373 nanoseconds.
+ Weight::from_ref_time(24_724_000)
+ .saturating_add(Weight::from_proof_size(13635))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Nis Queues (r:1 w:1)
+ /// Storage: Nis Queues (r:1 w:1)
+ /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
fn process_queue() -> Weight {
- // Minimum execution time: 4_565 nanoseconds.
- Weight::from_ref_time(4_789_000)
+ // Proof Size summary in bytes:
+ // Measured: `76`
+ // Estimated: `50497`
+ // Minimum execution time: 3_740 nanoseconds.
+ Weight::from_ref_time(3_917_000)
+ .saturating_add(Weight::from_proof_size(50497))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Nis Receipts (r:0 w:1)
+ /// Storage: Nis Receipts (r:0 w:1)
+ /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
fn process_bid() -> Weight {
- // Minimum execution time: 11_536 nanoseconds.
- Weight::from_ref_time(12_013_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_377 nanoseconds.
+ Weight::from_ref_time(6_630_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_nomination_pools.rs b/polkadot/runtime/kusama/src/weights/pallet_nomination_pools.rs
index 26e18b34a5..c52f4204f1 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_nomination_pools.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_nomination_pools.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -72,10 +73,10 @@ impl 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: `3501`
// Estimated: `38468`
- // Minimum execution time: 152_199 nanoseconds.
- Weight::from_ref_time(157_673_000)
+ // Minimum execution time: 138_497 nanoseconds.
+ Weight::from_ref_time(140_588_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 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: `3543`
// Estimated: `39063`
- // Minimum execution time: 150_270 nanoseconds.
- Weight::from_ref_time(155_619_000)
+ // Minimum execution time: 135_261 nanoseconds.
+ Weight::from_ref_time(136_884_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 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: `3389`
// Estimated: `38950`
- // Minimum execution time: 164_700 nanoseconds.
- Weight::from_ref_time(169_418_000)
+ // Minimum execution time: 147_724 nanoseconds.
+ Weight::from_ref_time(149_274_000)
.saturating_add(Weight::from_proof_size(38950))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12))
@@ -150,10 +151,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1220`
+ // Measured: `1254`
// Estimated: `13485`
- // Minimum execution time: 56_711 nanoseconds.
- Weight::from_ref_time(58_399_000)
+ // Minimum execution time: 54_107 nanoseconds.
+ Weight::from_ref_time(55_084_000)
.saturating_add(Weight::from_proof_size(13485))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
@@ -173,7 +174,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking Nominators (r:1 w:0)
- /// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
/// Storage: Staking MinNominatorBond (r:1 w:0)
/// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
@@ -186,17 +187,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, 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: `3779`
+ // Estimated: `44930`
+ // Minimum execution time: 140_104 nanoseconds.
+ Weight::from_ref_time(140_897_000)
+ .saturating_add(Weight::from_proof_size(44930))
.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 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: `1700`
// Estimated: `13025`
- // Minimum execution time: 52_454 nanoseconds.
- Weight::from_ref_time(54_517_406)
+ // Minimum execution time: 48_227 nanoseconds.
+ Weight::from_ref_time(49_988_432)
.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: 706
+ .saturating_add(Weight::from_ref_time(6_209).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -239,18 +238,20 @@ impl 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`
+ // Measured: `2224`
// Estimated: `22991`
- // Minimum execution time: 98_434 nanoseconds.
- Weight::from_ref_time(103_207_163)
+ // Minimum execution time: 92_484 nanoseconds.
+ Weight::from_ref_time(94_254_505)
.saturating_add(Weight::from_proof_size(22991))
- // Standard Error: 2_701
- .saturating_add(Weight::from_ref_time(68_680).saturating_mul(s.into()))
+ // Standard Error: 1_446
+ .saturating_add(Weight::from_ref_time(14_097).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)
@@ -269,7 +270,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// 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:0)
- /// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, 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)
@@ -292,18 +293,20 @@ impl 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: `2614`
+ // Estimated: `46287`
+ // Minimum execution time: 144_956 nanoseconds.
+ Weight::from_ref_time(147_704_997)
+ .saturating_add(Weight::from_proof_size(46287))
+ // Standard Error: 2_422
+ .saturating_add(Weight::from_ref_time(4_931).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 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: 127_089 nanoseconds.
+ Weight::from_ref_time(128_175_000)
.saturating_add(Weight::from_proof_size(32002))
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(15))
@@ -366,10 +369,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: Staking MinNominatorBond (r:1 w:0)
/// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Staking Nominators (r:1 w:1)
- /// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
/// Storage: Staking MaxNominatorsCount (r:1 w:0)
/// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Staking Validators (r:17 w:0)
+ /// Storage: Staking Validators (r:25 w:0)
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
/// Storage: Staking CurrentEra (r:1 w:0)
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -381,16 +384,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Staking CounterForNominators (r:1 w:1)
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// The range of component `n` is `[1, 16]`.
+ /// The range of component `n` is `[1, 24]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1805`
- // Estimated: `21998 + n * (2520 ±0)`
- // Minimum execution time: 64_454 nanoseconds.
- Weight::from_ref_time(66_211_268)
- .saturating_add(Weight::from_proof_size(21998))
- // Standard Error: 8_856
- .saturating_add(Weight::from_ref_time(1_214_910).saturating_mul(n.into()))
+ // Measured: `1834`
+ // Estimated: `22254 + n * (2520 ±0)`
+ // Minimum execution time: 59_869 nanoseconds.
+ Weight::from_ref_time(60_705_359)
+ .saturating_add(Weight::from_proof_size(22254))
+ // Standard Error: 5_277
+ .saturating_add(Weight::from_ref_time(1_073_439).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 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: `1423`
// Estimated: `8752`
- // Minimum execution time: 32_632 nanoseconds.
- Weight::from_ref_time(34_156_000)
+ // Minimum execution time: 33_612 nanoseconds.
+ Weight::from_ref_time(34_352_000)
.saturating_add(Weight::from_proof_size(8752))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
@@ -421,13 +424,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `525`
+ // Measured: `559`
// Estimated: `5883`
- // Minimum execution time: 13_558 nanoseconds.
- Weight::from_ref_time(14_425_466)
+ // Minimum execution time: 12_676 nanoseconds.
+ Weight::from_ref_time(13_208_801)
.saturating_add(Weight::from_proof_size(5883))
- // Standard Error: 163
- .saturating_add(Weight::from_ref_time(1_089).saturating_mul(n.into()))
+ // Standard Error: 112
+ .saturating_add(Weight::from_ref_time(1_428).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -445,8 +448,8 @@ impl 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: 4_593 nanoseconds.
+ Weight::from_ref_time(4_772_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -454,10 +457,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
- // Measured: `525`
+ // Measured: `559`
// Estimated: `2639`
- // Minimum execution time: 18_420 nanoseconds.
- Weight::from_ref_time(19_058_000)
+ // Minimum execution time: 17_961 nanoseconds.
+ Weight::from_ref_time(18_227_000)
.saturating_add(Weight::from_proof_size(2639))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -471,7 +474,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// 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)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, 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)
@@ -482,11 +485,11 @@ impl 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`
- // Estimated: `20489`
- // Minimum execution time: 63_588 nanoseconds.
- Weight::from_ref_time(65_776_000)
- .saturating_add(Weight::from_proof_size(20489))
+ // Measured: `2061`
+ // Estimated: `20745`
+ // Minimum execution time: 60_831 nanoseconds.
+ Weight::from_ref_time(61_571_000)
+ .saturating_add(Weight::from_proof_size(20745))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -496,10 +499,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
fn set_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `508`
+ // Measured: `542`
// Estimated: `5708`
- // Minimum execution time: 14_303 nanoseconds.
- Weight::from_ref_time(15_001_000)
+ // Minimum execution time: 13_341 nanoseconds.
+ Weight::from_ref_time(13_892_000)
.saturating_add(Weight::from_proof_size(5708))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
diff --git a/polkadot/runtime/kusama/src/weights/pallet_preimage.rs b/polkadot/runtime/kusama/src/weights/pallet_preimage.rs
index b1ae5f94d6..e0d6baeb4c 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_preimage.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_preimage.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,102 +45,168 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_preimage`.
pub struct WeightInfo(PhantomData);
impl pallet_preimage::WeightInfo for WeightInfo {
- // 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: 30_474 nanoseconds.
- Weight::from_ref_time(257_568_077)
- // Standard Error: 10
- .saturating_add(Weight::from_ref_time(2_389).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `175`
+ // Estimated: `2566`
+ // Minimum execution time: 22_273 nanoseconds.
+ Weight::from_ref_time(22_421_000)
+ .saturating_add(Weight::from_proof_size(2566))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_386).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: 20_918 nanoseconds.
- Weight::from_ref_time(45_372_004)
- // Standard Error: 9
- .saturating_add(Weight::from_ref_time(2_558).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `106`
+ // Estimated: `2566`
+ // Minimum execution time: 14_410 nanoseconds.
+ Weight::from_ref_time(14_494_000)
+ .saturating_add(Weight::from_proof_size(2566))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_388).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: 19_612 nanoseconds.
- Weight::from_ref_time(52_472_238)
- // Standard Error: 2
- .saturating_add(Weight::from_ref_time(2_604).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `106`
+ // Estimated: `2566`
+ // Minimum execution time: 13_482 nanoseconds.
+ Weight::from_ref_time(13_720_000)
+ .saturating_add(Weight::from_proof_size(2566))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_382).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: 42_913 nanoseconds.
- Weight::from_ref_time(46_034_000)
+ // Proof Size summary in bytes:
+ // Measured: `353`
+ // Estimated: `2566`
+ // Minimum execution time: 30_263 nanoseconds.
+ Weight::from_ref_time(31_033_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: 29_879 nanoseconds.
- Weight::from_ref_time(31_150_000)
+ // Proof Size summary in bytes:
+ // Measured: `144`
+ // Estimated: `2566`
+ // Minimum execution time: 20_026 nanoseconds.
+ Weight::from_ref_time(20_879_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: 28_961 nanoseconds.
- Weight::from_ref_time(31_556_000)
+ // Proof Size summary in bytes:
+ // Measured: `220`
+ // Estimated: `2566`
+ // Minimum execution time: 17_776 nanoseconds.
+ Weight::from_ref_time(18_771_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: 15_395 nanoseconds.
- Weight::from_ref_time(16_622_000)
+ // Proof Size summary in bytes:
+ // Measured: `144`
+ // Estimated: `2566`
+ // Minimum execution time: 10_442 nanoseconds.
+ Weight::from_ref_time(11_551_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: 24_606 nanoseconds.
- Weight::from_ref_time(26_541_000)
+ // Proof Size summary in bytes:
+ // Measured: `42`
+ // Estimated: `2566`
+ // Minimum execution time: 11_527 nanoseconds.
+ Weight::from_ref_time(11_883_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: 10_182 nanoseconds.
- Weight::from_ref_time(11_199_000)
+ // Proof Size summary in bytes:
+ // Measured: `106`
+ // Estimated: `2566`
+ // Minimum execution time: 7_456 nanoseconds.
+ Weight::from_ref_time(7_710_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: 29_305 nanoseconds.
- Weight::from_ref_time(32_670_000)
+ // Proof Size summary in bytes:
+ // Measured: `144`
+ // Estimated: `2566`
+ // Minimum execution time: 18_651 nanoseconds.
+ Weight::from_ref_time(19_136_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: 10_768 nanoseconds.
- Weight::from_ref_time(10_985_000)
+ // Proof Size summary in bytes:
+ // Measured: `106`
+ // Estimated: `2566`
+ // Minimum execution time: 6_824 nanoseconds.
+ Weight::from_ref_time(7_100_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: 9_740 nanoseconds.
- Weight::from_ref_time(10_905_000)
+ // Proof Size summary in bytes:
+ // Measured: `106`
+ // Estimated: `2566`
+ // Minimum execution time: 7_015 nanoseconds.
+ Weight::from_ref_time(7_230_000)
+ .saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_proxy.rs b/polkadot/runtime/kusama/src/weights/pallet_proxy.rs
index de924bd2ba..482ca8a811 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_proxy.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_proxy.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,121 +45,172 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
pub struct WeightInfo(PhantomData);
impl pallet_proxy::WeightInfo for WeightInfo {
- // 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_381 nanoseconds.
- Weight::from_ref_time(21_365_292)
- // Standard Error: 1_922
- .saturating_add(Weight::from_ref_time(40_320).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `259 + p * (37 ±0)`
+ // Estimated: `3716`
+ // Minimum execution time: 13_976 nanoseconds.
+ Weight::from_ref_time(14_696_938)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 1_165
+ .saturating_add(Weight::from_ref_time(33_803).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_291 nanoseconds.
- Weight::from_ref_time(40_000_210)
- // Standard Error: 2_473
- .saturating_add(Weight::from_ref_time(133_893).saturating_mul(a.into()))
- // Standard Error: 2_555
- .saturating_add(Weight::from_ref_time(40_978).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `650 + a * (68 ±0) + p * (37 ±0)`
+ // Estimated: `11027`
+ // Minimum execution time: 33_701 nanoseconds.
+ Weight::from_ref_time(34_238_362)
+ .saturating_add(Weight::from_proof_size(11027))
+ // Standard Error: 1_949
+ .saturating_add(Weight::from_ref_time(128_204).saturating_mul(a.into()))
+ // Standard Error: 2_014
+ .saturating_add(Weight::from_ref_time(22_991).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: 26_725 nanoseconds.
- Weight::from_ref_time(28_314_086)
- // Standard Error: 2_211
- .saturating_add(Weight::from_ref_time(131_805).saturating_mul(a.into()))
- // Standard Error: 2_284
- .saturating_add(Weight::from_ref_time(10_842).saturating_mul(p.into()))
+ fn remove_announcement(a: u32, _p: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `533 + a * (68 ±0)`
+ // Estimated: `7311`
+ // Minimum execution time: 19_093 nanoseconds.
+ Weight::from_ref_time(20_481_879)
+ .saturating_add(Weight::from_proof_size(7311))
+ // Standard Error: 1_357
+ .saturating_add(Weight::from_ref_time(116_669).saturating_mul(a.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: 27_066 nanoseconds.
- Weight::from_ref_time(28_301_075)
- // Standard Error: 2_193
- .saturating_add(Weight::from_ref_time(130_365).saturating_mul(a.into()))
- // Standard Error: 2_265
- .saturating_add(Weight::from_ref_time(13_100).saturating_mul(p.into()))
+ fn reject_announcement(a: u32, _p: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `533 + a * (68 ±0)`
+ // Estimated: `7311`
+ // Minimum execution time: 19_047 nanoseconds.
+ Weight::from_ref_time(20_169_918)
+ .saturating_add(Weight::from_proof_size(7311))
+ // Standard Error: 1_309
+ .saturating_add(Weight::from_ref_time(123_282).saturating_mul(a.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: 35_608 nanoseconds.
- Weight::from_ref_time(37_654_280)
- // Standard Error: 2_569
- .saturating_add(Weight::from_ref_time(117_205).saturating_mul(a.into()))
- // Standard Error: 2_654
- .saturating_add(Weight::from_ref_time(33_113).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `582 + a * (68 ±0) + p * (37 ±0)`
+ // Estimated: `11027`
+ // Minimum execution time: 26_807 nanoseconds.
+ Weight::from_ref_time(30_618_234)
+ .saturating_add(Weight::from_proof_size(11027))
+ // Standard Error: 2_949
+ .saturating_add(Weight::from_ref_time(129_927).saturating_mul(a.into()))
+ // Standard Error: 3_047
+ .saturating_add(Weight::from_ref_time(29_443).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: 30_169 nanoseconds.
- Weight::from_ref_time(31_630_529)
- // Standard Error: 2_421
- .saturating_add(Weight::from_ref_time(51_367).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `259 + p * (37 ±0)`
+ // Estimated: `3716`
+ // Minimum execution time: 20_648 nanoseconds.
+ Weight::from_ref_time(21_019_160)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 2_330
+ .saturating_add(Weight::from_ref_time(69_459).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: 29_449 nanoseconds.
- Weight::from_ref_time(31_052_891)
- // Standard Error: 2_796
- .saturating_add(Weight::from_ref_time(70_680).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `259 + p * (37 ±0)`
+ // Estimated: `3716`
+ // Minimum execution time: 19_741 nanoseconds.
+ Weight::from_ref_time(21_028_196)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 1_677
+ .saturating_add(Weight::from_ref_time(73_249).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: 25_540 nanoseconds.
- Weight::from_ref_time(26_761_290)
- // Standard Error: 1_942
- .saturating_add(Weight::from_ref_time(37_261).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `259 + p * (37 ±0)`
+ // Estimated: `3716`
+ // Minimum execution time: 16_116 nanoseconds.
+ Weight::from_ref_time(16_849_655)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 1_089
+ .saturating_add(Weight::from_ref_time(28_535).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_846 nanoseconds.
- Weight::from_ref_time(34_585_564)
- // Standard Error: 2_640
- .saturating_add(Weight::from_ref_time(21_354).saturating_mul(p.into()))
- .saturating_add(T::DbWeight::get().reads(2))
+ // Proof Size summary in bytes:
+ // Measured: `239`
+ // Estimated: `3716`
+ // Minimum execution time: 21_680 nanoseconds.
+ Weight::from_ref_time(22_572_277)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 1_333
+ .saturating_add(Weight::from_ref_time(12_315).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 `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
- // Minimum execution time: 26_942 nanoseconds.
- Weight::from_ref_time(28_109_384)
- // Standard Error: 2_326
- .saturating_add(Weight::from_ref_time(40_170).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `296 + p * (37 ±0)`
+ // Estimated: `3716`
+ // Minimum execution time: 16_937 nanoseconds.
+ Weight::from_ref_time(17_605_894)
+ .saturating_add(Weight::from_proof_size(3716))
+ // Standard Error: 1_758
+ .saturating_add(Weight::from_ref_time(40_493).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_ranked_collective.rs b/polkadot/runtime/kusama/src/weights/pallet_ranked_collective.rs
index e7f16e5ebd..4a1dbb34bd 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_ranked_collective.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_ranked_collective.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_ranked_collective`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,77 +45,127 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_ranked_collective`.
pub struct WeightInfo(PhantomData);
impl pallet_ranked_collective::WeightInfo for WeightInfo {
- // Storage: FellowshipCollective Members (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:1)
- // Storage: FellowshipCollective IndexToId (r:0 w:1)
- // Storage: FellowshipCollective IdToIndex (r:0 w:1)
+ /// Storage: FellowshipCollective Members (r:1 w:1)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:1)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IndexToId (r:0 w:1)
+ /// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IdToIndex (r:0 w:1)
+ /// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn add_member() -> Weight {
- // Minimum execution time: 21_687 nanoseconds.
- Weight::from_ref_time(22_505_000)
+ // Proof Size summary in bytes:
+ // Measured: `76`
+ // Estimated: `5006`
+ // Minimum execution time: 15_015 nanoseconds.
+ Weight::from_ref_time(15_279_000)
+ .saturating_add(Weight::from_proof_size(5006))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipCollective Members (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:1)
- // Storage: FellowshipCollective IdToIndex (r:1 w:1)
- // Storage: FellowshipCollective IndexToId (r:1 w:1)
+ /// Storage: FellowshipCollective Members (r:1 w:1)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:11 w:11)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IdToIndex (r:11 w:11)
+ /// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IndexToId (r:11 w:11)
+ /// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 10]`.
fn remove_member(r: u32, ) -> Weight {
- // Minimum execution time: 32_770 nanoseconds.
- Weight::from_ref_time(34_644_917)
- // Standard Error: 15_325
- .saturating_add(Weight::from_ref_time(11_355_769).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `550 + r * (281 ±0)`
+ // Estimated: `10064 + r * (7547 ±0)`
+ // Minimum execution time: 24_934 nanoseconds.
+ Weight::from_ref_time(29_372_358)
+ .saturating_add(Weight::from_proof_size(10064))
+ // Standard Error: 28_755
+ .saturating_add(Weight::from_ref_time(10_320_855).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
+ .saturating_add(Weight::from_proof_size(7547).saturating_mul(r.into()))
}
- // Storage: FellowshipCollective Members (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:1)
- // Storage: FellowshipCollective IndexToId (r:0 w:1)
- // Storage: FellowshipCollective IdToIndex (r:0 w:1)
+ /// Storage: FellowshipCollective Members (r:1 w:1)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:1)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IndexToId (r:0 w:1)
+ /// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IdToIndex (r:0 w:1)
+ /// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 10]`.
fn promote_member(r: u32, ) -> Weight {
- // Minimum execution time: 23_990 nanoseconds.
- Weight::from_ref_time(25_072_856)
- // Standard Error: 5_793
- .saturating_add(Weight::from_ref_time(404_905).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `248 + r * (17 ±0)`
+ // Estimated: `5006`
+ // Minimum execution time: 17_345 nanoseconds.
+ Weight::from_ref_time(18_369_667)
+ .saturating_add(Weight::from_proof_size(5006))
+ // Standard Error: 5_162
+ .saturating_add(Weight::from_ref_time(317_725).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipCollective Members (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:1)
- // Storage: FellowshipCollective IdToIndex (r:1 w:1)
- // Storage: FellowshipCollective IndexToId (r:1 w:1)
+ /// Storage: FellowshipCollective Members (r:1 w:1)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:1)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IdToIndex (r:1 w:1)
+ /// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective IndexToId (r:1 w:1)
+ /// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 10]`.
fn demote_member(r: u32, ) -> Weight {
- // Minimum execution time: 32_952 nanoseconds.
- Weight::from_ref_time(35_465_453)
- // Standard Error: 16_850
- .saturating_add(Weight::from_ref_time(671_524).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `566 + r * (72 ±0)`
+ // Estimated: `10064`
+ // Minimum execution time: 24_864 nanoseconds.
+ Weight::from_ref_time(29_437_828)
+ .saturating_add(Weight::from_proof_size(10064))
+ // Standard Error: 28_077
+ .saturating_add(Weight::from_ref_time(694_931).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipCollective Members (r:1 w:0)
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective Voting (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipCollective Members (r:1 w:0)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective Voting (r:1 w:1)
+ /// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn vote() -> Weight {
- // Minimum execution time: 50_688 nanoseconds.
- Weight::from_ref_time(51_397_000)
+ // Proof Size summary in bytes:
+ // Measured: `704`
+ // Estimated: `91308`
+ // Minimum execution time: 48_174 nanoseconds.
+ Weight::from_ref_time(48_765_000)
+ .saturating_add(Weight::from_proof_size(91308))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
- // Storage: FellowshipCollective VotingCleanup (r:1 w:0)
- // Storage: FellowshipCollective Voting (r:0 w:2)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
+ /// Proof: FellowshipCollective VotingCleanup (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective Voting (r:100 w:100)
+ /// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 100]`.
fn cleanup_poll(n: u32, ) -> Weight {
- // Minimum execution time: 15_422 nanoseconds.
- Weight::from_ref_time(18_535_259)
- // Standard Error: 2_621
- .saturating_add(Weight::from_ref_time(1_164_868).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `500 + n * (50 ±0)`
+ // Estimated: `5964 + n * (2540 ±0)`
+ // Minimum execution time: 13_233 nanoseconds.
+ Weight::from_ref_time(16_859_237)
+ .saturating_add(Weight::from_proof_size(5964))
+ // Standard Error: 1_532
+ .saturating_add(Weight::from_ref_time(910_200).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
+ .saturating_add(Weight::from_proof_size(2540).saturating_mul(n.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/polkadot/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
index 63af860b5c..e9a8561853 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_referenda`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,263 +45,478 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_referenda`.
pub struct WeightInfo(PhantomData);
impl pallet_referenda::WeightInfo for WeightInfo {
- // Storage: FellowshipCollective Members (r:1 w:0)
- // Storage: FellowshipReferenda ReferendumCount (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
- // Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
+ /// Storage: FellowshipCollective Members (r:1 w:0)
+ /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda ReferendumCount (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn submit() -> Weight {
- // Minimum execution time: 33_277 nanoseconds.
- Weight::from_ref_time(33_960_000)
+ // Proof Size summary in bytes:
+ // Measured: `361`
+ // Estimated: `44454`
+ // Minimum execution time: 27_612 nanoseconds.
+ Weight::from_ref_time(28_040_000)
+ .saturating_add(Weight::from_proof_size(44454))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn place_decision_deposit_preparing() -> Weight {
- // Minimum execution time: 53_029 nanoseconds.
- Weight::from_ref_time(54_668_000)
+ // Proof Size summary in bytes:
+ // Measured: `502`
+ // Estimated: `86251`
+ // Minimum execution time: 45_926 nanoseconds.
+ Weight::from_ref_time(47_307_000)
+ .saturating_add(Weight::from_proof_size(86251))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:0)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
- // Minimum execution time: 90_942 nanoseconds.
- Weight::from_ref_time(102_908_000)
+ // Proof Size summary in bytes:
+ // Measured: `1975`
+ // Estimated: `9151`
+ // Minimum execution time: 60_904 nanoseconds.
+ Weight::from_ref_time(63_273_000)
+ .saturating_add(Weight::from_proof_size(9151))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:0)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
- // Minimum execution time: 93_418 nanoseconds.
- Weight::from_ref_time(102_043_000)
+ // Proof Size summary in bytes:
+ // Measured: `2016`
+ // Estimated: `9151`
+ // Minimum execution time: 60_599 nanoseconds.
+ Weight::from_ref_time(62_731_000)
+ .saturating_add(Weight::from_proof_size(9151))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn place_decision_deposit_passing() -> Weight {
- // Minimum execution time: 204_407 nanoseconds.
- Weight::from_ref_time(221_043_000)
+ // Proof Size summary in bytes:
+ // Measured: `872`
+ // Estimated: `91229`
+ // Minimum execution time: 117_759 nanoseconds.
+ Weight::from_ref_time(124_843_000)
+ .saturating_add(Weight::from_proof_size(91229))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
fn place_decision_deposit_failing() -> Weight {
- // Minimum execution time: 46_345 nanoseconds.
- Weight::from_ref_time(48_000_000)
+ // Proof Size summary in bytes:
+ // Measured: `644`
+ // Estimated: `8353`
+ // Minimum execution time: 38_257 nanoseconds.
+ Weight::from_ref_time(38_680_000)
+ .saturating_add(Weight::from_proof_size(8353))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn refund_decision_deposit() -> Weight {
- // Minimum execution time: 32_528 nanoseconds.
- Weight::from_ref_time(33_923_000)
+ // Proof Size summary in bytes:
+ // Measured: `415`
+ // Estimated: `3375`
+ // Minimum execution time: 24_398 nanoseconds.
+ Weight::from_ref_time(24_799_000)
+ .saturating_add(Weight::from_proof_size(3375))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn refund_submission_deposit() -> Weight {
- // Minimum execution time: 21_065 nanoseconds.
- Weight::from_ref_time(21_947_000)
+ // Proof Size summary in bytes:
+ // Measured: `233`
+ // Estimated: `3375`
+ // Minimum execution time: 14_497 nanoseconds.
+ Weight::from_ref_time(14_988_000)
+ .saturating_add(Weight::from_proof_size(3375))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn cancel() -> Weight {
- // Minimum execution time: 41_541 nanoseconds.
- Weight::from_ref_time(43_091_000)
+ // Proof Size summary in bytes:
+ // Measured: `415`
+ // Estimated: `86251`
+ // Minimum execution time: 35_130 nanoseconds.
+ Weight::from_ref_time(35_735_000)
+ .saturating_add(Weight::from_proof_size(86251))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda MetadataOf (r:1 w:0)
+ /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn kill() -> Weight {
- // Minimum execution time: 75_008 nanoseconds.
- Weight::from_ref_time(77_437_000)
- .saturating_add(T::DbWeight::get().reads(3))
+ // Proof Size summary in bytes:
+ // Measured: `548`
+ // Estimated: `88778`
+ // Minimum execution time: 62_488 nanoseconds.
+ Weight::from_ref_time(64_659_000)
+ .saturating_add(Weight::from_proof_size(88778))
+ .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda TrackQueue (r:1 w:0)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
fn one_fewer_deciding_queue_empty() -> Weight {
- // Minimum execution time: 10_620 nanoseconds.
- Weight::from_ref_time(11_309_000)
+ // Proof Size summary in bytes:
+ // Measured: `174`
+ // Estimated: `5776`
+ // Minimum execution time: 9_065 nanoseconds.
+ Weight::from_ref_time(9_247_000)
+ .saturating_add(Weight::from_proof_size(5776))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
- // Minimum execution time: 167_988 nanoseconds.
- Weight::from_ref_time(179_043_000)
+ // Proof Size summary in bytes:
+ // Measured: `3147`
+ // Estimated: `92027`
+ // Minimum execution time: 142_703 nanoseconds.
+ Weight::from_ref_time(145_933_000)
+ .saturating_add(Weight::from_proof_size(92027))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
- // Minimum execution time: 171_829 nanoseconds.
- Weight::from_ref_time(183_097_000)
+ // Proof Size summary in bytes:
+ // Measured: `3147`
+ // Estimated: `92027`
+ // Minimum execution time: 144_435 nanoseconds.
+ Weight::from_ref_time(146_096_000)
+ .saturating_add(Weight::from_proof_size(92027))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
- // Minimum execution time: 99_225 nanoseconds.
- Weight::from_ref_time(109_234_000)
+ // Proof Size summary in bytes:
+ // Measured: `2790`
+ // Estimated: `48100`
+ // Minimum execution time: 77_355 nanoseconds.
+ Weight::from_ref_time(79_600_000)
+ .saturating_add(Weight::from_proof_size(48100))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
- // Minimum execution time: 100_605 nanoseconds.
- Weight::from_ref_time(109_740_000)
+ // Proof Size summary in bytes:
+ // Measured: `2757`
+ // Estimated: `48100`
+ // Minimum execution time: 77_174 nanoseconds.
+ Weight::from_ref_time(79_594_000)
+ .saturating_add(Weight::from_proof_size(48100))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:0)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
- // Minimum execution time: 105_414 nanoseconds.
- Weight::from_ref_time(112_810_000)
+ // Proof Size summary in bytes:
+ // Measured: `2773`
+ // Estimated: `50589`
+ // Minimum execution time: 79_984 nanoseconds.
+ Weight::from_ref_time(82_368_000)
+ .saturating_add(Weight::from_proof_size(50589))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:0)
- // Storage: FellowshipReferenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
+ /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
- // Minimum execution time: 100_969 nanoseconds.
- Weight::from_ref_time(114_514_000)
+ // Proof Size summary in bytes:
+ // Measured: `2814`
+ // Estimated: `50589`
+ // Minimum execution time: 80_275 nanoseconds.
+ Weight::from_ref_time(81_559_000)
+ .saturating_add(Weight::from_proof_size(50589))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_no_deposit() -> Weight {
- // Minimum execution time: 29_982 nanoseconds.
- Weight::from_ref_time(31_303_000)
+ // Proof Size summary in bytes:
+ // Measured: `367`
+ // Estimated: `44813`
+ // Minimum execution time: 24_706 nanoseconds.
+ Weight::from_ref_time(25_344_000)
+ .saturating_add(Weight::from_proof_size(44813))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_preparing() -> Weight {
- // Minimum execution time: 30_756 nanoseconds.
- Weight::from_ref_time(31_875_000)
+ // Proof Size summary in bytes:
+ // Measured: `415`
+ // Estimated: `44813`
+ // Minimum execution time: 25_032 nanoseconds.
+ Weight::from_ref_time(25_674_000)
+ .saturating_add(Weight::from_proof_size(44813))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn nudge_referendum_timed_out() -> Weight {
- // Minimum execution time: 22_922 nanoseconds.
- Weight::from_ref_time(23_811_000)
+ // Proof Size summary in bytes:
+ // Measured: `274`
+ // Estimated: `3375`
+ // Minimum execution time: 16_589 nanoseconds.
+ Weight::from_ref_time(16_941_000)
+ .saturating_add(Weight::from_proof_size(3375))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_failing() -> Weight {
- // Minimum execution time: 42_030 nanoseconds.
- Weight::from_ref_time(43_505_000)
+ // Proof Size summary in bytes:
+ // Measured: `650`
+ // Estimated: `49791`
+ // Minimum execution time: 35_891 nanoseconds.
+ Weight::from_ref_time(36_449_000)
+ .saturating_add(Weight::from_proof_size(49791))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipReferenda DecidingCount (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
+ /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_passing() -> Weight {
- // Minimum execution time: 95_523 nanoseconds.
- Weight::from_ref_time(102_104_000)
+ // Proof Size summary in bytes:
+ // Measured: `785`
+ // Estimated: `49791`
+ // Minimum execution time: 61_138 nanoseconds.
+ Weight::from_ref_time(62_771_000)
+ .saturating_add(Weight::from_proof_size(49791))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_confirming() -> Weight {
- // Minimum execution time: 166_858 nanoseconds.
- Weight::from_ref_time(190_720_000)
+ // Proof Size summary in bytes:
+ // Measured: `836`
+ // Estimated: `47302`
+ // Minimum execution time: 85_781 nanoseconds.
+ Weight::from_ref_time(88_954_000)
+ .saturating_add(Weight::from_proof_size(47302))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_end_confirming() -> Weight {
- // Minimum execution time: 165_354 nanoseconds.
- Weight::from_ref_time(185_408_000)
+ // Proof Size summary in bytes:
+ // Measured: `821`
+ // Estimated: `47302`
+ // Minimum execution time: 86_360 nanoseconds.
+ Weight::from_ref_time(88_983_000)
+ .saturating_add(Weight::from_proof_size(47302))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_continue_not_confirming() -> Weight {
- // Minimum execution time: 167_797 nanoseconds.
- Weight::from_ref_time(182_086_000)
+ // Proof Size summary in bytes:
+ // Measured: `836`
+ // Estimated: `47302`
+ // Minimum execution time: 85_015 nanoseconds.
+ Weight::from_ref_time(92_600_000)
+ .saturating_add(Weight::from_proof_size(47302))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_continue_confirming() -> Weight {
- // Minimum execution time: 87_123 nanoseconds.
- Weight::from_ref_time(94_538_000)
+ // Proof Size summary in bytes:
+ // Measured: `842`
+ // Estimated: `47302`
+ // Minimum execution time: 56_622 nanoseconds.
+ Weight::from_ref_time(58_805_000)
+ .saturating_add(Weight::from_proof_size(47302))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Scheduler Lookup (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: Scheduler Lookup (r:1 w:1)
+ /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn nudge_referendum_approved() -> Weight {
- // Minimum execution time: 177_202 nanoseconds.
- Weight::from_ref_time(194_662_000)
+ // Proof Size summary in bytes:
+ // Measured: `842`
+ // Estimated: `91263`
+ // Minimum execution time: 104_419 nanoseconds.
+ Weight::from_ref_time(110_105_000)
+ .saturating_add(Weight::from_proof_size(91263))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
- // Storage: FellowshipCollective MemberCount (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipCollective MemberCount (r:1 w:0)
+ /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_rejected() -> Weight {
- // Minimum execution time: 154_150 nanoseconds.
- Weight::from_ref_time(185_014_000)
+ // Proof Size summary in bytes:
+ // Measured: `838`
+ // Estimated: `47302`
+ // Minimum execution time: 85_875 nanoseconds.
+ Weight::from_ref_time(89_394_000)
+ .saturating_add(Weight::from_proof_size(47302))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda MetadataOf (r:0 w:1)
+ /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn set_some_metadata() -> Weight {
- Weight::from_parts(20_490_000, 5407)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `418`
+ // Estimated: `5941`
+ // Minimum execution time: 19_459 nanoseconds.
+ Weight::from_ref_time(19_921_000)
+ .saturating_add(Weight::from_proof_size(5941))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
+ /// Storage: FellowshipReferenda MetadataOf (r:1 w:1)
+ /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
- Weight::from_parts(19_917_000, 5368)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `351`
+ // Estimated: `5902`
+ // Minimum execution time: 17_684 nanoseconds.
+ Weight::from_ref_time(18_181_000)
+ .saturating_add(Weight::from_proof_size(5902))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/polkadot/runtime/kusama/src/weights/pallet_referenda_referenda.rs
index cb86cee7aa..fe1d17f9ef 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_referenda_referenda.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_referenda_referenda.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_referenda`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,262 +45,476 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_referenda`.
pub struct WeightInfo(PhantomData);
impl pallet_referenda::WeightInfo for WeightInfo {
- // Storage: Referenda ReferendumCount (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:0 w:1)
+ /// Storage: Referenda ReferendumCount (r:1 w:1)
+ /// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:0 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
fn submit() -> Weight {
- // Minimum execution time: 38_444 nanoseconds.
- Weight::from_ref_time(40_157_000)
+ // Proof Size summary in bytes:
+ // Measured: `217`
+ // Estimated: `41937`
+ // Minimum execution time: 32_039 nanoseconds.
+ Weight::from_ref_time(33_032_000)
+ .saturating_add(Weight::from_proof_size(41937))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn place_decision_deposit_preparing() -> Weight {
- // Minimum execution time: 52_464 nanoseconds.
- Weight::from_ref_time(53_840_000)
+ // Proof Size summary in bytes:
+ // Measured: `502`
+ // Estimated: `86287`
+ // Minimum execution time: 46_560 nanoseconds.
+ Weight::from_ref_time(47_198_000)
+ .saturating_add(Weight::from_proof_size(86287))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:0)
- // Storage: Referenda TrackQueue (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:0)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
- // Minimum execution time: 59_684 nanoseconds.
- Weight::from_ref_time(62_639_000)
+ // Proof Size summary in bytes:
+ // Measured: `3130`
+ // Estimated: `10387`
+ // Minimum execution time: 41_965 nanoseconds.
+ Weight::from_ref_time(42_897_000)
+ .saturating_add(Weight::from_proof_size(10387))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:0)
- // Storage: Referenda TrackQueue (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:0)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
- // Minimum execution time: 59_614 nanoseconds.
- Weight::from_ref_time(61_921_000)
+ // Proof Size summary in bytes:
+ // Measured: `3150`
+ // Estimated: `10387`
+ // Minimum execution time: 41_432 nanoseconds.
+ Weight::from_ref_time(42_162_000)
+ .saturating_add(Weight::from_proof_size(10387))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:1)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn place_decision_deposit_passing() -> Weight {
- // Minimum execution time: 67_948 nanoseconds.
- Weight::from_ref_time(69_857_000)
+ // Proof Size summary in bytes:
+ // Measured: `502`
+ // Estimated: `89287`
+ // Minimum execution time: 58_699 nanoseconds.
+ Weight::from_ref_time(59_685_000)
+ .saturating_add(Weight::from_proof_size(89287))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:1)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn place_decision_deposit_failing() -> Weight {
- // Minimum execution time: 46_712 nanoseconds.
- Weight::from_ref_time(47_618_000)
+ // Proof Size summary in bytes:
+ // Measured: `409`
+ // Estimated: `6411`
+ // Minimum execution time: 35_648 nanoseconds.
+ Weight::from_ref_time(36_259_000)
+ .saturating_add(Weight::from_proof_size(6411))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
fn refund_decision_deposit() -> Weight {
- // Minimum execution time: 31_886 nanoseconds.
- Weight::from_ref_time(33_383_000)
+ // Proof Size summary in bytes:
+ // Measured: `342`
+ // Estimated: `3411`
+ // Minimum execution time: 23_433 nanoseconds.
+ Weight::from_ref_time(23_925_000)
+ .saturating_add(Weight::from_proof_size(3411))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
fn refund_submission_deposit() -> Weight {
- // Minimum execution time: 31_464 nanoseconds.
- Weight::from_ref_time(32_332_000)
+ // Proof Size summary in bytes:
+ // Measured: `332`
+ // Estimated: `3411`
+ // Minimum execution time: 23_455 nanoseconds.
+ Weight::from_ref_time(24_140_000)
+ .saturating_add(Weight::from_proof_size(3411))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn cancel() -> Weight {
- // Minimum execution time: 40_661 nanoseconds.
- Weight::from_ref_time(42_037_000)
+ // Proof Size summary in bytes:
+ // Measured: `378`
+ // Estimated: `86287`
+ // Minimum execution time: 34_573 nanoseconds.
+ Weight::from_ref_time(35_346_000)
+ .saturating_add(Weight::from_proof_size(86287))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: Referenda MetadataOf (r:1 w:0)
+ /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn kill() -> Weight {
- // Minimum execution time: 87_937 nanoseconds.
- Weight::from_ref_time(90_171_000)
- .saturating_add(T::DbWeight::get().reads(3))
+ // Proof Size summary in bytes:
+ // Measured: `683`
+ // Estimated: `88814`
+ // Minimum execution time: 81_537 nanoseconds.
+ Weight::from_ref_time(83_433_000)
+ .saturating_add(Weight::from_proof_size(88814))
+ .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda TrackQueue (r:1 w:0)
- // Storage: Referenda DecidingCount (r:1 w:1)
+ /// Storage: Referenda TrackQueue (r:1 w:0)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:1)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
fn one_fewer_deciding_queue_empty() -> Weight {
- // Minimum execution time: 10_962 nanoseconds.
- Weight::from_ref_time(11_292_000)
+ // Proof Size summary in bytes:
+ // Measured: `101`
+ // Estimated: `6976`
+ // Minimum execution time: 8_213 nanoseconds.
+ Weight::from_ref_time(8_488_000)
+ .saturating_add(Weight::from_proof_size(6976))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
- // Minimum execution time: 123_968 nanoseconds.
- Weight::from_ref_time(132_776_000)
+ // Proof Size summary in bytes:
+ // Measured: `3899`
+ // Estimated: `91285`
+ // Minimum execution time: 115_785 nanoseconds.
+ Weight::from_ref_time(116_809_000)
+ .saturating_add(Weight::from_proof_size(91285))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
- // Minimum execution time: 124_456 nanoseconds.
- Weight::from_ref_time(133_803_000)
+ // Proof Size summary in bytes:
+ // Measured: `3899`
+ // Estimated: `91285`
+ // Minimum execution time: 117_486 nanoseconds.
+ Weight::from_ref_time(118_341_000)
+ .saturating_add(Weight::from_proof_size(91285))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
- // Minimum execution time: 67_800 nanoseconds.
- Weight::from_ref_time(72_433_000)
+ // Proof Size summary in bytes:
+ // Measured: `3917`
+ // Estimated: `49336`
+ // Minimum execution time: 61_982 nanoseconds.
+ Weight::from_ref_time(62_462_000)
+ .saturating_add(Weight::from_proof_size(49336))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
- // Minimum execution time: 67_119 nanoseconds.
- Weight::from_ref_time(72_291_000)
+ // Proof Size summary in bytes:
+ // Measured: `3917`
+ // Estimated: `49336`
+ // Minimum execution time: 61_914 nanoseconds.
+ Weight::from_ref_time(62_419_000)
+ .saturating_add(Weight::from_proof_size(49336))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:0)
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:0)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
- // Minimum execution time: 69_519 nanoseconds.
- Weight::from_ref_time(75_088_000)
+ // Proof Size summary in bytes:
+ // Measured: `3891`
+ // Estimated: `51825`
+ // Minimum execution time: 63_641 nanoseconds.
+ Weight::from_ref_time(64_322_000)
+ .saturating_add(Weight::from_proof_size(51825))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:0)
- // Storage: Referenda TrackQueue (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:0)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:0)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Referenda TrackQueue (r:1 w:1)
+ /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:0)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
- // Minimum execution time: 68_612 nanoseconds.
- Weight::from_ref_time(75_595_000)
+ // Proof Size summary in bytes:
+ // Measured: `3911`
+ // Estimated: `51825`
+ // Minimum execution time: 63_367 nanoseconds.
+ Weight::from_ref_time(63_894_000)
+ .saturating_add(Weight::from_proof_size(51825))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_no_deposit() -> Weight {
- // Minimum execution time: 29_767 nanoseconds.
- Weight::from_ref_time(30_670_000)
+ // Proof Size summary in bytes:
+ // Measured: `330`
+ // Estimated: `44849`
+ // Minimum execution time: 23_875 nanoseconds.
+ Weight::from_ref_time(24_475_000)
+ .saturating_add(Weight::from_proof_size(44849))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_preparing() -> Weight {
- // Minimum execution time: 30_082 nanoseconds.
- Weight::from_ref_time(31_089_000)
+ // Proof Size summary in bytes:
+ // Measured: `378`
+ // Estimated: `44849`
+ // Minimum execution time: 23_799 nanoseconds.
+ Weight::from_ref_time(24_523_000)
+ .saturating_add(Weight::from_proof_size(44849))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
fn nudge_referendum_timed_out() -> Weight {
- // Minimum execution time: 22_203 nanoseconds.
- Weight::from_ref_time(23_408_000)
+ // Proof Size summary in bytes:
+ // Measured: `237`
+ // Estimated: `3411`
+ // Minimum execution time: 15_557 nanoseconds.
+ Weight::from_ref_time(16_044_000)
+ .saturating_add(Weight::from_proof_size(3411))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:1)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_failing() -> Weight {
- // Minimum execution time: 42_086 nanoseconds.
- Weight::from_ref_time(44_532_000)
+ // Proof Size summary in bytes:
+ // Measured: `378`
+ // Estimated: `47849`
+ // Minimum execution time: 32_573 nanoseconds.
+ Weight::from_ref_time(33_058_000)
+ .saturating_add(Weight::from_proof_size(47849))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Referenda DecidingCount (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda DecidingCount (r:1 w:1)
+ /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_passing() -> Weight {
- // Minimum execution time: 44_254 nanoseconds.
- Weight::from_ref_time(45_996_000)
+ // Proof Size summary in bytes:
+ // Measured: `378`
+ // Estimated: `47849`
+ // Minimum execution time: 34_404 nanoseconds.
+ Weight::from_ref_time(35_014_000)
+ .saturating_add(Weight::from_proof_size(47849))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_begin_confirming() -> Weight {
- // Minimum execution time: 40_864 nanoseconds.
- Weight::from_ref_time(42_518_000)
+ // Proof Size summary in bytes:
+ // Measured: `431`
+ // Estimated: `45360`
+ // Minimum execution time: 29_118 nanoseconds.
+ Weight::from_ref_time(29_476_000)
+ .saturating_add(Weight::from_proof_size(45360))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_end_confirming() -> Weight {
- // Minimum execution time: 41_997 nanoseconds.
- Weight::from_ref_time(43_555_000)
+ // Proof Size summary in bytes:
+ // Measured: `414`
+ // Estimated: `45360`
+ // Minimum execution time: 30_136 nanoseconds.
+ Weight::from_ref_time(31_011_000)
+ .saturating_add(Weight::from_proof_size(45360))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_continue_not_confirming() -> Weight {
- // Minimum execution time: 39_163 nanoseconds.
- Weight::from_ref_time(40_633_000)
+ // Proof Size summary in bytes:
+ // Measured: `431`
+ // Estimated: `45360`
+ // Minimum execution time: 27_221 nanoseconds.
+ Weight::from_ref_time(27_760_000)
+ .saturating_add(Weight::from_proof_size(45360))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_continue_confirming() -> Weight {
- // Minimum execution time: 38_260 nanoseconds.
- Weight::from_ref_time(39_494_000)
+ // Proof Size summary in bytes:
+ // Measured: `435`
+ // Estimated: `45360`
+ // Minimum execution time: 26_277 nanoseconds.
+ Weight::from_ref_time(27_291_000)
+ .saturating_add(Weight::from_proof_size(45360))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Scheduler Lookup (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:2 w:2)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
+ /// Storage: Scheduler Lookup (r:1 w:1)
+ /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn nudge_referendum_approved() -> Weight {
- // Minimum execution time: 51_267 nanoseconds.
- Weight::from_ref_time(54_875_000)
+ // Proof Size summary in bytes:
+ // Measured: `435`
+ // Estimated: `89321`
+ // Minimum execution time: 40_428 nanoseconds.
+ Weight::from_ref_time(41_154_000)
+ .saturating_add(Weight::from_proof_size(89321))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Referenda ReferendumInfoFor (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:0)
- // Storage: Scheduler Agenda (r:1 w:1)
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:1)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Balances InactiveIssuance (r:1 w:0)
+ /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Scheduler Agenda (r:1 w:1)
+ /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
fn nudge_referendum_rejected() -> Weight {
- // Minimum execution time: 41_099 nanoseconds.
- Weight::from_ref_time(43_408_000)
+ // Proof Size summary in bytes:
+ // Measured: `431`
+ // Estimated: `45360`
+ // Minimum execution time: 28_947 nanoseconds.
+ Weight::from_ref_time(29_549_000)
+ .saturating_add(Weight::from_proof_size(45360))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Referenda MetadataOf (r:0 w:1)
+ /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn set_some_metadata() -> Weight {
- Weight::from_parts(20_490_000, 5407)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `381`
+ // Estimated: `5977`
+ // Minimum execution time: 18_672 nanoseconds.
+ Weight::from_ref_time(19_161_000)
+ .saturating_add(Weight::from_proof_size(5977))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: Referenda ReferendumInfoFor (r:1 w:0)
+ /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
+ /// Storage: Referenda MetadataOf (r:1 w:1)
+ /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
- Weight::from_parts(19_917_000, 5368)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Proof Size summary in bytes:
+ // Measured: `314`
+ // Estimated: `5938`
+ // Minimum execution time: 16_980 nanoseconds.
+ Weight::from_ref_time(17_224_000)
+ .saturating_add(Weight::from_proof_size(5938))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs b/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs
index b4902c5dca..cfe3ad40da 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,96 +45,157 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_scheduler`.
pub struct WeightInfo(PhantomData);
impl pallet_scheduler::WeightInfo for WeightInfo {
- // 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_075 nanoseconds.
- Weight::from_ref_time(5_354_000)
+ // Proof Size summary in bytes:
+ // Measured: `69`
+ // Estimated: `499`
+ // Minimum execution time: 3_666 nanoseconds.
+ Weight::from_ref_time(3_818_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: 4_657 nanoseconds.
- Weight::from_ref_time(6_797_821)
- // Standard Error: 3_025
- .saturating_add(Weight::from_ref_time(798_951).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `148 + s * (177 ±0)`
+ // Estimated: `41438`
+ // Minimum execution time: 3_199 nanoseconds.
+ Weight::from_ref_time(5_831_446)
+ .saturating_add(Weight::from_proof_size(41438))
+ // Standard Error: 2_126
+ .saturating_add(Weight::from_ref_time(915_625).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_623 nanoseconds.
- Weight::from_ref_time(11_011_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_223 nanoseconds.
+ Weight::from_ref_time(5_400_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: 23_213 nanoseconds.
- Weight::from_ref_time(23_605_000)
- // Standard Error: 1
- .saturating_add(Weight::from_ref_time(1_558).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `211 + s * (1 ±0)`
+ // Estimated: `5252 + s * (1 ±0)`
+ // Minimum execution time: 17_304 nanoseconds.
+ Weight::from_ref_time(17_595_000)
+ .saturating_add(Weight::from_proof_size(5252))
+ // Standard Error: 12
+ .saturating_add(Weight::from_ref_time(1_464).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_071 nanoseconds.
- Weight::from_ref_time(12_410_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_739 nanoseconds.
+ Weight::from_ref_time(6_946_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
- // Minimum execution time: 10_794 nanoseconds.
- Weight::from_ref_time(11_240_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_265 nanoseconds.
+ Weight::from_ref_time(5_414_000)
+ .saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_signed() -> Weight {
- // Minimum execution time: 3_969 nanoseconds.
- Weight::from_ref_time(4_184_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_290 nanoseconds.
+ Weight::from_ref_time(2_400_000)
+ .saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_unsigned() -> Weight {
- // Minimum execution time: 3_991 nanoseconds.
- Weight::from_ref_time(4_152_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_276 nanoseconds.
+ Weight::from_ref_time(2_363_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: 18_240 nanoseconds.
- Weight::from_ref_time(20_823_381)
- // Standard Error: 3_399
- .saturating_add(Weight::from_ref_time(869_009).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `148 + s * (177 ±0)`
+ // Estimated: `41438`
+ // Minimum execution time: 12_244 nanoseconds.
+ Weight::from_ref_time(15_510_207)
+ .saturating_add(Weight::from_proof_size(41438))
+ // Standard Error: 2_100
+ .saturating_add(Weight::from_ref_time(908_376).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_711 nanoseconds.
- Weight::from_ref_time(21_337_116)
- // Standard Error: 4_073
- .saturating_add(Weight::from_ref_time(1_483_204).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `148 + s * (177 ±0)`
+ // Estimated: `41438`
+ // Minimum execution time: 16_621 nanoseconds.
+ Weight::from_ref_time(15_775_497)
+ .saturating_add(Weight::from_proof_size(41438))
+ // Standard Error: 2_329
+ .saturating_add(Weight::from_ref_time(1_637_303).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_382 nanoseconds.
- Weight::from_ref_time(24_695_885)
- // Standard Error: 4_169
- .saturating_add(Weight::from_ref_time(884_000).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `325 + s * (185 ±0)`
+ // Estimated: `43961`
+ // Minimum execution time: 15_055 nanoseconds.
+ Weight::from_ref_time(19_107_024)
+ .saturating_add(Weight::from_proof_size(43961))
+ // Standard Error: 3_155
+ .saturating_add(Weight::from_ref_time(940_758).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: 23_558 nanoseconds.
- Weight::from_ref_time(23_010_637)
- // Standard Error: 4_345
- .saturating_add(Weight::from_ref_time(1_505_334).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `351 + s * (185 ±0)`
+ // Estimated: `43961`
+ // Minimum execution time: 17_975 nanoseconds.
+ Weight::from_ref_time(17_825_540)
+ .saturating_add(Weight::from_proof_size(43961))
+ // Standard Error: 3_258
+ .saturating_add(Weight::from_ref_time(1_661_561).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_session.rs b/polkadot/runtime/kusama/src/weights/pallet_session.rs
index a92b4f0ed9..202be6ee9e 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_session.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_session.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,21 +45,35 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_session`.
pub struct WeightInfo(PhantomData);
impl pallet_session::WeightInfo for WeightInfo {
- // 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: 64_073 nanoseconds.
- Weight::from_ref_time(65_823_000)
+ // Proof Size summary in bytes:
+ // Measured: `2147`
+ // Estimated: `25185`
+ // Minimum execution time: 47_407 nanoseconds.
+ Weight::from_ref_time(47_929_000)
+ .saturating_add(Weight::from_proof_size(25185))
.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_069 nanoseconds.
- Weight::from_ref_time(50_671_000)
+ // Proof Size summary in bytes:
+ // Measured: `2043`
+ // Estimated: `10127`
+ // Minimum execution time: 34_505 nanoseconds.
+ Weight::from_ref_time(35_193_000)
+ .saturating_add(Weight::from_proof_size(10127))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(7))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_staking.rs b/polkadot/runtime/kusama/src/weights/pallet_staking.rs
index b460aa88e7..334d0137fb 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_staking.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_staking.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_staking`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,423 +45,739 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_staking`.
pub struct WeightInfo(PhantomData);
impl pallet_staking::WeightInfo for WeightInfo {
- // Storage: Staking Bonded (r:1 w:1)
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Staking Payee (r:0 w:1)
+ /// 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)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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: Staking Payee (r:0 w:1)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn bond() -> Weight {
- // Minimum execution time: 46_924 nanoseconds.
- Weight::from_ref_time(48_409_000)
+ // Proof Size summary in bytes:
+ // Measured: `1012`
+ // Estimated: `10386`
+ // Minimum execution time: 40_861 nanoseconds.
+ Weight::from_ref_time(42_235_000)
+ .saturating_add(Weight::from_proof_size(10386))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // 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:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 bond_extra() -> Weight {
- // Minimum execution time: 89_014 nanoseconds.
- Weight::from_ref_time(91_937_000)
+ // Proof Size summary in bytes:
+ // Measured: `2179`
+ // Estimated: `22888`
+ // Minimum execution time: 75_799 nanoseconds.
+ Weight::from_ref_time(76_603_000)
+ .saturating_add(Weight::from_proof_size(22888))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking Nominators (r:1 w:0)
- // Storage: Staking MinNominatorBond (r:1 w:0)
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: VoterList ListNodes (r:3 w:3)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: VoterList ListBags (r:2 w:2)
+ /// Storage: Staking Ledger (r:1 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:1 w:0)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking MinNominatorBond (r:1 w:0)
+ /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, 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: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: VoterList ListNodes (r:3 w:3)
+ /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:1 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: VoterList ListBags (r:2 w:2)
+ /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn unbond() -> Weight {
- // Minimum execution time: 96_462 nanoseconds.
- Weight::from_ref_time(99_992_000)
+ // Proof Size summary in bytes:
+ // Measured: `2390`
+ // Estimated: `29790`
+ // Minimum execution time: 82_769 nanoseconds.
+ Weight::from_ref_time(83_732_000)
+ .saturating_add(Weight::from_proof_size(29790))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(8))
}
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Staking Ledger (r:1 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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: 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 `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
- // Minimum execution time: 40_560 nanoseconds.
- Weight::from_ref_time(41_803_554)
- // Standard Error: 1_120
- .saturating_add(Weight::from_ref_time(55_364).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `1008`
+ // Estimated: `10442`
+ // Minimum execution time: 33_432 nanoseconds.
+ Weight::from_ref_time(34_895_554)
+ .saturating_add(Weight::from_proof_size(10442))
+ // Standard Error: 706
+ .saturating_add(Weight::from_ref_time(10_936).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Staking Bonded (r:1 w:1)
- // Storage: Staking SlashingSpans (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: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: Staking Payee (r:0 w:1)
- // Storage: Staking SpanSlash (r:0 w:2)
+ /// Storage: Staking Ledger (r:1 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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: Staking Bonded (r:1 w:1)
+ /// Proof: Staking Bonded (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 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(814), added: 3289, 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:2 w:2)
+ /// 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: 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)
+ /// Storage: Staking Payee (r:0 w:1)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
+ /// Storage: Staking SpanSlash (r:0 w:100)
+ /// Proof: Staking SpanSlash (max_values: None, max_size: Some(76), added: 2551, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
- // Minimum execution time: 82_720 nanoseconds.
- Weight::from_ref_time(88_559_744)
- // Standard Error: 2_955
- .saturating_add(Weight::from_ref_time(1_143_738).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2409 + s * (4 ±0)`
+ // Estimated: `32482 + s * (4 ±0)`
+ // Minimum execution time: 71_918 nanoseconds.
+ Weight::from_ref_time(76_867_119)
+ .saturating_add(Weight::from_proof_size(32482))
+ // Standard Error: 2_285
+ .saturating_add(Weight::from_ref_time(949_464).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
+ .saturating_add(Weight::from_proof_size(4).saturating_mul(s.into()))
}
- // Storage: Staking Ledger (r:1 w:0)
- // Storage: Staking MinValidatorBond (r:1 w:0)
- // Storage: Staking MinCommission (r:1 w:0)
- // Storage: Staking Validators (r:1 w:1)
- // Storage: Staking MaxValidatorsCount (r:1 w:0)
- // Storage: Staking Nominators (r:1 w:0)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: VoterList ListNodes (r:1 w:1)
- // Storage: VoterList ListBags (r:1 w:1)
- // Storage: VoterList CounterForListNodes (r:1 w:1)
- // Storage: Staking CounterForValidators (r:1 w:1)
+ /// Storage: Staking Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking MinValidatorBond (r:1 w:0)
+ /// Proof: Staking MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Staking MinCommission (r:1 w:0)
+ /// Proof: Staking MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:1 w:1)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
+ /// Storage: Staking MaxValidatorsCount (r:1 w:0)
+ /// Proof: Staking MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:1 w:0)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:1 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, 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 CounterForValidators (r:1 w:1)
+ /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn validate() -> Weight {
- // Minimum execution time: 60_313 nanoseconds.
- Weight::from_ref_time(62_988_000)
+ // Proof Size summary in bytes:
+ // Measured: `1373`
+ // Estimated: `19615`
+ // Minimum execution time: 51_474 nanoseconds.
+ Weight::from_ref_time(52_119_000)
+ .saturating_add(Weight::from_proof_size(19615))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: Staking Ledger (r:1 w:0)
- // Storage: Staking Nominators (r:1 w:1)
+ /// Storage: Staking Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:128 w:128)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
/// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight {
- // Minimum execution time: 43_419 nanoseconds.
- Weight::from_ref_time(46_275_657)
- // Standard Error: 7_010
- .saturating_add(Weight::from_ref_time(7_938_148).saturating_mul(k.into()))
+ // Proof Size summary in bytes:
+ // Measured: `1338 + k * (855 ±0)`
+ // Estimated: `3566 + k * (3289 ±0)`
+ // Minimum execution time: 27_964 nanoseconds.
+ Weight::from_ref_time(24_750_379)
+ .saturating_add(Weight::from_proof_size(3566))
+ // Standard Error: 10_491
+ .saturating_add(Weight::from_ref_time(7_547_261).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
+ .saturating_add(Weight::from_proof_size(3289).saturating_mul(k.into()))
}
- // Storage: Staking Ledger (r:1 w:0)
- // Storage: Staking MinNominatorBond (r:1 w:0)
- // Storage: Staking Nominators (r:1 w:1)
- // Storage: Staking MaxNominatorsCount (r:1 w:0)
- // Storage: Staking Validators (r:2 w:0)
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: VoterList ListNodes (r:2 w:2)
- // Storage: VoterList ListBags (r:1 w:1)
- // Storage: VoterList CounterForListNodes (r:1 w:1)
- // Storage: Staking CounterForNominators (r:1 w:1)
+ /// Storage: Staking Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking MinNominatorBond (r:1 w:0)
+ /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:1 w:1)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking MaxNominatorsCount (r:1 w:0)
+ /// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:25 w:0)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, 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: Staking Bonded (r:1 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: VoterList ListNodes (r:2 w:2)
+ /// 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 CounterForNominators (r:1 w:1)
+ /// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// The range of component `n` is `[1, 24]`.
fn nominate(n: u32, ) -> Weight {
- // Minimum execution time: 66_889 nanoseconds.
- Weight::from_ref_time(67_765_370)
- // Standard Error: 12_059
- .saturating_add(Weight::from_ref_time(3_370_311).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2003 + n * (89 ±0)`
+ // Estimated: `22244 + n * (2520 ±0)`
+ // Minimum execution time: 59_082 nanoseconds.
+ Weight::from_ref_time(60_069_009)
+ .saturating_add(Weight::from_proof_size(22244))
+ // Standard Error: 13_903
+ .saturating_add(Weight::from_ref_time(2_752_577).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(6))
+ .saturating_add(Weight::from_proof_size(2520).saturating_mul(n.into()))
}
- // Storage: Staking Ledger (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 Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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(814), added: 3289, 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:2 w:2)
+ /// 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)
fn chill() -> Weight {
- // Minimum execution time: 61_816 nanoseconds.
- Weight::from_ref_time(63_932_000)
+ // Proof Size summary in bytes:
+ // Measured: `1799`
+ // Estimated: `18188`
+ // Minimum execution time: 53_766 nanoseconds.
+ Weight::from_ref_time(54_916_000)
+ .saturating_add(Weight::from_proof_size(18188))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Staking Ledger (r:1 w:0)
- // Storage: Staking Payee (r:0 w:1)
+ /// Storage: Staking Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking Payee (r:0 w:1)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn set_payee() -> Weight {
- // Minimum execution time: 14_893 nanoseconds.
- Weight::from_ref_time(15_361_000)
+ // Proof Size summary in bytes:
+ // Measured: `767`
+ // Estimated: `3566`
+ // Minimum execution time: 12_897 nanoseconds.
+ Weight::from_ref_time(13_129_000)
+ .saturating_add(Weight::from_proof_size(3566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking Bonded (r:1 w:1)
- // Storage: Staking Ledger (r:2 w:2)
+ /// 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:2 w:2)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
fn set_controller() -> Weight {
- // Minimum execution time: 21_588 nanoseconds.
- Weight::from_ref_time(22_512_000)
+ // Proof Size summary in bytes:
+ // Measured: `866`
+ // Estimated: `9679`
+ // Minimum execution time: 19_611 nanoseconds.
+ Weight::from_ref_time(19_943_000)
+ .saturating_add(Weight::from_proof_size(9679))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Staking ValidatorCount (r:0 w:1)
+ /// Storage: Staking ValidatorCount (r:0 w:1)
+ /// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn set_validator_count() -> Weight {
- // Minimum execution time: 4_182 nanoseconds.
- Weight::from_ref_time(4_300_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_518 nanoseconds.
+ Weight::from_ref_time(2_589_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking ForceEra (r:0 w:1)
+ /// Storage: Staking ForceEra (r:0 w:1)
+ /// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
fn force_no_eras() -> Weight {
- // Minimum execution time: 16_011 nanoseconds.
- Weight::from_ref_time(16_800_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 10_360 nanoseconds.
+ Weight::from_ref_time(10_679_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking ForceEra (r:0 w:1)
+ /// Storage: Staking ForceEra (r:0 w:1)
+ /// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
fn force_new_era() -> Weight {
- // Minimum execution time: 15_832 nanoseconds.
- Weight::from_ref_time(16_328_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 10_276 nanoseconds.
+ Weight::from_ref_time(10_809_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking ForceEra (r:0 w:1)
+ /// Storage: Staking ForceEra (r:0 w:1)
+ /// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
fn force_new_era_always() -> Weight {
- // Minimum execution time: 15_955 nanoseconds.
- Weight::from_ref_time(16_632_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 10_337 nanoseconds.
+ Weight::from_ref_time(10_686_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking Invulnerables (r:0 w:1)
+ /// Storage: Staking Invulnerables (r:0 w:1)
+ /// Proof Skipped: Staking Invulnerables (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1000]`.
fn set_invulnerables(v: u32, ) -> Weight {
- // Minimum execution time: 4_225 nanoseconds.
- Weight::from_ref_time(4_582_261)
- // Standard Error: 27
- .saturating_add(Weight::from_ref_time(9_617).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_623 nanoseconds.
+ Weight::from_ref_time(2_817_247)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 33
+ .saturating_add(Weight::from_ref_time(10_810).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking Bonded (r:1 w:1)
- // Storage: Staking SlashingSpans (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: 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)
- // Storage: Staking SpanSlash (r:0 w:2)
+ /// Storage: Staking Bonded (r:1 w:1)
+ /// Proof: Staking Bonded (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 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(814), added: 3289, 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:2 w:2)
+ /// 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: 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)
+ /// Storage: Staking Ledger (r:0 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking Payee (r:0 w:1)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
+ /// Storage: Staking SpanSlash (r:0 w:100)
+ /// Proof: Staking SpanSlash (max_values: None, max_size: Some(76), added: 2551, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn force_unstake(s: u32, ) -> Weight {
- // Minimum execution time: 76_457 nanoseconds.
- Weight::from_ref_time(82_026_034)
- // Standard Error: 2_398
- .saturating_add(Weight::from_ref_time(1_136_716).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2107 + s * (4 ±0)`
+ // Estimated: `28115 + s * (4 ±0)`
+ // Minimum execution time: 65_729 nanoseconds.
+ Weight::from_ref_time(70_619_818)
+ .saturating_add(Weight::from_proof_size(28115))
+ // Standard Error: 1_979
+ .saturating_add(Weight::from_ref_time(935_053).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
+ .saturating_add(Weight::from_proof_size(4).saturating_mul(s.into()))
}
- // Storage: Staking UnappliedSlashes (r:1 w:1)
+ /// Storage: Staking UnappliedSlashes (r:1 w:1)
+ /// Proof Skipped: Staking UnappliedSlashes (max_values: None, max_size: None, mode: Measured)
/// The range of component `s` is `[1, 1000]`.
fn cancel_deferred_slash(s: u32, ) -> Weight {
- // Minimum execution time: 129_547 nanoseconds.
- Weight::from_ref_time(1_190_000_813)
- // Standard Error: 76_442
- .saturating_add(Weight::from_ref_time(6_453_347).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `66604`
+ // Estimated: `69079`
+ // Minimum execution time: 116_920 nanoseconds.
+ Weight::from_ref_time(931_029_439)
+ .saturating_add(Weight::from_proof_size(69079))
+ // Standard Error: 58_789
+ .saturating_add(Weight::from_ref_time(4_942_186).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Staking ErasValidatorReward (r:1 w:0)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking ErasStakersClipped (r:1 w:0)
- // Storage: Staking ErasRewardPoints (r:1 w:0)
- // Storage: Staking ErasValidatorPrefs (r:1 w:0)
- // Storage: Staking Payee (r:1 w:0)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Staking CurrentEra (r:1 w:0)
+ /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking ErasValidatorReward (r:1 w:0)
+ /// Proof: Staking ErasValidatorReward (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:513 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: Staking Ledger (r:1 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking ErasStakersClipped (r:1 w:0)
+ /// Proof Skipped: Staking ErasStakersClipped (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasRewardPoints (r:1 w:0)
+ /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasValidatorPrefs (r:1 w:0)
+ /// Proof: Staking ErasValidatorPrefs (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: Staking Payee (r:513 w:0)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
+ /// Storage: System Account (r:513 w:513)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
- // Minimum execution time: 113_693 nanoseconds.
- Weight::from_ref_time(267_042_001)
- // Standard Error: 21_144
- .saturating_add(Weight::from_ref_time(25_261_334).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `34303 + n * (149 ±0)`
+ // Estimated: `79842 + n * (8024 ±1)`
+ // Minimum execution time: 78_859 nanoseconds.
+ Weight::from_ref_time(72_736_368)
+ .saturating_add(Weight::from_proof_size(79842))
+ // Standard Error: 11_385
+ .saturating_add(Weight::from_ref_time(25_828_196).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
+ .saturating_add(Weight::from_proof_size(8024).saturating_mul(n.into()))
}
- // Storage: Staking CurrentEra (r:1 w:0)
- // Storage: Staking ErasValidatorReward (r:1 w:0)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking ErasStakersClipped (r:1 w:0)
- // Storage: Staking ErasRewardPoints (r:1 w:0)
- // Storage: Staking ErasValidatorPrefs (r:1 w:0)
- // Storage: Staking Payee (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Staking CurrentEra (r:1 w:0)
+ /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking ErasValidatorReward (r:1 w:0)
+ /// Proof: Staking ErasValidatorReward (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:513 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: Staking Ledger (r:513 w:513)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking ErasStakersClipped (r:1 w:0)
+ /// Proof Skipped: Staking ErasStakersClipped (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasRewardPoints (r:1 w:0)
+ /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasValidatorPrefs (r:1 w:0)
+ /// Proof: Staking ErasValidatorPrefs (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: Staking Payee (r:513 w:0)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
+ /// Storage: System Account (r:513 w:513)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:513 w:513)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
- // Minimum execution time: 135_210 nanoseconds.
- Weight::from_ref_time(343_532_552)
- // Standard Error: 30_714
- .saturating_add(Weight::from_ref_time(34_680_127).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `62042 + n * (474 ±0)`
+ // Estimated: `131052 + n * (16034 ±0)`
+ // Minimum execution time: 98_339 nanoseconds.
+ Weight::from_ref_time(73_158_420)
+ .saturating_add(Weight::from_proof_size(131052))
+ // Standard Error: 14_751
+ .saturating_add(Weight::from_ref_time(36_515_612).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.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((3_u64).saturating_mul(n.into())))
+ .saturating_add(Weight::from_proof_size(16034).saturating_mul(n.into()))
}
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: VoterList ListNodes (r:3 w:3)
- // Storage: Staking Bonded (r:1 w:0)
- // Storage: VoterList ListBags (r:2 w:2)
+ /// Storage: Staking Ledger (r:1 w:1)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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)
+ /// Storage: VoterList ListNodes (r:3 w:3)
+ /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:1 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: VoterList ListBags (r:2 w:2)
+ /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 32]`.
fn rebond(l: u32, ) -> Weight {
- // Minimum execution time: 86_336 nanoseconds.
- Weight::from_ref_time(90_458_432)
- // Standard Error: 5_588
- .saturating_add(Weight::from_ref_time(36_502).saturating_mul(l.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2180 + l * (5 ±0)`
+ // Estimated: `25491`
+ // Minimum execution time: 74_461 nanoseconds.
+ Weight::from_ref_time(76_174_587)
+ .saturating_add(Weight::from_proof_size(25491))
+ // Standard Error: 3_480
+ .saturating_add(Weight::from_ref_time(32_034).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
- // Storage: System Account (r:1 w:1)
- // Storage: Staking Bonded (r:1 w:1)
- // Storage: Staking Ledger (r:1 w:1)
- // Storage: Staking SlashingSpans (r:1 w:1)
- // 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: Balances Locks (r:1 w:1)
- // Storage: Staking Payee (r:0 w:1)
- // Storage: Staking SpanSlash (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: 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)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking SlashingSpans (r:1 w:1)
+ /// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured)
+ /// 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(814), added: 3289, 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:2 w:2)
+ /// 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: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: Staking Payee (r:0 w:1)
+ /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
+ /// Storage: Staking SpanSlash (r:0 w:100)
+ /// Proof: Staking SpanSlash (max_values: None, max_size: Some(76), added: 2551, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 100]`.
fn reap_stash(s: u32, ) -> Weight {
- // Minimum execution time: 88_267 nanoseconds.
- Weight::from_ref_time(90_286_221)
- // Standard Error: 2_825
- .saturating_add(Weight::from_ref_time(1_147_570).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `2409 + s * (4 ±0)`
+ // Estimated: `31989 + s * (4 ±0)`
+ // Minimum execution time: 76_148 nanoseconds.
+ Weight::from_ref_time(78_436_125)
+ .saturating_add(Weight::from_proof_size(31989))
+ // Standard Error: 1_979
+ .saturating_add(Weight::from_ref_time(929_790).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
+ .saturating_add(Weight::from_proof_size(4).saturating_mul(s.into()))
}
- // Storage: VoterList CounterForListNodes (r:1 w:0)
- // Storage: VoterList ListBags (r:166 w:0)
- // Storage: VoterList ListNodes (r:101 w:0)
- // Storage: Staking Nominators (r:101 w:0)
- // Storage: Staking Validators (r:2 w:0)
- // Storage: Staking Bonded (r:101 w:0)
- // Storage: Staking Ledger (r:101 w:0)
- // Storage: System BlockWeight (r:1 w:1)
- // Storage: Staking CounterForValidators (r:1 w:0)
- // Storage: Staking ValidatorCount (r:1 w:0)
- // Storage: Staking MinimumValidatorCount (r:1 w:0)
- // Storage: Staking CurrentEra (r:1 w:1)
- // Storage: Staking ErasStakersClipped (r:0 w:1)
- // Storage: Staking ErasValidatorPrefs (r:0 w:1)
- // Storage: Staking ErasStakers (r:0 w:1)
- // Storage: Staking ErasTotalStake (r:0 w:1)
- // Storage: Staking ErasStartSessionIndex (r:0 w:1)
- // Storage: Staking MinimumActiveStake (r:0 w:1)
+ /// Storage: VoterList CounterForListNodes (r:1 w:0)
+ /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: VoterList ListBags (r:166 w:0)
+ /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
+ /// Storage: VoterList ListNodes (r:110 w:0)
+ /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:110 w:0)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:11 w:0)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:110 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: Staking Ledger (r:110 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: System BlockWeight (r:1 w:1)
+ /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
+ /// Storage: Staking CounterForValidators (r:1 w:0)
+ /// Proof: Staking CounterForValidators (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: Staking MinimumValidatorCount (r:1 w:0)
+ /// Proof: Staking MinimumValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking CurrentEra (r:1 w:1)
+ /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking ErasStakersClipped (r:0 w:10)
+ /// Proof Skipped: Staking ErasStakersClipped (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasValidatorPrefs (r:0 w:10)
+ /// Proof: Staking ErasValidatorPrefs (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: Staking ErasStakers (r:0 w:10)
+ /// Proof Skipped: Staking ErasStakers (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Staking ErasTotalStake (r:0 w:1)
+ /// Proof: Staking ErasTotalStake (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: Staking ErasStartSessionIndex (r:0 w:1)
+ /// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Staking MinimumActiveStake (r:0 w:1)
+ /// Proof: Staking MinimumActiveStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// The range of component `v` is `[1, 10]`.
/// The range of component `n` is `[0, 100]`.
fn new_era(v: u32, n: u32, ) -> Weight {
- // Minimum execution time: 492_817 nanoseconds.
- Weight::from_ref_time(498_220_000)
- // Standard Error: 1_873_939
- .saturating_add(Weight::from_ref_time(61_654_477).saturating_mul(v.into()))
- // Standard Error: 186_727
- .saturating_add(Weight::from_ref_time(15_089_826).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + v * (3656 ±0) + n * (810 ±0)`
+ // Estimated: `441554 + v * (16995 ±0) + n * (13191 ±0)`
+ // Minimum execution time: 438_083 nanoseconds.
+ Weight::from_ref_time(439_971_000)
+ .saturating_add(Weight::from_proof_size(441554))
+ // Standard Error: 1_909_145
+ .saturating_add(Weight::from_ref_time(61_379_233).saturating_mul(v.into()))
+ // Standard Error: 190_235
+ .saturating_add(Weight::from_ref_time(15_309_683).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(173))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
+ .saturating_add(Weight::from_proof_size(16995).saturating_mul(v.into()))
+ .saturating_add(Weight::from_proof_size(13191).saturating_mul(n.into()))
}
- // Storage: VoterList CounterForListNodes (r:1 w:0)
- // Storage: VoterList ListBags (r:166 w:0)
- // Storage: VoterList ListNodes (r:1500 w:0)
- // Storage: Staking Nominators (r:1500 w:0)
- // Storage: Staking Validators (r:500 w:0)
- // Storage: Staking Bonded (r:1500 w:0)
- // Storage: Staking Ledger (r:1500 w:0)
- // Storage: System BlockWeight (r:1 w:1)
- // Storage: Staking MinimumActiveStake (r:0 w:1)
+ /// Storage: VoterList CounterForListNodes (r:1 w:0)
+ /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: VoterList ListBags (r:166 w:0)
+ /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
+ /// Storage: VoterList ListNodes (r:2000 w:0)
+ /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:2000 w:0)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:1000 w:0)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
+ /// Storage: Staking Bonded (r:2000 w:0)
+ /// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
+ /// Storage: Staking Ledger (r:2000 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: System BlockWeight (r:1 w:1)
+ /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
+ /// Storage: Staking MinimumActiveStake (r:0 w:1)
+ /// Proof: Staking MinimumActiveStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
- // Minimum execution time: 27_356_522 nanoseconds.
- Weight::from_ref_time(27_598_838_000)
- // Standard Error: 531_700
- .saturating_add(Weight::from_ref_time(5_800_739).saturating_mul(v.into()))
- // Standard Error: 531_700
- .saturating_add(Weight::from_ref_time(4_003_955).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `3100 + v * (453 ±0) + n * (1257 ±0)`
+ // Estimated: `425504 + v * (14551 ±0) + n * (12031 ±0)`
+ // Minimum execution time: 29_382_830 nanoseconds.
+ Weight::from_ref_time(29_547_530_000)
+ .saturating_add(Weight::from_proof_size(425504))
+ // Standard Error: 328_587
+ .saturating_add(Weight::from_ref_time(4_544_694).saturating_mul(v.into()))
+ // Standard Error: 328_587
+ .saturating_add(Weight::from_ref_time(3_219_757).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(168))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(14551).saturating_mul(v.into()))
+ .saturating_add(Weight::from_proof_size(12031).saturating_mul(n.into()))
}
- // Storage: Staking CounterForValidators (r:1 w:0)
- // Storage: Staking Validators (r:501 w:0)
- // Storage: System BlockWeight (r:1 w:1)
+ /// Storage: Staking CounterForValidators (r:1 w:0)
+ /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:1001 w:0)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
+ /// Storage: System BlockWeight (r:1 w:1)
+ /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
/// The range of component `v` is `[500, 1000]`.
fn get_npos_targets(v: u32, ) -> Weight {
- // Minimum execution time: 4_106_892 nanoseconds.
- Weight::from_ref_time(79_609_539)
- // Standard Error: 54_890
- .saturating_add(Weight::from_ref_time(8_478_259).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `916 + v * (50 ±0)`
+ // Estimated: `3562 + v * (2520 ±0)`
+ // Minimum execution time: 3_605_531 nanoseconds.
+ Weight::from_ref_time(38_422_428)
+ .saturating_add(Weight::from_proof_size(3562))
+ // Standard Error: 21_497
+ .saturating_add(Weight::from_ref_time(7_495_270).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(3))
.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(2520).saturating_mul(v.into()))
}
- // Storage: Staking MinCommission (r:0 w:1)
- // Storage: Staking MinValidatorBond (r:0 w:1)
- // Storage: Staking MaxValidatorsCount (r:0 w:1)
- // Storage: Staking ChillThreshold (r:0 w:1)
- // Storage: Staking MaxNominatorsCount (r:0 w:1)
- // Storage: Staking MinNominatorBond (r:0 w:1)
+ /// Storage: Staking MinCommission (r:0 w:1)
+ /// Proof: Staking MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking MinValidatorBond (r:0 w:1)
+ /// Proof: Staking MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Staking MaxValidatorsCount (r:0 w:1)
+ /// Proof: Staking MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking ChillThreshold (r:0 w:1)
+ /// Proof: Staking ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: Staking MaxNominatorsCount (r:0 w:1)
+ /// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking MinNominatorBond (r:0 w:1)
+ /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_staking_configs_all_set() -> Weight {
- // Minimum execution time: 7_220 nanoseconds.
- Weight::from_ref_time(7_553_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_558 nanoseconds.
+ Weight::from_ref_time(5_934_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Staking MinCommission (r:0 w:1)
- // Storage: Staking MinValidatorBond (r:0 w:1)
- // Storage: Staking MaxValidatorsCount (r:0 w:1)
- // Storage: Staking ChillThreshold (r:0 w:1)
- // Storage: Staking MaxNominatorsCount (r:0 w:1)
- // Storage: Staking MinNominatorBond (r:0 w:1)
+ /// Storage: Staking MinCommission (r:0 w:1)
+ /// Proof: Staking MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking MinValidatorBond (r:0 w:1)
+ /// Proof: Staking MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Staking MaxValidatorsCount (r:0 w:1)
+ /// Proof: Staking MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking ChillThreshold (r:0 w:1)
+ /// Proof: Staking ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: Staking MaxNominatorsCount (r:0 w:1)
+ /// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking MinNominatorBond (r:0 w:1)
+ /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_staking_configs_all_remove() -> Weight {
- // Minimum execution time: 6_762 nanoseconds.
- Weight::from_ref_time(7_082_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_192 nanoseconds.
+ Weight::from_ref_time(5_530_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Staking Ledger (r:1 w:0)
- // Storage: Staking Nominators (r:1 w:1)
- // Storage: Staking ChillThreshold (r:1 w:0)
- // Storage: Staking MaxNominatorsCount (r:1 w:0)
- // Storage: Staking CounterForNominators (r:1 w:1)
- // Storage: Staking MinNominatorBond (r:1 w:0)
- // Storage: Staking Validators (r:1 w:0)
- // Storage: VoterList ListNodes (r:2 w:2)
- // Storage: VoterList ListBags (r:1 w:1)
- // Storage: VoterList CounterForListNodes (r:1 w:1)
+ /// Storage: Staking Ledger (r:1 w:0)
+ /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
+ /// Storage: Staking Nominators (r:1 w:1)
+ /// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
+ /// Storage: Staking ChillThreshold (r:1 w:0)
+ /// Proof: Staking ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: Staking MaxNominatorsCount (r:1 w:0)
+ /// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, 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: Staking MinNominatorBond (r:1 w:0)
+ /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:1 w:0)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
+ /// Storage: VoterList ListNodes (r:2 w:2)
+ /// 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)
fn chill_other() -> Weight {
- // Minimum execution time: 74_820 nanoseconds.
- Weight::from_ref_time(76_117_000)
+ // Proof Size summary in bytes:
+ // Measured: `1954`
+ // Estimated: `19694`
+ // Minimum execution time: 64_230 nanoseconds.
+ Weight::from_ref_time(66_370_000)
+ .saturating_add(Weight::from_proof_size(19694))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Staking MinCommission (r:1 w:0)
- // Storage: Staking Validators (r:1 w:1)
+ /// Storage: Staking MinCommission (r:1 w:0)
+ /// Proof: Staking MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Staking Validators (r:1 w:1)
+ /// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
fn force_apply_min_commission() -> Weight {
- // Minimum execution time: 14_504 nanoseconds.
- Weight::from_ref_time(14_963_000)
+ // Proof Size summary in bytes:
+ // Measured: `627`
+ // Estimated: `3019`
+ // Minimum execution time: 12_442 nanoseconds.
+ Weight::from_ref_time(12_680_000)
+ .saturating_add(Weight::from_proof_size(3019))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Staking MinCommission (r:0 w:1)
+ /// Storage: Staking MinCommission (r:0 w:1)
+ /// Proof: Staking MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn set_min_commission() -> Weight {
- // Minimum execution time: 4_257 nanoseconds.
- Weight::from_ref_time(4_413_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_800 nanoseconds.
+ Weight::from_ref_time(3_035_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs b/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs
index 0a9e868dd0..ff7be674bc 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,16 +45,26 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_timestamp`.
pub struct WeightInfo(PhantomData);
impl pallet_timestamp::WeightInfo for WeightInfo {
- // 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_070 nanoseconds.
- Weight::from_ref_time(10_380_000)
+ // Proof Size summary in bytes:
+ // Measured: `345`
+ // Estimated: `1006`
+ // Minimum execution time: 8_325 nanoseconds.
+ Weight::from_ref_time(8_835_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_354 nanoseconds.
- Weight::from_ref_time(4_510_000)
+ // Proof Size summary in bytes:
+ // Measured: `128`
+ // Estimated: `0`
+ // Minimum execution time: 3_649 nanoseconds.
+ Weight::from_ref_time(3_766_000)
+ .saturating_add(Weight::from_proof_size(0))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_tips.rs b/polkadot/runtime/kusama/src/weights/pallet_tips.rs
index 4c1935a866..569509e222 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_tips.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_tips.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_tips`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,72 +45,114 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_tips`.
pub struct WeightInfo(PhantomData);
impl pallet_tips::WeightInfo for WeightInfo {
- // Storage: Tips Reasons (r:1 w:1)
- // Storage: Tips Tips (r:1 w:1)
+ /// Storage: Tips Reasons (r:1 w:1)
+ /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Tips Tips (r:1 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `r` is `[0, 16384]`.
fn report_awesome(r: u32, ) -> Weight {
- // Minimum execution time: 30_548 nanoseconds.
- Weight::from_ref_time(32_417_643)
- // Standard Error: 11
- .saturating_add(Weight::from_ref_time(2_199).saturating_mul(r.into()))
+ // Proof Size summary in bytes:
+ // Measured: `4`
+ // Estimated: `4958`
+ // Minimum execution time: 21_258 nanoseconds.
+ Weight::from_ref_time(22_677_730)
+ .saturating_add(Weight::from_proof_size(4958))
+ // Standard Error: 4
+ .saturating_add(Weight::from_ref_time(1_781).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Tips Tips (r:1 w:1)
- // Storage: Tips Reasons (r:0 w:1)
+ /// Storage: Tips Tips (r:1 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Tips Reasons (r:0 w:1)
+ /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
fn retract_tip() -> Weight {
- // Minimum execution time: 30_031 nanoseconds.
- Weight::from_ref_time(31_590_000)
+ // Proof Size summary in bytes:
+ // Measured: `253`
+ // Estimated: `2981`
+ // Minimum execution time: 20_540 nanoseconds.
+ Weight::from_ref_time(20_832_000)
+ .saturating_add(Weight::from_proof_size(2981))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: Tips Reasons (r:1 w:1)
- // Storage: Tips Tips (r:0 w:1)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Tips Reasons (r:1 w:1)
+ /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Tips Tips (r:0 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `r` is `[0, 16384]`.
/// The range of component `t` is `[1, 19]`.
fn tip_new(r: u32, t: u32, ) -> Weight {
- // Minimum execution time: 23_284 nanoseconds.
- Weight::from_ref_time(21_905_882)
- // Standard Error: 10
- .saturating_add(Weight::from_ref_time(2_026).saturating_mul(r.into()))
- // Standard Error: 9_050
- .saturating_add(Weight::from_ref_time(189_510).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `140 + t * (64 ±0)`
+ // Estimated: `3390 + t * (192 ±0)`
+ // Minimum execution time: 17_610 nanoseconds.
+ Weight::from_ref_time(15_537_253)
+ .saturating_add(Weight::from_proof_size(3390))
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(1_790).saturating_mul(r.into()))
+ // Standard Error: 5_019
+ .saturating_add(Weight::from_ref_time(157_584).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(Weight::from_proof_size(192).saturating_mul(t.into()))
}
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: Tips Tips (r:1 w:1)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Tips Tips (r:1 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn tip(t: u32, ) -> Weight {
- // Minimum execution time: 15_194 nanoseconds.
- Weight::from_ref_time(15_875_059)
- // Standard Error: 1_541
- .saturating_add(Weight::from_ref_time(111_040).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `393 + t * (112 ±0)`
+ // Estimated: `3756 + t * (224 ±0)`
+ // Minimum execution time: 12_934 nanoseconds.
+ Weight::from_ref_time(13_428_601)
+ .saturating_add(Weight::from_proof_size(3756))
+ // Standard Error: 1_248
+ .saturating_add(Weight::from_ref_time(139_823).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(224).saturating_mul(t.into()))
}
- // Storage: Tips Tips (r:1 w:1)
- // Storage: PhragmenElection Members (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Tips Reasons (r:0 w:1)
+ /// Storage: Tips Tips (r:1 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
+ /// Storage: PhragmenElection Members (r:1 w:0)
+ /// Proof Skipped: PhragmenElection Members (max_values: Some(1), 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)
+ /// Storage: Tips Reasons (r:0 w:1)
+ /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn close_tip(t: u32, ) -> Weight {
- // Minimum execution time: 48_059 nanoseconds.
- Weight::from_ref_time(49_980_313)
- // Standard Error: 5_880
- .saturating_add(Weight::from_ref_time(142_553).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `432 + t * (112 ±0)`
+ // Estimated: `6842 + t * (336 ±0)`
+ // Minimum execution time: 38_247 nanoseconds.
+ Weight::from_ref_time(40_221_287)
+ .saturating_add(Weight::from_proof_size(6842))
+ // Standard Error: 7_095
+ .saturating_add(Weight::from_ref_time(68_811).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(336).saturating_mul(t.into()))
}
- // Storage: Tips Tips (r:1 w:1)
- // Storage: Tips Reasons (r:0 w:1)
+ /// Storage: Tips Tips (r:1 w:1)
+ /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Tips Reasons (r:0 w:1)
+ /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn slash_tip(t: u32, ) -> Weight {
- // Minimum execution time: 19_280 nanoseconds.
- Weight::from_ref_time(20_220_621)
- // Standard Error: 1_858
- .saturating_add(Weight::from_ref_time(6_328).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `301`
+ // Estimated: `3077`
+ // Minimum execution time: 13_015 nanoseconds.
+ Weight::from_ref_time(13_594_975)
+ .saturating_add(Weight::from_proof_size(3077))
+ // Standard Error: 960
+ .saturating_add(Weight::from_ref_time(9_328).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_treasury.rs b/polkadot/runtime/kusama/src/weights/pallet_treasury.rs
index 4157d2126f..3ab0451488 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_treasury.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_treasury.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_treasury`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,64 +45,105 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_treasury`.
pub struct WeightInfo(PhantomData);
impl pallet_treasury::WeightInfo for WeightInfo {
- // Storage: Treasury ProposalCount (r:1 w:1)
- // Storage: Treasury Approvals (r:1 w:1)
- // Storage: Treasury Proposals (r:0 w:1)
+ /// Storage: Treasury ProposalCount (r:1 w:1)
+ /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Treasury Approvals (r:1 w:1)
+ /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
+ /// Storage: Treasury Proposals (r:0 w:1)
+ /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn spend() -> Weight {
- // Minimum execution time: 18_551 nanoseconds.
- Weight::from_ref_time(19_100_000)
+ // Proof Size summary in bytes:
+ // Measured: `6`
+ // Estimated: `1396`
+ // Minimum execution time: 12_816 nanoseconds.
+ Weight::from_ref_time(13_035_000)
+ .saturating_add(Weight::from_proof_size(1396))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Treasury ProposalCount (r:1 w:1)
- // Storage: Treasury Proposals (r:0 w:1)
+ /// Storage: Treasury ProposalCount (r:1 w:1)
+ /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: Treasury Proposals (r:0 w:1)
+ /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
- // Minimum execution time: 27_449 nanoseconds.
- Weight::from_ref_time(28_614_000)
+ // Proof Size summary in bytes:
+ // Measured: `139`
+ // Estimated: `499`
+ // Minimum execution time: 20_742 nanoseconds.
+ Weight::from_ref_time(21_323_000)
+ .saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Treasury Proposals (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Treasury Proposals (r:1 w:1)
+ /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
- // Minimum execution time: 41_099 nanoseconds.
- Weight::from_ref_time(42_271_000)
+ // Proof Size summary in bytes:
+ // Measured: `329`
+ // Estimated: `5186`
+ // Minimum execution time: 31_487 nanoseconds.
+ Weight::from_ref_time(32_288_000)
+ .saturating_add(Weight::from_proof_size(5186))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Treasury Proposals (r:1 w:0)
- // Storage: Treasury Approvals (r:1 w:1)
+ /// Storage: Treasury Proposals (r:1 w:0)
+ /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
+ /// Storage: Treasury Approvals (r:1 w:1)
+ /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 9_660 nanoseconds.
- Weight::from_ref_time(11_986_657)
- // Standard Error: 1_422
- .saturating_add(Weight::from_ref_time(123_552).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `464 + p * (8 ±0)`
+ // Estimated: `3480`
+ // Minimum execution time: 8_374 nanoseconds.
+ Weight::from_ref_time(11_219_379)
+ .saturating_add(Weight::from_proof_size(3480))
+ // Standard Error: 967
+ .saturating_add(Weight::from_ref_time(30_540).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Treasury Approvals (r:1 w:1)
+ /// Storage: Treasury Approvals (r:1 w:1)
+ /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
- // Minimum execution time: 7_880 nanoseconds.
- Weight::from_ref_time(8_281_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `897`
+ // Minimum execution time: 6_199 nanoseconds.
+ Weight::from_ref_time(6_395_000)
+ .saturating_add(Weight::from_proof_size(897))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Treasury Deactivated (r:1 w:1)
- // Storage: Balances InactiveIssuance (r:1 w:1)
- // Storage: Treasury Approvals (r:1 w:1)
- // Storage: Bounties BountyApprovals (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Treasury Proposals (r:2 w:2)
+ /// Storage: Treasury Deactivated (r:1 w:1)
+ /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, 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: Treasury Approvals (r:1 w:1)
+ /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
+ /// Storage: Treasury Proposals (r:100 w:100)
+ /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
+ /// Storage: System Account (r:201 w:201)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
- // Minimum execution time: 62_209 nanoseconds.
- Weight::from_ref_time(70_300_386)
- // Standard Error: 9_890
- .saturating_add(Weight::from_ref_time(29_775_097).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `326 + p * (314 ±0)`
+ // Estimated: `5419 + p * (7789 ±0)`
+ // Minimum execution time: 51_975 nanoseconds.
+ Weight::from_ref_time(59_018_415)
+ .saturating_add(Weight::from_proof_size(5419))
+ // Standard Error: 26_169
+ .saturating_add(Weight::from_ref_time(28_344_854).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
+ .saturating_add(Weight::from_proof_size(7789).saturating_mul(p.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_utility.rs b/polkadot/runtime/kusama/src/weights/pallet_utility.rs
index c5fb89960a..bcab909c4a 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_utility.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_utility.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,31 +47,51 @@ pub struct WeightInfo(PhantomData);
impl pallet_utility::WeightInfo for WeightInfo {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
- // Minimum execution time: 12_901 nanoseconds.
- Weight::from_ref_time(14_701_940)
- // Standard Error: 2_643
- .saturating_add(Weight::from_ref_time(4_351_994).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_495 nanoseconds.
+ Weight::from_ref_time(8_034_510)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 3_194
+ .saturating_add(Weight::from_ref_time(4_293_124).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
- // Minimum execution time: 6_146 nanoseconds.
- Weight::from_ref_time(6_280_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_603 nanoseconds.
+ Weight::from_ref_time(4_879_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: 12_773 nanoseconds.
- Weight::from_ref_time(14_945_224)
- // Standard Error: 2_345
- .saturating_add(Weight::from_ref_time(4_647_764).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_506 nanoseconds.
+ Weight::from_ref_time(14_742_641)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 3_154
+ .saturating_add(Weight::from_ref_time(4_521_901).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
- // Minimum execution time: 15_062 nanoseconds.
- Weight::from_ref_time(15_540_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 8_369 nanoseconds.
+ Weight::from_ref_time(8_698_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: 12_677 nanoseconds.
- Weight::from_ref_time(21_120_017)
- // Standard Error: 2_670
- .saturating_add(Weight::from_ref_time(4_359_587).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_380 nanoseconds.
+ Weight::from_ref_time(8_408_569)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 2_822
+ .saturating_add(Weight::from_ref_time(4_280_704).saturating_mul(c.into()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_vesting.rs b/polkadot/runtime/kusama/src/weights/pallet_vesting.rs
index 76289ddd51..4bcc5af214 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_vesting.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_vesting.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,121 +45,175 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_vesting`.
pub struct WeightInfo(PhantomData);
impl pallet_vesting::WeightInfo for WeightInfo {
- // 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: 38_949 nanoseconds.
- Weight::from_ref_time(38_724_432)
- // Standard Error: 2_059
- .saturating_add(Weight::from_ref_time(43_640).saturating_mul(l.into()))
- // Standard Error: 3_663
- .saturating_add(Weight::from_ref_time(96_813).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `377 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `7306`
+ // Minimum execution time: 27_239 nanoseconds.
+ Weight::from_ref_time(26_207_881)
+ .saturating_add(Weight::from_proof_size(7306))
+ // Standard Error: 759
+ .saturating_add(Weight::from_ref_time(46_779).saturating_mul(l.into()))
+ // Standard Error: 1_351
+ .saturating_add(Weight::from_ref_time(69_555).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: 38_675 nanoseconds.
- Weight::from_ref_time(38_780_547)
- // Standard Error: 1_717
- .saturating_add(Weight::from_ref_time(36_094).saturating_mul(l.into()))
- // Standard Error: 3_055
- .saturating_add(Weight::from_ref_time(76_626).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `377 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `7306`
+ // Minimum execution time: 26_815 nanoseconds.
+ Weight::from_ref_time(26_580_193)
+ .saturating_add(Weight::from_proof_size(7306))
+ // Standard Error: 921
+ .saturating_add(Weight::from_ref_time(31_535).saturating_mul(l.into()))
+ // Standard Error: 1_639
+ .saturating_add(Weight::from_ref_time(40_788).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: 39_018 nanoseconds.
- Weight::from_ref_time(38_307_252)
- // Standard Error: 1_675
- .saturating_add(Weight::from_ref_time(43_588).saturating_mul(l.into()))
- // Standard Error: 2_981
- .saturating_add(Weight::from_ref_time(96_329).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `512 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `9909`
+ // Minimum execution time: 29_322 nanoseconds.
+ Weight::from_ref_time(28_218_301)
+ .saturating_add(Weight::from_proof_size(9909))
+ // Standard Error: 941
+ .saturating_add(Weight::from_ref_time(44_844).saturating_mul(l.into()))
+ // Standard Error: 1_674
+ .saturating_add(Weight::from_ref_time(74_657).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: 38_518 nanoseconds.
- Weight::from_ref_time(38_525_734)
- // Standard Error: 1_946
- .saturating_add(Weight::from_ref_time(32_000).saturating_mul(l.into()))
- // Standard Error: 3_463
- .saturating_add(Weight::from_ref_time(71_440).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `512 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `9909`
+ // Minimum execution time: 28_631 nanoseconds.
+ Weight::from_ref_time(28_364_490)
+ .saturating_add(Weight::from_proof_size(9909))
+ // Standard Error: 924
+ .saturating_add(Weight::from_ref_time(38_331).saturating_mul(l.into()))
+ // Standard Error: 1_645
+ .saturating_add(Weight::from_ref_time(40_831).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: 55_095 nanoseconds.
- Weight::from_ref_time(56_166_285)
- // Standard Error: 2_642
- .saturating_add(Weight::from_ref_time(35_436).saturating_mul(l.into()))
- // Standard Error: 4_701
- .saturating_add(Weight::from_ref_time(59_938).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `583 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `9909`
+ // Minimum execution time: 45_634 nanoseconds.
+ Weight::from_ref_time(46_255_132)
+ .saturating_add(Weight::from_proof_size(9909))
+ // Standard Error: 2_652
+ .saturating_add(Weight::from_ref_time(24_658).saturating_mul(l.into()))
+ // Standard Error: 4_719
+ .saturating_add(Weight::from_ref_time(59_871).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: 54_041 nanoseconds.
- Weight::from_ref_time(55_697_089)
- // Standard Error: 2_979
- .saturating_add(Weight::from_ref_time(36_462).saturating_mul(l.into()))
- // Standard Error: 5_300
- .saturating_add(Weight::from_ref_time(48_068).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `718 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `12512`
+ // Minimum execution time: 47_059 nanoseconds.
+ Weight::from_ref_time(47_084_382)
+ .saturating_add(Weight::from_proof_size(12512))
+ // Standard Error: 1_411
+ .saturating_add(Weight::from_ref_time(36_808).saturating_mul(l.into()))
+ // Standard Error: 2_512
+ .saturating_add(Weight::from_ref_time(55_819).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: 40_106 nanoseconds.
- Weight::from_ref_time(39_641_237)
- // Standard Error: 2_083
- .saturating_add(Weight::from_ref_time(39_714).saturating_mul(l.into()))
- // Standard Error: 3_846
- .saturating_add(Weight::from_ref_time(104_473).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `510 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `9909`
+ // Minimum execution time: 30_076 nanoseconds.
+ Weight::from_ref_time(28_872_544)
+ .saturating_add(Weight::from_proof_size(9909))
+ // Standard Error: 865
+ .saturating_add(Weight::from_ref_time(45_616).saturating_mul(l.into()))
+ // Standard Error: 1_598
+ .saturating_add(Weight::from_ref_time(76_998).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: 39_999 nanoseconds.
- Weight::from_ref_time(39_997_116)
- // Standard Error: 1_885
- .saturating_add(Weight::from_ref_time(47_865).saturating_mul(l.into()))
- // Standard Error: 3_482
- .saturating_add(Weight::from_ref_time(85_200).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `510 + l * (25 ±0) + s * (36 ±0)`
+ // Estimated: `9909`
+ // Minimum execution time: 30_504 nanoseconds.
+ Weight::from_ref_time(29_263_051)
+ .saturating_add(Weight::from_proof_size(9909))
+ // Standard Error: 753
+ .saturating_add(Weight::from_ref_time(42_115).saturating_mul(l.into()))
+ // Standard Error: 1_392
+ .saturating_add(Weight::from_ref_time(71_227).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_whitelist.rs b/polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
index 788f466f1a..135a95170a 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_whitelist`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,42 +45,68 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_whitelist`.
pub struct WeightInfo(PhantomData);
impl pallet_whitelist::WeightInfo for WeightInfo {
- // Storage: Whitelist WhitelistedCall (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ /// Storage: Whitelist WhitelistedCall (r:1 w:1)
+ /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:1)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn whitelist_call() -> Weight {
- // Minimum execution time: 24_174 nanoseconds.
- Weight::from_ref_time(25_019_000)
+ // Proof Size summary in bytes:
+ // Measured: `151`
+ // Estimated: `5081`
+ // Minimum execution time: 17_343 nanoseconds.
+ Weight::from_ref_time(17_825_000)
+ .saturating_add(Weight::from_proof_size(5081))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Whitelist WhitelistedCall (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ /// Storage: Whitelist WhitelistedCall (r:1 w:1)
+ /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Preimage StatusFor (r:1 w:1)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn remove_whitelisted_call() -> Weight {
- // Minimum execution time: 22_530 nanoseconds.
- Weight::from_ref_time(23_064_000)
+ // Proof Size summary in bytes:
+ // Measured: `280`
+ // Estimated: `5081`
+ // Minimum execution time: 16_087 nanoseconds.
+ Weight::from_ref_time(16_462_000)
+ .saturating_add(Weight::from_proof_size(5081))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Whitelist WhitelistedCall (r:1 w:1)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ /// Storage: Whitelist WhitelistedCall (r:1 w:1)
+ /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// 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 `n` is `[1, 4194294]`.
fn dispatch_whitelisted_call(n: u32, ) -> Weight {
- // Minimum execution time: 32_957 nanoseconds.
- Weight::from_ref_time(33_403_000)
+ // Proof Size summary in bytes:
+ // Measured: `388 + n * (1 ±0)`
+ // Estimated: `7941 + n * (1 ±0)`
+ // Minimum execution time: 26_589 nanoseconds.
+ Weight::from_ref_time(26_899_000)
+ .saturating_add(Weight::from_proof_size(7941))
// Standard Error: 4
- .saturating_add(Weight::from_ref_time(1_543).saturating_mul(n.into()))
+ .saturating_add(Weight::from_ref_time(1_281).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(1).saturating_mul(n.into()))
}
- // Storage: Whitelist WhitelistedCall (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ /// Storage: Whitelist WhitelistedCall (r:1 w:1)
+ /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// 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 `n` is `[1, 10000]`.
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
- // Minimum execution time: 26_062 nanoseconds.
- Weight::from_ref_time(26_997_169)
- // Standard Error: 6
- .saturating_add(Weight::from_ref_time(1_906).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `280`
+ // Estimated: `5081`
+ // Minimum execution time: 19_332 nanoseconds.
+ Weight::from_ref_time(20_407_261)
+ .saturating_add(Weight::from_proof_size(5081))
+ // Standard Error: 3
+ .saturating_add(Weight::from_ref_time(1_665).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/polkadot/runtime/kusama/src/weights/pallet_xcm.rs b/polkadot/runtime/kusama/src/weights/pallet_xcm.rs
index 6c17a4ca09..63c110be58 100644
--- a/polkadot/runtime/kusama/src/weights/pallet_xcm.rs
+++ b/polkadot/runtime/kusama/src/weights/pallet_xcm.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,122 +45,221 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_xcm`.
pub struct WeightInfo(PhantomData);
impl pallet_xcm::WeightInfo for WeightInfo {
- // 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_739 nanoseconds.
- Weight::from_ref_time(40_196_000)
+ // Proof Size summary in bytes:
+ // Measured: `211`
+ // Estimated: `9470`
+ // Minimum execution time: 30_440 nanoseconds.
+ Weight::from_ref_time(31_156_000)
+ .saturating_add(Weight::from_proof_size(9470))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
fn teleport_assets() -> Weight {
- // Minimum execution time: 28_185 nanoseconds.
- Weight::from_ref_time(28_750_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 21_996 nanoseconds.
+ Weight::from_ref_time(22_294_000)
+ .saturating_add(Weight::from_proof_size(0))
}
fn reserve_transfer_assets() -> Weight {
- // Minimum execution time: 27_437 nanoseconds.
- Weight::from_ref_time(28_180_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 20_680 nanoseconds.
+ Weight::from_ref_time(21_080_000)
+ .saturating_add(Weight::from_proof_size(0))
}
fn execute() -> Weight {
- // Minimum execution time: 15_160 nanoseconds.
- Weight::from_ref_time(15_757_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 9_415 nanoseconds.
+ Weight::from_ref_time(9_520_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_190 nanoseconds.
- Weight::from_ref_time(15_876_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 9_244 nanoseconds.
+ Weight::from_ref_time(9_420_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_114 nanoseconds.
- Weight::from_ref_time(4_300_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_443 nanoseconds.
+ Weight::from_ref_time(2_617_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: 41_994 nanoseconds.
- Weight::from_ref_time(43_049_000)
+ // Proof Size summary in bytes:
+ // Measured: `211`
+ // Estimated: `13073`
+ // Minimum execution time: 34_146 nanoseconds.
+ Weight::from_ref_time(34_817_000)
+ .saturating_add(Weight::from_proof_size(13073))
.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: 45_517 nanoseconds.
- Weight::from_ref_time(46_784_000)
+ // Proof Size summary in bytes:
+ // Measured: `483`
+ // Estimated: `14271`
+ // Minimum execution time: 36_520 nanoseconds.
+ Weight::from_ref_time(37_185_000)
+ .saturating_add(Weight::from_proof_size(14271))
.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_521 nanoseconds.
- Weight::from_ref_time(16_022_000)
+ // Proof Size summary in bytes:
+ // Measured: `229`
+ // Estimated: `10129`
+ // Minimum execution time: 15_117 nanoseconds.
+ Weight::from_ref_time(15_550_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_477 nanoseconds.
- Weight::from_ref_time(16_016_000)
+ // Proof Size summary in bytes:
+ // Measured: `233`
+ // Estimated: `10133`
+ // Minimum execution time: 14_975 nanoseconds.
+ Weight::from_ref_time(15_464_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_401 nanoseconds.
- Weight::from_ref_time(18_980_000)
+ // Proof Size summary in bytes:
+ // Measured: `243`
+ // Estimated: `12618`
+ // Minimum execution time: 17_893 nanoseconds.
+ Weight::from_ref_time(18_352_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_154 nanoseconds.
- Weight::from_ref_time(38_840_000)
+ // Proof Size summary in bytes:
+ // Measured: `281`
+ // Estimated: `15051`
+ // Minimum execution time: 31_677 nanoseconds.
+ Weight::from_ref_time(32_094_000)
+ .saturating_add(Weight::from_proof_size(15051))
.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_039 nanoseconds.
- Weight::from_ref_time(8_398_000)
+ // Proof Size summary in bytes:
+ // Measured: `272`
+ // Estimated: `7697`
+ // Minimum execution time: 8_011 nanoseconds.
+ Weight::from_ref_time(8_333_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_070 nanoseconds.
- Weight::from_ref_time(16_546_000)
+ // Proof Size summary in bytes:
+ // Measured: `240`
+ // Estimated: `10140`
+ // Minimum execution time: 15_939 nanoseconds.
+ Weight::from_ref_time(16_272_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: 44_720 nanoseconds.
- Weight::from_ref_time(46_407_000)
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `20025`
+ // Minimum execution time: 38_275 nanoseconds.
+ Weight::from_ref_time(38_968_000)
+ .saturating_add(Weight::from_proof_size(20025))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_common_auctions.rs b/polkadot/runtime/kusama/src/weights/runtime_common_auctions.rs
index f8f929cf92..71381c463d 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_common_auctions.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_common_auctions.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,53 +45,94 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::auctions`.
pub struct WeightInfo(PhantomData);
impl runtime_common::auctions::WeightInfo for WeightInfo {
- // 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_270 nanoseconds.
- Weight::from_ref_time(19_220_000)
+ // Proof Size summary in bytes:
+ // Measured: `4`
+ // Estimated: `1002`
+ // Minimum execution time: 11_101 nanoseconds.
+ Weight::from_ref_time(11_448_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: 84_299 nanoseconds.
- Weight::from_ref_time(87_771_000)
+ // Proof Size summary in bytes:
+ // Measured: `725`
+ // Estimated: `19470`
+ // Minimum execution time: 64_698 nanoseconds.
+ Weight::from_ref_time(68_363_000)
+ .saturating_add(Weight::from_proof_size(19470))
.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_495_295 nanoseconds.
- Weight::from_ref_time(18_895_328_000)
+ // Proof Size summary in bytes:
+ // Measured: `7060445`
+ // Estimated: `51339005`
+ // Minimum execution time: 15_573_468 nanoseconds.
+ Weight::from_ref_time(16_010_534_000)
+ .saturating_add(Weight::from_proof_size(51339005))
.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_498_604 nanoseconds.
- Weight::from_ref_time(5_618_259_000)
- .saturating_add(T::DbWeight::get().reads(73))
+ // Proof Size summary in bytes:
+ // Measured: `178884`
+ // Estimated: `16009503`
+ // Minimum execution time: 4_760_615 nanoseconds.
+ Weight::from_ref_time(4_889_892_000)
+ .saturating_add(Weight::from_proof_size(16009503))
+ .saturating_add(T::DbWeight::get().reads(3673))
.saturating_add(T::DbWeight::get().writes(3673))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_common_claims.rs b/polkadot/runtime/kusama/src/weights/runtime_common_claims.rs
index 0a48c4a5be..67611466ca 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_common_claims.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_common_claims.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::claims`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,63 +45,113 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::claims`.
pub struct WeightInfo(PhantomData);
impl runtime_common::claims::WeightInfo for WeightInfo {
- // Storage: Claims Claims (r:1 w:1)
- // Storage: Claims Signing (r:1 w:1)
- // Storage: Claims Total (r:1 w:1)
- // Storage: Claims Vesting (r:1 w:1)
- // Storage: Vesting Vesting (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Claims Claims (r:1 w:1)
+ /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Signing (r:1 w:1)
+ /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Total (r:1 w:1)
+ /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Claims Vesting (r:1 w:1)
+ /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
+ /// 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:0)
+ /// 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)
fn claim() -> Weight {
- // Minimum execution time: 195_244 nanoseconds.
- Weight::from_ref_time(216_165_000)
+ // Proof Size summary in bytes:
+ // Measured: `652`
+ // Estimated: `20437`
+ // Minimum execution time: 139_066 nanoseconds.
+ Weight::from_ref_time(143_633_000)
+ .saturating_add(Weight::from_proof_size(20437))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Claims Total (r:1 w:1)
- // Storage: Claims Vesting (r:0 w:1)
- // Storage: Claims Claims (r:0 w:1)
- // Storage: Claims Signing (r:0 w:1)
+ /// Storage: Claims Total (r:1 w:1)
+ /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Claims Vesting (r:0 w:1)
+ /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Claims (r:0 w:1)
+ /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Signing (r:0 w:1)
+ /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
fn mint_claim() -> Weight {
- // Minimum execution time: 13_255 nanoseconds.
- Weight::from_ref_time(16_332_000)
+ // Proof Size summary in bytes:
+ // Measured: `216`
+ // Estimated: `1359`
+ // Minimum execution time: 9_252 nanoseconds.
+ Weight::from_ref_time(9_659_000)
+ .saturating_add(Weight::from_proof_size(1359))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Claims Claims (r:1 w:1)
- // Storage: Claims Signing (r:1 w:1)
- // Storage: Claims Total (r:1 w:1)
- // Storage: Claims Vesting (r:1 w:1)
- // Storage: Vesting Vesting (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Claims Claims (r:1 w:1)
+ /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Signing (r:1 w:1)
+ /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Total (r:1 w:1)
+ /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Claims Vesting (r:1 w:1)
+ /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
+ /// 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:0)
+ /// 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)
fn claim_attest() -> Weight {
- // Minimum execution time: 203_931 nanoseconds.
- Weight::from_ref_time(222_105_000)
+ // Proof Size summary in bytes:
+ // Measured: `652`
+ // Estimated: `20437`
+ // Minimum execution time: 142_016 nanoseconds.
+ Weight::from_ref_time(148_875_000)
+ .saturating_add(Weight::from_proof_size(20437))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Claims Preclaims (r:1 w:1)
- // Storage: Claims Signing (r:1 w:1)
- // Storage: Claims Claims (r:1 w:1)
- // Storage: Claims Total (r:1 w:1)
- // Storage: Claims Vesting (r:1 w:1)
- // Storage: Vesting Vesting (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
+ /// Storage: Claims Preclaims (r:1 w:1)
+ /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Signing (r:1 w:1)
+ /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Claims (r:1 w:1)
+ /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Total (r:1 w:1)
+ /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Claims Vesting (r:1 w:1)
+ /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
+ /// 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:0)
+ /// 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)
fn attest() -> Weight {
- // Minimum execution time: 97_520 nanoseconds.
- Weight::from_ref_time(116_830_000)
+ // Proof Size summary in bytes:
+ // Measured: `726`
+ // Estimated: `23934`
+ // Minimum execution time: 62_567 nanoseconds.
+ Weight::from_ref_time(67_330_000)
+ .saturating_add(Weight::from_proof_size(23934))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
- // Storage: Claims Claims (r:1 w:2)
- // Storage: Claims Vesting (r:1 w:2)
- // Storage: Claims Signing (r:1 w:2)
- // Storage: Claims Preclaims (r:1 w:1)
+ /// Storage: Claims Claims (r:1 w:2)
+ /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Vesting (r:1 w:2)
+ /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Signing (r:1 w:2)
+ /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Claims Preclaims (r:1 w:1)
+ /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
fn move_claim() -> Weight {
- // Minimum execution time: 26_214 nanoseconds.
- Weight::from_ref_time(30_142_000)
+ // Proof Size summary in bytes:
+ // Measured: `472`
+ // Estimated: `11788`
+ // Minimum execution time: 19_308 nanoseconds.
+ Weight::from_ref_time(19_636_000)
+ .saturating_add(Weight::from_proof_size(11788))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(7))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/polkadot/runtime/kusama/src/weights/runtime_common_crowdloan.rs
index 853688c1d2..cb8117947f 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_common_crowdloan.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_common_crowdloan.rs
@@ -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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,102 +45,174 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::crowdloan`.
pub struct WeightInfo(PhantomData);
impl runtime_common::crowdloan::WeightInfo for WeightInfo {
- // 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: 54_286 nanoseconds.
- Weight::from_ref_time(56_236_000)
+ // Proof Size summary in bytes:
+ // Measured: `395`
+ // Estimated: `9500`
+ // Minimum execution time: 35_921 nanoseconds.
+ Weight::from_ref_time(37_271_000)
+ .saturating_add(Weight::from_proof_size(9500))
.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: 140_373 nanoseconds.
- Weight::from_ref_time(143_644_000)
+ // Proof Size summary in bytes:
+ // Measured: `407`
+ // Estimated: `14067`
+ // Minimum execution time: 110_509 nanoseconds.
+ Weight::from_ref_time(111_274_000)
+ .saturating_add(Weight::from_proof_size(14067))
.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: 70_608 nanoseconds.
- Weight::from_ref_time(73_373_000)
+ // Proof Size summary in bytes:
+ // Measured: `786`
+ // Estimated: `12239`
+ // Minimum execution time: 51_867 nanoseconds.
+ Weight::from_ref_time(52_732_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, 1000]`.
fn refund(k: u32, ) -> Weight {
- // Minimum execution time: 57_032 nanoseconds.
- Weight::from_ref_time(58_617_000)
- // Standard Error: 12_611
- .saturating_add(Weight::from_ref_time(22_033_988).saturating_mul(k.into()))
+ // Proof Size summary in bytes:
+ // Measured: `191 + k * (221 ±0)`
+ // Estimated: `196 + k * (221 ±0)`
+ // Minimum execution time: 37_549 nanoseconds.
+ Weight::from_ref_time(51_844_000)
+ .saturating_add(Weight::from_proof_size(196))
+ // Standard Error: 14_250
+ .saturating_add(Weight::from_ref_time(20_982_895).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: 42_758 nanoseconds.
- Weight::from_ref_time(44_228_000)
+ // Proof Size summary in bytes:
+ // Measured: `439`
+ // Estimated: `5517`
+ // Minimum execution time: 28_045 nanoseconds.
+ Weight::from_ref_time(28_512_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: 29_859 nanoseconds.
- Weight::from_ref_time(30_613_000)
+ // Proof Size summary in bytes:
+ // Measured: `267`
+ // Estimated: `2742`
+ // Minimum execution time: 16_551 nanoseconds.
+ Weight::from_ref_time(17_236_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: 39_866 nanoseconds.
- Weight::from_ref_time(41_166_000)
+ // Proof Size summary in bytes:
+ // Measured: `444`
+ // Estimated: `5838`
+ // Minimum execution time: 23_640 nanoseconds.
+ Weight::from_ref_time(24_167_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: 30_953 nanoseconds.
- Weight::from_ref_time(31_855_000)
+ // Proof Size summary in bytes:
+ // Measured: `271`
+ // Estimated: `3512`
+ // Minimum execution time: 16_066 nanoseconds.
+ Weight::from_ref_time(16_485_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: 121_273 nanoseconds.
- Weight::from_ref_time(21_565_688)
- // Standard Error: 28_400
- .saturating_add(Weight::from_ref_time(47_751_285).saturating_mul(n.into()))
+ // Proof Size summary in bytes:
+ // Measured: `157 + n * (420 ±0)`
+ // Estimated: `7142 + n * (14663 ±0)`
+ // Minimum execution time: 101_731 nanoseconds.
+ Weight::from_ref_time(102_235_000)
+ .saturating_add(Weight::from_proof_size(7142))
+ // Standard Error: 48_373
+ .saturating_add(Weight::from_ref_time(44_236_114).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()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/polkadot/runtime/kusama/src/weights/runtime_common_paras_registrar.rs
index 6fda2aa7dd..a88eba06e6 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_common_paras_registrar.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_common_paras_registrar.rs
@@ -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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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(PhantomData);
impl runtime_common::paras_registrar::WeightInfo for WeightInfo {
- // 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: 33_167 nanoseconds.
- Weight::from_ref_time(34_454_000)
+ // Proof Size summary in bytes:
+ // Measured: `70`
+ // Estimated: `5655`
+ // Minimum execution time: 23_044 nanoseconds.
+ Weight::from_ref_time(23_564_000)
+ .saturating_add(Weight::from_proof_size(5655))
.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: 7_419_378 nanoseconds.
- Weight::from_ref_time(7_455_813_000)
+ // Proof Size summary in bytes:
+ // Measured: `302`
+ // Estimated: `18063`
+ // Minimum execution time: 7_575_920 nanoseconds.
+ Weight::from_ref_time(7_702_605_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_392_499 nanoseconds.
- Weight::from_ref_time(7_409_280_000)
+ // Proof Size summary in bytes:
+ // Measured: `160`
+ // Estimated: `16785`
+ // Minimum execution time: 7_593_602 nanoseconds.
+ Weight::from_ref_time(7_729_768_000)
+ .saturating_add(Weight::from_proof_size(16785))
.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: 55_644 nanoseconds.
- Weight::from_ref_time(59_704_000)
+ // Proof Size summary in bytes:
+ // Measured: `467`
+ // Estimated: `13197`
+ // Minimum execution time: 37_217 nanoseconds.
+ Weight::from_ref_time(38_162_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: 50_279 nanoseconds.
- Weight::from_ref_time(52_213_000)
+ // Proof Size summary in bytes:
+ // Measured: `707`
+ // Estimated: `27719`
+ // Minimum execution time: 43_960 nanoseconds.
+ Weight::from_ref_time(47_759_000)
+ .saturating_add(Weight::from_proof_size(27719))
.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: 44_936 nanoseconds.
- Weight::from_ref_time(53_803_079)
- // Standard Error: 4
- .saturating_add(Weight::from_ref_time(2_674).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `28`
+ // Estimated: `16615`
+ // Minimum execution time: 34_177 nanoseconds.
+ Weight::from_ref_time(34_383_000)
+ .saturating_add(Weight::from_proof_size(16615))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_391).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_230 nanoseconds.
- Weight::from_ref_time(11_617_333)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 8_030 nanoseconds.
+ Weight::from_ref_time(8_147_000)
+ .saturating_add(Weight::from_proof_size(0))
// Standard Error: 2
- .saturating_add(Weight::from_ref_time(1_109).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(970).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_common_slots.rs b/polkadot/runtime/kusama/src/weights/runtime_common_slots.rs
index 192e1f3b40..24dc935815 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_common_slots.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_common_slots.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,52 +45,85 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::slots`.
pub struct WeightInfo(PhantomData);
impl runtime_common::slots::WeightInfo for WeightInfo {
- // 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_489 nanoseconds.
- Weight::from_ref_time(34_575_000)
+ // Proof Size summary in bytes:
+ // Measured: `252`
+ // Estimated: `5330`
+ // Minimum execution time: 24_091 nanoseconds.
+ Weight::from_ref_time(24_480_000)
+ .saturating_add(Weight::from_proof_size(5330))
.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: 633_723 nanoseconds.
- Weight::from_ref_time(651_294_000)
- // Standard Error: 88_803
- .saturating_add(Weight::from_ref_time(2_814_340).saturating_mul(c.into()))
- // Standard Error: 88_803
- .saturating_add(Weight::from_ref_time(15_441_192).saturating_mul(t.into()))
+ // Proof Size summary in bytes:
+ // Measured: `41 + c * (47 ±0) + t * (370 ±0)`
+ // Estimated: `269050 + t * (7960 ±1) + c * (1073 ±0)`
+ // Minimum execution time: 554_132 nanoseconds.
+ Weight::from_ref_time(559_251_000)
+ .saturating_add(Weight::from_proof_size(269050))
+ // Standard Error: 74_532
+ .saturating_add(Weight::from_ref_time(2_426_152).saturating_mul(c.into()))
+ // Standard Error: 74_532
+ .saturating_add(Weight::from_ref_time(13_006_248).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(7960).saturating_mul(t.into()))
+ .saturating_add(Weight::from_proof_size(1073).saturating_mul(c.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: 115_727 nanoseconds.
- Weight::from_ref_time(118_892_000)
+ // Proof Size summary in bytes:
+ // Measured: `2980`
+ // Estimated: `26279`
+ // Minimum execution time: 89_195 nanoseconds.
+ Weight::from_ref_time(90_117_000)
+ .saturating_add(Weight::from_proof_size(26279))
.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: 33_959 nanoseconds.
- Weight::from_ref_time(34_834_000)
+ // Proof Size summary in bytes:
+ // Measured: `644`
+ // Estimated: `13615`
+ // Minimum execution time: 28_188 nanoseconds.
+ Weight::from_ref_time(29_309_000)
+ .saturating_add(Weight::from_proof_size(13615))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_configuration.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_configuration.rs
index 5acd8e2ea4..2fb64d7abb 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_configuration.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_configuration.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,53 +45,93 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::configuration`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::configuration::WeightInfo for WeightInfo {
- // 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: 12_659 nanoseconds.
- Weight::from_ref_time(13_272_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `1755`
+ // Minimum execution time: 8_375 nanoseconds.
+ Weight::from_ref_time(8_718_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: 12_626 nanoseconds.
- Weight::from_ref_time(13_182_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `1755`
+ // Minimum execution time: 8_306 nanoseconds.
+ Weight::from_ref_time(8_611_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: 12_317 nanoseconds.
- Weight::from_ref_time(13_130_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `1755`
+ // Minimum execution time: 8_147 nanoseconds.
+ Weight::from_ref_time(8_458_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: 12_759 nanoseconds.
- Weight::from_ref_time(13_084_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `1755`
+ // Minimum execution time: 8_357 nanoseconds.
+ Weight::from_ref_time(8_545_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: 12_664 nanoseconds.
- Weight::from_ref_time(13_307_000)
+ // Proof Size summary in bytes:
+ // Measured: `90`
+ // Estimated: `1755`
+ // Minimum execution time: 8_180 nanoseconds.
+ Weight::from_ref_time(8_450_000)
+ .saturating_add(Weight::from_proof_size(1755))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_disputes.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_disputes.rs
index 2e25997673..9401924eb1 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_disputes.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_disputes.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,15 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::disputes`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::disputes::WeightInfo for WeightInfo {
- // 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: 3_977 nanoseconds.
- Weight::from_ref_time(4_134_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_324 nanoseconds.
+ Weight::from_ref_time(2_458_000)
+ .saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_hrmp.rs
index 4489358e17..c3b3f2c133 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_hrmp.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_hrmp.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,139 +45,235 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::hrmp`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::hrmp::WeightInfo for WeightInfo {
- // 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_648 nanoseconds.
- Weight::from_ref_time(46_135_000)
+ // Proof Size summary in bytes:
+ // Measured: `350`
+ // Estimated: `23095`
+ // Minimum execution time: 33_287 nanoseconds.
+ Weight::from_ref_time(33_526_000)
+ .saturating_add(Weight::from_proof_size(23095))
.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: 43_801 nanoseconds.
- Weight::from_ref_time(44_817_000)
+ // Proof Size summary in bytes:
+ // Measured: `614`
+ // Estimated: `18534`
+ // Minimum execution time: 36_813 nanoseconds.
+ Weight::from_ref_time(37_132_000)
+ .saturating_add(Weight::from_proof_size(18534))
.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: 40_524 nanoseconds.
- Weight::from_ref_time(41_687_000)
+ // Proof Size summary in bytes:
+ // Measured: `485`
+ // Estimated: `12820`
+ // Minimum execution time: 29_604 nanoseconds.
+ Weight::from_ref_time(29_972_000)
+ .saturating_add(Weight::from_proof_size(12820))
.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_062_813 nanoseconds.
- Weight::from_ref_time(1_071_047_000)
- // Standard Error: 94_970
- .saturating_add(Weight::from_ref_time(3_183_704).saturating_mul(i.into()))
- // Standard Error: 94_970
- .saturating_add(Weight::from_ref_time(3_195_135).saturating_mul(e.into()))
+ // Proof Size summary in bytes:
+ // Measured: `254 + i * (131 ±0) + e * (131 ±0)`
+ // Estimated: `6354 + i * (5742 ±0) + e * (5736 ±0)`
+ // Minimum execution time: 1_004_274 nanoseconds.
+ Weight::from_ref_time(1_007_891_000)
+ .saturating_add(Weight::from_proof_size(6354))
+ // Standard Error: 90_961
+ .saturating_add(Weight::from_ref_time(2_973_407).saturating_mul(i.into()))
+ // Standard Error: 90_961
+ .saturating_add(Weight::from_ref_time(2_992_477).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: 10_556 nanoseconds.
- Weight::from_ref_time(5_257_898)
- // Standard Error: 13_645
- .saturating_add(Weight::from_ref_time(19_000_331).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `466 + c * (166 ±0)`
+ // Estimated: `4116 + c * (18661 ±0)`
+ // Minimum execution time: 6_359 nanoseconds.
+ Weight::from_ref_time(265_964)
+ .saturating_add(Weight::from_proof_size(4116))
+ // Standard Error: 20_756
+ .saturating_add(Weight::from_ref_time(17_236_963).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: 6_706 nanoseconds.
- Weight::from_ref_time(5_175_624)
- // Standard Error: 8_346
- .saturating_add(Weight::from_ref_time(11_645_579).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `307 + c * (155 ±0)`
+ // Estimated: `2232 + c * (8361 ±0)`
+ // Minimum execution time: 4_812 nanoseconds.
+ Weight::from_ref_time(2_084_340)
+ .saturating_add(Weight::from_proof_size(2232))
+ // Standard Error: 12_805
+ .saturating_add(Weight::from_ref_time(10_574_663).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_675 nanoseconds.
- Weight::from_ref_time(37_542_768)
- // Standard Error: 3_018
- .saturating_add(Weight::from_ref_time(170_426).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `1022 + c * (13 ±0)`
+ // Estimated: `7911 + c * (45 ±0)`
+ // Minimum execution time: 19_258 nanoseconds.
+ Weight::from_ref_time(23_538_330)
+ .saturating_add(Weight::from_proof_size(7911))
+ // Standard Error: 1_477
+ .saturating_add(Weight::from_ref_time(80_226).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_144 nanoseconds.
- Weight::from_ref_time(1_711_686)
- // Standard Error: 4_348
- .saturating_add(Weight::from_ref_time(3_237_177).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `217 + c * (94 ±0)`
+ // Estimated: `912 + c * (2664 ±0)`
+ // Minimum execution time: 4_101 nanoseconds.
+ Weight::from_ref_time(2_386_514)
+ .saturating_add(Weight::from_proof_size(912))
+ // Standard Error: 4_307
+ .saturating_add(Weight::from_ref_time(2_885_334).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_590 nanoseconds.
- Weight::from_ref_time(59_930_000)
+ // Proof Size summary in bytes:
+ // Measured: `350`
+ // Estimated: `33695`
+ // Minimum execution time: 44_689 nanoseconds.
+ Weight::from_ref_time(45_069_000)
+ .saturating_add(Weight::from_proof_size(33695))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(8))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_initializer.rs
index 35e781a50e..e489e76b37 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_initializer.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_initializer.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,14 +45,20 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::initializer`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::initializer::WeightInfo for WeightInfo {
- // 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_246 nanoseconds.
- Weight::from_ref_time(8_587_000)
- // Standard Error: 16
- .saturating_add(Weight::from_ref_time(2_247).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `28 + d * (11 ±0)`
+ // Estimated: `519 + d * (11 ±0)`
+ // Minimum execution time: 3_384 nanoseconds.
+ Weight::from_ref_time(5_455_420)
+ .saturating_add(Weight::from_proof_size(519))
+ // Standard Error: 4
+ .saturating_add(Weight::from_ref_time(1_312).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()))
}
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_paras.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_paras.rs
index 3d122355c2..8643b6d930 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_paras.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_paras.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,136 +45,231 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::paras`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::paras::WeightInfo for WeightInfo {
- // 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: 37_698 nanoseconds.
- Weight::from_ref_time(92_541_581)
- // Standard Error: 5
- .saturating_add(Weight::from_ref_time(2_563).saturating_mul(c.into()))
+ // Proof Size summary in bytes:
+ // Measured: `8341`
+ // Estimated: `57966`
+ // Minimum execution time: 30_828 nanoseconds.
+ Weight::from_ref_time(31_137_000)
+ .saturating_add(Weight::from_proof_size(57966))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_371).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: 13_643 nanoseconds.
- Weight::from_ref_time(4_740_176)
- // Standard Error: 3
- .saturating_add(Weight::from_ref_time(1_132).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 7_421 nanoseconds.
+ Weight::from_ref_time(7_577_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 2
+ .saturating_add(Weight::from_ref_time(969).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_369 nanoseconds.
- Weight::from_ref_time(95_993_323)
+ // Proof Size summary in bytes:
+ // Measured: `16526`
+ // Estimated: `179120`
+ // Minimum execution time: 55_598 nanoseconds.
+ Weight::from_ref_time(55_905_000)
+ .saturating_add(Weight::from_proof_size(179120))
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_612).saturating_mul(c.into()))
+ .saturating_add(Weight::from_ref_time(2_391).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: 19_642 nanoseconds.
- Weight::from_ref_time(17_834_450)
- // Standard Error: 2
- .saturating_add(Weight::from_ref_time(1_102).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `95`
+ // Estimated: `2760`
+ // Minimum execution time: 12_448 nanoseconds.
+ Weight::from_ref_time(12_697_000)
+ .saturating_add(Weight::from_proof_size(2760))
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(974).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: 24_947 nanoseconds.
- Weight::from_ref_time(25_902_000)
+ // Proof Size summary in bytes:
+ // Measured: `4283`
+ // Estimated: `11536`
+ // Minimum execution time: 17_737 nanoseconds.
+ Weight::from_ref_time(18_266_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_173 nanoseconds.
- Weight::from_ref_time(20_019_172)
+ // Proof Size summary in bytes:
+ // Measured: `28`
+ // Estimated: `5006`
+ // Minimum execution time: 6_820 nanoseconds.
+ Weight::from_ref_time(6_967_000)
+ .saturating_add(Weight::from_proof_size(5006))
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_606).saturating_mul(c.into()))
+ .saturating_add(Weight::from_ref_time(2_381).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_053 nanoseconds.
- Weight::from_ref_time(7_456_000)
+ // Proof Size summary in bytes:
+ // Measured: `28`
+ // Estimated: `2531`
+ // Minimum execution time: 4_868 nanoseconds.
+ Weight::from_ref_time(5_043_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: 122_490 nanoseconds.
- Weight::from_ref_time(129_980_000)
+ // Proof Size summary in bytes:
+ // Measured: `26709`
+ // Estimated: `83592`
+ // Minimum execution time: 87_032 nanoseconds.
+ Weight::from_ref_time(89_300_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: 789_304 nanoseconds.
- Weight::from_ref_time(797_651_000)
+ // Proof Size summary in bytes:
+ // Measured: `27295`
+ // Estimated: `196015`
+ // Minimum execution time: 696_941 nanoseconds.
+ Weight::from_ref_time(709_933_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: 120_013 nanoseconds.
- Weight::from_ref_time(126_801_000)
+ // Proof Size summary in bytes:
+ // Measured: `27241`
+ // Estimated: `85188`
+ // Minimum execution time: 86_529 nanoseconds.
+ Weight::from_ref_time(88_055_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: 603_051 nanoseconds.
- Weight::from_ref_time(621_272_000)
+ // Proof Size summary in bytes:
+ // Measured: `26763`
+ // Estimated: `140250`
+ // Minimum execution time: 562_148 nanoseconds.
+ Weight::from_ref_time(570_083_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: 116_243 nanoseconds.
- Weight::from_ref_time(124_623_000)
+ // Proof Size summary in bytes:
+ // Measured: `26709`
+ // Estimated: `83592`
+ // Minimum execution time: 86_054 nanoseconds.
+ Weight::from_ref_time(87_327_000)
+ .saturating_add(Weight::from_proof_size(83592))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs
index 1fcb06b0b8..14e9aa2b36 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,157 +45,300 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::paras_inherent`.
pub struct WeightInfo(PhantomData);
impl runtime_parachains::paras_inherent::WeightInfo for WeightInfo {
- // 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: 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: 963_342 nanoseconds.
- Weight::from_ref_time(422_800_158)
- // Standard Error: 16_077
- .saturating_add(Weight::from_ref_time(56_668_445).saturating_mul(v.into()))
- .saturating_add(T::DbWeight::get().reads(27))
+ // Proof Size summary in bytes:
+ // Measured: `51031`
+ // Estimated: `1464637 + v * (16 ±0)`
+ // Minimum execution time: 777_373 nanoseconds.
+ Weight::from_ref_time(307_777_453)
+ .saturating_add(Weight::from_proof_size(1464637))
+ // Standard Error: 24_778
+ .saturating_add(Weight::from_ref_time(48_438_469).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: 450_975 nanoseconds.
- Weight::from_ref_time(469_943_000)
+ // Proof Size summary in bytes:
+ // Measured: `42834`
+ // Estimated: `1187286`
+ // Minimum execution time: 341_171 nanoseconds.
+ Weight::from_ref_time(351_334_000)
+ .saturating_add(Weight::from_proof_size(1187286))
.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_744_406 nanoseconds.
- Weight::from_ref_time(1_090_385_708)
- // Standard Error: 20_590
- .saturating_add(Weight::from_ref_time(56_359_319).saturating_mul(v.into()))
+ // Proof Size summary in bytes:
+ // Measured: `42865`
+ // Estimated: `1238413`
+ // Minimum execution time: 5_628_012 nanoseconds.
+ Weight::from_ref_time(902_017_094)
+ .saturating_add(Weight::from_proof_size(1238413))
+ // Standard Error: 46_806
+ .saturating_add(Weight::from_ref_time(47_804_829).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_519_107 nanoseconds.
- Weight::from_ref_time(46_970_255_000)
+ // Proof Size summary in bytes:
+ // Measured: `42892`
+ // Estimated: `1329903`
+ // Minimum execution time: 38_896_184 nanoseconds.
+ Weight::from_ref_time(39_158_275_000)
+ .saturating_add(Weight::from_proof_size(1329903))
.saturating_add(T::DbWeight::get().reads(31))
.saturating_add(T::DbWeight::get().writes(16))
}
diff --git a/polkadot/runtime/kusama/src/weights/runtime_parachains_ump.rs b/polkadot/runtime/kusama/src/weights/runtime_parachains_ump.rs
index 25af256ec7..a7d284c7e4 100644
--- a/polkadot/runtime/kusama/src/weights/runtime_parachains_ump.rs
+++ b/polkadot/runtime/kusama/src/weights/runtime_parachains_ump.rs
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,26 +47,44 @@ pub struct WeightInfo(PhantomData);
impl runtime_parachains::ump::WeightInfo for WeightInfo {
/// The range of component `s` is `[0, 51200]`.
fn process_upward_message(s: u32, ) -> Weight {
- // Minimum execution time: 10_988 nanoseconds.
- Weight::from_ref_time(2_555_693)
- // Standard Error: 15
- .saturating_add(Weight::from_ref_time(2_393).saturating_mul(s.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_801 nanoseconds.
+ Weight::from_ref_time(5_856_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 8
+ .saturating_add(Weight::from_ref_time(1_770).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_226 nanoseconds.
- Weight::from_ref_time(9_749_000)
+ // Proof Size summary in bytes:
+ // Measured: `272`
+ // Estimated: `2078`
+ // Minimum execution time: 8_932 nanoseconds.
+ Weight::from_ref_time(9_110_000)
+ .saturating_add(Weight::from_proof_size(2078))
.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_394 nanoseconds.
- Weight::from_ref_time(30_165_000)
+ // Proof Size summary in bytes:
+ // Measured: `257`
+ // Estimated: `3231`
+ // Minimum execution time: 22_080 nanoseconds.
+ Weight::from_ref_time(22_520_000)
+ .saturating_add(Weight::from_proof_size(3231))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/polkadot/runtime/polkadot/constants/src/weights/block_weights.rs b/polkadot/runtime/polkadot/constants/src/weights/block_weights.rs
index 7ac5ff6205..7f7dc57fb3 100644
--- a/polkadot/runtime/polkadot/constants/src/weights/block_weights.rs
+++ b/polkadot/runtime/polkadot/constants/src/weights/block_weights.rs
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-24 (Y/M/D)
-//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! DATE: 2023-02-23 (Y/M/D)
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
- /// Min, Max: 9_854_902, 10_203_210
- /// Average: 9_957_528
- /// Median: 9_949_787
- /// Std-Dev: 70460.64
+ /// Min, Max: 8_006_649, 8_375_190
+ /// Average: 8_124_755
+ /// Median: 8_120_369
+ /// Std-Dev: 62360.45
///
/// Percentiles nanoseconds:
- /// 99th: 10_172_856
- /// 95th: 10_062_101
- /// 75th: 9_987_603
+ /// 99th: 8_290_659
+ /// 95th: 8_235_376
+ /// 75th: 8_155_802
pub const BlockExecutionWeight: Weight =
- Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_957_528));
+ Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(8_124_755));
}
#[cfg(test)]
diff --git a/polkadot/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/polkadot/runtime/polkadot/constants/src/weights/extrinsic_weights.rs
index 6bc3c21547..88cc439919 100644
--- a/polkadot/runtime/polkadot/constants/src/weights/extrinsic_weights.rs
+++ b/polkadot/runtime/polkadot/constants/src/weights/extrinsic_weights.rs
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-24 (Y/M/D)
-//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! DATE: 2023-02-23 (Y/M/D)
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
- /// Min, Max: 109_691, 110_998
- /// Average: 110_336
- /// Median: 110_316
- /// Std-Dev: 256.64
+ /// Min, Max: 97_776, 99_516
+ /// Average: 98_255
+ /// Median: 98_189
+ /// Std-Dev: 298.88
///
/// Percentiles nanoseconds:
- /// 99th: 110_961
- /// 95th: 110_751
- /// 75th: 110_522
+ /// 99th: 99_472
+ /// 95th: 98_754
+ /// 75th: 98_351
pub const ExtrinsicBaseWeight: Weight =
- Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_336));
+ Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(98_255));
}
#[cfg(test)]
diff --git a/polkadot/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/polkadot/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs
index d683d9324a..6d2df3a127 100644
--- a/polkadot/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs
+++ b/polkadot/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,54 +47,57 @@ pub struct WeightInfo(PhantomData);
impl frame_benchmarking::baseline::WeightInfo for WeightInfo {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
- // Minimum execution time: 113 nanoseconds.
- Weight::from_ref_time(144_272)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 111 nanoseconds.
+ Weight::from_ref_time(146_902)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
- // Minimum execution time: 113 nanoseconds.
- Weight::from_ref_time(149_024)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 107 nanoseconds.
+ Weight::from_ref_time(138_386)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
- // Minimum execution time: 113 nanoseconds.
- Weight::from_ref_time(149_977)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 106 nanoseconds.
+ Weight::from_ref_time(137_438)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
- // Minimum execution time: 111 nanoseconds.
- Weight::from_ref_time(143_401)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 104 nanoseconds.
+ Weight::from_ref_time(136_458)
+ .saturating_add(Weight::from_proof_size(0))
}
- /// The range of component `i` is `[0, 100]`.
- fn hashing(i: u32, ) -> Weight {
- // Minimum execution time: 24_005_194 nanoseconds.
- Weight::from_ref_time(24_049_452_700)
- // Standard Error: 88_954
- .saturating_add(Weight::from_ref_time(71_380).saturating_mul(i.into()))
+ fn hashing() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 20_318_442 nanoseconds.
+ Weight::from_ref_time(20_562_948_000)
+ .saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
- // Minimum execution time: 154 nanoseconds.
- Weight::from_ref_time(1_295_545)
- // Standard Error: 6_905
- .saturating_add(Weight::from_ref_time(55_595_381).saturating_mul(i.into()))
- }
- // Storage: Skipped Metadata (r:0 w:0)
- /// The range of component `i` is `[0, 1000]`.
- fn storage_read(i: u32, ) -> Weight {
- // Minimum execution time: 122 nanoseconds.
- Weight::from_ref_time(132_000)
- // Standard Error: 6_486
- .saturating_add(Weight::from_ref_time(2_458_058).saturating_mul(i.into()))
- .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
- }
- // Storage: Skipped Metadata (r:0 w:0)
- /// The range of component `i` is `[0, 1000]`.
- fn storage_write(i: u32, ) -> Weight {
- // Minimum execution time: 126 nanoseconds.
- Weight::from_ref_time(136_000)
- // Standard Error: 1_202
- .saturating_add(Weight::from_ref_time(388_630).saturating_mul(i.into()))
- .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 140 nanoseconds.
+ Weight::from_ref_time(179_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 16_734
+ .saturating_add(Weight::from_ref_time(47_228_463).saturating_mul(i.into()))
}
}
diff --git a/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs b/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs
index a469850928..3a702a2605 100644
--- a/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs
+++ b/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,22 +49,30 @@ impl 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_627_198 nanoseconds.
- Weight::from_ref_time(5_686_803_000)
- // Standard Error: 137_788
- .saturating_add(Weight::from_ref_time(5_694_991).saturating_mul(v.into()))
- // Standard Error: 14_087_005
- .saturating_add(Weight::from_ref_time(1_499_313_180).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_660_027 nanoseconds.
+ Weight::from_ref_time(5_720_525_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 139_752
+ .saturating_add(Weight::from_ref_time(5_709_285).saturating_mul(v.into()))
+ // Standard Error: 14_287_763
+ .saturating_add(Weight::from_ref_time(1_568_460_126).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: 3_886_400 nanoseconds.
- Weight::from_ref_time(3_947_165_000)
- // Standard Error: 122_734
- .saturating_add(Weight::from_ref_time(4_643_100).saturating_mul(v.into()))
- // Standard Error: 12_547_948
- .saturating_add(Weight::from_ref_time(1_435_136_176).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_385_527 nanoseconds.
+ Weight::from_ref_time(4_426_903_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 147_786
+ .saturating_add(Weight::from_ref_time(5_547_872).saturating_mul(v.into()))
+ // Standard Error: 15_109_138
+ .saturating_add(Weight::from_ref_time(1_786_783_254).saturating_mul(d.into()))
}
}
diff --git a/polkadot/runtime/polkadot/src/weights/frame_system.rs b/polkadot/runtime/polkadot/src/weights/frame_system.rs
index daaffa071b..bbda8852c9 100644
--- a/polkadot/runtime/polkadot/src/weights/frame_system.rs
+++ b/polkadot/runtime/polkadot/src/weights/frame_system.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +47,82 @@ pub struct WeightInfo(PhantomData);
impl frame_system::WeightInfo for WeightInfo {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
- // Minimum execution time: 3_234 nanoseconds.
- Weight::from_ref_time(1_691_898)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_744 nanoseconds.
+ Weight::from_ref_time(1_772_000)
+ .saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
- .saturating_add(Weight::from_ref_time(539).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(369).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
- // Minimum execution time: 13_035 nanoseconds.
- Weight::from_ref_time(154_395_333)
- // Standard Error: 5
- .saturating_add(Weight::from_ref_time(1_964).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 6_529 nanoseconds.
+ Weight::from_ref_time(6_651_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(1_728).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_199 nanoseconds.
- Weight::from_ref_time(8_494_000)
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `495`
+ // Minimum execution time: 3_725 nanoseconds.
+ Weight::from_ref_time(3_841_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_460 nanoseconds.
- Weight::from_ref_time(3_563_000)
- // Standard Error: 2_239
- .saturating_add(Weight::from_ref_time(683_724).saturating_mul(i.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_793 nanoseconds.
+ Weight::from_ref_time(1_835_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 1_985
+ .saturating_add(Weight::from_ref_time(581_345).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_560 nanoseconds.
- Weight::from_ref_time(3_670_000)
- // Standard Error: 996
- .saturating_add(Weight::from_ref_time(511_114).saturating_mul(i.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_865 nanoseconds.
+ Weight::from_ref_time(1_912_000)
+ .saturating_add(Weight::from_proof_size(0))
+ // Standard Error: 992
+ .saturating_add(Weight::from_ref_time(443_467).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_250 nanoseconds.
- Weight::from_ref_time(5_367_000)
- // Standard Error: 1_480
- .saturating_add(Weight::from_ref_time(1_164_759).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `131 + p * (69 ±0)`
+ // Estimated: `117 + p * (70 ±0)`
+ // Minimum execution time: 3_570 nanoseconds.
+ Weight::from_ref_time(3_679_000)
+ .saturating_add(Weight::from_proof_size(117))
+ // Standard Error: 1_118
+ .saturating_add(Weight::from_ref_time(992_588).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()))
}
}
diff --git a/polkadot/runtime/polkadot/src/weights/pallet_bags_list.rs b/polkadot/runtime/polkadot/src/weights/pallet_bags_list.rs
index cd5861f4a7..de9e54d18f 100644
--- a/polkadot/runtime/polkadot/src/weights/pallet_bags_list.rs
+++ b/polkadot/runtime/polkadot/src/weights/pallet_bags_list.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,34 +45,59 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bags_list`.
pub struct WeightInfo(PhantomData);
impl pallet_bags_list::WeightInfo for WeightInfo {
- // 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_362 nanoseconds.
- Weight::from_ref_time(66_830_000)
+ // Proof Size summary in bytes:
+ // Measured: `1814`
+ // Estimated: `19186`
+ // Minimum execution time: 56_708 nanoseconds.
+ Weight::from_ref_time(57_562_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: 62_658 nanoseconds.
- Weight::from_ref_time(64_567_000)
+ // Proof Size summary in bytes:
+ // Measured: `1708`
+ // Estimated: `19114`
+ // Minimum execution time: 55_031 nanoseconds.
+ Weight::from_ref_time(55_723_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_382 nanoseconds.
- Weight::from_ref_time(64_950_000)
+ // Proof Size summary in bytes:
+ // Measured: `2051`
+ // Estimated: `25798`
+ // Minimum execution time: 61_048 nanoseconds.
+ Weight::from_ref_time(61_795_000)
+ .saturating_add(Weight::from_proof_size(25798))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
diff --git a/polkadot/runtime/polkadot/src/weights/pallet_balances.rs b/polkadot/runtime/polkadot/src/weights/pallet_balances.rs
index 96e138e722..f4f813943a 100644
--- a/polkadot/runtime/polkadot/src/weights/pallet_balances.rs
+++ b/polkadot/runtime/polkadot/src/weights/pallet_balances.rs
@@ -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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,52 +45,87 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_balances`.
pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
- // 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_823 nanoseconds.
- Weight::from_ref_time(46_097_000)
+ // Proof Size summary in bytes:
+ // Measured: `1819`
+ // Estimated: `2603`
+ // Minimum execution time: 46_645 nanoseconds.
+ Weight::from_ref_time(47_161_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_212 nanoseconds.
- Weight::from_ref_time(34_472_000)
+ // Proof Size summary in bytes:
+ // Measured: `1636`
+ // Estimated: `2603`
+ // Minimum execution time: 35_213 nanoseconds.
+ Weight::from_ref_time(35_826_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_897 nanoseconds.
- Weight::from_ref_time(24_339_000)
+ // Proof Size summary in bytes:
+ // Measured: `1853`
+ // Estimated: `2603`
+ // Minimum execution time: 26_732 nanoseconds.
+ Weight::from_ref_time(27_166_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_641 nanoseconds.
- Weight::from_ref_time(27_359_000)
+ // Proof Size summary in bytes:
+ // Measured: `1853`
+ // Estimated: `2603`
+ // Minimum execution time: 29_677 nanoseconds.
+ Weight::from_ref_time(30_381_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_413 nanoseconds.
- Weight::from_ref_time(46_289_000)
+ // Proof Size summary in bytes:
+ // Measured: `1815`
+ // Estimated: `5206`
+ // Minimum execution time: 45_839 nanoseconds.
+ Weight::from_ref_time(46_327_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_045 nanoseconds.
- Weight::from_ref_time(40_123_000)
+ // Proof Size summary in bytes:
+ // Measured: `1636`
+ // Estimated: `2603`
+ // Minimum execution time: 40_252 nanoseconds.
+ Weight::from_ref_time(41_007_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_564 nanoseconds.
- Weight::from_ref_time(21_085_000)
+ // Proof Size summary in bytes:
+ // Measured: `1670`
+ // Estimated: `2603`
+ // Minimum execution time: 23_159 nanoseconds.
+ Weight::from_ref_time(23_459_000)
+ .saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/polkadot/runtime/polkadot/src/weights/pallet_bounties.rs b/polkadot/runtime/polkadot/src/weights/pallet_bounties.rs
index c1826b491f..10e1daf420 100644
--- a/polkadot/runtime/polkadot/src/weights/pallet_bounties.rs
+++ b/polkadot/runtime/polkadot/src/weights/pallet_bounties.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,107 +45,181 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bounties`.
pub struct WeightInfo(PhantomData);
impl pallet_bounties::WeightInfo for WeightInfo {
- // Storage: Bounties BountyCount (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
- // Storage: Bounties Bounties (r:0 w:1)
+ /// Storage: Bounties BountyCount (r:1 w:1)
+ /// Proof: Bounties BountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:0 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
- // Minimum execution time: 30_261 nanoseconds.
- Weight::from_ref_time(31_396_439)
- // Standard Error: 11
- .saturating_add(Weight::from_ref_time(914).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `175`
+ // Estimated: `3102`
+ // Minimum execution time: 22_871 nanoseconds.
+ Weight::from_ref_time(27_436_557)
+ .saturating_add(Weight::from_proof_size(3102))
+ // Standard Error: 27
+ .saturating_add(Weight::from_ref_time(428).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn approve_bounty() -> Weight {
- // Minimum execution time: 11_189 nanoseconds.
- Weight::from_ref_time(11_654_000)
+ // Proof Size summary in bytes:
+ // Measured: `267`
+ // Estimated: `3549`
+ // Minimum execution time: 11_276 nanoseconds.
+ Weight::from_ref_time(11_470_000)
+ .saturating_add(Weight::from_proof_size(3549))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
- // Minimum execution time: 10_381 nanoseconds.
- Weight::from_ref_time(10_757_000)
+ // Proof Size summary in bytes:
+ // Measured: `287`
+ // Estimated: `2652`
+ // Minimum execution time: 10_019 nanoseconds.
+ Weight::from_ref_time(10_269_000)
+ .saturating_add(Weight::from_proof_size(2652))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
- // Minimum execution time: 41_290 nanoseconds.
- Weight::from_ref_time(43_800_000)
+ // Proof Size summary in bytes:
+ // Measured: `495`
+ // Estimated: `5255`
+ // Minimum execution time: 31_565 nanoseconds.
+ Weight::from_ref_time(32_618_000)
+ .saturating_add(Weight::from_proof_size(5255))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
- // Minimum execution time: 28_936 nanoseconds.
- Weight::from_ref_time(30_585_000)
+ // Proof Size summary in bytes:
+ // Measured: `491`
+ // Estimated: `5255`
+ // Minimum execution time: 22_292 nanoseconds.
+ Weight::from_ref_time(22_508_000)
+ .saturating_add(Weight::from_proof_size(5255))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
- // Minimum execution time: 24_213 nanoseconds.
- Weight::from_ref_time(25_564_000)
+ // Proof Size summary in bytes:
+ // Measured: `437`
+ // Estimated: `5143`
+ // Minimum execution time: 18_378 nanoseconds.
+ Weight::from_ref_time(18_750_000)
+ .saturating_add(Weight::from_proof_size(5143))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
- // Minimum execution time: 75_375 nanoseconds.
- Weight::from_ref_time(77_781_000)
+ // Proof Size summary in bytes:
+ // Measured: `865`
+ // Estimated: `12964`
+ // Minimum execution time: 65_107 nanoseconds.
+ Weight::from_ref_time(65_915_000)
+ .saturating_add(Weight::from_proof_size(12964))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
- // Minimum execution time: 46_577 nanoseconds.
- Weight::from_ref_time(47_864_000)
+ // Proof Size summary in bytes:
+ // Measured: `513`
+ // Estimated: `7746`
+ // Minimum execution time: 36_233 nanoseconds.
+ Weight::from_ref_time(36_525_000)
+ .saturating_add(Weight::from_proof_size(7746))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
- // Storage: Bounties Bounties (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:0)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Bounties BountyDescriptions (r:0 w:1)
+ /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
- // Minimum execution time: 56_694 nanoseconds.
- Weight::from_ref_time(58_720_000)
+ // Proof Size summary in bytes:
+ // Measured: `781`
+ // Estimated: `10349`
+ // Minimum execution time: 46_136 nanoseconds.
+ Weight::from_ref_time(46_626_000)
+ .saturating_add(Weight::from_proof_size(10349))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
- // Storage: Bounties Bounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:1)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
fn extend_bounty_expiry() -> Weight {
- // Minimum execution time: 21_448 nanoseconds.
- Weight::from_ref_time(21_871_000)
+ // Proof Size summary in bytes:
+ // Measured: `323`
+ // Estimated: `2652`
+ // Minimum execution time: 15_064 nanoseconds.
+ Weight::from_ref_time(15_577_000)
+ .saturating_add(Weight::from_proof_size(2652))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: Bounties BountyApprovals (r:1 w:1)
- // Storage: Bounties Bounties (r:2 w:2)
- // Storage: System Account (r:4 w:4)
+ /// Storage: Bounties BountyApprovals (r:1 w:1)
+ /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:100 w:100)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:200 w:200)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(b: u32, ) -> Weight {
- // Minimum execution time: 7_240 nanoseconds.
- Weight::from_ref_time(11_854_294)
- // Standard Error: 14_092
- .saturating_add(Weight::from_ref_time(31_478_261).saturating_mul(b.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + b * (360 ±0)`
+ // Estimated: `897 + b * (7858 ±0)`
+ // Minimum execution time: 4_860 nanoseconds.
+ Weight::from_ref_time(4_950_000)
+ .saturating_add(Weight::from_proof_size(897))
+ // Standard Error: 13_616
+ .saturating_add(Weight::from_ref_time(28_265_664).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_proof_size(7858).saturating_mul(b.into()))
}
}
diff --git a/polkadot/runtime/polkadot/src/weights/pallet_child_bounties.rs b/polkadot/runtime/polkadot/src/weights/pallet_child_bounties.rs
index c4b9c4cb4b..c340fc270a 100644
--- a/polkadot/runtime/polkadot/src/weights/pallet_child_bounties.rs
+++ b/polkadot/runtime/polkadot/src/weights/pallet_child_bounties.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,87 +45,152 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_child_bounties`.
pub struct WeightInfo(PhantomData);
impl pallet_child_bounties::WeightInfo for WeightInfo {
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: ChildBounties ChildBountyCount (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
- // Storage: ChildBounties ChildBounties (r:0 w:1)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyCount (r:1 w:1)
+ /// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:0 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
- // Minimum execution time: 55_313 nanoseconds.
- Weight::from_ref_time(57_124_143)
- // Standard Error: 8
- .saturating_add(Weight::from_ref_time(959).saturating_mul(d.into()))
+ // Proof Size summary in bytes:
+ // Measured: `609`
+ // Estimated: `10848`
+ // Minimum execution time: 46_573 nanoseconds.
+ Weight::from_ref_time(47_710_036)
+ .saturating_add(Weight::from_proof_size(10848))
+ // Standard Error: 7
+ .saturating_add(Weight::from_ref_time(725).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
- // Minimum execution time: 18_678 nanoseconds.
- Weight::from_ref_time(19_251_000)
+ // Proof Size summary in bytes:
+ // Measured: `663`
+ // Estimated: `7775`
+ // Minimum execution time: 17_341 nanoseconds.
+ Weight::from_ref_time(17_661_000)
+ .saturating_add(Weight::from_proof_size(7775))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
- // Minimum execution time: 34_753 nanoseconds.
- Weight::from_ref_time(36_004_000)
+ // Proof Size summary in bytes:
+ // Measured: `841`
+ // Estimated: `7875`
+ // Minimum execution time: 27_063 nanoseconds.
+ Weight::from_ref_time(27_498_000)
+ .saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: System Account (r:1 w:1)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
- // Minimum execution time: 48_476 nanoseconds.
- Weight::from_ref_time(50_607_000)
+ // Proof Size summary in bytes:
+ // Measured: `841`
+ // Estimated: `7875`
+ // Minimum execution time: 36_789 nanoseconds.
+ Weight::from_ref_time(37_469_000)
+ .saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
- // Minimum execution time: 28_468 nanoseconds.
- Weight::from_ref_time(29_189_000)
+ // Proof Size summary in bytes:
+ // Measured: `706`
+ // Estimated: `5272`
+ // Minimum execution time: 20_652 nanoseconds.
+ Weight::from_ref_time(21_136_000)
+ .saturating_add(Weight::from_proof_size(5272))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
- // Minimum execution time: 75_994 nanoseconds.
- Weight::from_ref_time(77_808_000)
+ // Proof Size summary in bytes:
+ // Measured: `744`
+ // Estimated: `12920`
+ // Minimum execution time: 63_360 nanoseconds.
+ Weight::from_ref_time(63_883_000)
+ .saturating_add(Weight::from_proof_size(12920))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: System Account (r:2 w:2)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: System Account (r:2 w:2)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
- // Minimum execution time: 55_094 nanoseconds.
- Weight::from_ref_time(57_168_000)
+ // Proof Size summary in bytes:
+ // Measured: `973`
+ // Estimated: `15472`
+ // Minimum execution time: 49_408 nanoseconds.
+ Weight::from_ref_time(50_703_000)
+ .saturating_add(Weight::from_proof_size(15472))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
- // Storage: Bounties Bounties (r:1 w:0)
- // Storage: ChildBounties ChildBounties (r:1 w:1)
- // Storage: System Account (r:3 w:3)
- // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
- // Storage: ChildBounties ParentChildBounties (r:1 w:1)
- // Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Storage: Bounties Bounties (r:1 w:0)
+ /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
+ /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ParentChildBounties (r:1 w:1)
+ /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
+ /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
- // Minimum execution time: 66_606 nanoseconds.
- Weight::from_ref_time(68_654_000)
+ // Proof Size summary in bytes:
+ // Measured: `1192`
+ // Estimated: `18075`
+ // Minimum execution time: 60_334 nanoseconds.
+ Weight::from_ref_time(62_054_000)
+ .saturating_add(Weight::from_proof_size(18075))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
diff --git a/polkadot/runtime/polkadot/src/weights/pallet_collective_council.rs b/polkadot/runtime/polkadot/src/weights/pallet_collective_council.rs
index 2b5a2ede3b..1f4b512b2d 100644
--- a/polkadot/runtime/polkadot/src/weights/pallet_collective_council.rs
+++ b/polkadot/runtime/polkadot/src/weights/pallet_collective_council.rs
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! 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-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo(PhantomData);
impl pallet_collective::WeightInfo for WeightInfo {
- // Storage: Council Members (r:1 w:1)
- // Storage: Council Proposals (r:1 w:0)
- // Storage: Council Prime (r:0 w:1)
- // Storage: Council Voting (r:100 w:100)
+ /// Storage: Council Members (r:1 w:1)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:0)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:100 w:100)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Prime (r:0 w:1)
+ /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
@@ -55,51 +60,75 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
- // Minimum execution time: 16_452 nanoseconds.
- Weight::from_ref_time(16_963_000)
- // Standard Error: 39_111
- .saturating_add(Weight::from_ref_time(4_315_513).saturating_mul(m.into()))
- // Standard Error: 39_111
- .saturating_add(Weight::from_ref_time(7_271_296).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
+ // Estimated: `16054 + m * (7809 ±16) + p * (10238 ±16)`
+ // Minimum execution time: 16_977 nanoseconds.
+ Weight::from_ref_time(17_264_000)
+ .saturating_add(Weight::from_proof_size(16054))
+ // Standard Error: 47_984
+ .saturating_add(Weight::from_ref_time(5_491_508).saturating_mul(m.into()))
+ // Standard Error: 47_984
+ .saturating_add(Weight::from_ref_time(7_895_249).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
+ .saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
}
- // Storage: Council Members (r:1 w:0)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 20_389 nanoseconds.
- Weight::from_ref_time(19_950_479)
- // Standard Error: 28
- .saturating_add(Weight::from_ref_time(1_937).saturating_mul(b.into()))
- // Standard Error: 293
- .saturating_add(Weight::from_ref_time(13_967).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `101 + m * (32 ±0)`
+ // Estimated: `597 + m * (32 ±0)`
+ // Minimum execution time: 15_072 nanoseconds.
+ Weight::from_ref_time(14_211_059)
+ .saturating_add(Weight::from_proof_size(597))
+ // Standard Error: 23
+ .saturating_add(Weight::from_ref_time(1_603).saturating_mul(b.into()))
+ // Standard Error: 242
+ .saturating_add(Weight::from_ref_time(17_712).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:0)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:0)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 22_990 nanoseconds.
- Weight::from_ref_time(21_952_005)
- // Standard Error: 25
- .saturating_add(Weight::from_ref_time(1_925).saturating_mul(b.into()))
- // Standard Error: 264
- .saturating_add(Weight::from_ref_time(20_800).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `101 + m * (32 ±0)`
+ // Estimated: `3174 + m * (64 ±0)`
+ // Minimum execution time: 17_130 nanoseconds.
+ Weight::from_ref_time(16_211_186)
+ .saturating_add(Weight::from_proof_size(3174))
+ // Standard Error: 30
+ .saturating_add(Weight::from_ref_time(1_785).saturating_mul(b.into()))
+ // Standard Error: 318
+ .saturating_add(Weight::from_ref_time(25_434).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:1)
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council ProposalCount (r:1 w:1)
- // Storage: Council Voting (r:0 w:1)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalCount (r:1 w:1)
+ /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:0 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -107,51 +136,78 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 28_776 nanoseconds.
- Weight::from_ref_time(26_841_702)
- // Standard Error: 97
- .saturating_add(Weight::from_ref_time(4_471).saturating_mul(b.into()))
- // Standard Error: 1_016
- .saturating_add(Weight::from_ref_time(33_192).saturating_mul(m.into()))
- // Standard Error: 1_003
- .saturating_add(Weight::from_ref_time(195_581).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `423 + m * (32 ±0) + p * (36 ±0)`
+ // Estimated: `5690 + m * (165 ±0) + p * (180 ±0)`
+ // Minimum execution time: 22_253 nanoseconds.
+ Weight::from_ref_time(23_501_095)
+ .saturating_add(Weight::from_proof_size(5690))
+ // Standard Error: 51
+ .saturating_add(Weight::from_ref_time(2_472).saturating_mul(b.into()))
+ // Standard Error: 541
+ .saturating_add(Weight::from_ref_time(18_687).saturating_mul(m.into()))
+ // Standard Error: 534
+ .saturating_add(Weight::from_ref_time(93_359).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
+ .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Voting (r:1 w:1)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
- // Minimum execution time: 34_690 nanoseconds.
- Weight::from_ref_time(36_830_139)
- // Standard Error: 818
- .saturating_add(Weight::from_ref_time(48_710).saturating_mul(m.into()))
+ // Proof Size summary in bytes:
+ // Measured: `873 + m * (64 ±0)`
+ // Estimated: `4714 + m * (128 ±0)`
+ // Minimum execution time: 20_932 nanoseconds.
+ Weight::from_ref_time(21_526_308)
+ .saturating_add(Weight::from_proof_size(4714))
+ // Standard Error: 221
+ .saturating_add(Weight::from_ref_time(40_562).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
+ .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council Proposals (r:1 w:1)
- // Storage: Council ProposalOf (r:0 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:0 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 30_919 nanoseconds.
- Weight::from_ref_time(33_034_269)
- // Standard Error: 921
- .saturating_add(Weight::from_ref_time(30_501).saturating_mul(m.into()))
- // Standard Error: 898
- .saturating_add(Weight::from_ref_time(179_826).saturating_mul(p.into()))
+ // Proof Size summary in bytes:
+ // Measured: `493 + m * (64 ±0) + p * (36 ±0)`
+ // Estimated: `5361 + m * (260 ±0) + p * (144 ±0)`
+ // Minimum execution time: 25_034 nanoseconds.
+ Weight::from_ref_time(26_214_468)
+ .saturating_add(Weight::from_proof_size(5361))
+ // Standard Error: 408
+ .saturating_add(Weight::from_ref_time(20_710).saturating_mul(m.into()))
+ // Standard Error: 398
+ .saturating_add(Weight::from_ref_time(86_893).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
+ .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
- // Storage: Council Voting (r:1 w:1)
- // Storage: Council Members (r:1 w:0)
- // Storage: Council ProposalOf (r:1 w:1)
- // Storage: Council Proposals (r:1 w:1)
+ /// Storage: Council Voting (r:1 w:1)
+ /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Members (r:1 w:0)
+ /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: Council ProposalOf (r:1 w:1)
+ /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
+ /// Storage: Council Proposals (r:1 w:1)
+ /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -159,41 +215,62 @@ impl