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::claims`
//!
//! 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: `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,63 +45,113 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::claims`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<T> {
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn claim() -> Weight {
// Minimum execution time: 195_244 nanoseconds.
Weight::from_ref_time(216_165_000)
// Proof Size summary in bytes:
// Measured: `652`
// Estimated: `20437`
// Minimum execution time: 139_066 nanoseconds.
Weight::from_ref_time(143_633_000)
.saturating_add(Weight::from_proof_size(20437))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:0 w:1)
// Storage: Claims Claims (r:0 w:1)
// Storage: Claims Signing (r:0 w:1)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:0 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Claims (r:0 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:0 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
fn mint_claim() -> Weight {
// Minimum execution time: 13_255 nanoseconds.
Weight::from_ref_time(16_332_000)
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `1359`
// Minimum execution time: 9_252 nanoseconds.
Weight::from_ref_time(9_659_000)
.saturating_add(Weight::from_proof_size(1359))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn claim_attest() -> Weight {
// Minimum execution time: 203_931 nanoseconds.
Weight::from_ref_time(222_105_000)
// Proof Size summary in bytes:
// Measured: `652`
// Estimated: `20437`
// Minimum execution time: 142_016 nanoseconds.
Weight::from_ref_time(148_875_000)
.saturating_add(Weight::from_proof_size(20437))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Preclaims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Preclaims (r:1 w:1)
/// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn attest() -> Weight {
// Minimum execution time: 97_520 nanoseconds.
Weight::from_ref_time(116_830_000)
// Proof Size summary in bytes:
// Measured: `726`
// Estimated: `23934`
// Minimum execution time: 62_567 nanoseconds.
Weight::from_ref_time(67_330_000)
.saturating_add(Weight::from_proof_size(23934))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Claims Claims (r:1 w:2)
// Storage: Claims Vesting (r:1 w:2)
// Storage: Claims Signing (r:1 w:2)
// Storage: Claims Preclaims (r:1 w:1)
/// Storage: Claims Claims (r:1 w:2)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:2)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:2)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Preclaims (r:1 w:1)
/// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
fn move_claim() -> Weight {
// Minimum execution time: 26_214 nanoseconds.
Weight::from_ref_time(30_142_000)
// Proof Size summary in bytes:
// Measured: `472`
// Estimated: `11788`
// Minimum execution time: 19_308 nanoseconds.
Weight::from_ref_time(19_636_000)
.saturating_add(Weight::from_proof_size(11788))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(7))
}