mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
update weights (#6798)
* polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights
This commit is contained in:
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `runtime_common::slots`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-27, 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,52 +45,85 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Slots Leases (r:1 w:1)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_lease() -> Weight {
|
||||
// Minimum execution time: 33_866 nanoseconds.
|
||||
Weight::from_ref_time(34_857_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `213`
|
||||
// Estimated: `5291`
|
||||
// Minimum execution time: 25_281 nanoseconds.
|
||||
Weight::from_ref_time(25_756_000)
|
||||
.saturating_add(Weight::from_proof_size(5291))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: Slots Leases (r:101 w:100)
|
||||
// Storage: Paras ParaLifecycles (r:100 w:100)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:100 w:100)
|
||||
/// Storage: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Slots Leases (r:101 w:100)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras ParaLifecycles (r:200 w:200)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Registrar Paras (r:100 w:100)
|
||||
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `c` is `[0, 100]`.
|
||||
/// The range of component `t` is `[0, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
// Minimum execution time: 669_275 nanoseconds.
|
||||
Weight::from_ref_time(677_390_000)
|
||||
// Standard Error: 81_554
|
||||
.saturating_add(Weight::from_ref_time(2_774_748).saturating_mul(c.into()))
|
||||
// Standard Error: 81_554
|
||||
.saturating_add(Weight::from_ref_time(15_978_870).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + c * (47 ±0) + t * (370 ±0)`
|
||||
// Estimated: `268218 + c * (1076 ±0) + t * (7963 ±0)`
|
||||
// Minimum execution time: 642_912 nanoseconds.
|
||||
Weight::from_ref_time(645_898_000)
|
||||
.saturating_add(Weight::from_proof_size(268218))
|
||||
// Standard Error: 82_879
|
||||
.saturating_add(Weight::from_ref_time(2_665_736).saturating_mul(c.into()))
|
||||
// Standard Error: 82_879
|
||||
.saturating_add(Weight::from_ref_time(13_913_344).saturating_mul(t.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
|
||||
.saturating_add(Weight::from_proof_size(1076).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(7963).saturating_mul(t.into()))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
/// Storage: Slots Leases (r:1 w:1)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System Account (r:8 w:8)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn clear_all_leases() -> Weight {
|
||||
// Minimum execution time: 123_998 nanoseconds.
|
||||
Weight::from_ref_time(131_162_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2941`
|
||||
// Estimated: `26240`
|
||||
// Minimum execution time: 98_060 nanoseconds.
|
||||
Weight::from_ref_time(99_621_000)
|
||||
.saturating_add(Weight::from_proof_size(26240))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(9))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
/// Storage: Slots Leases (r:1 w:0)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Registrar Paras (r:1 w:1)
|
||||
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
|
||||
fn trigger_onboard() -> Weight {
|
||||
// Minimum execution time: 43_235 nanoseconds.
|
||||
Weight::from_ref_time(46_143_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `628`
|
||||
// Estimated: `13535`
|
||||
// Minimum execution time: 26_638 nanoseconds.
|
||||
Weight::from_ref_time(27_214_000)
|
||||
.saturating_add(Weight::from_proof_size(13535))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user