update weights (sync with 0.9.42) (#7149)

* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
@@ -13,10 +13,11 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
@@ -38,9 +39,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions for `pallet_nomination_pools`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:2 w:2)
@@ -76,11 +80,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn join() -> Weight {
// Proof Size summary in bytes:
// Measured: `3281`
// Estimated: `52915`
// Minimum execution time: 154_312_000 picoseconds.
Weight::from_parts(156_224_000, 0)
.saturating_add(Weight::from_parts(0, 52915))
.saturating_add(T::DbWeight::get().reads(18))
// Estimated: `8877`
// Minimum execution time: 177_602_000 picoseconds.
Weight::from_parts(178_886_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().writes(12))
}
/// Storage: NominationPools PoolMembers (r:1 w:1)
@@ -99,6 +103,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:2 w:2)
@@ -106,11 +112,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `3291`
// Estimated: `49550`
// Minimum execution time: 152_354_000 picoseconds.
Weight::from_parts(153_461_000, 0)
.saturating_add(Weight::from_parts(0, 49550))
.saturating_add(T::DbWeight::get().reads(15))
// Estimated: `8877`
// Minimum execution time: 175_098_000 picoseconds.
Weight::from_parts(176_107_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(12))
}
/// Storage: NominationPools ClaimPermissions (r:1 w:0)
@@ -131,6 +137,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:2 w:2)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:2 w:2)
@@ -138,11 +146,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `3186`
// Estimated: `50427`
// Minimum execution time: 163_952_000 picoseconds.
Weight::from_parts(164_854_000, 0)
.saturating_add(Weight::from_parts(0, 50427))
.saturating_add(T::DbWeight::get().reads(15))
// Estimated: `8799`
// Minimum execution time: 201_424_000 picoseconds.
Weight::from_parts(202_697_000, 0)
.saturating_add(Weight::from_parts(0, 8799))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(12))
}
/// Storage: NominationPools ClaimPermissions (r:1 w:0)
@@ -160,10 +168,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
// Measured: `1137`
// Estimated: `20012`
// Minimum execution time: 58_997_000 picoseconds.
Weight::from_parts(60_025_000, 0)
.saturating_add(Weight::from_parts(0, 20012))
// Estimated: `4182`
// Minimum execution time: 75_191_000 picoseconds.
Weight::from_parts(76_431_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -189,6 +197,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: VoterList ListBags (r:2 w:2)
@@ -200,11 +210,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn unbond() -> Weight {
// Proof Size summary in bytes:
// Measured: `3560`
// Estimated: `59175`
// Minimum execution time: 157_363_000 picoseconds.
Weight::from_parts(158_903_000, 0)
.saturating_add(Weight::from_parts(0, 59175))
.saturating_add(T::DbWeight::get().reads(19))
// Estimated: `8877`
// Minimum execution time: 159_933_000 picoseconds.
Weight::from_parts(161_356_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: NominationPools BondedPools (r:1 w:0)
@@ -217,17 +227,19 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1614`
// Estimated: `18031`
// Minimum execution time: 52_740_000 picoseconds.
Weight::from_parts(54_643_573, 0)
.saturating_add(Weight::from_parts(0, 18031))
// Standard Error: 1_401
.saturating_add(Weight::from_parts(3_342, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
// Estimated: `4764`
// Minimum execution time: 60_244_000 picoseconds.
Weight::from_parts(61_491_734, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 728
.saturating_add(Weight::from_parts(8_597, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: NominationPools PoolMembers (r:1 w:1)
@@ -244,6 +256,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
@@ -254,13 +268,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2042`
// Estimated: `31021`
// Minimum execution time: 101_534_000 picoseconds.
Weight::from_parts(103_720_636, 0)
.saturating_add(Weight::from_parts(0, 31021))
// Standard Error: 1_467
.saturating_add(Weight::from_parts(24_504, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(9))
// Estimated: `4764`
// Minimum execution time: 123_798_000 picoseconds.
Weight::from_parts(125_782_942, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 1_097
.saturating_add(Weight::from_parts(13_903, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
/// Storage: NominationPools PoolMembers (r:1 w:1)
@@ -285,6 +299,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
/// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: NominationPools ReversePoolIdLookup (r:1 w:1)
@@ -306,16 +322,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2398`
// Estimated: `63777`
// Minimum execution time: 160_704_000 picoseconds.
Weight::from_parts(163_586_296, 0)
.saturating_add(Weight::from_parts(0, 63777))
// Standard Error: 2_517
.saturating_add(Weight::from_parts(1_718, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(20))
// Estimated: `6196`
// Minimum execution time: 206_441_000 picoseconds.
Weight::from_parts(209_614_440, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(18))
}
/// Storage: NominationPools LastPoolId (r:1 w:1)
@@ -348,6 +362,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: NominationPools RewardPools (r:1 w:1)
/// Proof: NominationPools RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen)
/// Storage: NominationPools CounterForRewardPools (r:1 w:1)
@@ -363,11 +379,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `1222`
// Estimated: `51890`
// Minimum execution time: 140_215_000 picoseconds.
Weight::from_parts(141_417_000, 0)
.saturating_add(Weight::from_parts(0, 51890))
.saturating_add(T::DbWeight::get().reads(21))
// Estimated: `6196`
// Minimum execution time: 180_245_000 picoseconds.
Weight::from_parts(181_550_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(22))
.saturating_add(T::DbWeight::get().writes(15))
}
/// Storage: NominationPools BondedPools (r:1 w:0)
@@ -398,12 +414,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1779`
// Estimated: `33934 + n * (2520 ±0)`
// Minimum execution time: 65_371_000 picoseconds.
Weight::from_parts(65_488_837, 0)
.saturating_add(Weight::from_parts(0, 33934))
// Standard Error: 8_064
.saturating_add(Weight::from_parts(1_355_723, 0).saturating_mul(n.into()))
// Estimated: `4556 + n * (2520 ±0)`
// Minimum execution time: 65_211_000 picoseconds.
Weight::from_parts(65_260_516, 0)
.saturating_add(Weight::from_parts(0, 4556))
// Standard Error: 4_245
.saturating_add(Weight::from_parts(1_345_385, 0).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(5))
@@ -418,10 +434,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_state() -> Weight {
// Proof Size summary in bytes:
// Measured: `1367`
// Estimated: `11778`
// Minimum execution time: 36_303_000 picoseconds.
Weight::from_parts(36_810_000, 0)
.saturating_add(Weight::from_parts(0, 11778))
// Estimated: `4556`
// Minimum execution time: 36_015_000 picoseconds.
Weight::from_parts(36_792_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -435,12 +451,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_metadata(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `8909`
// Minimum execution time: 14_287_000 picoseconds.
Weight::from_parts(14_970_241, 0)
.saturating_add(Weight::from_parts(0, 8909))
// Standard Error: 123
.saturating_add(Weight::from_parts(806, 0).saturating_mul(n.into()))
// Estimated: `3735`
// Minimum execution time: 14_629_000 picoseconds.
Weight::from_parts(15_074_709, 0)
.saturating_add(Weight::from_parts(0, 3735))
// Standard Error: 300
.saturating_add(Weight::from_parts(2_509, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -460,8 +476,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_120_000 picoseconds.
Weight::from_parts(6_585_000, 0)
// Minimum execution time: 6_595_000 picoseconds.
Weight::from_parts(6_793_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -471,8 +487,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `3685`
// Minimum execution time: 20_088_000 picoseconds.
Weight::from_parts(20_451_000, 0)
// Minimum execution time: 19_506_000 picoseconds.
Weight::from_parts(19_966_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -498,10 +514,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn chill() -> Weight {
// Proof Size summary in bytes:
// Measured: `1942`
// Estimated: `29455`
// Minimum execution time: 63_514_000 picoseconds.
Weight::from_parts(64_160_000, 0)
.saturating_add(Weight::from_parts(0, 29455))
// Estimated: `4556`
// Minimum execution time: 63_792_000 picoseconds.
Weight::from_parts(64_545_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -516,10 +532,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `736`
// Estimated: `12324`
// Minimum execution time: 33_264_000 picoseconds.
Weight::from_parts(33_633_000, 0)
.saturating_add(Weight::from_parts(0, 12324))
// Estimated: `3685`
// Minimum execution time: 32_651_000 picoseconds.
Weight::from_parts(33_117_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -529,8 +545,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `537`
// Estimated: `3685`
// Minimum execution time: 19_288_000 picoseconds.
Weight::from_parts(19_539_000, 0)
// Minimum execution time: 18_584_000 picoseconds.
Weight::from_parts(19_003_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -541,8 +557,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `3685`
// Minimum execution time: 20_076_000 picoseconds.
Weight::from_parts(20_436_000, 0)
// Minimum execution time: 19_566_000 picoseconds.
Weight::from_parts(19_904_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -554,10 +570,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_claim_permission() -> Weight {
// Proof Size summary in bytes:
// Measured: `508`
// Estimated: `7688`
// Minimum execution time: 14_763_000 picoseconds.
Weight::from_parts(14_964_000, 0)
.saturating_add(Weight::from_parts(0, 7688))
// Estimated: `4182`
// Minimum execution time: 14_518_000 picoseconds.
Weight::from_parts(14_885_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -572,10 +588,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `934`
// Estimated: `12324`
// Minimum execution time: 46_959_000 picoseconds.
Weight::from_parts(48_242_000, 0)
.saturating_add(Weight::from_parts(0, 12324))
// Estimated: `3685`
// Minimum execution time: 63_054_000 picoseconds.
Weight::from_parts(63_901_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}