diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index 6f642fbcdcd9..eab95a049009 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for pallet_election_provider_multi_phase //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2021-03-17, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -44,50 +44,50 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { fn on_initialize_nothing() -> Weight { - (20_876_000 as Weight) + (21_515_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) } fn on_initialize_open_signed() -> Weight { - (70_948_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (101_434_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (70_229_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (100_955_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (18_689_000 as Weight) + (19_083_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - 0 + (7_220_386_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) } - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 21_000 - .saturating_add((4_142_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 70_000 - .saturating_add((246_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 21_000 - .saturating_add((13_612_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 105_000 - .saturating_add((4_637_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 20_000 + .saturating_add((3_844_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 20_000 + .saturating_add((13_105_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 101_000 + .saturating_add((4_703_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 12_000 - .saturating_add((4_236_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 41_000 - .saturating_add((716_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 12_000 - .saturating_add((10_065_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 61_000 - .saturating_add((4_384_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 11_000 + .saturating_add((4_001_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 37_000 + .saturating_add((483_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 11_000 + .saturating_add((9_635_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 56_000 + .saturating_add((4_585_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index e75284e6b3f0..5060d6b44912 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for pallet_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2021-03-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -44,128 +44,128 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (76_355_000 as Weight) + (74_686_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (62_322_000 as Weight) + (60_196_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (56_996_000 as Weight) + (54_608_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (57_447_000 as Weight) + (55_862_000 as Weight) // Standard Error: 0 - .saturating_add((35_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((31_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (89_916_000 as Weight) + (87_499_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_644_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_602_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (18_943_000 as Weight) + (18_058_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn kick(k: u32, ) -> Weight { - (16_802_000 as Weight) - // Standard Error: 7_000 - .saturating_add((18_457_000 as Weight).saturating_mul(k as Weight)) + (16_488_000 as Weight) + // Standard Error: 10_000 + .saturating_add((18_127_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } fn nominate(n: u32, ) -> Weight { - (28_768_000 as Weight) - // Standard Error: 9_000 - .saturating_add((5_744_000 as Weight).saturating_mul(n as Weight)) + (27_809_000 as Weight) + // Standard Error: 13_000 + .saturating_add((5_506_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (18_235_000 as Weight) + (17_341_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (12_369_000 as Weight) + (12_131_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (27_200_000 as Weight) + (26_296_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (2_134_000 as Weight) + (1_995_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (2_466_000 as Weight) + (2_311_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (2_419_000 as Weight) + (2_271_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (2_433_000 as Weight) + (2_366_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (2_425_000 as Weight) + (2_391_000 as Weight) // Standard Error: 0 .saturating_add((35_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (60_423_000 as Weight) + (58_957_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_634_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_585_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_903_335_000 as Weight) - // Standard Error: 389_000 - .saturating_add((34_608_000 as Weight).saturating_mul(s as Weight)) + (5_925_666_000 as Weight) + // Standard Error: 391_000 + .saturating_add((34_771_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (121_563_000 as Weight) - // Standard Error: 12_000 - .saturating_add((49_875_000 as Weight).saturating_mul(n as Weight)) + (114_424_000 as Weight) + // Standard Error: 17_000 + .saturating_add((49_957_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (147_113_000 as Weight) - // Standard Error: 17_000 - .saturating_add((64_475_000 as Weight).saturating_mul(n as Weight)) + (143_488_000 as Weight) + // Standard Error: 22_000 + .saturating_add((63_654_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (39_119_000 as Weight) + (38_310_000 as Weight) // Standard Error: 1_000 .saturating_add((85_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) @@ -173,42 +173,42 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 69_000 - .saturating_add((31_394_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 66_000 + .saturating_add((31_186_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (64_045_000 as Weight) + (62_505_000 as Weight) // Standard Error: 0 - .saturating_add((2_643_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_587_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 669_000 - .saturating_add((575_719_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 33_000 - .saturating_add((81_012_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + // Standard Error: 810_000 + .saturating_add((568_935_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 40_000 + .saturating_add((79_855_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(8 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight))) } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - // Standard Error: 46_000 - .saturating_add((712_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 18_000 - .saturating_add((434_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 46_000 - .saturating_add((72_940_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 97_000 - .saturating_add((6_390_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 53_000 + .saturating_add((1_082_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 21_000 + .saturating_add((408_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 53_000 + .saturating_add((72_582_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 110_000 + .saturating_add((7_046_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) @@ -216,20 +216,20 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 113_000 - .saturating_add((26_614_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 113_000 - .saturating_add((64_299_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 1_547_000 - .saturating_add((20_092_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 111_000 + .saturating_add((26_174_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 111_000 + .saturating_add((63_285_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_523_000 + .saturating_add((18_757_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) } fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 29_000 - .saturating_add((10_228_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 30_000 + .saturating_add((9_982_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index c9cac4065001..3a45c078a348 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for pallet_election_provider_multi_phase //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2021-03-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -44,50 +44,52 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { fn on_initialize_nothing() -> Weight { - (20_985_000 as Weight) + (20_666_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) } fn on_initialize_open_signed() -> Weight { - (70_912_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (96_264_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (70_069_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (96_271_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (18_773_000 as Weight) + (18_797_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - 0 + (7_329_397_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 22_000 - .saturating_add((4_166_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 74_000 - .saturating_add((116_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((13_966_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 111_000 - .saturating_add((4_713_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 20_000 + .saturating_add((3_930_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 67_000 + .saturating_add((154_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 20_000 + .saturating_add((13_181_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 100_000 + .saturating_add((4_485_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 12_000 - .saturating_add((4_283_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 40_000 - .saturating_add((763_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 12_000 - .saturating_add((10_442_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 61_000 - .saturating_add((4_521_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 11_000 + .saturating_add((4_042_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 36_000 + .saturating_add((497_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 11_000 + .saturating_add((9_711_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 55_000 + .saturating_add((4_378_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index 850ad006070a..f77813d2f52f 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -44,155 +44,155 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (75_596_000 as Weight) + (77_718_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (61_252_000 as Weight) + (62_574_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (56_294_000 as Weight) + (57_144_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (56_564_000 as Weight) + (57_372_000 as Weight) // Standard Error: 0 - .saturating_add((29_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((34_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (89_521_000 as Weight) + (90_473_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_624_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_696_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (18_843_000 as Weight) + (18_908_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn kick(k: u32, ) -> Weight { - (12_546_000 as Weight) + (13_882_000 as Weight) // Standard Error: 11_000 - .saturating_add((18_588_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((18_890_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } fn nominate(n: u32, ) -> Weight { - (28_659_000 as Weight) - // Standard Error: 12_000 - .saturating_add((5_608_000 as Weight).saturating_mul(n as Weight)) + (29_058_000 as Weight) + // Standard Error: 10_000 + .saturating_add((5_630_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (18_137_000 as Weight) + (18_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (12_265_000 as Weight) + (12_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (26_666_000 as Weight) + (26_912_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (2_105_000 as Weight) + (2_171_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (2_371_000 as Weight) + (2_363_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (2_352_000 as Weight) + (2_376_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (2_348_000 as Weight) + (2_389_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (2_547_000 as Weight) + (2_507_000 as Weight) // Standard Error: 0 - .saturating_add((35_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (60_738_000 as Weight) + (62_142_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_618_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_677_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_928_118_000 as Weight) - // Standard Error: 390_000 - .saturating_add((34_769_000 as Weight).saturating_mul(s as Weight)) + (5_956_705_000 as Weight) + // Standard Error: 389_000 + .saturating_add((34_748_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (118_119_000 as Weight) - // Standard Error: 18_000 - .saturating_add((50_486_000 as Weight).saturating_mul(n as Weight)) + (119_801_000 as Weight) + // Standard Error: 23_000 + .saturating_add((52_239_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (146_232_000 as Weight) - // Standard Error: 28_000 - .saturating_add((64_703_000 as Weight).saturating_mul(n as Weight)) + (145_401_000 as Weight) + // Standard Error: 25_000 + .saturating_add((66_479_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (39_223_000 as Weight) + (39_588_000 as Weight) // Standard Error: 1_000 - .saturating_add((89_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((80_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 65_000 - .saturating_add((31_885_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 63_000 + .saturating_add((32_182_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (64_155_000 as Weight) + (64_893_000 as Weight) // Standard Error: 0 - .saturating_add((2_609_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_670_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 813_000 - .saturating_add((579_234_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 805_000 + .saturating_add((593_729_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 40_000 - .saturating_add((80_798_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((82_504_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) @@ -201,14 +201,14 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - // Standard Error: 47_000 - .saturating_add((1_156_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 19_000 - .saturating_add((537_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 47_000 - .saturating_add((73_175_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 99_000 - .saturating_add((6_758_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 46_000 + .saturating_add((1_236_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 18_000 + .saturating_add((549_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 46_000 + .saturating_add((75_697_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 96_000 + .saturating_add((6_459_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) @@ -216,20 +216,20 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 113_000 - .saturating_add((26_614_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 113_000 - .saturating_add((64_299_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 1_547_000 - .saturating_add((20_092_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 102_000 + .saturating_add((27_089_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 102_000 + .saturating_add((66_306_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_389_000 + .saturating_add((26_679_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) } fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 29_000 - .saturating_add((10_228_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 27_000 + .saturating_add((9_912_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index 0bb963a1b106..d603c8ef716f 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for pallet_election_provider_multi_phase //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2021-03-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: @@ -44,50 +44,50 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { fn on_initialize_nothing() -> Weight { - (21_432_000 as Weight) + (21_709_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) } fn on_initialize_open_signed() -> Weight { - (73_058_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (103_414_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (71_655_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + (102_486_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (18_283_000 as Weight) + (19_133_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - 0 + (6_981_645_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) } - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 22_000 - .saturating_add((4_140_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 73_000 - .saturating_add((170_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((13_976_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 110_000 - .saturating_add((4_485_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 20_000 + .saturating_add((3_810_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 20_000 + .saturating_add((13_581_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 100_000 + .saturating_add((4_713_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 13_000 - .saturating_add((4_287_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 44_000 - .saturating_add((855_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 13_000 - .saturating_add((10_423_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 67_000 - .saturating_add((4_467_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 11_000 + .saturating_add((3_973_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 37_000 + .saturating_add((618_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 11_000 + .saturating_add((10_111_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 55_000 + .saturating_add((4_482_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 16e51d0a35ef..6dde37f330fb 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for pallet_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2021-03-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: @@ -44,171 +44,171 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (76_655_000 as Weight) + (81_499_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (62_697_000 as Weight) + (65_711_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (57_677_000 as Weight) + (59_921_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (58_550_000 as Weight) + (59_327_000 as Weight) // Standard Error: 0 - .saturating_add((33_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((32_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (90_608_000 as Weight) + (92_969_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_620_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_788_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (19_249_000 as Weight) + (19_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn kick(k: u32, ) -> Weight { - (16_162_000 as Weight) - // Standard Error: 7_000 - .saturating_add((18_595_000 as Weight).saturating_mul(k as Weight)) + (12_197_000 as Weight) + // Standard Error: 13_000 + .saturating_add((19_522_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } fn nominate(n: u32, ) -> Weight { - (29_674_000 as Weight) - // Standard Error: 12_000 - .saturating_add((5_946_000 as Weight).saturating_mul(n as Weight)) + (30_233_000 as Weight) + // Standard Error: 11_000 + .saturating_add((6_033_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (18_554_000 as Weight) + (19_039_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (12_732_000 as Weight) + (12_639_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (28_004_000 as Weight) + (28_213_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (2_289_000 as Weight) + (2_227_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (2_485_000 as Weight) + (2_471_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (2_531_000 as Weight) + (2_474_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (2_570_000 as Weight) + (2_498_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (2_608_000 as Weight) + (2_574_000 as Weight) // Standard Error: 0 .saturating_add((35_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (61_375_000 as Weight) + (62_942_000 as Weight) // Standard Error: 1_000 - .saturating_add((2_596_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_777_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_908_427_000 as Weight) - // Standard Error: 389_000 - .saturating_add((34_633_000 as Weight).saturating_mul(s as Weight)) + (5_907_418_000 as Weight) + // Standard Error: 388_000 + .saturating_add((34_797_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (113_072_000 as Weight) - // Standard Error: 18_000 - .saturating_add((49_690_000 as Weight).saturating_mul(n as Weight)) + (110_034_000 as Weight) + // Standard Error: 27_000 + .saturating_add((53_473_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (139_374_000 as Weight) - // Standard Error: 20_000 - .saturating_add((64_080_000 as Weight).saturating_mul(n as Weight)) + (139_985_000 as Weight) + // Standard Error: 36_000 + .saturating_add((66_694_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (40_440_000 as Weight) + (40_653_000 as Weight) // Standard Error: 1_000 - .saturating_add((82_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((83_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 62_000 - .saturating_add((32_193_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 66_000 + .saturating_add((34_574_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (65_018_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_582_000 as Weight).saturating_mul(s as Weight)) + (66_194_000 as Weight) + // Standard Error: 0 + .saturating_add((2_776_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 817_000 - .saturating_add((579_390_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 41_000 - .saturating_add((82_050_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) + // Standard Error: 866_000 + .saturating_add((589_008_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 43_000 + .saturating_add((83_399_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(8 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight))) } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - // Standard Error: 51_000 - .saturating_add((635_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 20_000 - .saturating_add((334_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 51_000 - .saturating_add((75_418_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 106_000 - .saturating_add((6_813_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 49_000 + .saturating_add((1_193_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 19_000 + .saturating_add((613_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 49_000 + .saturating_add((77_076_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 103_000 + .saturating_add((7_277_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) @@ -216,20 +216,20 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 113_000 - .saturating_add((26_614_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 113_000 - .saturating_add((64_299_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 1_547_000 - .saturating_add((20_092_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 108_000 + .saturating_add((29_045_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 108_000 + .saturating_add((68_556_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_480_000 + .saturating_add((25_444_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) } fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 29_000 - .saturating_add((10_228_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 26_000 + .saturating_add((10_855_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) }