update weights (sync with v0.9.29) (#5989)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights

* fixup

* revert block weights
This commit is contained in:
Mara Robin B
2022-09-12 13:48:27 +02:00
committed by GitHub
parent 69aefab456
commit db0fc60344
128 changed files with 2705 additions and 2540 deletions
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-09-08, 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("westend-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,13 +32,13 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/westend/src/weights/pallet_nomination_pools.rs
// --output=./runtime/westend/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![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_nomination_pools`.
@@ -58,7 +58,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn join() -> Weight {
Weight::from_ref_time(127_461_000 as u64)
Weight::from_ref_time(138_670_000 as u64)
.saturating_add(T::DbWeight::get().reads(17 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -72,7 +72,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_transfer() -> Weight {
Weight::from_ref_time(119_965_000 as u64)
Weight::from_ref_time(138_922_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -86,7 +86,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:2 w:2)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_reward() -> Weight {
Weight::from_ref_time(126_924_000 as u64)
Weight::from_ref_time(139_673_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -95,7 +95,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools RewardPools (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn claim_payout() -> Weight {
Weight::from_ref_time(48_168_000 as u64)
Weight::from_ref_time(55_421_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -114,7 +114,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
fn unbond() -> Weight {
Weight::from_ref_time(124_841_000 as u64)
Weight::from_ref_time(140_347_000 as u64)
.saturating_add(T::DbWeight::get().reads(18 as u64))
.saturating_add(T::DbWeight::get().writes(13 as u64))
}
@@ -124,9 +124,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Balances Locks (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
Weight::from_ref_time(41_129_000 as u64)
Weight::from_ref_time(52_101_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -140,9 +140,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(78_870_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(s as u64))
Weight::from_ref_time(93_331_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -163,13 +163,16 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools RewardPools (r:1 w:1)
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
// Storage: NominationPools Metadata (r:1 w:1)
// Storage: NominationPools CounterForBondedPools (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(137_414_000 as u64)
.saturating_add(T::DbWeight::get().reads(19 as u64))
.saturating_add(T::DbWeight::get().writes(16 as u64))
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
Weight::from_ref_time(145_331_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(20 as u64))
.saturating_add(T::DbWeight::get().writes(17 as u64))
}
// Storage: Staking MinNominatorBond (r:1 w:0)
// Storage: NominationPools MinCreateBond (r:1 w:0)
@@ -194,7 +197,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
fn create() -> Weight {
Weight::from_ref_time(131_154_000 as u64)
Weight::from_ref_time(131_800_000 as u64)
.saturating_add(T::DbWeight::get().reads(22 as u64))
.saturating_add(T::DbWeight::get().writes(15 as u64))
}
@@ -212,9 +215,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Staking CounterForNominators (r:1 w:1)
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(50_310_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_137_000 as u64).saturating_mul(n as u64))
Weight::from_ref_time(61_633_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(1_008_000 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(5 as u64))
@@ -222,7 +225,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Ledger (r:1 w:0)
fn set_state() -> Weight {
Weight::from_ref_time(25_062_000 as u64)
Weight::from_ref_time(35_755_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -231,7 +234,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForMetadata (r:1 w:1)
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
Weight::from_ref_time(13_890_000 as u64)
Weight::from_ref_time(17_011_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
@@ -243,12 +246,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools MinCreateBond (r:0 w:1)
// Storage: NominationPools MaxPools (r:0 w:1)
fn set_configs() -> Weight {
Weight::from_ref_time(6_811_000 as u64)
Weight::from_ref_time(7_744_000 as u64)
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: NominationPools BondedPools (r:1 w:1)
fn update_roles() -> Weight {
Weight::from_ref_time(21_056_000 as u64)
Weight::from_ref_time(26_398_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -261,7 +264,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill() -> Weight {
Weight::from_ref_time(48_506_000 as u64)
Weight::from_ref_time(61_574_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}