Skip to content

Commit

Permalink
Release pango-6407 and benchmark all (#1320)
Browse files Browse the repository at this point in the history
* Bump versions

* Benchmark
  • Loading branch information
AurevoirXavier authored Nov 17, 2023
1 parent 63ace84 commit a48eef9
Show file tree
Hide file tree
Showing 110 changed files with 9,333 additions and 9,394 deletions.
338 changes: 156 additions & 182 deletions pallet/account-migration/src/weights.rs

Large diffs are not rendered by default.

166 changes: 82 additions & 84 deletions pallet/deposit/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
//! Autogenerated weights for darwinia_deposit
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-23, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024
//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024

// Executed Command:
// target/release/darwinia
Expand All @@ -32,12 +32,10 @@
// .maintain/license-header
// --template
// .maintain/pallet-weight-template.hbs
// --execution
// wasm
// --heap-pages
// 4096
// --chain
// pangolin-local
// pangolin-dev
// --output
// pallet/deposit/src/weights.rs
// --extrinsic
Expand All @@ -63,115 +61,115 @@ pub trait WeightInfo {
/// Weights for darwinia_deposit using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (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(116), added: 2591, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`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(116), added: 2591, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`)
/// Storage: `Assets::Account` (r:1 w:1)
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
fn lock() -> Weight {
// Proof Size summary in bytes:
// Measured: `26748`
// Estimated: `41879`
// Minimum execution time: 81_361 nanoseconds.
Weight::from_parts(81_361_000, 0)
.saturating_add(Weight::from_parts(41879, 0))
// Measured: `26848`
// Estimated: `29615`
// Minimum execution time: 66_573 nanoseconds.
Weight::from_parts(69_229_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
fn claim() -> Weight {
// Proof Size summary in bytes:
// Measured: `26478`
// Estimated: `34689`
// Minimum execution time: 1_445_312 nanoseconds.
Weight::from_parts(1_445_312_000, 0)
.saturating_add(Weight::from_parts(34689, 0))
// Measured: `26578`
// Estimated: `29615`
// Minimum execution time: 1_188_888 nanoseconds.
Weight::from_parts(1_240_611_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `Assets::Account` (r:1 w:1)
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`)
fn claim_with_penalty() -> Weight {
// Proof Size summary in bytes:
// Measured: `26637`
// Estimated: `38298`
// Minimum execution time: 89_603 nanoseconds.
Weight::from_parts(89_603_000, 0)
.saturating_add(Weight::from_parts(38298, 0))
// Measured: `26704`
// Estimated: `29615`
// Minimum execution time: 45_943 nanoseconds.
Weight::from_parts(48_619_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
}

// For backwards compatibility and tests
impl WeightInfo for () {
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (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(116), added: 2591, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`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(116), added: 2591, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`)
/// Storage: `Assets::Account` (r:1 w:1)
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
fn lock() -> Weight {
// Proof Size summary in bytes:
// Measured: `26748`
// Estimated: `41879`
// Minimum execution time: 81_361 nanoseconds.
Weight::from_parts(81_361_000, 0)
.saturating_add(Weight::from_parts(41879, 0))
// Measured: `26848`
// Estimated: `29615`
// Minimum execution time: 66_573 nanoseconds.
Weight::from_parts(69_229_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
fn claim() -> Weight {
// Proof Size summary in bytes:
// Measured: `26478`
// Estimated: `34689`
// Minimum execution time: 1_445_312 nanoseconds.
Weight::from_parts(1_445_312_000, 0)
.saturating_add(Weight::from_parts(34689, 0))
// Measured: `26578`
// Estimated: `29615`
// Minimum execution time: 1_188_888 nanoseconds.
Weight::from_parts(1_240_611_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Deposit Deposits (r:1 w:1)
/// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen)
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
/// Storage: `Deposit::Deposits` (r:1 w:1)
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `Assets::Account` (r:1 w:1)
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`)
fn claim_with_penalty() -> Weight {
// Proof Size summary in bytes:
// Measured: `26637`
// Estimated: `38298`
// Minimum execution time: 89_603 nanoseconds.
Weight::from_parts(89_603_000, 0)
.saturating_add(Weight::from_parts(38298, 0))
// Measured: `26704`
// Estimated: `29615`
// Minimum execution time: 45_943 nanoseconds.
Weight::from_parts(48_619_000, 0)
.saturating_add(Weight::from_parts(29615, 0))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
Expand Down
Loading

0 comments on commit a48eef9

Please sign in to comment.