Update all weights (#13614)

* Empty commit

* ".git/.scripts/commands/bench/bench.sh" all

---------

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: command-bot <>
This commit is contained in:
Oliver Tale-Yazdi
2023-03-16 17:57:45 +01:00
committed by GitHub
parent b117dbdf08
commit 3a3d93afee
48 changed files with 6017 additions and 6041 deletions
+146 -144
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_nomination_pools
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_nomination_pools
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_nomination_pools
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/nomination-pools/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -104,10 +106,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn join() -> Weight {
// Proof Size summary in bytes:
// Measured: `3650`
// Measured: `3300`
// Estimated: `52435`
// Minimum execution time: 160_401_000 picoseconds.
Weight::from_parts(161_798_000, 52435)
// Minimum execution time: 160_675_000 picoseconds.
Weight::from_parts(162_605_000, 52435)
.saturating_add(T::DbWeight::get().reads(18_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
@@ -133,10 +135,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `3692`
// Measured: `3310`
// Estimated: `49070`
// Minimum execution time: 157_668_000 picoseconds.
Weight::from_parts(161_129_000, 49070)
// Minimum execution time: 156_820_000 picoseconds.
Weight::from_parts(159_798_000, 49070)
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
@@ -164,10 +166,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `3757`
// Measured: `3375`
// Estimated: `52576`
// Minimum execution time: 176_034_000 picoseconds.
Weight::from_parts(176_956_000, 52576)
// Minimum execution time: 175_820_000 picoseconds.
Weight::from_parts(177_378_000, 52576)
.saturating_add(T::DbWeight::get().reads(16_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -185,10 +187,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
// Measured: `1331`
// Measured: `1171`
// Estimated: `19532`
// Minimum execution time: 61_551_000 picoseconds.
Weight::from_parts(62_201_000, 19532)
// Minimum execution time: 62_011_000 picoseconds.
Weight::from_parts(62_680_000, 19532)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -224,10 +226,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn unbond() -> Weight {
// Proof Size summary in bytes:
// Measured: `3935`
// Measured: `3586`
// Estimated: `82816`
// Minimum execution time: 162_755_000 picoseconds.
Weight::from_parts(163_518_000, 82816)
// Minimum execution time: 163_294_000 picoseconds.
Weight::from_parts(164_375_000, 82816)
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -244,12 +246,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1783`
// Measured: `1687`
// Estimated: `18031`
// Minimum execution time: 54_752_000 picoseconds.
Weight::from_parts(56_248_171, 18031)
// Standard Error: 1_891
.saturating_add(Weight::from_parts(4_767, 0).saturating_mul(s.into()))
// Minimum execution time: 54_775_000 picoseconds.
Weight::from_parts(55_724_944, 18031)
// Standard Error: 536
.saturating_add(Weight::from_parts(10_059, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -276,12 +278,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2307`
// Measured: `2115`
// Estimated: `54662`
// Minimum execution time: 106_166_000 picoseconds.
Weight::from_parts(107_806_373, 54662)
// Standard Error: 6_985
.saturating_add(Weight::from_parts(18_449, 0).saturating_mul(s.into()))
// Minimum execution time: 106_820_000 picoseconds.
Weight::from_parts(109_870_849, 54662)
// Standard Error: 11_111
.saturating_add(Weight::from_parts(2_006, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
@@ -330,12 +332,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2694`
// Estimated: `87714`
// Minimum execution time: 170_047_000 picoseconds.
Weight::from_parts(172_125_770, 87714)
// Standard Error: 2_599
.saturating_add(Weight::from_parts(9_964, 0).saturating_mul(s.into()))
// Measured: `2470`
// Estimated: `87490`
// Minimum execution time: 170_908_000 picoseconds.
Weight::from_parts(173_616_555, 87490)
// Standard Error: 2_324
.saturating_add(Weight::from_parts(4_397, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(20_u64))
.saturating_add(T::DbWeight::get().writes(18_u64))
}
@@ -383,10 +385,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `1321`
// Measured: `1289`
// Estimated: `51410`
// Minimum execution time: 149_672_000 picoseconds.
Weight::from_parts(153_613_000, 51410)
// Minimum execution time: 148_934_000 picoseconds.
Weight::from_parts(149_702_000, 51410)
.saturating_add(T::DbWeight::get().reads(21_u64))
.saturating_add(T::DbWeight::get().writes(15_u64))
}
@@ -417,12 +419,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1913`
// Measured: `1849`
// Estimated: `33934 + n * (2520 ±0)`
// Minimum execution time: 68_892_000 picoseconds.
Weight::from_parts(69_062_946, 33934)
// Standard Error: 6_448
.saturating_add(Weight::from_parts(1_422_774, 0).saturating_mul(n.into()))
// Minimum execution time: 68_986_000 picoseconds.
Weight::from_parts(69_474_269, 33934)
// Standard Error: 6_602
.saturating_add(Weight::from_parts(1_416_294, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5_u64))
@@ -436,10 +438,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
fn set_state() -> Weight {
// Proof Size summary in bytes:
// Measured: `1502`
// Measured: `1438`
// Estimated: `11778`
// Minimum execution time: 36_447_000 picoseconds.
Weight::from_parts(36_837_000, 11778)
// Minimum execution time: 36_300_000 picoseconds.
Weight::from_parts(36_713_000, 11778)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -452,12 +454,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `8909`
// Minimum execution time: 15_221_000 picoseconds.
Weight::from_parts(15_632_286, 8909)
// Standard Error: 343
.saturating_add(Weight::from_parts(2_299, 0).saturating_mul(n.into()))
// Minimum execution time: 14_976_000 picoseconds.
Weight::from_parts(15_538_088, 8909)
// Standard Error: 71
.saturating_add(Weight::from_parts(1_548, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -477,18 +479,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_409_000 picoseconds.
Weight::from_parts(7_702_000, 0)
// Minimum execution time: 7_259_000 picoseconds.
Weight::from_parts(7_499_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: NominationPools BondedPools (r:1 w:1)
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_451_000 picoseconds.
Weight::from_parts(20_703_000, 3685)
// Minimum execution time: 20_454_000 picoseconds.
Weight::from_parts(20_771_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -512,10 +514,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn chill() -> Weight {
// Proof Size summary in bytes:
// Measured: `2140`
// Measured: `2012`
// Estimated: `29455`
// Minimum execution time: 66_001_000 picoseconds.
Weight::from_parts(66_894_000, 29455)
// Minimum execution time: 66_404_000 picoseconds.
Weight::from_parts(66_872_000, 29455)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -529,10 +531,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `866`
// Measured: `770`
// Estimated: `12324`
// Minimum execution time: 34_011_000 picoseconds.
Weight::from_parts(34_521_000, 12324)
// Minimum execution time: 34_240_000 picoseconds.
Weight::from_parts(34_797_000, 12324)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -540,10 +542,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn set_commission_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `603`
// Measured: `571`
// Estimated: `3685`
// Minimum execution time: 19_524_000 picoseconds.
Weight::from_parts(19_855_000, 3685)
// Minimum execution time: 19_469_000 picoseconds.
Weight::from_parts(19_865_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -551,10 +553,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_457_000 picoseconds.
Weight::from_parts(20_698_000, 3685)
// Minimum execution time: 20_423_000 picoseconds.
Weight::from_parts(20_620_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -566,8 +568,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `542`
// Estimated: `7208`
// Minimum execution time: 15_183_000 picoseconds.
Weight::from_parts(15_597_000, 7208)
// Minimum execution time: 15_346_000 picoseconds.
Weight::from_parts(15_613_000, 7208)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -581,10 +583,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `1096`
// Measured: `968`
// Estimated: `12324`
// Minimum execution time: 48_957_000 picoseconds.
Weight::from_parts(50_207_000, 12324)
// Minimum execution time: 48_749_000 picoseconds.
Weight::from_parts(49_131_000, 12324)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -622,10 +624,10 @@ impl WeightInfo for () {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn join() -> Weight {
// Proof Size summary in bytes:
// Measured: `3650`
// Measured: `3300`
// Estimated: `52435`
// Minimum execution time: 160_401_000 picoseconds.
Weight::from_parts(161_798_000, 52435)
// Minimum execution time: 160_675_000 picoseconds.
Weight::from_parts(162_605_000, 52435)
.saturating_add(RocksDbWeight::get().reads(18_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
@@ -651,10 +653,10 @@ impl WeightInfo for () {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `3692`
// Measured: `3310`
// Estimated: `49070`
// Minimum execution time: 157_668_000 picoseconds.
Weight::from_parts(161_129_000, 49070)
// Minimum execution time: 156_820_000 picoseconds.
Weight::from_parts(159_798_000, 49070)
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
@@ -682,10 +684,10 @@ impl WeightInfo for () {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `3757`
// Measured: `3375`
// Estimated: `52576`
// Minimum execution time: 176_034_000 picoseconds.
Weight::from_parts(176_956_000, 52576)
// Minimum execution time: 175_820_000 picoseconds.
Weight::from_parts(177_378_000, 52576)
.saturating_add(RocksDbWeight::get().reads(16_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -703,10 +705,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
// Measured: `1331`
// Measured: `1171`
// Estimated: `19532`
// Minimum execution time: 61_551_000 picoseconds.
Weight::from_parts(62_201_000, 19532)
// Minimum execution time: 62_011_000 picoseconds.
Weight::from_parts(62_680_000, 19532)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -742,10 +744,10 @@ impl WeightInfo for () {
/// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn unbond() -> Weight {
// Proof Size summary in bytes:
// Measured: `3935`
// Measured: `3586`
// Estimated: `82816`
// Minimum execution time: 162_755_000 picoseconds.
Weight::from_parts(163_518_000, 82816)
// Minimum execution time: 163_294_000 picoseconds.
Weight::from_parts(164_375_000, 82816)
.saturating_add(RocksDbWeight::get().reads(19_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -762,12 +764,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1783`
// Measured: `1687`
// Estimated: `18031`
// Minimum execution time: 54_752_000 picoseconds.
Weight::from_parts(56_248_171, 18031)
// Standard Error: 1_891
.saturating_add(Weight::from_parts(4_767, 0).saturating_mul(s.into()))
// Minimum execution time: 54_775_000 picoseconds.
Weight::from_parts(55_724_944, 18031)
// Standard Error: 536
.saturating_add(Weight::from_parts(10_059, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -794,12 +796,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2307`
// Measured: `2115`
// Estimated: `54662`
// Minimum execution time: 106_166_000 picoseconds.
Weight::from_parts(107_806_373, 54662)
// Standard Error: 6_985
.saturating_add(Weight::from_parts(18_449, 0).saturating_mul(s.into()))
// Minimum execution time: 106_820_000 picoseconds.
Weight::from_parts(109_870_849, 54662)
// Standard Error: 11_111
.saturating_add(Weight::from_parts(2_006, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
}
@@ -848,12 +850,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2694`
// Estimated: `87714`
// Minimum execution time: 170_047_000 picoseconds.
Weight::from_parts(172_125_770, 87714)
// Standard Error: 2_599
.saturating_add(Weight::from_parts(9_964, 0).saturating_mul(s.into()))
// Measured: `2470`
// Estimated: `87490`
// Minimum execution time: 170_908_000 picoseconds.
Weight::from_parts(173_616_555, 87490)
// Standard Error: 2_324
.saturating_add(Weight::from_parts(4_397, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(20_u64))
.saturating_add(RocksDbWeight::get().writes(18_u64))
}
@@ -901,10 +903,10 @@ impl WeightInfo for () {
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `1321`
// Measured: `1289`
// Estimated: `51410`
// Minimum execution time: 149_672_000 picoseconds.
Weight::from_parts(153_613_000, 51410)
// Minimum execution time: 148_934_000 picoseconds.
Weight::from_parts(149_702_000, 51410)
.saturating_add(RocksDbWeight::get().reads(21_u64))
.saturating_add(RocksDbWeight::get().writes(15_u64))
}
@@ -935,12 +937,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1913`
// Measured: `1849`
// Estimated: `33934 + n * (2520 ±0)`
// Minimum execution time: 68_892_000 picoseconds.
Weight::from_parts(69_062_946, 33934)
// Standard Error: 6_448
.saturating_add(Weight::from_parts(1_422_774, 0).saturating_mul(n.into()))
// Minimum execution time: 68_986_000 picoseconds.
Weight::from_parts(69_474_269, 33934)
// Standard Error: 6_602
.saturating_add(Weight::from_parts(1_416_294, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(5_u64))
@@ -954,10 +956,10 @@ impl WeightInfo for () {
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
fn set_state() -> Weight {
// Proof Size summary in bytes:
// Measured: `1502`
// Measured: `1438`
// Estimated: `11778`
// Minimum execution time: 36_447_000 picoseconds.
Weight::from_parts(36_837_000, 11778)
// Minimum execution time: 36_300_000 picoseconds.
Weight::from_parts(36_713_000, 11778)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -970,12 +972,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `8909`
// Minimum execution time: 15_221_000 picoseconds.
Weight::from_parts(15_632_286, 8909)
// Standard Error: 343
.saturating_add(Weight::from_parts(2_299, 0).saturating_mul(n.into()))
// Minimum execution time: 14_976_000 picoseconds.
Weight::from_parts(15_538_088, 8909)
// Standard Error: 71
.saturating_add(Weight::from_parts(1_548, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -995,18 +997,18 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_409_000 picoseconds.
Weight::from_parts(7_702_000, 0)
// Minimum execution time: 7_259_000 picoseconds.
Weight::from_parts(7_499_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: NominationPools BondedPools (r:1 w:1)
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_451_000 picoseconds.
Weight::from_parts(20_703_000, 3685)
// Minimum execution time: 20_454_000 picoseconds.
Weight::from_parts(20_771_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1030,10 +1032,10 @@ impl WeightInfo for () {
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn chill() -> Weight {
// Proof Size summary in bytes:
// Measured: `2140`
// Measured: `2012`
// Estimated: `29455`
// Minimum execution time: 66_001_000 picoseconds.
Weight::from_parts(66_894_000, 29455)
// Minimum execution time: 66_404_000 picoseconds.
Weight::from_parts(66_872_000, 29455)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -1047,10 +1049,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `866`
// Measured: `770`
// Estimated: `12324`
// Minimum execution time: 34_011_000 picoseconds.
Weight::from_parts(34_521_000, 12324)
// Minimum execution time: 34_240_000 picoseconds.
Weight::from_parts(34_797_000, 12324)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1058,10 +1060,10 @@ impl WeightInfo for () {
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn set_commission_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `603`
// Measured: `571`
// Estimated: `3685`
// Minimum execution time: 19_524_000 picoseconds.
Weight::from_parts(19_855_000, 3685)
// Minimum execution time: 19_469_000 picoseconds.
Weight::from_parts(19_865_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1069,10 +1071,10 @@ impl WeightInfo for () {
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen)
fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes:
// Measured: `563`
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_457_000 picoseconds.
Weight::from_parts(20_698_000, 3685)
// Minimum execution time: 20_423_000 picoseconds.
Weight::from_parts(20_620_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1084,8 +1086,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `542`
// Estimated: `7208`
// Minimum execution time: 15_183_000 picoseconds.
Weight::from_parts(15_597_000, 7208)
// Minimum execution time: 15_346_000 picoseconds.
Weight::from_parts(15_613_000, 7208)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1099,10 +1101,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
// Measured: `1096`
// Measured: `968`
// Estimated: `12324`
// Minimum execution time: 48_957_000 picoseconds.
Weight::from_parts(50_207_000, 12324)
// Minimum execution time: 48_749_000 picoseconds.
Weight::from_parts(49_131_000, 12324)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}