Skip to content

Commit

Permalink
Update weights (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 committed Oct 13, 2023
1 parent 37a91e0 commit 8626422
Show file tree
Hide file tree
Showing 31 changed files with 2,864 additions and 2,423 deletions.
26 changes: 13 additions & 13 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: `2023-09-20`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-12`, 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,22 +56,22 @@ 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: `109`
// Estimated: `604`
// Minimum execution time: 8_490 nanoseconds.
Weight::from_parts(10_580_000, 604)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 9_990 nanoseconds.
Weight::from_parts(10_420_000, 637)
.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: `109`
// Estimated: `604`
// Minimum execution time: 8_690 nanoseconds.
Weight::from_parts(9_020_000, 604)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 10_040 nanoseconds.
Weight::from_parts(10_910_000, 637)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
62 changes: 35 additions & 27 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: `2023-09-19`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-11`, 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 @@ -52,23 +52,25 @@ use frame_support::{
/// Weight functions for frame_system (automatically generated)
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_500 nanoseconds.
Weight::from_ref_time(4_150_000)
// Minimum execution time: 3_330 nanoseconds.
Weight::from_parts(3_530_000, 0)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(835).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(832, 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: 10_910 nanoseconds.
Weight::from_ref_time(14_380_000)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(2_765).saturating_mul(b.into()))
// Minimum execution time: 11_890 nanoseconds.
Weight::from_parts(12_270_000, 0)
// Standard Error: 5
.saturating_add(Weight::from_parts(2_541, 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 @@ -78,43 +80,49 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 7_180 nanoseconds.
Weight::from_parts(8_880_000, 495)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Minimum execution time: 7_030 nanoseconds.
Weight::from_parts(7_850_000, 495)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_811 nanoseconds.
Weight::from_ref_time(4_190_000)
// Standard Error: 4_882
.saturating_add(Weight::from_ref_time(1_253_851).saturating_mul(i.into()))
// Minimum execution time: 3_570 nanoseconds.
Weight::from_parts(3_640_000, 0)
// Standard Error: 4_801
.saturating_add(Weight::from_parts(1_148_373, 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 `i` is `[0, 1000]`.
fn kill_storage(i: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_700 nanoseconds.
Weight::from_ref_time(3_830_000)
// Standard Error: 2_621
.saturating_add(Weight::from_ref_time(974_623).saturating_mul(i.into()))
// Minimum execution time: 3_430 nanoseconds.
Weight::from_parts(3_640_000, 0)
// Standard Error: 4_580
.saturating_add(Weight::from_parts(943_402, 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: `52 + p * (69 ±0)`
// Estimated: `52 + p * (70 ±0)`
// Minimum execution time: 8_380 nanoseconds.
Weight::from_parts(8_740_000, 52)
// Standard Error: 5_825
.saturating_add(Weight::from_ref_time(2_194_146).saturating_mul(p.into()))
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
// Measured: `50 + p * (69 ±0)`
// Estimated: `53 + p * (70 ±0)`
// Minimum execution time: 7_060 nanoseconds.
Weight::from_parts(7_320_000, 53)
// Standard Error: 8_444
.saturating_add(Weight::from_parts(2_133_080, 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()))
}
}
42 changes: 21 additions & 21 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: `2023-09-19`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-11`, 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,21 +57,21 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `7803`
// Minimum execution time: 82_310 nanoseconds.
Weight::from_parts(100_000_000, 7803)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 80_790 nanoseconds.
Weight::from_parts(81_670_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn transfer_native_currency() -> Weight {
// Proof Size summary in bytes:
// Measured: `1461`
// Estimated: `2607`
// Minimum execution time: 67_440 nanoseconds.
Weight::from_parts(82_220_000, 2607)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Minimum execution time: 67_250 nanoseconds.
Weight::from_parts(81_560_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Tokens Accounts (r:1 w:1)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
Expand All @@ -83,31 +83,31 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1327`
// Estimated: `7723`
// Minimum execution time: 56_450 nanoseconds.
Weight::from_parts(69_660_000, 7723)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 56_660 nanoseconds.
Weight::from_parts(68_620_000, 7723)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn update_balance_native_currency_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `1401`
// Estimated: `2607`
// Minimum execution time: 56_870 nanoseconds.
Weight::from_parts(69_640_000, 2607)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Minimum execution time: 55_400 nanoseconds.
Weight::from_parts(68_250_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
fn update_balance_native_currency_killing() -> Weight {
// Proof Size summary in bytes:
// Measured: `1525`
// Estimated: `2607`
// Minimum execution time: 62_330 nanoseconds.
Weight::from_parts(66_420_000, 2607)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Minimum execution time: 54_051 nanoseconds.
Weight::from_parts(54_801_000, 2607)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
42 changes: 21 additions & 21 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: `2023-09-19`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-11`, 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,10 +57,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `7803`
// Minimum execution time: 81_920 nanoseconds.
Weight::from_parts(98_861_000, 7803)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 80_511 nanoseconds.
Weight::from_parts(98_030_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Tokens Accounts (r:2 w:2)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
Expand All @@ -70,10 +70,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `7803`
// Minimum execution time: 85_190 nanoseconds.
Weight::from_parts(86_860_000, 7803)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 84_540 nanoseconds.
Weight::from_parts(102_440_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Tokens Accounts (r:2 w:2)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
Expand All @@ -83,10 +83,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1543`
// Estimated: `7803`
// Minimum execution time: 66_690 nanoseconds.
Weight::from_parts(81_520_000, 7803)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 66_630 nanoseconds.
Weight::from_parts(80_230_000, 7803)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Tokens Accounts (r:2 w:2)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
Expand All @@ -96,10 +96,10 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `10410`
// Minimum execution time: 65_970 nanoseconds.
Weight::from_parts(69_540_000, 10410)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 74_130 nanoseconds.
Weight::from_parts(80_780_000, 10410)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Tokens Accounts (r:1 w:1)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen)
Expand All @@ -111,9 +111,9 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1327`
// Estimated: `7723`
// Minimum execution time: 49_330 nanoseconds.
Weight::from_parts(60_580_000, 7723)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 56_380 nanoseconds.
Weight::from_parts(57_350_000, 7723)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
}
14 changes: 7 additions & 7 deletions runtime/common/src/weights/pallet_author_inherent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_author_inherent
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2023-09-20`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-12`, 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 @@ -66,11 +66,11 @@ impl<T: frame_system::Config> pallet_author_inherent::weights::WeightInfo for We
/// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen)
fn kick_off_authorship_validation() -> Weight {
// Proof Size summary in bytes:
// Measured: `501`
// Estimated: `7103`
// Minimum execution time: 30_120 nanoseconds.
Weight::from_parts(31_720_000, 7103)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Measured: `572`
// Estimated: `7316`
// Minimum execution time: 37_751 nanoseconds.
Weight::from_parts(45_860_000, 7316)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(1))
}
}
Loading

0 comments on commit 8626422

Please sign in to comment.