From fa64bce66fb46a630ed3b4fac82098b54ab4235a Mon Sep 17 00:00:00 2001 From: Egor_P Date: Thu, 22 Dec 2022 12:06:36 +0100 Subject: [PATCH] [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci Co-authored-by: muharem --- .../src/weights/cumulus_pallet_xcmp_queue.rs | 18 +- .../src/weights/frame_system.rs | 52 ++-- .../src/weights/pallet_alliance.rs | 282 +++++++++--------- .../src/weights/pallet_balances.rs | 58 ++-- .../src/weights/pallet_collator_selection.rs | 74 ++--- .../src/weights/pallet_collective.rs | 176 +++++------ .../src/weights/pallet_multisig.rs | 94 +++--- .../src/weights/pallet_proxy.rs | 136 ++++----- .../src/weights/pallet_session.rs | 18 +- .../src/weights/pallet_timestamp.rs | 14 +- .../src/weights/pallet_utility.rs | 34 +-- 11 files changed, 478 insertions(+), 478 deletions(-) diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 0d2d16818bb..246d167dbfa 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -48,16 +48,16 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - // Minimum execution time: 7_970 nanoseconds. - Weight::from_ref_time(8_227_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 6_777 nanoseconds. + Weight::from_ref_time(7_035_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - // Minimum execution time: 7_993 nanoseconds. - Weight::from_ref_time(8_212_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 6_871 nanoseconds. + Weight::from_ref_time(7_121_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs index 5f267c7723f..465d5634b56 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -48,51 +48,51 @@ 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: 4_351 nanoseconds. - Weight::from_ref_time(4_403_000 as u64) + // Minimum execution time: 3_778 nanoseconds. + Weight::from_ref_time(3_855_000) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(511 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(510).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 14_431 nanoseconds. - Weight::from_ref_time(14_820_000 as u64) + // Minimum execution time: 12_934 nanoseconds. + Weight::from_ref_time(13_156_000) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_595 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_860).saturating_mul(b.into())) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 8_894 nanoseconds. - Weight::from_ref_time(9_170_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 7_743 nanoseconds. + Weight::from_ref_time(8_055_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_363 nanoseconds. - Weight::from_ref_time(4_411_000 as u64) - // Standard Error: 793 - .saturating_add(Weight::from_ref_time(650_122 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 3_937 nanoseconds. + Weight::from_ref_time(3_997_000) + // Standard Error: 2_287 + .saturating_add(Weight::from_ref_time(622_508).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_224 nanoseconds. - Weight::from_ref_time(4_335_000 as u64) - // Standard Error: 1_002 - .saturating_add(Weight::from_ref_time(560_274 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 3_888 nanoseconds. + Weight::from_ref_time(3_983_000) + // Standard Error: 1_138 + .saturating_add(Weight::from_ref_time(454_438).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 5_682 nanoseconds. - Weight::from_ref_time(5_829_000 as u64) - // Standard Error: 1_186 - .saturating_add(Weight::from_ref_time(1_171_722 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 5_459 nanoseconds. + Weight::from_ref_time(5_641_000) + // Standard Error: 1_037 + .saturating_add(Weight::from_ref_time(965_492).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs index 9bdb6828e3d..f3d31cbadcd 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_alliance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -55,41 +55,34 @@ impl pallet_alliance::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: 23_000 nanoseconds. - Weight::from_ref_time(24_357_172 as u64) - // Standard Error: 428 - .saturating_add(Weight::from_ref_time(233 as u64).saturating_mul(b as u64)) - // Standard Error: 4_474 - .saturating_add(Weight::from_ref_time(48_024 as u64).saturating_mul(m as u64)) - // Standard Error: 4_418 - .saturating_add(Weight::from_ref_time(97_604 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 35_162 nanoseconds. + Weight::from_ref_time(36_412_712) + // Standard Error: 71 + .saturating_add(Weight::from_ref_time(381).saturating_mul(b.into())) + // Standard Error: 745 + .saturating_add(Weight::from_ref_time(22_365).saturating_mul(m.into())) + // Standard Error: 735 + .saturating_add(Weight::from_ref_time(104_171).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Alliance Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - // Minimum execution time: 24_000 nanoseconds. - Weight::from_ref_time(26_617_201 as u64) - // Standard Error: 4_280 - .saturating_add(Weight::from_ref_time(43_152 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 31_249 nanoseconds. + Weight::from_ref_time(32_188_065) + // Standard Error: 832 + .saturating_add(Weight::from_ref_time(54_591).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Alliance Members (r:1 w:0) - // Storage: AllianceMotion ProposalOf (r:1 w:1) - // Storage: AllianceMotion Proposals (r:1 w:1) - // Storage: AllianceMotion Voting (r:0 w:1) - /// The range of component `p` is `[1, 100]`. - fn veto(p: u32, ) -> Weight { - // Minimum execution time: 23_000 nanoseconds. - Weight::from_ref_time(26_045_752 as u64) - // Standard Error: 2_154 - .saturating_add(Weight::from_ref_time(61_220 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + + // not used + fn veto(_p: u32, ) -> Weight { + Weight::from_ref_time(100_000_000) } + // Storage: Alliance Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) // Storage: AllianceMotion Members (r:1 w:0) @@ -98,14 +91,14 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// 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_000 nanoseconds. - Weight::from_ref_time(25_697_866 as u64) - // Standard Error: 3_827 - .saturating_add(Weight::from_ref_time(48_360 as u64).saturating_mul(m as u64)) - // Standard Error: 3_731 - .saturating_add(Weight::from_ref_time(116_922 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 40_517 nanoseconds. + Weight::from_ref_time(37_804_735) + // Standard Error: 724 + .saturating_add(Weight::from_ref_time(46_629).saturating_mul(m.into())) + // Standard Error: 706 + .saturating_add(Weight::from_ref_time(96_011).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Alliance Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) @@ -116,16 +109,16 @@ impl pallet_alliance::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: 34_000 nanoseconds. - Weight::from_ref_time(30_725_464 as u64) - // Standard Error: 370 - .saturating_add(Weight::from_ref_time(2_367 as u64).saturating_mul(b as u64)) - // Standard Error: 3_920 - .saturating_add(Weight::from_ref_time(40_710 as u64).saturating_mul(m as u64)) - // Standard Error: 3_822 - .saturating_add(Weight::from_ref_time(111_866 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 50_587 nanoseconds. + Weight::from_ref_time(49_483_170) + // Standard Error: 79 + .saturating_add(Weight::from_ref_time(12).saturating_mul(b.into())) + // Standard Error: 845 + .saturating_add(Weight::from_ref_time(46_955).saturating_mul(m.into())) + // Standard Error: 824 + .saturating_add(Weight::from_ref_time(99_511).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Alliance Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) @@ -133,17 +126,18 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Prime (r:1 w:0) // Storage: AllianceMotion Proposals (r:1 w:1) // Storage: AllianceMotion ProposalOf (r:0 w:1) + // Storage: Alliance Rule (r:0 w:1) /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 31_000 nanoseconds. - Weight::from_ref_time(29_444_599 as u64) - // Standard Error: 4_043 - .saturating_add(Weight::from_ref_time(48_928 as u64).saturating_mul(m as u64)) - // Standard Error: 3_994 - .saturating_add(Weight::from_ref_time(76_527 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 47_785 nanoseconds. + Weight::from_ref_time(49_064_492) + // Standard Error: 3_243 + .saturating_add(Weight::from_ref_time(96_267).saturating_mul(m.into())) + // Standard Error: 3_203 + .saturating_add(Weight::from_ref_time(121_736).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Alliance Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) @@ -155,28 +149,28 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 29_000 nanoseconds. - Weight::from_ref_time(32_315_075 as u64) - // Standard Error: 4_502 - .saturating_add(Weight::from_ref_time(43_205 as u64).saturating_mul(m as u64)) - // Standard Error: 4_340 - .saturating_add(Weight::from_ref_time(101_872 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 41_807 nanoseconds. + Weight::from_ref_time(40_124_977) + // Standard Error: 665 + .saturating_add(Weight::from_ref_time(40_824).saturating_mul(m.into())) + // Standard Error: 641 + .saturating_add(Weight::from_ref_time(89_499).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Alliance Members (r:2 w:2) // Storage: AllianceMotion Members (r:1 w:1) /// The range of component `m` is `[1, 100]`. /// The range of component `z` is `[0, 100]`. fn init_members(m: u32, z: u32, ) -> Weight { - // Minimum execution time: 22_000 nanoseconds. - Weight::from_ref_time(13_523_882 as u64) - // Standard Error: 1_823 - .saturating_add(Weight::from_ref_time(91_625 as u64).saturating_mul(m as u64)) - // Standard Error: 1_802 - .saturating_add(Weight::from_ref_time(98_184 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 37_806 nanoseconds. + Weight::from_ref_time(26_654_829) + // Standard Error: 571 + .saturating_add(Weight::from_ref_time(131_979).saturating_mul(m.into())) + // Standard Error: 564 + .saturating_add(Weight::from_ref_time(114_315).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Alliance Members (r:2 w:2) // Storage: AllianceMotion Proposals (r:1 w:0) @@ -188,68 +182,68 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `y` is `[0, 100]`. /// The range of component `z` is `[0, 50]`. fn disband(x: u32, y: u32, z: u32, ) -> Weight { - // Minimum execution time: 249_184 nanoseconds. - Weight::from_ref_time(250_681_000 as u64) - // Standard Error: 19_667 - .saturating_add(Weight::from_ref_time(455_603 as u64).saturating_mul(x as u64)) - // Standard Error: 19_572 - .saturating_add(Weight::from_ref_time(495_179 as u64).saturating_mul(y as u64)) - // Standard Error: 39_109 - .saturating_add(Weight::from_ref_time(9_510_054 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(y as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(z as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(z as u64))) + // Minimum execution time: 226_805 nanoseconds. + Weight::from_ref_time(228_436_000) + // Standard Error: 18_416 + .saturating_add(Weight::from_ref_time(484_425).saturating_mul(x.into())) + // Standard Error: 18_327 + .saturating_add(Weight::from_ref_time(384_513).saturating_mul(y.into())) + // Standard Error: 36_622 + .saturating_add(Weight::from_ref_time(8_974_720).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(z.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(z.into()))) } // Storage: Alliance Rule (r:0 w:1) fn set_rule() -> Weight { - // Minimum execution time: 19_428 nanoseconds. - Weight::from_ref_time(19_751_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_471 nanoseconds. + Weight::from_ref_time(16_726_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Alliance Announcements (r:1 w:1) fn announce() -> Weight { - // Minimum execution time: 21_318 nanoseconds. - Weight::from_ref_time(21_687_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 17_782 nanoseconds. + Weight::from_ref_time(18_057_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Alliance Announcements (r:1 w:1) fn remove_announcement() -> Weight { - // Minimum execution time: 23_694 nanoseconds. - Weight::from_ref_time(24_344_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 20_072 nanoseconds. + Weight::from_ref_time(20_395_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Alliance Members (r:3 w:1) // Storage: Alliance UnscrupulousAccounts (r:1 w:0) // Storage: System Account (r:1 w:1) // Storage: Alliance DepositOf (r:0 w:1) fn join_alliance() -> Weight { - // Minimum execution time: 56_749 nanoseconds. - Weight::from_ref_time(57_576_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 47_327 nanoseconds. + Weight::from_ref_time(47_908_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Alliance Members (r:3 w:1) // Storage: Alliance UnscrupulousAccounts (r:1 w:0) fn nominate_ally() -> Weight { - // Minimum execution time: 42_096 nanoseconds. - Weight::from_ref_time(43_313_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 34_263 nanoseconds. + Weight::from_ref_time(34_687_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Alliance Members (r:2 w:2) // Storage: AllianceMotion Proposals (r:1 w:0) // Storage: AllianceMotion Members (r:0 w:1) // Storage: AllianceMotion Prime (r:0 w:1) fn elevate_ally() -> Weight { - // Minimum execution time: 38_364 nanoseconds. - Weight::from_ref_time(38_849_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 29_783 nanoseconds. + Weight::from_ref_time(30_668_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Alliance Members (r:4 w:2) // Storage: AllianceMotion Proposals (r:1 w:0) @@ -257,69 +251,75 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Prime (r:0 w:1) // Storage: Alliance RetiringMembers (r:0 w:1) fn give_retirement_notice() -> Weight { - // Minimum execution time: 40_735 nanoseconds. - Weight::from_ref_time(42_445_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 37_967 nanoseconds. + Weight::from_ref_time(38_605_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Alliance RetiringMembers (r:1 w:1) // Storage: Alliance Members (r:1 w:1) // Storage: Alliance DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn retire() -> Weight { - // Minimum execution time: 45_591 nanoseconds. - Weight::from_ref_time(46_041_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 40_362 nanoseconds. + Weight::from_ref_time(41_038_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Alliance Members (r:3 w:1) // Storage: AllianceMotion Proposals (r:1 w:0) // Storage: Alliance DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) + // Storage: ParachainInfo ParachainId (r:1 w:0) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) // Storage: AllianceMotion Members (r:0 w:1) // Storage: AllianceMotion Prime (r:0 w:1) fn kick_member() -> Weight { - // Minimum execution time: 127_782 nanoseconds. - Weight::from_ref_time(129_150_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 118_050 nanoseconds. + Weight::from_ref_time(119_080_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Alliance UnscrupulousAccounts (r:1 w:1) // Storage: Alliance UnscrupulousWebsites (r:1 w:1) /// The range of component `n` is `[0, 100]`. /// The range of component `l` is `[0, 255]`. fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight { - // Minimum execution time: 17_614 nanoseconds. - Weight::from_ref_time(17_734_000 as u64) - // Standard Error: 3_794 - .saturating_add(Weight::from_ref_time(1_353_109 as u64).saturating_mul(n as u64)) - // Standard Error: 1_486 - .saturating_add(Weight::from_ref_time(81_145 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 14_919 nanoseconds. + Weight::from_ref_time(15_135_000) + // Standard Error: 3_921 + .saturating_add(Weight::from_ref_time(1_221_966).saturating_mul(n.into())) + // Standard Error: 1_535 + .saturating_add(Weight::from_ref_time(80_157).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Alliance UnscrupulousAccounts (r:1 w:1) // Storage: Alliance UnscrupulousWebsites (r:1 w:1) /// The range of component `n` is `[0, 100]`. /// The range of component `l` is `[0, 255]`. fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight { - // Minimum execution time: 17_483 nanoseconds. - Weight::from_ref_time(17_695_000 as u64) - // Standard Error: 212_194 - .saturating_add(Weight::from_ref_time(14_853_347 as u64).saturating_mul(n as u64)) - // Standard Error: 83_104 - .saturating_add(Weight::from_ref_time(740_176 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 14_606 nanoseconds. + Weight::from_ref_time(14_847_000) + // Standard Error: 218_175 + .saturating_add(Weight::from_ref_time(15_210_084).saturating_mul(n.into())) + // Standard Error: 85_447 + .saturating_add(Weight::from_ref_time(717_495).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Alliance Members (r:3 w:2) // Storage: AllianceMotion Proposals (r:1 w:0) // Storage: AllianceMotion Members (r:0 w:1) // Storage: AllianceMotion Prime (r:0 w:1) fn abdicate_fellow_status() -> Weight { - // Minimum execution time: 29_000 nanoseconds. - Weight::from_ref_time(30_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 36_974 nanoseconds. + Weight::from_ref_time(37_428_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs index 3bd5a1ce6b2..5865c971833 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -48,51 +48,51 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - // Minimum execution time: 48_654 nanoseconds. - Weight::from_ref_time(49_181_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 42_297 nanoseconds. + Weight::from_ref_time(42_843_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 36_282 nanoseconds. - Weight::from_ref_time(36_834_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 32_222 nanoseconds. + Weight::from_ref_time(32_673_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - // Minimum execution time: 26_460 nanoseconds. - Weight::from_ref_time(26_834_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 23_434 nanoseconds. + Weight::from_ref_time(23_713_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - // Minimum execution time: 30_330 nanoseconds. - Weight::from_ref_time(30_961_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_916 nanoseconds. + Weight::from_ref_time(26_539_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - // Minimum execution time: 48_735 nanoseconds. - Weight::from_ref_time(49_328_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 41_236 nanoseconds. + Weight::from_ref_time(41_847_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - // Minimum execution time: 41_999 nanoseconds. - Weight::from_ref_time(42_891_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 37_002 nanoseconds. + Weight::from_ref_time(39_357_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - // Minimum execution time: 22_834 nanoseconds. - Weight::from_ref_time(23_430_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 21_574 nanoseconds. + Weight::from_ref_time(21_938_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs index 5c22a040926..dfd2e0c0ec8 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -50,24 +50,24 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection Invulnerables (r:0 w:1) /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { - // Minimum execution time: 24_296 nanoseconds. - Weight::from_ref_time(25_121_114 as u64) - // Standard Error: 4_734 - .saturating_add(Weight::from_ref_time(2_497_065 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 20_694 nanoseconds. + Weight::from_ref_time(22_134_693) + // Standard Error: 3_321 + .saturating_add(Weight::from_ref_time(2_273_097).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - // Minimum execution time: 14_753 nanoseconds. - Weight::from_ref_time(15_065_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 13_127 nanoseconds. + Weight::from_ref_time(13_487_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - // Minimum execution time: 14_928 nanoseconds. - Weight::from_ref_time(15_321_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 13_379 nanoseconds. + Weight::from_ref_time(13_713_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection DesiredCandidates (r:1 w:0) @@ -77,32 +77,32 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// The range of component `c` is `[1, 999]`. fn register_as_candidate(c: u32, ) -> Weight { - // Minimum execution time: 50_764 nanoseconds. - Weight::from_ref_time(64_931_732 as u64) - // Standard Error: 980 - .saturating_add(Weight::from_ref_time(180_232 as u64).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 44_894 nanoseconds. + Weight::from_ref_time(40_442_989) + // Standard Error: 1_079 + .saturating_add(Weight::from_ref_time(135_610).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// The range of component `c` is `[6, 1000]`. fn leave_intent(c: u32, ) -> Weight { - // Minimum execution time: 39_924 nanoseconds. - Weight::from_ref_time(66_403_413 as u64) - // Standard Error: 1_725 - .saturating_add(Weight::from_ref_time(163_802 as u64).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 33_709 nanoseconds. + Weight::from_ref_time(27_474_927) + // Standard Error: 1_089 + .saturating_add(Weight::from_ref_time(128_421).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:2 w:2) // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - // Minimum execution time: 35_499 nanoseconds. - Weight::from_ref_time(35_948_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 29_870 nanoseconds. + Weight::from_ref_time(31_130_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) @@ -112,13 +112,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `r` is `[1, 1000]`. /// The range of component `c` is `[1, 1000]`. fn new_session(_r: u32, c: u32, ) -> Weight { - // Minimum execution time: 23_332 nanoseconds. - Weight::from_ref_time(23_767_000 as u64) - // Standard Error: 680_100 - .saturating_add(Weight::from_ref_time(23_752_974 as u64).saturating_mul(c as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) + // Minimum execution time: 19_278 nanoseconds. + Weight::from_ref_time(19_499_000) + // Standard Error: 765_150 + .saturating_add(Weight::from_ref_time(27_573_334).saturating_mul(c.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().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs index c04ea37d09b..dfcd01c0e4c 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -54,72 +54,72 @@ 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: 20_020 nanoseconds. - Weight::from_ref_time(20_243_000 as u64) - // Standard Error: 64_886 - .saturating_add(Weight::from_ref_time(5_203_566 as u64).saturating_mul(m as u64)) - // Standard Error: 64_886 - .saturating_add(Weight::from_ref_time(7_724_672 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 17_445 nanoseconds. + Weight::from_ref_time(17_574_000) + // Standard Error: 65_394 + .saturating_add(Weight::from_ref_time(5_265_879).saturating_mul(m.into())) + // Standard Error: 65_394 + .saturating_add(Weight::from_ref_time(7_444_558).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()))) } // Storage: AllianceMotion Members (r:1 w:0) - /// The range of component `b` is `[1, 1024]`. + /// 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: 24_663 nanoseconds. - Weight::from_ref_time(23_740_074 as u64) - // Standard Error: 41 - .saturating_add(Weight::from_ref_time(2_074 as u64).saturating_mul(b as u64)) - // Standard Error: 430 - .saturating_add(Weight::from_ref_time(19_672 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + // Minimum execution time: 20_317 nanoseconds. + Weight::from_ref_time(19_615_265) + // Standard Error: 27 + .saturating_add(Weight::from_ref_time(2_017).saturating_mul(b.into())) + // Standard Error: 287 + .saturating_add(Weight::from_ref_time(14_147).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) } // Storage: AllianceMotion Members (r:1 w:0) // Storage: AllianceMotion ProposalOf (r:1 w:0) - /// The range of component `b` is `[1, 1024]`. + /// 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: 27_356 nanoseconds. - Weight::from_ref_time(26_292_620 as u64) - // Standard Error: 47 - .saturating_add(Weight::from_ref_time(1_993 as u64).saturating_mul(b as u64)) - // Standard Error: 494 - .saturating_add(Weight::from_ref_time(27_913 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 23_080 nanoseconds. + Weight::from_ref_time(21_846_487) + // Standard Error: 28 + .saturating_add(Weight::from_ref_time(1_944).saturating_mul(b.into())) + // Standard Error: 297 + .saturating_add(Weight::from_ref_time(24_113).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) } // Storage: AllianceMotion Members (r:1 w:0) // Storage: AllianceMotion ProposalOf (r:1 w:1) // Storage: AllianceMotion Proposals (r:1 w:1) // Storage: AllianceMotion ProposalCount (r:1 w:1) // Storage: AllianceMotion Voting (r:0 w:1) - /// The range of component `b` is `[1, 1024]`. + /// The range of component `b` is `[2, 1024]`. /// 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: 34_601 nanoseconds. - Weight::from_ref_time(31_018_653 as u64) - // Standard Error: 127 - .saturating_add(Weight::from_ref_time(6_066 as u64).saturating_mul(b as u64)) - // Standard Error: 1_328 - .saturating_add(Weight::from_ref_time(27_417 as u64).saturating_mul(m as u64)) - // Standard Error: 1_312 - .saturating_add(Weight::from_ref_time(194_944 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 29_006 nanoseconds. + Weight::from_ref_time(30_263_788) + // Standard Error: 89 + .saturating_add(Weight::from_ref_time(2_887).saturating_mul(b.into())) + // Standard Error: 935 + .saturating_add(Weight::from_ref_time(16_046).saturating_mul(m.into())) + // Standard Error: 923 + .saturating_add(Weight::from_ref_time(110_411).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: AllianceMotion Members (r:1 w:0) // Storage: AllianceMotion Voting (r:1 w:1) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - // Minimum execution time: 35_483 nanoseconds. - Weight::from_ref_time(38_628_067 as u64) - // Standard Error: 2_889 - .saturating_add(Weight::from_ref_time(74_863 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 28_028 nanoseconds. + Weight::from_ref_time(29_008_901) + // Standard Error: 442 + .saturating_add(Weight::from_ref_time(39_227).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: AllianceMotion Voting (r:1 w:1) // Storage: AllianceMotion Members (r:1 w:0) @@ -128,33 +128,33 @@ 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_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 36_440 nanoseconds. - Weight::from_ref_time(40_424_479 as u64) - // Standard Error: 2_324 - .saturating_add(Weight::from_ref_time(9_789 as u64).saturating_mul(m as u64)) - // Standard Error: 2_266 - .saturating_add(Weight::from_ref_time(147_219 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 30_789 nanoseconds. + Weight::from_ref_time(32_883_315) + // Standard Error: 927 + .saturating_add(Weight::from_ref_time(20_146).saturating_mul(m.into())) + // Standard Error: 904 + .saturating_add(Weight::from_ref_time(100_366).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AllianceMotion Voting (r:1 w:1) // Storage: AllianceMotion Members (r:1 w:0) // Storage: AllianceMotion ProposalOf (r:1 w:1) // Storage: AllianceMotion Proposals (r:1 w:1) - /// The range of component `b` is `[1, 1024]`. + /// The range of component `b` is `[2, 1024]`. /// 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: 48_555 nanoseconds. - Weight::from_ref_time(46_468_609 as u64) - // Standard Error: 136 - .saturating_add(Weight::from_ref_time(2_655 as u64).saturating_mul(b as u64)) - // Standard Error: 1_448 - .saturating_add(Weight::from_ref_time(42_243 as u64).saturating_mul(m as u64)) - // Standard Error: 1_412 - .saturating_add(Weight::from_ref_time(184_606 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 41_415 nanoseconds. + Weight::from_ref_time(43_034_456) + // Standard Error: 86 + .saturating_add(Weight::from_ref_time(1_786).saturating_mul(b.into())) + // Standard Error: 909 + .saturating_add(Weight::from_ref_time(13_068).saturating_mul(m.into())) + // Standard Error: 886 + .saturating_add(Weight::from_ref_time(111_933).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AllianceMotion Voting (r:1 w:1) // Storage: AllianceMotion Members (r:1 w:0) @@ -164,45 +164,45 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 38_157 nanoseconds. - Weight::from_ref_time(39_875_224 as u64) - // Standard Error: 1_662 - .saturating_add(Weight::from_ref_time(31_313 as u64).saturating_mul(m as u64)) - // Standard Error: 1_621 - .saturating_add(Weight::from_ref_time(168_754 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 32_062 nanoseconds. + Weight::from_ref_time(35_026_550) + // Standard Error: 930 + .saturating_add(Weight::from_ref_time(18_809).saturating_mul(m.into())) + // Standard Error: 907 + .saturating_add(Weight::from_ref_time(103_195).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AllianceMotion Voting (r:1 w:1) // Storage: AllianceMotion Members (r:1 w:0) // Storage: AllianceMotion Prime (r:1 w:0) // Storage: AllianceMotion ProposalOf (r:1 w:1) // Storage: AllianceMotion Proposals (r:1 w:1) - /// The range of component `b` is `[1, 1024]`. + /// The range of component `b` is `[2, 1024]`. /// 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: 50_534 nanoseconds. - Weight::from_ref_time(47_567_256 as u64) - // Standard Error: 141 - .saturating_add(Weight::from_ref_time(2_276 as u64).saturating_mul(b as u64)) - // Standard Error: 1_497 - .saturating_add(Weight::from_ref_time(58_022 as u64).saturating_mul(m as u64)) - // Standard Error: 1_459 - .saturating_add(Weight::from_ref_time(192_898 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 43_574 nanoseconds. + Weight::from_ref_time(44_782_136) + // Standard Error: 90 + .saturating_add(Weight::from_ref_time(1_990).saturating_mul(b.into())) + // Standard Error: 960 + .saturating_add(Weight::from_ref_time(15_697).saturating_mul(m.into())) + // Standard Error: 936 + .saturating_add(Weight::from_ref_time(113_994).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AllianceMotion Proposals (r:1 w:1) // Storage: AllianceMotion Voting (r:0 w:1) // Storage: AllianceMotion ProposalOf (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - // Minimum execution time: 23_077 nanoseconds. - Weight::from_ref_time(26_331_711 as u64) - // Standard Error: 1_620 - .saturating_add(Weight::from_ref_time(176_129 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 20_012 nanoseconds. + Weight::from_ref_time(22_919_021) + // Standard Error: 928 + .saturating_add(Weight::from_ref_time(98_275).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs index 947b6a2f6f9..e2e8e83e3da 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -48,81 +48,81 @@ 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: 21_348 nanoseconds. - Weight::from_ref_time(22_020_918 as u64) - // Standard Error: 17 - .saturating_add(Weight::from_ref_time(793 as u64).saturating_mul(z as u64)) + // Minimum execution time: 15_788 nanoseconds. + Weight::from_ref_time(16_468_274) + // Standard Error: 3 + .saturating_add(Weight::from_ref_time(687).saturating_mul(z.into())) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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: 52_745 nanoseconds. - Weight::from_ref_time(39_633_213 as u64) - // Standard Error: 812 - .saturating_add(Weight::from_ref_time(138_830 as u64).saturating_mul(s as u64)) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(1_774 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 43_682 nanoseconds. + Weight::from_ref_time(35_976_690) + // Standard Error: 831 + .saturating_add(Weight::from_ref_time(85_730).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(1_711).saturating_mul(z.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 `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 42_062 nanoseconds. - Weight::from_ref_time(29_606_791 as u64) - // Standard Error: 624 - .saturating_add(Weight::from_ref_time(133_807 as u64).saturating_mul(s as u64)) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(1_742 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 33_844 nanoseconds. + Weight::from_ref_time(26_517_988) + // Standard Error: 605 + .saturating_add(Weight::from_ref_time(83_590).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_697).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) /// 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_590 nanoseconds. - Weight::from_ref_time(43_141_831 as u64) - // Standard Error: 942 - .saturating_add(Weight::from_ref_time(156_014 as u64).saturating_mul(s as u64)) - // Standard Error: 9 - .saturating_add(Weight::from_ref_time(1_753 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 47_899 nanoseconds. + Weight::from_ref_time(37_936_281) + // Standard Error: 618 + .saturating_add(Weight::from_ref_time(105_273).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_725).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) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 35_945 nanoseconds. - Weight::from_ref_time(38_593_664 as u64) - // Standard Error: 1_135 - .saturating_add(Weight::from_ref_time(137_421 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 31_990 nanoseconds. + Weight::from_ref_time(34_112_390) + // Standard Error: 1_073 + .saturating_add(Weight::from_ref_time(101_225).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: 26_498 nanoseconds. - Weight::from_ref_time(28_101_368 as u64) - // Standard Error: 757 - .saturating_add(Weight::from_ref_time(133_752 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 23_165 nanoseconds. + Weight::from_ref_time(25_473_730) + // Standard Error: 785 + .saturating_add(Weight::from_ref_time(82_880).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) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 36_332 nanoseconds. - Weight::from_ref_time(38_627_585 as u64) - // Standard Error: 962 - .saturating_add(Weight::from_ref_time(142_123 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 31_177 nanoseconds. + Weight::from_ref_time(34_538_364) + // Standard Error: 1_216 + .saturating_add(Weight::from_ref_time(91_659).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs index 8a920daa4cf..fbd995a593e 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 24_139 nanoseconds. - Weight::from_ref_time(25_454_618 as u64) - // Standard Error: 2_037 - .saturating_add(Weight::from_ref_time(47_727 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + // Minimum execution time: 21_247 nanoseconds. + Weight::from_ref_time(22_408_398) + // Standard Error: 1_684 + .saturating_add(Weight::from_ref_time(52_604).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) @@ -61,42 +61,42 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// 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: 45_486 nanoseconds. - Weight::from_ref_time(46_085_343 as u64) - // Standard Error: 2_917 - .saturating_add(Weight::from_ref_time(135_318 as u64).saturating_mul(a as u64)) - // Standard Error: 3_014 - .saturating_add(Weight::from_ref_time(26_445 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 40_354 nanoseconds. + Weight::from_ref_time(40_604_876) + // Standard Error: 1_731 + .saturating_add(Weight::from_ref_time(115_181).saturating_mul(a.into())) + // Standard Error: 1_788 + .saturating_add(Weight::from_ref_time(36_808).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) /// 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: 30_889 nanoseconds. - Weight::from_ref_time(31_350_942 as u64) - // Standard Error: 1_248 - .saturating_add(Weight::from_ref_time(149_414 as u64).saturating_mul(a as u64)) - // Standard Error: 1_289 - .saturating_add(Weight::from_ref_time(20_716 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 27_737 nanoseconds. + Weight::from_ref_time(28_753_715) + // Standard Error: 1_698 + .saturating_add(Weight::from_ref_time(117_524).saturating_mul(a.into())) + // Standard Error: 1_755 + .saturating_add(Weight::from_ref_time(17_580).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) /// 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: 30_728 nanoseconds. - Weight::from_ref_time(31_941_234 as u64) - // Standard Error: 1_339 - .saturating_add(Weight::from_ref_time(128_109 as u64).saturating_mul(a as u64)) - // Standard Error: 1_384 - .saturating_add(Weight::from_ref_time(16_158 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 27_987 nanoseconds. + Weight::from_ref_time(28_789_616) + // Standard Error: 1_598 + .saturating_add(Weight::from_ref_time(121_884).saturating_mul(a.into())) + // Standard Error: 1_651 + .saturating_add(Weight::from_ref_time(12_104).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) @@ -104,64 +104,64 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// 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: 40_662 nanoseconds. - Weight::from_ref_time(40_934_458 as u64) - // Standard Error: 1_630 - .saturating_add(Weight::from_ref_time(137_201 as u64).saturating_mul(a as u64)) - // Standard Error: 1_684 - .saturating_add(Weight::from_ref_time(61_535 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 36_687 nanoseconds. + Weight::from_ref_time(37_370_737) + // Standard Error: 2_147 + .saturating_add(Weight::from_ref_time(109_740).saturating_mul(a.into())) + // Standard Error: 2_218 + .saturating_add(Weight::from_ref_time(27_280).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) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 33_354 nanoseconds. - Weight::from_ref_time(34_467_676 as u64) - // Standard Error: 2_111 - .saturating_add(Weight::from_ref_time(78_774 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_054 nanoseconds. + Weight::from_ref_time(31_037_232) + // Standard Error: 1_671 + .saturating_add(Weight::from_ref_time(73_972).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) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 32_974 nanoseconds. - Weight::from_ref_time(34_444_856 as u64) - // Standard Error: 2_324 - .saturating_add(Weight::from_ref_time(92_503 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_196 nanoseconds. + Weight::from_ref_time(30_850_447) + // Standard Error: 2_174 + .saturating_add(Weight::from_ref_time(74_625).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) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 28_571 nanoseconds. - Weight::from_ref_time(29_613_619 as u64) - // Standard Error: 1_648 - .saturating_add(Weight::from_ref_time(44_494 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_283 nanoseconds. + Weight::from_ref_time(26_539_611) + // Standard Error: 2_055 + .saturating_add(Weight::from_ref_time(53_335).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) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 36_090 nanoseconds. - Weight::from_ref_time(37_328_149 as u64) - // Standard Error: 1_617 - .saturating_add(Weight::from_ref_time(7_522 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 31_687 nanoseconds. + Weight::from_ref_time(32_977_547) + // Standard Error: 1_740 + .saturating_add(Weight::from_ref_time(16_154).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - // Minimum execution time: 29_949 nanoseconds. - Weight::from_ref_time(31_073_757 as u64) - // Standard Error: 1_429 - .saturating_add(Weight::from_ref_time(40_550 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 26_521 nanoseconds. + Weight::from_ref_time(28_210_679) + // Standard Error: 1_681 + .saturating_add(Weight::from_ref_time(40_111).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs index d07ff00c064..a10e6daed12 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -49,17 +49,17 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - // Minimum execution time: 24_240 nanoseconds. - Weight::from_ref_time(24_699_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 21_282 nanoseconds. + Weight::from_ref_time(22_316_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - // Minimum execution time: 20_812 nanoseconds. - Weight::from_ref_time(21_204_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 17_660 nanoseconds. + Weight::from_ref_time(18_017_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs index b79e6891fcd..ce18d619b5f 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -49,13 +49,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - // Minimum execution time: 10_004 nanoseconds. - Weight::from_ref_time(10_260_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 8_970 nanoseconds. + Weight::from_ref_time(9_346_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - // Minimum execution time: 4_607 nanoseconds. - Weight::from_ref_time(4_799_000 as u64) + // Minimum execution time: 3_726 nanoseconds. + Weight::from_ref_time(3_851_000) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs index a84da7e3735..824991558ef 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs @@ -17,7 +17,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 @@ -48,31 +48,31 @@ 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: 13_403 nanoseconds. - Weight::from_ref_time(14_753_591 as u64) - // Standard Error: 1_994 - .saturating_add(Weight::from_ref_time(4_081_884 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_673 nanoseconds. + Weight::from_ref_time(20_232_865) + // Standard Error: 2_139 + .saturating_add(Weight::from_ref_time(3_634_291).saturating_mul(c.into())) } fn as_derivative() -> Weight { - // Minimum execution time: 7_028 nanoseconds. - Weight::from_ref_time(7_337_000 as u64) + // Minimum execution time: 6_465 nanoseconds. + Weight::from_ref_time(6_783_000) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 13_753 nanoseconds. - Weight::from_ref_time(17_175_869 as u64) - // Standard Error: 1_857 - .saturating_add(Weight::from_ref_time(4_248_665 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_740 nanoseconds. + Weight::from_ref_time(25_924_183) + // Standard Error: 2_899 + .saturating_add(Weight::from_ref_time(3_860_781).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - // Minimum execution time: 15_834 nanoseconds. - Weight::from_ref_time(16_214_000 as u64) + // Minimum execution time: 14_329 nanoseconds. + Weight::from_ref_time(14_576_000) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 13_445 nanoseconds. - Weight::from_ref_time(14_662_383 as u64) - // Standard Error: 1_944 - .saturating_add(Weight::from_ref_time(4_073_473 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_891 nanoseconds. + Weight::from_ref_time(24_417_472) + // Standard Error: 5_719 + .saturating_add(Weight::from_ref_time(3_635_818).saturating_mul(c.into())) } }