mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +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::crowdloan`
|
||||
//!
|
||||
//! 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,102 +45,174 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (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)
|
||||
/// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 72_148 nanoseconds.
|
||||
Weight::from_ref_time(76_111_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `418`
|
||||
// Estimated: `9592`
|
||||
// Minimum execution time: 39_590 nanoseconds.
|
||||
Weight::from_ref_time(40_531_000)
|
||||
.saturating_add(Weight::from_proof_size(9592))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:1)
|
||||
// Storage: Crowdloan EndingsCount (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Slots Leases (r:1 w:0)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:1)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Crowdloan EndingsCount (r:1 w:0)
|
||||
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
|
||||
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
// Minimum execution time: 156_487 nanoseconds.
|
||||
Weight::from_ref_time(168_788_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `368`
|
||||
// Estimated: `13872`
|
||||
// Minimum execution time: 111_368 nanoseconds.
|
||||
Weight::from_ref_time(112_815_000)
|
||||
.saturating_add(Weight::from_proof_size(13872))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:1)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:1)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
|
||||
/// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
// Minimum execution time: 80_510 nanoseconds.
|
||||
Weight::from_ref_time(84_823_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `786`
|
||||
// Estimated: `12239`
|
||||
// Minimum execution time: 57_399 nanoseconds.
|
||||
Weight::from_ref_time(58_224_000)
|
||||
.saturating_add(Weight::from_proof_size(12239))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `k` is `[0, 500]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
// Minimum execution time: 76_619 nanoseconds.
|
||||
Weight::from_ref_time(26_853_164)
|
||||
// Standard Error: 15_512
|
||||
.saturating_add(Weight::from_ref_time(22_564_390).saturating_mul(k.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `236 + k * (220 ±0)`
|
||||
// Estimated: `256 + k * (221 ±0)`
|
||||
// Minimum execution time: 40_233 nanoseconds.
|
||||
Weight::from_ref_time(54_026_000)
|
||||
.saturating_add(Weight::from_proof_size(256))
|
||||
// Standard Error: 13_085
|
||||
.saturating_add(Weight::from_ref_time(22_927_324).saturating_mul(k.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into())))
|
||||
.saturating_add(Weight::from_proof_size(221).saturating_mul(k.into()))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (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 dissolve() -> Weight {
|
||||
// Minimum execution time: 50_520 nanoseconds.
|
||||
Weight::from_ref_time(55_019_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `439`
|
||||
// Estimated: `5517`
|
||||
// Minimum execution time: 29_857 nanoseconds.
|
||||
Weight::from_ref_time(30_340_000)
|
||||
.saturating_add(Weight::from_proof_size(5517))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
fn edit() -> Weight {
|
||||
// Minimum execution time: 38_580 nanoseconds.
|
||||
Weight::from_ref_time(42_137_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `267`
|
||||
// Estimated: `2742`
|
||||
// Minimum execution time: 17_245 nanoseconds.
|
||||
Weight::from_ref_time(17_847_000)
|
||||
.saturating_add(Weight::from_proof_size(2742))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:0)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
|
||||
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
// Minimum execution time: 49_364 nanoseconds.
|
||||
Weight::from_ref_time(53_683_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `444`
|
||||
// Estimated: `5838`
|
||||
// Minimum execution time: 24_929 nanoseconds.
|
||||
Weight::from_ref_time(25_462_000)
|
||||
.saturating_add(Weight::from_proof_size(5838))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
/// Storage: Crowdloan Funds (r:1 w:0)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn poke() -> Weight {
|
||||
// Minimum execution time: 37_979 nanoseconds.
|
||||
Weight::from_ref_time(40_397_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `3512`
|
||||
// Minimum execution time: 17_200 nanoseconds.
|
||||
Weight::from_ref_time(17_776_000)
|
||||
.saturating_add(Weight::from_proof_size(3512))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Crowdloan EndingsCount (r:1 w:1)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: Crowdloan Funds (r:2 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:2 w:0)
|
||||
// Storage: Slots Leases (r:2 w:0)
|
||||
// Storage: Auctions Winning (r:1 w:1)
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Crowdloan EndingsCount (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan Funds (r:100 w:0)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Paras ParaLifecycles (r:100 w:0)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Slots Leases (r:100 w:0)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Auctions Winning (r:1 w:1)
|
||||
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions ReservedAmounts (r:100 w:100)
|
||||
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:100 w:100)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 131_992 nanoseconds.
|
||||
Weight::from_ref_time(44_527_784)
|
||||
// Standard Error: 54_125
|
||||
.saturating_add(Weight::from_ref_time(48_555_553).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `118 + n * (420 ±0)`
|
||||
// Estimated: `6947 + n * (14663 ±0)`
|
||||
// Minimum execution time: 114_121 nanoseconds.
|
||||
Weight::from_ref_time(116_551_000)
|
||||
.saturating_add(Weight::from_proof_size(6947))
|
||||
// Standard Error: 47_770
|
||||
.saturating_add(Weight::from_ref_time(50_697_962).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_proof_size(14663).saturating_mul(n.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user