From f29aa06b8d6542c82c8a67d99c7757ad01c3558d Mon Sep 17 00:00:00 2001 From: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Date: Wed, 21 Sep 2022 21:20:22 +0200 Subject: [PATCH] [benchmarks] pr with weights (#1660) Co-authored-by: paritytech-ci --- .../src/weights/frame_system.rs | 8 +- .../src/weights/pallet_alliance.rs | 122 +++++++++--------- .../src/weights/pallet_balances.rs | 14 +- .../src/weights/pallet_collator_selection.rs | 26 ++-- .../src/weights/pallet_multisig.rs | 40 +++--- .../src/weights/pallet_proxy.rs | 60 ++++----- .../src/weights/pallet_session.rs | 4 +- .../src/weights/pallet_timestamp.rs | 4 +- .../src/weights/pallet_utility.rs | 18 +-- 9 files changed, 149 insertions(+), 147 deletions(-) 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 5d84494c38..70b1fe41bd 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs @@ -59,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(7_941_000 as u64) + Weight::from_ref_time(8_028_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(641_000 as u64).saturating_mul(i as u64)) + .saturating_add(Weight::from_ref_time(633_000 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(577_000 as u64).saturating_mul(i as u64)) + .saturating_add(Weight::from_ref_time(561_000 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { Weight::from_ref_time(0 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_156_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(1_139_000 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } 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 b86eb47553..0aa9833be1 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs @@ -55,10 +55,14 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `x` is `[2, 10]`. /// The range of component `y` is `[0, 90]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(_b: u32, _x: u32, _y: u32, p: u32, ) -> Weight { - Weight::from_ref_time(49_473_000 as u64) + fn propose_proposed(_b: u32, x: u32, y: u32, p: u32, ) -> Weight { + Weight::from_ref_time(43_723_000 as u64) + // Standard Error: 28_000 + .saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(x as u64)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(y as u64)) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(165_000 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)) } @@ -66,10 +70,12 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Voting (r:1 w:1) /// The range of component `x` is `[3, 10]`. /// The range of component `y` is `[2, 90]`. - fn vote(_x: u32, y: u32, ) -> Weight { - Weight::from_ref_time(51_130_000 as u64) + fn vote(x: u32, y: u32, ) -> Weight { + Weight::from_ref_time(49_213_000 as u64) + // Standard Error: 26_000 + .saturating_add(Weight::from_ref_time(17_000 as u64).saturating_mul(x as u64)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(y as u64)) + .saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(y as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -79,9 +85,9 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Voting (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn veto(p: u32, ) -> Weight { - Weight::from_ref_time(36_710_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(35_082_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(188_000 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)) } @@ -93,14 +99,12 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `x` is `[2, 10]`. /// The range of component `y` is `[2, 90]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight { - Weight::from_ref_time(43_430_000 as u64) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(54_000 as u64).saturating_mul(x as u64)) + fn close_early_disapproved(_x: u32, y: u32, p: u32, ) -> Weight { + Weight::from_ref_time(49_603_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(y as u64)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(123_000 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)) } @@ -113,14 +117,12 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `x` is `[2, 10]`. /// The range of component `y` is `[2, 90]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight { - Weight::from_ref_time(53_387_000 as u64) + fn close_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight { + Weight::from_ref_time(53_559_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(x as u64)) + .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(y as u64)) + .saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(y as u64)) // Standard Error: 2_000 .saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) @@ -137,11 +139,11 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `y` is `[2, 90]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(_x: u32, y: u32, p: u32, ) -> Weight { - Weight::from_ref_time(60_474_000 as u64) + Weight::from_ref_time(64_455_000 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(y as u64)) + .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -156,11 +158,11 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `y` is `[2, 90]`. /// The range of component `p` is `[1, 100]`. fn close_approved(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight { - Weight::from_ref_time(52_701_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(66_000 as u64).saturating_mul(y as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(48_266_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(y as u64)) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(179_000 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)) } @@ -170,13 +172,13 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `y` is `[0, 90]`. /// The range of component `z` is `[0, 100]`. fn init_members(x: u32, y: u32, z: u32, ) -> Weight { - Weight::from_ref_time(31_558_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(x as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(183_000 as u64).saturating_mul(y as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(155_000 as u64).saturating_mul(z as u64)) + Weight::from_ref_time(29_167_000 as u64) + // Standard Error: 11_000 + .saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(x as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(y as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -191,12 +193,12 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 50]`. fn disband(x: u32, y: u32, z: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(1_465_000 as u64).saturating_mul(x as u64)) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(1_501_000 as u64).saturating_mul(y as u64)) - // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(11_315_000 as u64).saturating_mul(z as u64)) + // Standard Error: 10_000 + .saturating_add(Weight::from_ref_time(1_491_000 as u64).saturating_mul(x as u64)) + // Standard Error: 10_000 + .saturating_add(Weight::from_ref_time(1_548_000 as u64).saturating_mul(y as u64)) + // Standard Error: 21_000 + .saturating_add(Weight::from_ref_time(11_201_000 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))) @@ -206,18 +208,18 @@ impl pallet_alliance::WeightInfo for WeightInfo { } // Storage: Alliance Rule (r:0 w:1) fn set_rule() -> Weight { - Weight::from_ref_time(18_620_000 as u64) + Weight::from_ref_time(18_206_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Alliance Announcements (r:1 w:1) fn announce() -> Weight { - Weight::from_ref_time(20_669_000 as u64) + Weight::from_ref_time(20_301_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Alliance Announcements (r:1 w:1) fn remove_announcement() -> Weight { - Weight::from_ref_time(22_412_000 as u64) + Weight::from_ref_time(22_008_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -226,14 +228,14 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Alliance DepositOf (r:0 w:1) fn join_alliance() -> Weight { - Weight::from_ref_time(54_573_000 as u64) + Weight::from_ref_time(54_427_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Alliance Members (r:4 w:1) // Storage: Alliance UnscrupulousAccounts (r:1 w:0) fn nominate_ally() -> Weight { - Weight::from_ref_time(41_121_000 as u64) + Weight::from_ref_time(40_442_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -242,7 +244,7 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Members (r:0 w:1) // Storage: AllianceMotion Prime (r:0 w:1) fn elevate_ally() -> Weight { - Weight::from_ref_time(37_071_000 as u64) + Weight::from_ref_time(37_596_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -252,7 +254,7 @@ 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 { - Weight::from_ref_time(40_055_000 as u64) + Weight::from_ref_time(38_870_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -261,7 +263,7 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: Alliance DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn retire() -> Weight { - Weight::from_ref_time(45_071_000 as u64) + Weight::from_ref_time(43_505_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -278,7 +280,7 @@ impl pallet_alliance::WeightInfo for WeightInfo { // Storage: AllianceMotion Members (r:0 w:1) // Storage: AllianceMotion Prime (r:0 w:1) fn kick_member() -> Weight { - Weight::from_ref_time(122_105_000 as u64) + Weight::from_ref_time(120_992_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -288,10 +290,10 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 255]`. fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_434_000 as u64).saturating_mul(n as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(124_000 as u64).saturating_mul(l as u64)) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(1_410_000 as u64).saturating_mul(n as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(108_000 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)) } @@ -301,10 +303,10 @@ impl pallet_alliance::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 255]`. fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 169_000 - .saturating_add(Weight::from_ref_time(22_958_000 as u64).saturating_mul(n as u64)) - // Standard Error: 66_000 - .saturating_add(Weight::from_ref_time(4_091_000 as u64).saturating_mul(l as u64)) + // Standard Error: 149_000 + .saturating_add(Weight::from_ref_time(21_803_000 as u64).saturating_mul(n as u64)) + // Standard Error: 58_000 + .saturating_add(Weight::from_ref_time(3_696_000 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)) } 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 116f889997..c6423713e9 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs @@ -48,43 +48,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(46_276_000 as u64) + Weight::from_ref_time(46_383_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(35_034_000 as u64) + Weight::from_ref_time(34_973_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(25_455_000 as u64) + Weight::from_ref_time(25_776_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(29_086_000 as u64) + Weight::from_ref_time(29_323_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(46_517_000 as u64) + Weight::from_ref_time(47_041_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(40_824_000 as u64) + Weight::from_ref_time(40_920_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(22_351_000 as u64) + Weight::from_ref_time(22_490_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } 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 5551db2009..fa24211a62 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 @@ -50,20 +50,20 @@ 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 { - Weight::from_ref_time(24_165_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_457_000 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(22_814_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(2_513_000 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)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - Weight::from_ref_time(13_866_000 as u64) + Weight::from_ref_time(14_106_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - Weight::from_ref_time(14_183_000 as u64) + Weight::from_ref_time(14_226_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -74,7 +74,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// The range of component `c` is `[1, 1000]`. fn register_as_candidate(c: u32, ) -> Weight { - Weight::from_ref_time(62_877_000 as u64) + Weight::from_ref_time(64_383_000 as u64) // Standard Error: 0 .saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) @@ -84,9 +84,9 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// The range of component `c` is `[6, 1000]`. fn leave_intent(c: u32, ) -> Weight { - Weight::from_ref_time(66_591_000 as u64) + Weight::from_ref_time(64_372_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(156_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(158_000 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)) } @@ -94,7 +94,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - Weight::from_ref_time(34_750_000 as u64) + Weight::from_ref_time(35_349_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -107,10 +107,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn new_session(r: u32, c: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 1_263_000 - .saturating_add(Weight::from_ref_time(6_851_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_263_000 - .saturating_add(Weight::from_ref_time(33_215_000 as u64).saturating_mul(c as u64)) + // Standard Error: 1_305_000 + .saturating_add(Weight::from_ref_time(7_489_000 as u64).saturating_mul(r as u64)) + // Standard Error: 1_305_000 + .saturating_add(Weight::from_ref_time(34_245_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) 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 701cc548a8..01c4540571 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs @@ -48,7 +48,7 @@ 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 { - Weight::from_ref_time(21_506_000 as u64) + Weight::from_ref_time(20_974_000 as u64) // Standard Error: 0 .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) } @@ -57,9 +57,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// 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 { - Weight::from_ref_time(41_548_000 as u64) + Weight::from_ref_time(40_349_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(s as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) @@ -71,9 +71,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(43_618_000 as u64) + Weight::from_ref_time(42_610_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(s as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) @@ -83,9 +83,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// 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 { - Weight::from_ref_time(30_961_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(29_661_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(s as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) @@ -96,9 +96,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(44_796_000 as u64) + Weight::from_ref_time(44_070_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(s as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) @@ -110,9 +110,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// 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 { - Weight::from_ref_time(56_072_000 as u64) + Weight::from_ref_time(54_433_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(122_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(s as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) @@ -122,9 +122,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_ref_time(37_168_000 as u64) + Weight::from_ref_time(37_239_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(117_000 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)) } @@ -132,9 +132,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_ref_time(26_747_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(26_492_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(124_000 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)) } @@ -143,7 +143,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_complete(s: u32, ) -> Weight { - Weight::from_ref_time(66_126_000 as u64) + Weight::from_ref_time(64_331_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) @@ -153,9 +153,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_ref_time(54_874_000 as u64) + Weight::from_ref_time(53_467_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } 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 1b3469b8c8..93d57d25e1 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs @@ -49,9 +49,9 @@ 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 { - Weight::from_ref_time(23_795_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(23_625_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -60,11 +60,11 @@ 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 { - Weight::from_ref_time(42_526_000 as u64) + Weight::from_ref_time(42_490_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(a as u64)) + .saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(a as u64)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(69_000 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)) } @@ -73,11 +73,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(29_714_000 as u64) + Weight::from_ref_time(29_802_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(a as u64)) + .saturating_add(Weight::from_ref_time(128_000 as u64).saturating_mul(a as u64)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(28_000 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)) } @@ -86,11 +86,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(29_635_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(29_798_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(a as u64)) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(39_000 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)) } @@ -100,38 +100,38 @@ 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 { - Weight::from_ref_time(39_389_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(a as u64)) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(38_867_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(a as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(67_000 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)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(33_161_000 as u64) + Weight::from_ref_time(32_217_000 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(75_000 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)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(32_615_000 as u64) + Weight::from_ref_time(32_160_000 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(93_000 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)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - Weight::from_ref_time(28_200_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(27_553_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(57_000 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)) } @@ -139,18 +139,18 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn anonymous(p: u32, ) -> Weight { - Weight::from_ref_time(35_186_000 as u64) + Weight::from_ref_time(34_725_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(7_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(17_000 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)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_anonymous(p: u32, ) -> Weight { - Weight::from_ref_time(29_061_000 as u64) + Weight::from_ref_time(29_193_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(p as u64)) + .saturating_add(Weight::from_ref_time(52_000 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)) } 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 2c0ab86788..1f8ba92eea 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs @@ -49,14 +49,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - Weight::from_ref_time(22_580_000 as u64) + Weight::from_ref_time(22_851_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - Weight::from_ref_time(19_365_000 as u64) + Weight::from_ref_time(18_945_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } 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 9a1042d16a..f5968e3756 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs @@ -48,11 +48,11 @@ pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - Weight::from_ref_time(7_816_000 as u64) + Weight::from_ref_time(7_763_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(4_172_000 as u64) + Weight::from_ref_time(4_147_000 as u64) } } 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 965e822c79..f3ddabc120 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs @@ -48,26 +48,26 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(17_518_000 as u64) + Weight::from_ref_time(17_312_000 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_898_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(4_033_000 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(6_571_000 as u64) + Weight::from_ref_time(6_595_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(22_888_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(4_046_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(17_716_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(4_190_000 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(14_779_000 as u64) + Weight::from_ref_time(14_547_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(20_408_000 as u64) + Weight::from_ref_time(16_068_000 as u64) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_874_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(4_020_000 as u64).saturating_mul(c as u64)) } }