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:
Oleg Plakida
2023-02-23 10:50:43 +00:00
committed by GitHub
parent e5f65865fe
commit 5e7ade9037
132 changed files with 15202 additions and 7243 deletions
@@ -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-22, 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("rococo-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: 56_635 nanoseconds.
Weight::from_ref_time(72_929_000)
// Proof Size summary in bytes:
// Measured: `418`
// Estimated: `9592`
// Minimum execution time: 37_497 nanoseconds.
Weight::from_ref_time(37_976_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: 146_622 nanoseconds.
Weight::from_ref_time(165_170_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `14402`
// Minimum execution time: 105_856 nanoseconds.
Weight::from_ref_time(107_837_000)
.saturating_add(Weight::from_proof_size(14402))
.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: 71_796 nanoseconds.
Weight::from_ref_time(83_853_000)
// Proof Size summary in bytes:
// Measured: `785`
// Estimated: `12237`
// Minimum execution time: 50_494 nanoseconds.
Weight::from_ref_time(51_312_000)
.saturating_add(Weight::from_proof_size(12237))
.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: 55_878 nanoseconds.
Weight::from_ref_time(66_089_000)
// Standard Error: 16_328
.saturating_add(Weight::from_ref_time(23_466_663).saturating_mul(k.into()))
// Proof Size summary in bytes:
// Measured: `190 + k * (221 ±0)`
// Estimated: `195 + k * (221 ±0)`
// Minimum execution time: 42_573 nanoseconds.
Weight::from_ref_time(43_588_000)
.saturating_add(Weight::from_proof_size(195))
// Standard Error: 13_705
.saturating_add(Weight::from_ref_time(21_149_494).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: 53_669 nanoseconds.
Weight::from_ref_time(60_682_000)
// Proof Size summary in bytes:
// Measured: `439`
// Estimated: `5517`
// Minimum execution time: 29_208 nanoseconds.
Weight::from_ref_time(30_378_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: 36_010 nanoseconds.
Weight::from_ref_time(43_693_000)
// Proof Size summary in bytes:
// Measured: `267`
// Estimated: `2742`
// Minimum execution time: 17_112 nanoseconds.
Weight::from_ref_time(17_805_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: 48_748 nanoseconds.
Weight::from_ref_time(60_903_000)
// Proof Size summary in bytes:
// Measured: `444`
// Estimated: `5838`
// Minimum execution time: 23_471 nanoseconds.
Weight::from_ref_time(24_285_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: 35_635 nanoseconds.
Weight::from_ref_time(43_066_000)
// Proof Size summary in bytes:
// Measured: `271`
// Estimated: `3512`
// Minimum execution time: 16_659 nanoseconds.
Weight::from_ref_time(17_489_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: 135_282 nanoseconds.
Weight::from_ref_time(36_362_030)
// Standard Error: 43_364
.saturating_add(Weight::from_ref_time(51_344_009).saturating_mul(n.into()))
// Proof Size summary in bytes:
// Measured: `224 + n * (420 ±0)`
// Estimated: `7477 + n * (14663 ±0)`
// Minimum execution time: 105_092 nanoseconds.
Weight::from_ref_time(106_031_000)
.saturating_add(Weight::from_proof_size(7477))
// Standard Error: 46_593
.saturating_add(Weight::from_ref_time(44_742_533).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()))
}
}