mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51: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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, 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("kusama-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_299_000 as u64)
|
||||
// Minimum execution time: 30_852 nanoseconds.
|
||||
Weight::from_ref_time(31_532_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_938_844_000 as u64)
|
||||
// Minimum execution time: 7_439_882 nanoseconds.
|
||||
Weight::from_ref_time(7_564_995_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_905_688_000 as u64)
|
||||
// Minimum execution time: 7_412_236 nanoseconds.
|
||||
Weight::from_ref_time(7_528_657_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(47_531_000 as u64)
|
||||
// Minimum execution time: 49_031 nanoseconds.
|
||||
Weight::from_ref_time(50_187_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_367_000 as u64)
|
||||
// Minimum execution time: 44_366 nanoseconds.
|
||||
Weight::from_ref_time(45_345_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_230 nanoseconds.
|
||||
Weight::from_ref_time(42_587_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_333 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_316 nanoseconds.
|
||||
Weight::from_ref_time(13_675_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user