update weights (0.9.37) (#6546) (#6555)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-01-19 14:43:19 +01:00
committed by GitHub
parent ad8c2aff5e
commit 8ff50d0fa7
157 changed files with 6297 additions and 6465 deletions
@@ -16,23 +16,21 @@
//! Autogenerated weights for `pallet_staking`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_staking
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
// --pallet=pallet_staking
// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -52,8 +50,8 @@ 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 {
// Minimum execution time: 46_498 nanoseconds.
Weight::from_ref_time(47_017_000)
// Minimum execution time: 46_225 nanoseconds.
Weight::from_ref_time(46_884_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -63,8 +61,8 @@ 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 {
// Minimum execution time: 83_337 nanoseconds.
Weight::from_ref_time(84_125_000)
// Minimum execution time: 82_086 nanoseconds.
Weight::from_ref_time(82_789_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -78,8 +76,8 @@ 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 {
// Minimum execution time: 89_555 nanoseconds.
Weight::from_ref_time(90_189_000)
// Minimum execution time: 88_395 nanoseconds.
Weight::from_ref_time(89_030_000)
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -89,10 +87,10 @@ 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 {
// Minimum execution time: 39_859 nanoseconds.
Weight::from_ref_time(41_164_480)
// Standard Error: 870
.saturating_add(Weight::from_ref_time(22_362).saturating_mul(s.into()))
// Minimum execution time: 39_108 nanoseconds.
Weight::from_ref_time(41_334_480)
// Standard Error: 2_009
.saturating_add(Weight::from_ref_time(24_723).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -112,10 +110,10 @@ 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 withdraw_unbonded_kill(s: u32, ) -> Weight {
// Minimum execution time: 78_182 nanoseconds.
Weight::from_ref_time(82_653_282)
// Standard Error: 2_211
.saturating_add(Weight::from_ref_time(919_603).saturating_mul(s.into()))
// Minimum execution time: 77_055 nanoseconds.
Weight::from_ref_time(82_323_354)
// Standard Error: 2_448
.saturating_add(Weight::from_ref_time(908_731).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -132,8 +130,8 @@ 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 {
// Minimum execution time: 60_801 nanoseconds.
Weight::from_ref_time(61_461_000)
// Minimum execution time: 59_210 nanoseconds.
Weight::from_ref_time(59_693_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -141,10 +139,10 @@ 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 {
// Minimum execution time: 34_706 nanoseconds.
Weight::from_ref_time(30_155_201)
// Standard Error: 9_801
.saturating_add(Weight::from_ref_time(6_812_249).saturating_mul(k.into()))
// Minimum execution time: 33_792 nanoseconds.
Weight::from_ref_time(32_802_713)
// Standard Error: 10_559
.saturating_add(Weight::from_ref_time(6_723_236).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
@@ -162,10 +160,10 @@ 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 {
// Minimum execution time: 63_815 nanoseconds.
Weight::from_ref_time(62_277_624)
// Standard Error: 8_020
.saturating_add(Weight::from_ref_time(2_558_933).saturating_mul(n.into()))
// Minimum execution time: 62_794 nanoseconds.
Weight::from_ref_time(62_131_011)
// Standard Error: 8_364
.saturating_add(Weight::from_ref_time(2_489_101).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6))
@@ -178,58 +176,58 @@ 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 {
// Minimum execution time: 59_765 nanoseconds.
Weight::from_ref_time(60_359_000)
// Minimum execution time: 58_444 nanoseconds.
Weight::from_ref_time(59_019_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Staking Payee (r:0 w:1)
fn set_payee() -> Weight {
// Minimum execution time: 15_948 nanoseconds.
Weight::from_ref_time(16_331_000)
// Minimum execution time: 15_296 nanoseconds.
Weight::from_ref_time(15_835_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
// Storage: Staking Ledger (r:2 w:2)
fn set_controller() -> Weight {
// Minimum execution time: 22_707 nanoseconds.
Weight::from_ref_time(23_051_000)
// Minimum execution time: 21_762 nanoseconds.
Weight::from_ref_time(22_572_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Staking ValidatorCount (r:0 w:1)
fn set_validator_count() -> Weight {
// Minimum execution time: 4_236 nanoseconds.
Weight::from_ref_time(4_468_000)
// Minimum execution time: 4_223 nanoseconds.
Weight::from_ref_time(4_391_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_no_eras() -> Weight {
// Minimum execution time: 4_264 nanoseconds.
Weight::from_ref_time(4_397_000)
// Minimum execution time: 16_128 nanoseconds.
Weight::from_ref_time(16_640_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era() -> Weight {
// Minimum execution time: 4_334 nanoseconds.
Weight::from_ref_time(4_478_000)
// Minimum execution time: 16_147 nanoseconds.
Weight::from_ref_time(16_642_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era_always() -> Weight {
// Minimum execution time: 4_429 nanoseconds.
Weight::from_ref_time(4_522_000)
// Minimum execution time: 16_033 nanoseconds.
Weight::from_ref_time(16_465_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Invulnerables (r:0 w:1)
/// The range of component `v` is `[0, 1000]`.
fn set_invulnerables(v: u32, ) -> Weight {
// Minimum execution time: 4_573 nanoseconds.
Weight::from_ref_time(4_979_271)
// Standard Error: 29
.saturating_add(Weight::from_ref_time(10_199).saturating_mul(v.into()))
// Minimum execution time: 4_301 nanoseconds.
Weight::from_ref_time(4_818_792)
// Standard Error: 35
.saturating_add(Weight::from_ref_time(10_479).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
@@ -247,10 +245,10 @@ 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 {
// Minimum execution time: 71_604 nanoseconds.
Weight::from_ref_time(76_356_335)
// Standard Error: 2_128
.saturating_add(Weight::from_ref_time(924_544).saturating_mul(s.into()))
// Minimum execution time: 70_878 nanoseconds.
Weight::from_ref_time(75_949_648)
// Standard Error: 1_704
.saturating_add(Weight::from_ref_time(905_705).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -258,10 +256,10 @@ 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 {
// Minimum execution time: 111_696 nanoseconds.
Weight::from_ref_time(919_128_155)
// Standard Error: 58_383
.saturating_add(Weight::from_ref_time(4_917_235).saturating_mul(s.into()))
// Minimum execution time: 119_251 nanoseconds.
Weight::from_ref_time(1_332_578_423)
// Standard Error: 88_242
.saturating_add(Weight::from_ref_time(7_435_300).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -276,10 +274,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
// Minimum execution time: 110_470 nanoseconds.
Weight::from_ref_time(214_513_056)
// Standard Error: 17_132
.saturating_add(Weight::from_ref_time(21_681_392).saturating_mul(n.into()))
// Minimum execution time: 107_162 nanoseconds.
Weight::from_ref_time(211_839_279)
// Standard Error: 17_368
.saturating_add(Weight::from_ref_time(21_497_225).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -297,10 +295,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Minimum execution time: 127_623 nanoseconds.
Weight::from_ref_time(71_193_329)
// Standard Error: 104_006
.saturating_add(Weight::from_ref_time(31_734_017).saturating_mul(n.into()))
// Minimum execution time: 123_391 nanoseconds.
Weight::from_ref_time(67_805_421)
// Standard Error: 119_484
.saturating_add(Weight::from_ref_time(32_012_077).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
@@ -314,10 +312,10 @@ 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 {
// Minimum execution time: 81_989 nanoseconds.
Weight::from_ref_time(84_089_774)
// Standard Error: 3_862
.saturating_add(Weight::from_ref_time(34_551).saturating_mul(l.into()))
// Minimum execution time: 81_605 nanoseconds.
Weight::from_ref_time(84_323_235)
// Standard Error: 6_874
.saturating_add(Weight::from_ref_time(30_456).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -336,10 +334,10 @@ 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 {
// Minimum execution time: 81_744 nanoseconds.
Weight::from_ref_time(83_697_917)
// Standard Error: 2_378
.saturating_add(Weight::from_ref_time(928_791).saturating_mul(s.into()))
// Minimum execution time: 83_047 nanoseconds.
Weight::from_ref_time(83_752_107)
// Standard Error: 2_166
.saturating_add(Weight::from_ref_time(904_436).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -365,12 +363,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[1, 10]`.
/// The range of component `n` is `[0, 100]`.
fn new_era(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 426_726 nanoseconds.
Weight::from_ref_time(427_956_000)
// Standard Error: 1_694_488
.saturating_add(Weight::from_ref_time(55_297_221).saturating_mul(v.into()))
// Standard Error: 168_846
.saturating_add(Weight::from_ref_time(12_858_483).saturating_mul(n.into()))
// Minimum execution time: 426_412 nanoseconds.
Weight::from_ref_time(429_495_000)
// Standard Error: 1_771_114
.saturating_add(Weight::from_ref_time(58_774_598).saturating_mul(v.into()))
// Standard Error: 176_481
.saturating_add(Weight::from_ref_time(13_025_815).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(173))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -389,12 +387,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 25_092_560 nanoseconds.
Weight::from_ref_time(25_487_312_000)
// Standard Error: 547_909
.saturating_add(Weight::from_ref_time(4_859_299).saturating_mul(v.into()))
// Standard Error: 547_909
.saturating_add(Weight::from_ref_time(4_082_635).saturating_mul(n.into()))
// Minimum execution time: 25_376_926 nanoseconds.
Weight::from_ref_time(25_562_737_000)
// Standard Error: 572_970
.saturating_add(Weight::from_ref_time(5_264_964).saturating_mul(v.into()))
// Standard Error: 572_970
.saturating_add(Weight::from_ref_time(4_590_215).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(168))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -405,10 +403,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
fn get_npos_targets(v: u32, ) -> Weight {
// Minimum execution time: 3_516_893 nanoseconds.
Weight::from_ref_time(139_483_001)
// Standard Error: 43_749
.saturating_add(Weight::from_ref_time(7_181_910).saturating_mul(v.into()))
// Minimum execution time: 3_520_129 nanoseconds.
Weight::from_ref_time(3_656_688_000)
// Standard Error: 41_807
.saturating_add(Weight::from_ref_time(2_624_109).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -420,8 +418,8 @@ 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 {
// Minimum execution time: 7_596 nanoseconds.
Weight::from_ref_time(7_960_000)
// Minimum execution time: 7_565 nanoseconds.
Weight::from_ref_time(7_798_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:0 w:1)
@@ -431,8 +429,8 @@ 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 {
// Minimum execution time: 7_041 nanoseconds.
Weight::from_ref_time(7_258_000)
// Minimum execution time: 6_694 nanoseconds.
Weight::from_ref_time(7_029_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
@@ -446,23 +444,23 @@ 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 {
// Minimum execution time: 69_602 nanoseconds.
Weight::from_ref_time(71_173_000)
// Minimum execution time: 69_704 nanoseconds.
Weight::from_ref_time(70_564_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:1 w:0)
// Storage: Staking Validators (r:1 w:1)
fn force_apply_min_commission() -> Weight {
// Minimum execution time: 15_488 nanoseconds.
Weight::from_ref_time(15_690_000)
// Minimum execution time: 15_092 nanoseconds.
Weight::from_ref_time(15_313_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking MinCommission (r:0 w:1)
fn set_min_commission() -> Weight {
// Minimum execution time: 4_360 nanoseconds.
Weight::from_ref_time(4_617_000)
// Minimum execution time: 4_296 nanoseconds.
Weight::from_ref_time(4_464_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}