mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
update weights (#5844)
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights * update BlockExecutionWeight * kusama: readd phragmen remove_member_wrong_refund weight * polkadot: readd phragmen remove_member_wrong_refund weight
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_staking`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-07-29, 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("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -51,7 +51,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
(39_993_000 as Weight)
|
||||
(41_764_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -61,7 +61,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
(71_002_000 as Weight)
|
||||
(72_216_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
@@ -75,7 +75,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
(77_454_000 as Weight)
|
||||
(77_934_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
@@ -85,9 +85,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
(32_165_000 as Weight)
|
||||
(32_181_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((27_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((33_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -105,8 +105,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
(62_083_000 as Weight)
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
(62_831_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(13 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as Weight))
|
||||
}
|
||||
@@ -122,7 +124,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
(51_382_000 as Weight)
|
||||
(51_316_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
@@ -130,9 +132,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
/// The range of component `k` is `[1, 128]`.
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
(10_614_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((9_362_000 as Weight).saturating_mul(k as Weight))
|
||||
(11_345_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((9_541_000 as Weight).saturating_mul(k as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 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)))
|
||||
@@ -150,9 +152,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
(52_846_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((3_293_000 as Weight).saturating_mul(n as Weight))
|
||||
(54_055_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((3_229_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
@@ -165,48 +167,48 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
(47_982_000 as Weight)
|
||||
(48_796_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
(10_057_000 as Weight)
|
||||
(10_095_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
(17_733_000 as Weight)
|
||||
(18_034_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
(3_864_000 as Weight)
|
||||
(3_828_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
(3_719_000 as Weight)
|
||||
(3_768_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
(3_808_000 as Weight)
|
||||
(3_811_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
(3_848_000 as Weight)
|
||||
(3_842_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
(4_226_000 as Weight)
|
||||
(4_289_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((10_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -226,9 +228,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
(59_037_000 as Weight)
|
||||
(60_194_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((912_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((906_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
@@ -236,9 +238,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 1000]`.
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
(2_566_752_000 as Weight)
|
||||
// Standard Error: 168_000
|
||||
.saturating_add((15_020_000 as Weight).saturating_mul(s as Weight))
|
||||
(2_941_063_000 as Weight)
|
||||
// Standard Error: 194_000
|
||||
.saturating_add((17_433_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))
|
||||
}
|
||||
@@ -254,9 +256,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
(87_218_000 as Weight)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add((25_985_000 as Weight).saturating_mul(n as Weight))
|
||||
(81_814_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((26_329_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(10 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))
|
||||
@@ -275,9 +277,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
(109_039_000 as Weight)
|
||||
// Standard Error: 27_000
|
||||
.saturating_add((34_459_000 as Weight).saturating_mul(n as Weight))
|
||||
(96_333_000 as Weight)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add((35_074_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 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))
|
||||
@@ -291,9 +293,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// The range of component `l` is `[1, 32]`.
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
(70_561_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((51_000 as Weight).saturating_mul(l as Weight))
|
||||
(70_960_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((60_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
@@ -309,8 +311,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn set_history_depth(e: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 59_000
|
||||
.saturating_add((21_969_000 as Weight).saturating_mul(e as Weight))
|
||||
// Standard Error: 60_000
|
||||
.saturating_add((21_592_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)))
|
||||
@@ -330,9 +332,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
(65_533_000 as Weight)
|
||||
(66_784_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((906_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((901_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
@@ -360,10 +362,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 1_221_000
|
||||
.saturating_add((315_889_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 61_000
|
||||
.saturating_add((40_755_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 1_038_000
|
||||
.saturating_add((298_321_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 52_000
|
||||
.saturating_add((39_784_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight)))
|
||||
@@ -384,12 +386,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 116_000
|
||||
.saturating_add((24_402_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 116_000
|
||||
.saturating_add((22_934_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 3_946_000
|
||||
.saturating_add((43_141_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 121_000
|
||||
.saturating_add((25_245_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 121_000
|
||||
.saturating_add((23_840_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 4_131_000
|
||||
.saturating_add((42_803_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight)))
|
||||
@@ -401,8 +403,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 35_000
|
||||
.saturating_add((7_484_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 32_000
|
||||
.saturating_add((7_656_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -414,7 +416,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
(6_546_000 as Weight)
|
||||
(6_596_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
@@ -424,7 +426,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
(6_239_000 as Weight)
|
||||
(6_246_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -438,14 +440,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
(56_546_000 as Weight)
|
||||
(57_750_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
(11_193_000 as Weight)
|
||||
(11_510_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user