mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
Revert back to bare metal runners for weights generation (#6762)
* Revert back to bare metal runners for weights generation * new old weights --------- Co-authored-by: alvicsam <alvicsam@gmail.com>
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-23, 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`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 54_286 nanoseconds.
|
||||
Weight::from_ref_time(56_236_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `395`
|
||||
// Estimated: `9500`
|
||||
// Minimum execution time: 35_921 nanoseconds.
|
||||
Weight::from_ref_time(37_271_000)
|
||||
.saturating_add(Weight::from_proof_size(9500))
|
||||
.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: 140_373 nanoseconds.
|
||||
Weight::from_ref_time(143_644_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `407`
|
||||
// Estimated: `14067`
|
||||
// Minimum execution time: 110_509 nanoseconds.
|
||||
Weight::from_ref_time(111_274_000)
|
||||
.saturating_add(Weight::from_proof_size(14067))
|
||||
.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: 70_608 nanoseconds.
|
||||
Weight::from_ref_time(73_373_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `786`
|
||||
// Estimated: `12239`
|
||||
// Minimum execution time: 51_867 nanoseconds.
|
||||
Weight::from_ref_time(52_732_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, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
// Minimum execution time: 57_032 nanoseconds.
|
||||
Weight::from_ref_time(58_617_000)
|
||||
// Standard Error: 12_611
|
||||
.saturating_add(Weight::from_ref_time(22_033_988).saturating_mul(k.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `191 + k * (221 ±0)`
|
||||
// Estimated: `196 + k * (221 ±0)`
|
||||
// Minimum execution time: 37_549 nanoseconds.
|
||||
Weight::from_ref_time(51_844_000)
|
||||
.saturating_add(Weight::from_proof_size(196))
|
||||
// Standard Error: 14_250
|
||||
.saturating_add(Weight::from_ref_time(20_982_895).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: 42_758 nanoseconds.
|
||||
Weight::from_ref_time(44_228_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `439`
|
||||
// Estimated: `5517`
|
||||
// Minimum execution time: 28_045 nanoseconds.
|
||||
Weight::from_ref_time(28_512_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: 29_859 nanoseconds.
|
||||
Weight::from_ref_time(30_613_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `267`
|
||||
// Estimated: `2742`
|
||||
// Minimum execution time: 16_551 nanoseconds.
|
||||
Weight::from_ref_time(17_236_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: 39_866 nanoseconds.
|
||||
Weight::from_ref_time(41_166_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `444`
|
||||
// Estimated: `5838`
|
||||
// Minimum execution time: 23_640 nanoseconds.
|
||||
Weight::from_ref_time(24_167_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: 30_953 nanoseconds.
|
||||
Weight::from_ref_time(31_855_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `3512`
|
||||
// Minimum execution time: 16_066 nanoseconds.
|
||||
Weight::from_ref_time(16_485_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: 121_273 nanoseconds.
|
||||
Weight::from_ref_time(21_565_688)
|
||||
// Standard Error: 28_400
|
||||
.saturating_add(Weight::from_ref_time(47_751_285).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `157 + n * (420 ±0)`
|
||||
// Estimated: `7142 + n * (14663 ±0)`
|
||||
// Minimum execution time: 101_731 nanoseconds.
|
||||
Weight::from_ref_time(102_235_000)
|
||||
.saturating_add(Weight::from_proof_size(7142))
|
||||
// Standard Error: 48_373
|
||||
.saturating_add(Weight::from_ref_time(44_236_114).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