mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
update weights (sync with 0.9.33) (#6362)
* update weights (0.9.33) (#6299) * kusama: update weights * polkadot: update weights * rococo: update weights * westend: update weights * fix deps * Resolve merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Reset Kusama whitelist weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, 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:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_staking`.
|
||||
@@ -47,12 +47,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
Weight::from_ref_time(46_005_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
// Minimum execution time: 46_644 nanoseconds.
|
||||
Weight::from_ref_time(47_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
@@ -61,7 +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 {
|
||||
Weight::from_ref_time(79_816_000 as u64)
|
||||
// Minimum execution time: 83_700 nanoseconds.
|
||||
Weight::from_ref_time(84_180_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -75,7 +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 {
|
||||
Weight::from_ref_time(84_908_000 as u64)
|
||||
// Minimum execution time: 88_626 nanoseconds.
|
||||
Weight::from_ref_time(89_533_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -85,9 +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 {
|
||||
Weight::from_ref_time(39_533_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_857 nanoseconds.
|
||||
Weight::from_ref_time(41_762_625 as u64)
|
||||
// Standard Error: 793
|
||||
.saturating_add(Weight::from_ref_time(19_027 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -105,8 +108,11 @@ 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 {
|
||||
Weight::from_ref_time(74_544_000 as u64)
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 77_333 nanoseconds.
|
||||
Weight::from_ref_time(78_922_702 as u64)
|
||||
// Standard Error: 1_167
|
||||
.saturating_add(Weight::from_ref_time(2_228 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as u64))
|
||||
}
|
||||
@@ -122,7 +128,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 {
|
||||
Weight::from_ref_time(57_525_000 as u64)
|
||||
// Minimum execution time: 60_771 nanoseconds.
|
||||
Weight::from_ref_time(62_120_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -130,9 +137,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 {
|
||||
Weight::from_ref_time(29_911_000 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(6_821_000 as u64).saturating_mul(k as u64))
|
||||
// Minimum execution time: 35_488 nanoseconds.
|
||||
Weight::from_ref_time(31_260_124 as u64)
|
||||
// Standard Error: 10_282
|
||||
.saturating_add(Weight::from_ref_time(6_618_104 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
|
||||
@@ -150,9 +158,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 {
|
||||
Weight::from_ref_time(59_437_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(2_490_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 63_100 nanoseconds.
|
||||
Weight::from_ref_time(61_836_772 as u64)
|
||||
// Standard Error: 7_808
|
||||
.saturating_add(Weight::from_ref_time(2_532_660 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
@@ -165,50 +174,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 {
|
||||
Weight::from_ref_time(56_100_000 as u64)
|
||||
// Minimum execution time: 58_416 nanoseconds.
|
||||
Weight::from_ref_time(59_201_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
Weight::from_ref_time(15_258_000 as u64)
|
||||
// Minimum execution time: 15_931 nanoseconds.
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
Weight::from_ref_time(21_938_000 as u64)
|
||||
// Minimum execution time: 22_947 nanoseconds.
|
||||
Weight::from_ref_time(23_520_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
Weight::from_ref_time(4_071_000 as u64)
|
||||
// Minimum execution time: 4_206 nanoseconds.
|
||||
Weight::from_ref_time(4_371_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
Weight::from_ref_time(4_152_000 as u64)
|
||||
// Minimum execution time: 4_225 nanoseconds.
|
||||
Weight::from_ref_time(4_324_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
Weight::from_ref_time(4_318_000 as u64)
|
||||
// Minimum execution time: 4_361 nanoseconds.
|
||||
Weight::from_ref_time(4_489_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
Weight::from_ref_time(4_106_000 as u64)
|
||||
// Minimum execution time: 4_369 nanoseconds.
|
||||
Weight::from_ref_time(4_611_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_502_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 4_450 nanoseconds.
|
||||
Weight::from_ref_time(4_810_067 as u64)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(10_502 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -226,9 +243,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 {
|
||||
Weight::from_ref_time(71_669_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(883_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 71_970 nanoseconds.
|
||||
Weight::from_ref_time(77_083_021 as u64)
|
||||
// Standard Error: 2_001
|
||||
.saturating_add(Weight::from_ref_time(866_865 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -236,49 +254,50 @@ 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 {
|
||||
Weight::from_ref_time(930_179_000 as u64)
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(4_953_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 118_673 nanoseconds.
|
||||
Weight::from_ref_time(1_326_106_039 as u64)
|
||||
// Standard Error: 87_435
|
||||
.saturating_add(Weight::from_ref_time(7_437_525 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))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(150_647_000 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(20_795_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
// Minimum execution time: 109_550 nanoseconds.
|
||||
Weight::from_ref_time(206_474_081 as u64)
|
||||
// Standard Error: 16_169
|
||||
.saturating_add(Weight::from_ref_time(21_555_193 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(177_911_000 as u64)
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(28_200_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
// Minimum execution time: 126_170 nanoseconds.
|
||||
Weight::from_ref_time(194_778_058 as u64)
|
||||
// Standard Error: 27_867
|
||||
.saturating_add(Weight::from_ref_time(30_845_851 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64)))
|
||||
@@ -291,9 +310,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 {
|
||||
Weight::from_ref_time(80_037_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(24_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 82_627 nanoseconds.
|
||||
Weight::from_ref_time(84_126_338 as u64)
|
||||
// Standard Error: 4_351
|
||||
.saturating_add(Weight::from_ref_time(45_779 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -312,9 +332,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 {
|
||||
Weight::from_ref_time(78_855_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(869_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 84_348 nanoseconds.
|
||||
Weight::from_ref_time(84_781_622 as u64)
|
||||
// Standard Error: 3_494
|
||||
.saturating_add(Weight::from_ref_time(869_042 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -332,21 +353,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: Staking MinimumValidatorCount (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:1)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasStakersClipped (r:0 w:1)
|
||||
// Storage: Staking ErasValidatorPrefs (r:0 w:1)
|
||||
// Storage: Staking ErasStakers (r:0 w:1)
|
||||
// Storage: Staking ErasTotalStake (r:0 w:1)
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
/// The range of component `v` is `[1, 10]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 579_000
|
||||
.saturating_add(Weight::from_ref_time(161_445_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 55_000
|
||||
.saturating_add(Weight::from_ref_time(22_905_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as u64))
|
||||
// Minimum execution time: 431_295 nanoseconds.
|
||||
Weight::from_ref_time(434_958_000 as u64)
|
||||
// Standard Error: 1_764_016
|
||||
.saturating_add(Weight::from_ref_time(57_522_953 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 175_774
|
||||
.saturating_add(Weight::from_ref_time(13_158_469 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(191 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -365,27 +386,28 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[500, 1000]`.
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 375_000
|
||||
.saturating_add(Weight::from_ref_time(41_603_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 375_000
|
||||
.saturating_add(Weight::from_ref_time(38_528_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 9_578_000
|
||||
.saturating_add(Weight::from_ref_time(41_537_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_480_054 nanoseconds.
|
||||
Weight::from_ref_time(26_659_270_000 as u64)
|
||||
// Standard Error: 480_708
|
||||
.saturating_add(Weight::from_ref_time(10_306_257 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 480_708
|
||||
.saturating_add(Weight::from_ref_time(12_612_184 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CounterForValidators (r:1 w:0)
|
||||
// Storage: Staking Validators (r:501 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(310_326_000 as u64)
|
||||
// Standard Error: 56_000
|
||||
.saturating_add(Weight::from_ref_time(6_164_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 3_520_733 nanoseconds.
|
||||
Weight::from_ref_time(3_602_387_000 as u64)
|
||||
// Standard Error: 41_226
|
||||
.saturating_add(Weight::from_ref_time(2_633_121 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -396,7 +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 {
|
||||
Weight::from_ref_time(7_502_000 as u64)
|
||||
// Minimum execution time: 7_287 nanoseconds.
|
||||
Weight::from_ref_time(7_534_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
@@ -406,7 +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 {
|
||||
Weight::from_ref_time(6_757_000 as u64)
|
||||
// Minimum execution time: 6_570 nanoseconds.
|
||||
Weight::from_ref_time(6_834_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -420,14 +444,16 @@ 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 {
|
||||
Weight::from_ref_time(66_406_000 as u64)
|
||||
// Minimum execution time: 69_446 nanoseconds.
|
||||
Weight::from_ref_time(71_663_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
Weight::from_ref_time(14_744_000 as u64)
|
||||
// Minimum execution time: 15_387 nanoseconds.
|
||||
Weight::from_ref_time(15_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user