Skip to content

Commit

Permalink
/bench module module_liquid_crowdloan
Browse files Browse the repository at this point in the history
  • Loading branch information
Acala Github Action Bot committed Jul 8, 2023
1 parent 6dd7148 commit 507b0fe
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions modules/liquid-crowdloan/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
//! Autogenerated weights for module_liquid_crowdloan
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bryan-mbp-m1.local`, CPU: `<UNKNOWN>`
//! DATE: 2023-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `ip-172-31-40-230`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024

// Executed Command:
// target/debug/acala
// target/release/acala
// benchmark
// pallet
// --chain=dev
Expand Down Expand Up @@ -55,22 +55,22 @@ pub trait WeightInfo {
/// Weights for module_liquid_crowdloan using the Acala node and recommended hardware.
pub struct AcalaWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for AcalaWeight<T> {
// Storage: LiquidCrowdloan RedeemCurrencyId (r:1 w:0)
// Proof: LiquidCrowdloan RedeemCurrencyId (max_values: Some(1), max_size: Some(43), added: 538, mode: MaxEncodedLen)
// Storage: Tokens Accounts (r:3 w:3)
// Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
// Storage: EvmAccounts EvmAddresses (r:2 w:0)
// Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
// Storage: LiquidCrowdloan RedeemCurrencyId (r:1 w:0)
// Proof: LiquidCrowdloan RedeemCurrencyId (max_values: Some(1), max_size: Some(43), added: 538, mode: MaxEncodedLen)
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn redeem() -> Weight {
// Proof Size summary in bytes:
// Measured: `2931`
// Estimated: `8856`
// Minimum execution time: 1_062_000 nanoseconds.
Weight::from_parts(1_075_000_000, 8856)
// Minimum execution time: 128_360 nanoseconds.
Weight::from_parts(130_413_000, 8856)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
Expand All @@ -86,8 +86,8 @@ impl<T: frame_system::Config> WeightInfo for AcalaWeight<T> {
// Proof Size summary in bytes:
// Measured: `1255`
// Estimated: `4720`
// Minimum execution time: 357_000 nanoseconds.
Weight::from_parts(362_000_000, 4720)
// Minimum execution time: 46_836 nanoseconds.
Weight::from_parts(47_418_000, 4720)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -97,30 +97,30 @@ impl<T: frame_system::Config> WeightInfo for AcalaWeight<T> {
// Proof Size summary in bytes:
// Measured: `1001`
// Estimated: `0`
// Minimum execution time: 156_000 nanoseconds.
Weight::from_parts(163_000_000, 0)
// Minimum execution time: 20_739 nanoseconds.
Weight::from_parts(21_135_000, 0)
.saturating_add(T::DbWeight::get().writes(1))
}
}

// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: LiquidCrowdloan RedeemCurrencyId (r:1 w:0)
// Proof: LiquidCrowdloan RedeemCurrencyId (max_values: Some(1), max_size: Some(43), added: 538, mode: MaxEncodedLen)
// Storage: Tokens Accounts (r:3 w:3)
// Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
// Storage: EvmAccounts EvmAddresses (r:2 w:0)
// Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
// Storage: LiquidCrowdloan RedeemCurrencyId (r:1 w:0)
// Proof: LiquidCrowdloan RedeemCurrencyId (max_values: Some(1), max_size: Some(43), added: 538, mode: MaxEncodedLen)
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn redeem() -> Weight {
// Proof Size summary in bytes:
// Measured: `2931`
// Estimated: `8856`
// Minimum execution time: 1_062_000 nanoseconds.
Weight::from_parts(1_075_000_000, 8856)
// Minimum execution time: 128_360 nanoseconds.
Weight::from_parts(130_413_000, 8856)
.saturating_add(RocksDbWeight::get().reads(8))
.saturating_add(RocksDbWeight::get().writes(5))
}
Expand All @@ -136,8 +136,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1255`
// Estimated: `4720`
// Minimum execution time: 357_000 nanoseconds.
Weight::from_parts(362_000_000, 4720)
// Minimum execution time: 46_836 nanoseconds.
Weight::from_parts(47_418_000, 4720)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(1))
}
Expand All @@ -147,8 +147,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1001`
// Estimated: `0`
// Minimum execution time: 156_000 nanoseconds.
Weight::from_parts(163_000_000, 0)
// Minimum execution time: 20_739 nanoseconds.
Weight::from_parts(21_135_000, 0)
.saturating_add(RocksDbWeight::get().writes(1))
}
}

0 comments on commit 507b0fe

Please sign in to comment.