mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +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 `runtime_common::paras_registrar`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! 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
|
||||
|
||||
// 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 `runtime_common::paras_registrar`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(30_965_000 as u64)
|
||||
// Minimum execution time: 33_216 nanoseconds.
|
||||
Weight::from_ref_time(33_774_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(7_411_024_000 as u64)
|
||||
// Minimum execution time: 7_610_660 nanoseconds.
|
||||
Weight::from_ref_time(7_680_278_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -76,7 +78,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(7_355_259_000 as u64)
|
||||
// Minimum execution time: 7_576_126 nanoseconds.
|
||||
Weight::from_ref_time(7_632_431_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -87,7 +90,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(48_776_000 as u64)
|
||||
// Minimum execution time: 49_734 nanoseconds.
|
||||
Weight::from_ref_time(50_945_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -99,11 +103,13 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(42_830_000 as u64)
|
||||
// Minimum execution time: 44_434 nanoseconds.
|
||||
Weight::from_ref_time(45_553_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Paras UpgradeCooldowns (r:1 w:1)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
@@ -112,19 +118,22 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 3145728]`.
|
||||
fn schedule_code_upgrade(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 42_971 nanoseconds.
|
||||
Weight::from_ref_time(43_456_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_366 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1048576]`.
|
||||
fn set_current_head(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_494_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 13_894 nanoseconds.
|
||||
Weight::from_ref_time(14_187_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(958 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user