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,12 +13,13 @@
// 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_fast_unstake`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16, 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `bm6`, 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,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_fast_unstake`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:64 w:64)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:64 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:0 w:64)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
/// Storage: Staking Payee (r:0 w:64)
@@ -76,18 +80,18 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// The range of component `b` is `[1, 64]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1316 + b * (343 ±0)`
// Estimated: `20621 + b * (17898 ±0)`
// Minimum execution time: 76_169_000 picoseconds.
Weight::from_parts(42_721_141, 0)
.saturating_add(Weight::from_parts(0, 20621))
// Standard Error: 49_311
.saturating_add(Weight::from_parts(41_420_931, 0).saturating_mul(b.into()))
// Measured: `1214 + b * (343 ±0)`
// Estimated: `4676 + b * (3774 ±0)`
// Minimum execution time: 88_679_000 picoseconds.
Weight::from_parts(24_547_439, 0)
.saturating_add(Weight::from_parts(0, 4676))
// Standard Error: 43_388
.saturating_add(Weight::from_parts(54_036_464, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_parts(0, 17898).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(b.into()))
}
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -107,20 +111,20 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// The range of component `b` is `[1, 64]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1484 + v * (18487 ±0) + b * (48 ±0)`
// Estimated: `18256 + v * (39451 ±0) + b * (98 ±0)`
// Minimum execution time: 1_663_692_000 picoseconds.
Weight::from_parts(1_670_772_000, 0)
.saturating_add(Weight::from_parts(0, 18256))
// Standard Error: 15_299_028
.saturating_add(Weight::from_parts(489_545_566, 0).saturating_mul(v.into()))
// Standard Error: 61_213_154
.saturating_add(Weight::from_parts(1_926_696_821, 0).saturating_mul(b.into()))
// Measured: `1382 + b * (48 ±0) + v * (18487 ±0)`
// Estimated: `4700 + b * (49 ±0) + v * (20963 ±0)`
// Minimum execution time: 1_642_912_000 picoseconds.
Weight::from_parts(1_651_614_000, 0)
.saturating_add(Weight::from_parts(0, 4700))
// Standard Error: 15_060_369
.saturating_add(Weight::from_parts(482_726_870, 0).saturating_mul(v.into()))
// Standard Error: 60_258_251
.saturating_add(Weight::from_parts(1_893_734_636, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 39451).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 98).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(0, 49).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(0, 20963).saturating_mul(v.into()))
}
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -148,16 +152,18 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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: FastUnstake CounterForQueue (r:1 w:1)
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn register_fast_unstake() -> Weight {
// Proof Size summary in bytes:
// Measured: `1898`
// Estimated: `43454`
// Minimum execution time: 111_662_000 picoseconds.
Weight::from_parts(112_581_000, 0)
.saturating_add(Weight::from_parts(0, 43454))
.saturating_add(T::DbWeight::get().reads(14))
// Measured: `1864`
// Estimated: `4764`
// Minimum execution time: 117_566_000 picoseconds.
Weight::from_parts(118_709_000, 0)
.saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().writes(9))
}
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
@@ -172,11 +178,11 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn deregister() -> Weight {
// Proof Size summary in bytes:
// Measured: `1156`
// Estimated: `15731`
// Minimum execution time: 40_644_000 picoseconds.
Weight::from_parts(41_516_000, 0)
.saturating_add(Weight::from_parts(0, 15731))
// Measured: `1122`
// Estimated: `4676`
// Minimum execution time: 43_460_000 picoseconds.
Weight::from_parts(44_208_000, 0)
.saturating_add(Weight::from_parts(0, 4676))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -186,8 +192,8 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_901_000 picoseconds.
Weight::from_parts(3_026_000, 0)
// Minimum execution time: 2_858_000 picoseconds.
Weight::from_parts(3_088_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}