Skip to content

Commit

Permalink
Update weights (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 authored Apr 3, 2024
1 parent dc099c8 commit 2e48292
Show file tree
Hide file tree
Showing 34 changed files with 2,030 additions and 1,953 deletions.
18 changes: 9 additions & 9 deletions runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2024-01-15`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2024-04-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -56,21 +56,21 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::weights::WeightInfo for
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_u32() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 9_070 nanoseconds.
Weight::from_parts(11_070_000, 637)
// Measured: `175`
// Estimated: `670`
// Minimum execution time: 10_090 nanoseconds.
Weight::from_parts(11_060_000, 670)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: XcmpQueue QueueConfig (r:1 w:1)
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_weight() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 9_260 nanoseconds.
Weight::from_parts(10_780_000, 637)
// Measured: `175`
// Estimated: `670`
// Minimum execution time: 10_390 nanoseconds.
Weight::from_parts(10_900_000, 670)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
48 changes: 24 additions & 24 deletions runtime/common/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2024-01-14`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2024-04-02`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -57,20 +57,20 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_320 nanoseconds.
Weight::from_parts(3_590_000, 0)
// Standard Error: 2
.saturating_add(Weight::from_parts(738, 0).saturating_mul(b.into()))
// Minimum execution time: 4_140 nanoseconds.
Weight::from_parts(4_270_000, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(765, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_840 nanoseconds.
Weight::from_parts(12_040_000, 0)
// Minimum execution time: 12_770 nanoseconds.
Weight::from_parts(14_950_000, 0)
// Standard Error: 3
.saturating_add(Weight::from_parts(2_456, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(2_540, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Expand All @@ -80,8 +80,8 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 13_170 nanoseconds.
Weight::from_parts(14_400_000, 495)
// Minimum execution time: 6_650 nanoseconds.
Weight::from_parts(6_940_000, 495)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -92,10 +92,10 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_730 nanoseconds.
Weight::from_parts(4_794_287, 0)
// Standard Error: 8_225
.saturating_add(Weight::from_parts(1_131_790, 0).saturating_mul(i.into()))
// Minimum execution time: 3_360 nanoseconds.
Weight::from_parts(3_520_000, 0)
// Standard Error: 4_711
.saturating_add(Weight::from_parts(1_189_534, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
Expand All @@ -105,23 +105,23 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_290 nanoseconds.
Weight::from_parts(3_560_000, 0)
// Standard Error: 3_412
.saturating_add(Weight::from_parts(886_492, 0).saturating_mul(i.into()))
// Minimum execution time: 3_610 nanoseconds.
Weight::from_parts(3_680_000, 0)
// Standard Error: 3_909
.saturating_add(Weight::from_parts(914_039, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `48 + p * (69 ±0)`
// Estimated: `52 + p * (70 ±0)`
// Minimum execution time: 6_210 nanoseconds.
Weight::from_parts(6_620_000, 52)
// Standard Error: 6_837
.saturating_add(Weight::from_parts(2_035_938, 0).saturating_mul(p.into()))
// Measured: `46 + p * (69 ±0)`
// Estimated: `51 + p * (70 ±0)`
// Minimum execution time: 6_760 nanoseconds.
Weight::from_parts(7_030_000, 51)
// Standard Error: 7_622
.saturating_add(Weight::from_parts(2_150_330, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
}
Expand Down
38 changes: 21 additions & 17 deletions runtime/common/src/weights/orml_currencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for orml_currencies
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2024-01-15`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2024-04-02`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -49,17 +49,19 @@ use frame_support::{traits::Get, weights::Weight};
/// Weight functions for orml_currencies (automatically generated)
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
/// Storage: MarketAssets Asset (r:1 w:0)
/// Proof: MarketAssets Asset (max_values: None, max_size: Some(225), added: 2700, mode: MaxEncodedLen)
/// Storage: Tokens Accounts (r:2 w:2)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn transfer_non_native_currency() -> Weight {
// Proof Size summary in bytes:
// Measured: `1753`
// Estimated: `7803`
// Minimum execution time: 71_681 nanoseconds.
Weight::from_parts(73_901_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
// Measured: `1862`
// Estimated: `10503`
// Minimum execution time: 88_670 nanoseconds.
Weight::from_parts(106_441_000, 10503)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: System Account (r:1 w:1)
Expand All @@ -68,11 +70,13 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1461`
// Estimated: `2607`
// Minimum execution time: 58_831 nanoseconds.
Weight::from_parts(59_660_000, 2607)
// Minimum execution time: 68_911 nanoseconds.
Weight::from_parts(70_820_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: MarketAssets Asset (r:1 w:0)
/// Proof: MarketAssets Asset (max_values: None, max_size: Some(225), added: 2700, mode: MaxEncodedLen)
/// Storage: Tokens Accounts (r:1 w:1)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
/// Storage: Tokens TotalIssuance (r:1 w:1)
Expand All @@ -81,11 +85,11 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn update_balance_non_native_currency() -> Weight {
// Proof Size summary in bytes:
// Measured: `1361`
// Estimated: `7723`
// Minimum execution time: 49_950 nanoseconds.
Weight::from_parts(57_160_000, 7723)
.saturating_add(T::DbWeight::get().reads(3))
// Measured: `1470`
// Estimated: `10423`
// Minimum execution time: 62_950 nanoseconds.
Weight::from_parts(64_510_000, 10423)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: System Account (r:1 w:1)
Expand All @@ -94,8 +98,8 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1401`
// Estimated: `2607`
// Minimum execution time: 49_830 nanoseconds.
Weight::from_parts(67_881_000, 2607)
// Minimum execution time: 57_700 nanoseconds.
Weight::from_parts(58_950_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -105,8 +109,8 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1525`
// Estimated: `2607`
// Minimum execution time: 47_410 nanoseconds.
Weight::from_parts(53_200_000, 2607)
// Minimum execution time: 54_700 nanoseconds.
Weight::from_parts(55_270_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
32 changes: 16 additions & 16 deletions runtime/common/src/weights/orml_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for orml_tokens
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2024-01-15`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2024-04-02`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -55,10 +55,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `1753`
// Measured: `1772`
// Estimated: `7803`
// Minimum execution time: 80_890 nanoseconds.
Weight::from_parts(98_321_000, 7803)
// Minimum execution time: 81_820 nanoseconds.
Weight::from_parts(99_190_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand All @@ -68,10 +68,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn transfer_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `1753`
// Measured: `1772`
// Estimated: `7803`
// Minimum execution time: 84_510 nanoseconds.
Weight::from_parts(86_860_000, 7803)
// Minimum execution time: 86_000 nanoseconds.
Weight::from_parts(104_730_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand All @@ -81,10 +81,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn transfer_keep_alive() -> Weight {
// Proof Size summary in bytes:
// Measured: `1577`
// Measured: `1596`
// Estimated: `7803`
// Minimum execution time: 66_190 nanoseconds.
Weight::from_parts(79_850_000, 7803)
// Minimum execution time: 66_410 nanoseconds.
Weight::from_parts(70_510_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand All @@ -94,10 +94,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `1753`
// Measured: `1772`
// Estimated: `10410`
// Minimum execution time: 74_240 nanoseconds.
Weight::from_parts(79_240_000, 10410)
// Minimum execution time: 65_651 nanoseconds.
Weight::from_parts(74_840_000, 10410)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand All @@ -109,10 +109,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn set_balance() -> Weight {
// Proof Size summary in bytes:
// Measured: `1361`
// Measured: `1394`
// Estimated: `7723`
// Minimum execution time: 56_260 nanoseconds.
Weight::from_parts(57_490_000, 7723)
// Minimum execution time: 56_401 nanoseconds.
Weight::from_parts(68_290_000, 7723)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand Down
Loading

0 comments on commit 2e48292

Please sign in to comment.