From 8626422b91b320a76ff2830dffe7afce546be8c5 Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Fri, 13 Oct 2023 12:35:28 +0200 Subject: [PATCH] Update weights (#1143) --- .../src/weights/cumulus_pallet_xcmp_queue.rs | 26 +- runtime/common/src/weights/frame_system.rs | 62 +- runtime/common/src/weights/orml_currencies.rs | 42 +- runtime/common/src/weights/orml_tokens.rs | 42 +- .../src/weights/pallet_author_inherent.rs | 14 +- .../src/weights/pallet_author_mapping.rs | 42 +- .../src/weights/pallet_author_slot_filter.rs | 6 +- runtime/common/src/weights/pallet_balances.rs | 58 +- runtime/common/src/weights/pallet_bounties.rs | 103 +- .../common/src/weights/pallet_collective.rs | 219 +-- .../common/src/weights/pallet_contracts.rs | 1337 +++++++++-------- .../common/src/weights/pallet_democracy.rs | 212 +-- runtime/common/src/weights/pallet_identity.rs | 248 +-- .../common/src/weights/pallet_membership.rs | 102 +- runtime/common/src/weights/pallet_multisig.rs | 116 +- .../src/weights/pallet_parachain_staking.rs | 398 ++--- runtime/common/src/weights/pallet_preimage.rs | 111 +- runtime/common/src/weights/pallet_proxy.rs | 146 +- .../common/src/weights/pallet_scheduler.rs | 108 +- .../common/src/weights/pallet_timestamp.rs | 14 +- runtime/common/src/weights/pallet_treasury.rs | 61 +- runtime/common/src/weights/pallet_utility.rs | 37 +- runtime/common/src/weights/pallet_vesting.rs | 142 +- zrml/authorized/src/weights.rs | 65 +- zrml/court/src/weights.rs | 299 ++-- zrml/global-disputes/src/weights.rs | 137 +- zrml/liquidity-mining/src/weights.rs | 6 +- zrml/neo-swaps/src/weights.rs | 82 +- zrml/prediction-markets/src/weights.rs | 662 ++++---- zrml/styx/src/weights.rs | 14 +- zrml/swaps/src/weights.rs | 376 ++--- 31 files changed, 2864 insertions(+), 2423 deletions(-) diff --git a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs index eb289e315..2e0f4aea3 100644 --- a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs @@ -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` @@ -56,22 +56,22 @@ impl 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)) } } diff --git a/runtime/common/src/weights/frame_system.rs b/runtime/common/src/weights/frame_system.rs index 342d0affe..7761269e0 100644 --- a/runtime/common/src/weights/frame_system.rs +++ b/runtime/common/src/weights/frame_system.rs @@ -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` @@ -52,23 +52,25 @@ use frame_support::{ /// Weight functions for frame_system (automatically generated) pub struct WeightInfo(PhantomData); impl frame_system::weights::WeightInfo for WeightInfo { + /// 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) @@ -78,43 +80,49 @@ impl frame_system::weights::WeightInfo for WeightInfo 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())) } } diff --git a/runtime/common/src/weights/orml_currencies.rs b/runtime/common/src/weights/orml_currencies.rs index 3cd307d25..3288d6395 100644 --- a/runtime/common/src/weights/orml_currencies.rs +++ b/runtime/common/src/weights/orml_currencies.rs @@ -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` @@ -57,10 +57,10 @@ impl orml_currencies::WeightInfo for WeightInfo { // 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) @@ -68,10 +68,10 @@ impl orml_currencies::WeightInfo for WeightInfo { // 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) @@ -83,10 +83,10 @@ impl orml_currencies::WeightInfo for WeightInfo { // 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) @@ -94,10 +94,10 @@ impl orml_currencies::WeightInfo for WeightInfo { // 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) @@ -105,9 +105,9 @@ impl orml_currencies::WeightInfo for WeightInfo { // 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)) } } diff --git a/runtime/common/src/weights/orml_tokens.rs b/runtime/common/src/weights/orml_tokens.rs index 37191cce8..81e74493b 100644 --- a/runtime/common/src/weights/orml_tokens.rs +++ b/runtime/common/src/weights/orml_tokens.rs @@ -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` @@ -57,10 +57,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // 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) @@ -70,10 +70,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // 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) @@ -83,10 +83,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // 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) @@ -96,10 +96,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // 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) @@ -111,9 +111,9 @@ impl orml_tokens::WeightInfo for WeightInfo { // 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)) } } diff --git a/runtime/common/src/weights/pallet_author_inherent.rs b/runtime/common/src/weights/pallet_author_inherent.rs index ddbe2f204..022cd20b5 100644 --- a/runtime/common/src/weights/pallet_author_inherent.rs +++ b/runtime/common/src/weights/pallet_author_inherent.rs @@ -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` @@ -66,11 +66,11 @@ impl 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)) } } diff --git a/runtime/common/src/weights/pallet_author_mapping.rs b/runtime/common/src/weights/pallet_author_mapping.rs index 54ac8eb9c..fff81461a 100644 --- a/runtime/common/src/weights/pallet_author_mapping.rs +++ b/runtime/common/src/weights/pallet_author_mapping.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_author_mapping //! //! 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` @@ -62,10 +62,10 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `462` // Estimated: `6006` - // Minimum execution time: 39_250 nanoseconds. - Weight::from_parts(48_190_000, 6006) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 42_590 nanoseconds. + Weight::from_parts(44_770_000, 6006) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: AuthorMapping MappingWithDeposit (r:2 w:2) /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) @@ -75,10 +75,10 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `407` // Estimated: `5764` - // Minimum execution time: 30_370 nanoseconds. - Weight::from_parts(31_410_000, 5764) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 36_420 nanoseconds. + Weight::from_parts(38_180_000, 5764) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: AuthorMapping MappingWithDeposit (r:1 w:1) /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) @@ -90,10 +90,10 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `583` // Estimated: `6248` - // Minimum execution time: 41_640 nanoseconds. - Weight::from_parts(50_640_000, 6248) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 49_801 nanoseconds. + Weight::from_parts(51_321_000, 6248) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: AuthorMapping NimbusLookup (r:1 w:1) /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) @@ -105,10 +105,10 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `689` // Estimated: `8935` - // Minimum execution time: 47_510 nanoseconds. - Weight::from_parts(48_051_000, 8935) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 56_490 nanoseconds. + Weight::from_parts(58_100_000, 8935) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: AuthorMapping NimbusLookup (r:1 w:1) /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) @@ -118,9 +118,9 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `513` // Estimated: `8451` - // Minimum execution time: 36_541 nanoseconds. - Weight::from_parts(37_800_000, 8451) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 43_710 nanoseconds. + Weight::from_parts(45_410_000, 8451) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/common/src/weights/pallet_author_slot_filter.rs b/runtime/common/src/weights/pallet_author_slot_filter.rs index 9682c8b1d..dead8cd3b 100644 --- a/runtime/common/src/weights/pallet_author_slot_filter.rs +++ b/runtime/common/src/weights/pallet_author_slot_filter.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_author_slot_filter //! //! 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` @@ -58,7 +58,7 @@ impl pallet_author_slot_filter::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_520 nanoseconds. - Weight::from_ref_time(11_310_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_440 nanoseconds. + Weight::from_parts(12_830_000, 0).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index c34d6efdd..fe7bb1a67 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! 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` @@ -58,10 +58,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1585` // Estimated: `5214` - // Minimum execution time: 110_920 nanoseconds. - Weight::from_parts(112_730_000, 5214) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 90_550 nanoseconds. + Weight::from_parts(93_890_000, 5214) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) @@ -69,10 +69,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1409` // Estimated: `2607` - // Minimum execution time: 61_750 nanoseconds. - Weight::from_parts(74_220_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 58_960 nanoseconds. + Weight::from_parts(60_610_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) @@ -80,10 +80,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1559` // Estimated: `2607` - // Minimum execution time: 53_450 nanoseconds. - Weight::from_parts(59_371_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 47_200 nanoseconds. + Weight::from_parts(48_020_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) @@ -91,10 +91,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1559` // Estimated: `2607` - // Minimum execution time: 65_040 nanoseconds. - Weight::from_parts(65_980_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 52_630 nanoseconds. + Weight::from_parts(63_420_000, 2607) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: System Account (r:3 w:3) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) @@ -102,10 +102,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1581` // Estimated: `7821` - // Minimum execution time: 110_150 nanoseconds. - Weight::from_parts(111_860_000, 7821) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 88_440 nanoseconds. + Weight::from_parts(91_800_000, 7821) + .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) @@ -113,10 +113,10 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1409` // Estimated: `2607` - // Minimum execution time: 84_951 nanoseconds. - Weight::from_parts(85_671_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 68_880 nanoseconds. + Weight::from_parts(83_690_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) @@ -124,9 +124,9 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1443` // Estimated: `2607` - // Minimum execution time: 42_121 nanoseconds. - Weight::from_parts(51_680_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 41_420 nanoseconds. + Weight::from_parts(42_381_000, 2607) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_bounties.rs b/runtime/common/src/weights/pallet_bounties.rs index 40f52d934..8609dddc2 100644 --- a/runtime/common/src/weights/pallet_bounties.rs +++ b/runtime/common/src/weights/pallet_bounties.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_bounties //! //! 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` @@ -60,16 +60,17 @@ impl pallet_bounties::weights::WeightInfo for WeightInf /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(8206), added: 10681, mode: MaxEncodedLen) /// Storage: Bounties Bounties (r:0 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// The range of component `d` is `[0, 8192]`. fn propose_bounty(d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `3106` - // Minimum execution time: 39_210 nanoseconds. - Weight::from_parts(49_644_726, 3106) - // Standard Error: 161 - .saturating_add(Weight::from_ref_time(1_981).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 33_190 nanoseconds. + Weight::from_parts(42_262_327, 3106) + // Standard Error: 70 + .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -79,10 +80,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `229` // Estimated: `3553` - // Minimum execution time: 21_960 nanoseconds. - Weight::from_parts(22_850_000, 3553) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 18_290 nanoseconds. + Weight::from_parts(20_010_000, 3553) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -90,10 +91,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `249` // Estimated: `2656` - // Minimum execution time: 19_030 nanoseconds. - Weight::from_parts(19_740_000, 2656) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 15_910 nanoseconds. + Weight::from_parts(19_160_000, 2656) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -103,10 +104,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `641` // Estimated: `7870` - // Minimum execution time: 61_810 nanoseconds. - Weight::from_parts(69_140_000, 7870) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 55_340 nanoseconds. + Weight::from_parts(63_641_000, 7870) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -116,10 +117,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `457` // Estimated: `5263` - // Minimum execution time: 37_390 nanoseconds. - Weight::from_parts(38_860_000, 5263) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 32_510 nanoseconds. + Weight::from_parts(36_520_000, 5263) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -127,10 +128,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `289` // Estimated: `2656` - // Minimum execution time: 29_750 nanoseconds. - Weight::from_parts(30_860_000, 2656) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 24_210 nanoseconds. + Weight::from_parts(25_970_000, 2656) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -142,10 +143,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `674` // Estimated: `10477` - // Minimum execution time: 108_790 nanoseconds. - Weight::from_parts(121_411_000, 10477) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 98_621 nanoseconds. + Weight::from_parts(105_541_000, 10477) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -157,10 +158,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `541` // Estimated: `7870` - // Minimum execution time: 71_620 nanoseconds. - Weight::from_parts(72_570_000, 7870) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 57_460 nanoseconds. + Weight::from_parts(71_010_000, 7870) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -172,10 +173,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `818` // Estimated: `10477` - // Minimum execution time: 81_410 nanoseconds. - Weight::from_parts(91_680_000, 10477) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 74_401 nanoseconds. + Weight::from_parts(75_600_000, 10477) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Bounties Bounties (r:1 w:1) /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) @@ -183,10 +184,10 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `289` // Estimated: `2656` - // Minimum execution time: 26_580 nanoseconds. - Weight::from_parts(27_030_000, 2656) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 23_890 nanoseconds. + Weight::from_parts(29_120_000, 2656) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Bounties BountyApprovals (r:1 w:1) /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) @@ -194,17 +195,19 @@ impl pallet_bounties::weights::WeightInfo for WeightInf /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) /// Storage: System Account (r:200 w:200) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `98 + b * (357 ±0)` // Estimated: `897 + b * (7870 ±0)` - // Minimum execution time: 8_150 nanoseconds. - Weight::from_parts(52_589_666, 897) - // Standard Error: 242_561 - .saturating_add(Weight::from_ref_time(51_967_029).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 6_800 nanoseconds. + Weight::from_parts(7_080_000, 897) + // Standard Error: 137_583 + .saturating_add(Weight::from_parts(46_651_854, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(7870).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7870).saturating_mul(b.into())) } } diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs index 1ef7ab271..8eae1c505 100644 --- a/runtime/common/src/weights/pallet_collective.rs +++ b/runtime/common/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! 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` @@ -60,53 +60,59 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 255]`. fn set_members(m: u32, _n: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (8195 ±0) + p * (3227 ±0)` // Estimated: `33167 + m * (19751 ±60) + p * (10255 ±23)` - // Minimum execution time: 30_430 nanoseconds. - Weight::from_parts(30_980_000, 33167) - // Standard Error: 332_697 - .saturating_add(Weight::from_ref_time(25_449_256).saturating_mul(m.into())) - // Standard Error: 130_624 - .saturating_add(Weight::from_ref_time(15_889_730).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 26_380 nanoseconds. + Weight::from_parts(27_200_000, 33167) + // Standard Error: 310_569 + .saturating_add(Weight::from_parts(22_981_512, 0).saturating_mul(m.into())) + // Standard Error: 121_936 + .saturating_add(Weight::from_parts(14_449_717, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(19751).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(10255).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 19751).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10255).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Members (r:1 w:0) /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `100 + m * (32 ±0)` // Estimated: `596 + m * (32 ±0)` - // Minimum execution time: 29_380 nanoseconds. - Weight::from_parts(32_168_334, 596) - // Standard Error: 176 - .saturating_add(Weight::from_ref_time(4_002).saturating_mul(b.into())) - // Standard Error: 1_816 - .saturating_add(Weight::from_ref_time(36_737).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) + // Minimum execution time: 26_230 nanoseconds. + Weight::from_parts(30_170_565, 596) + // Standard Error: 379 + .saturating_add(Weight::from_parts(2_989, 0).saturating_mul(b.into())) + // Standard Error: 3_916 + .saturating_add(Weight::from_parts(27_154, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: AdvisoryCommittee Members (r:1 w:0) /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee ProposalOf (r:1 w:0) /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - fn propose_execute(b: u32, m: u32) -> Weight { + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn propose_execute(_b: u32, m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `100 + m * (32 ±0)` // Estimated: `3172 + m * (64 ±0)` - // Minimum execution time: 32_490 nanoseconds. - Weight::from_parts(32_891_978, 3172) - // Standard Error: 606 - .saturating_add(Weight::from_ref_time(5_974).saturating_mul(b.into())) - // Standard Error: 6_249 - .saturating_add(Weight::from_ref_time(100_564).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into())) + // Minimum execution time: 32_460 nanoseconds. + Weight::from_parts(40_858_212, 3172) + // Standard Error: 8_079 + .saturating_add(Weight::from_parts(30_321, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: AdvisoryCommittee Members (r:1 w:0) /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -118,38 +124,42 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Voting (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 255]`. fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `565 + m * (32 ±0) + p * (33 ±0)` // Estimated: `6570 + m * (160 ±0) + p * (170 ±0)` - // Minimum execution time: 46_210 nanoseconds. - Weight::from_parts(43_886_366, 6570) - // Standard Error: 751 - .saturating_add(Weight::from_ref_time(11_946).saturating_mul(b.into())) - // Standard Error: 7_842 - .saturating_add(Weight::from_ref_time(27_670).saturating_mul(m.into())) - // Standard Error: 3_019 - .saturating_add(Weight::from_ref_time(220_177).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_proof_size(160).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(170).saturating_mul(p.into())) + // Minimum execution time: 38_570 nanoseconds. + Weight::from_parts(33_301_285, 6570) + // Standard Error: 900 + .saturating_add(Weight::from_parts(14_182, 0).saturating_mul(b.into())) + // Standard Error: 9_395 + .saturating_add(Weight::from_parts(19_064, 0).saturating_mul(m.into())) + // Standard Error: 3_616 + .saturating_add(Weight::from_parts(190_814, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 160).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 170).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Members (r:1 w:0) /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Voting (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// The range of component `m` is `[5, 100]`. fn vote(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1240 + m * (64 ±0)` // Estimated: `5448 + m * (128 ±0)` - // Minimum execution time: 42_820 nanoseconds. - Weight::from_parts(57_247_570, 5448) - // Standard Error: 5_586 - .saturating_add(Weight::from_ref_time(90_933).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into())) + // Minimum execution time: 39_530 nanoseconds. + Weight::from_parts(48_928_423, 5448) + // Standard Error: 6_452 + .saturating_add(Weight::from_parts(80_145, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) } /// Storage: AdvisoryCommittee Voting (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -159,20 +169,20 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 255]`. fn close_early_disapproved(m: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `683 + m * (64 ±0) + p * (33 ±0)` // Estimated: `6017 + m * (260 ±0) + p * (136 ±0)` - // Minimum execution time: 42_010 nanoseconds. - Weight::from_parts(41_739_149, 6017) - // Standard Error: 8_825 - .saturating_add(Weight::from_ref_time(133_832).saturating_mul(m.into())) - // Standard Error: 3_354 - .saturating_add(Weight::from_ref_time(213_771).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(136).saturating_mul(p.into())) + // Minimum execution time: 40_280 nanoseconds. + Weight::from_parts(52_288_034, 6017) + // Standard Error: 3_896 + .saturating_add(Weight::from_parts(158_441, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 136).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Voting (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -182,23 +192,26 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Proposals (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 255]`. fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `926 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` // Estimated: `9916 + b * (4 ±0) + m * (248 ±0) + p * (144 ±0)` - // Minimum execution time: 57_630 nanoseconds. - Weight::from_parts(71_246_911, 9916) - // Standard Error: 914 - .saturating_add(Weight::from_ref_time(10_364).saturating_mul(b.into())) - // Standard Error: 9_666 - .saturating_add(Weight::from_ref_time(28_754).saturating_mul(m.into())) - // Standard Error: 3_674 - .saturating_add(Weight::from_ref_time(240_907).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into())) - .saturating_add(Weight::from_proof_size(248).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into())) + // Minimum execution time: 61_820 nanoseconds. + Weight::from_parts(52_654_648, 9916) + // Standard Error: 1_197 + .saturating_add(Weight::from_parts(15_264, 0).saturating_mul(b.into())) + // Standard Error: 12_652 + .saturating_add(Weight::from_parts(37_155, 0).saturating_mul(m.into())) + // Standard Error: 4_808 + .saturating_add(Weight::from_parts(226_001, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 248).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Voting (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -210,20 +223,22 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 255]`. fn close_disapproved(m: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `703 + m * (64 ±0) + p * (33 ±0)` // Estimated: `7250 + m * (325 ±0) + p * (170 ±0)` - // Minimum execution time: 47_540 nanoseconds. - Weight::from_parts(58_061_738, 7250) - // Standard Error: 9_360 - .saturating_add(Weight::from_ref_time(30_766).saturating_mul(m.into())) - // Standard Error: 3_557 - .saturating_add(Weight::from_ref_time(204_081).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(170).saturating_mul(p.into())) + // Minimum execution time: 44_160 nanoseconds. + Weight::from_parts(42_940_363, 7250) + // Standard Error: 9_820 + .saturating_add(Weight::from_parts(89_601, 0).saturating_mul(m.into())) + // Standard Error: 3_732 + .saturating_add(Weight::from_parts(180_778, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 170).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Voting (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -235,23 +250,26 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Proposals (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 255]`. fn close_approved(b: u32, m: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `946 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` // Estimated: `11505 + b * (5 ±0) + m * (310 ±0) + p * (180 ±0)` - // Minimum execution time: 69_630 nanoseconds. - Weight::from_parts(75_042_860, 11505) - // Standard Error: 818 - .saturating_add(Weight::from_ref_time(9_063).saturating_mul(b.into())) - // Standard Error: 8_654 - .saturating_add(Weight::from_ref_time(37_972).saturating_mul(m.into())) - // Standard Error: 3_289 - .saturating_add(Weight::from_ref_time(253_280).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into())) - .saturating_add(Weight::from_proof_size(310).saturating_mul(m.into())) - .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) + // Minimum execution time: 60_170 nanoseconds. + Weight::from_parts(66_445_852, 11505) + // Standard Error: 1_181 + .saturating_add(Weight::from_parts(4_518, 0).saturating_mul(b.into())) + // Standard Error: 12_489 + .saturating_add(Weight::from_parts(2_497, 0).saturating_mul(m.into())) + // Standard Error: 4_746 + .saturating_add(Weight::from_parts(234_158, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 310).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) } /// Storage: AdvisoryCommittee Proposals (r:1 w:1) /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -259,16 +277,17 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// The range of component `p` is `[1, 255]`. fn disapprove_proposal(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `258 + p * (32 ±0)` // Estimated: `1266 + p * (96 ±0)` - // Minimum execution time: 27_850 nanoseconds. - Weight::from_parts(34_667_615, 1266) - // Standard Error: 3_964 - .saturating_add(Weight::from_ref_time(173_407).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into())) + // Minimum execution time: 23_860 nanoseconds. + Weight::from_parts(30_109_336, 1266) + // Standard Error: 2_409 + .saturating_add(Weight::from_parts(136_871, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_contracts.rs b/runtime/common/src/weights/pallet_contracts.rs index d4c994ebc..754fc5760 100644 --- a/runtime/common/src/weights/pallet_contracts.rs +++ b/runtime/common/src/weights/pallet_contracts.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_contracts //! //! 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` @@ -58,49 +58,53 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `42` // Estimated: `0` - // Minimum execution time: 7_340 nanoseconds. - Weight::from_ref_time(7_910_000).saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 6_080 nanoseconds. + Weight::from_parts(6_450_000, 0).saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32) -> Weight { // Proof Size summary in bytes: // Measured: `414 + k * (69 ±0)` // Estimated: `0` - // Minimum execution time: 18_190 nanoseconds. - Weight::from_ref_time(1_690_272) - // Standard Error: 8_316 - .saturating_add(Weight::from_ref_time(1_923_221).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 18_210 nanoseconds. + Weight::from_parts(7_024_373, 0) + // Standard Error: 10_987 + .saturating_add(Weight::from_parts(1_742_324, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) } /// Storage: Contracts DeletionQueue (r:1 w:1) /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32) -> Weight { // Proof Size summary in bytes: // Measured: `214 + q * (33 ±0)` // Estimated: `0` - // Minimum execution time: 6_350 nanoseconds. - Weight::from_ref_time(24_970_915) - // Standard Error: 16_486 - .saturating_add(Weight::from_ref_time(2_264_517).saturating_mul(q.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 6_330 nanoseconds. + Weight::from_parts(16_618_983, 0) + // Standard Error: 17_949 + .saturating_add(Weight::from_parts(2_022_944, 0).saturating_mul(q.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Contracts PristineCode (r:1 w:0) /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) /// Storage: Contracts CodeStorage (r:0 w:1) /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// The range of component `c` is `[0, 61717]`. fn reinstrument(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `203 + c * (1 ±0)` // Estimated: `0` - // Minimum execution time: 59_620 nanoseconds. - Weight::from_ref_time(55_067_915) - // Standard Error: 350 - .saturating_add(Weight::from_ref_time(111_042).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 61_320 nanoseconds. + Weight::from_parts(111_795_683, 0) + // Standard Error: 345 + .saturating_add(Weight::from_parts(100_736, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) @@ -112,16 +116,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `675` // Estimated: `0` - // Minimum execution time: 450_952 nanoseconds. - Weight::from_ref_time(619_179_647) - // Standard Error: 198 - .saturating_add(Weight::from_ref_time(70_522).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 651_081 nanoseconds. + Weight::from_parts(663_809_385, 0) + // Standard Error: 221 + .saturating_add(Weight::from_parts(57_437, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Contracts CodeStorage (r:1 w:1) /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) @@ -139,20 +144,23 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) /// Storage: Contracts OwnerInfoOf (r:0 w:1) /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// The range of component `c` is `[0, 61717]`. + /// The range of component `i` is `[0, 1048576]`. + /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `157` // Estimated: `0` - // Minimum execution time: 7_124_782 nanoseconds. - Weight::from_ref_time(642_462_467) - // Standard Error: 767 - .saturating_add(Weight::from_ref_time(209_837).saturating_mul(c.into())) - // Standard Error: 45 - .saturating_add(Weight::from_ref_time(3_095).saturating_mul(i.into())) - // Standard Error: 45 - .saturating_add(Weight::from_ref_time(3_370).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) + // Minimum execution time: 6_484_362 nanoseconds. + Weight::from_parts(797_808_303, 0) + // Standard Error: 692 + .saturating_add(Weight::from_parts(180_720, 0).saturating_mul(c.into())) + // Standard Error: 40 + .saturating_add(Weight::from_parts(2_893, 0).saturating_mul(i.into())) + // Standard Error: 40 + .saturating_add(Weight::from_parts(3_010, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(9)) } /// Storage: Contracts CodeStorage (r:1 w:1) /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) @@ -168,18 +176,20 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `i` is `[0, 1048576]`. + /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `0` - // Minimum execution time: 2_953_489 nanoseconds. - Weight::from_ref_time(983_538_643) - // Standard Error: 44 - .saturating_add(Weight::from_ref_time(2_071).saturating_mul(i.into())) - // Standard Error: 44 - .saturating_add(Weight::from_ref_time(3_066).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 2_556_385 nanoseconds. + Weight::from_parts(712_729_592, 0) + // Standard Error: 48 + .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(i.into())) + // Standard Error: 48 + .saturating_add(Weight::from_parts(2_947, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) @@ -195,10 +205,10 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `727` // Estimated: `0` - // Minimum execution time: 255_261 nanoseconds. - Weight::from_ref_time(280_541_000) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 218_010 nanoseconds. + Weight::from_parts(232_030_000, 0) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Contracts CodeStorage (r:1 w:1) /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) @@ -208,16 +218,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) /// Storage: Contracts OwnerInfoOf (r:0 w:1) /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// The range of component `c` is `[0, 61717]`. fn upload_code(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `0` - // Minimum execution time: 415_211 nanoseconds. - Weight::from_ref_time(584_100_483) - // Standard Error: 865 - .saturating_add(Weight::from_ref_time(210_362).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 663_371 nanoseconds. + Weight::from_parts(728_818_764, 0) + // Standard Error: 1_131 + .saturating_add(Weight::from_parts(180_003, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Contracts OwnerInfoOf (r:1 w:1) /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) @@ -231,10 +242,10 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `218` // Estimated: `0` - // Minimum execution time: 40_660 nanoseconds. - Weight::from_ref_time(49_831_000) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 39_610 nanoseconds. + Weight::from_parts(46_320_000, 0) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) @@ -246,10 +257,10 @@ impl pallet_contracts::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `567` // Estimated: `0` - // Minimum execution time: 43_560 nanoseconds. - Weight::from_ref_time(57_710_000) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 41_910 nanoseconds. + Weight::from_parts(48_090_000, 0) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -261,16 +272,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `697 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 414_591 nanoseconds. - Weight::from_ref_time(507_051_177) - // Standard Error: 460_256 - .saturating_add(Weight::from_ref_time(41_906_034).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_911 nanoseconds. + Weight::from_parts(649_038_013, 0) + // Standard Error: 731_408 + .saturating_add(Weight::from_parts(38_688_760, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -282,17 +294,18 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `749 + r * (19218 ±0)` // Estimated: `0` - // Minimum execution time: 376_421 nanoseconds. - Weight::from_ref_time(273_419_458) - // Standard Error: 1_839_158 - .saturating_add(Weight::from_ref_time(500_620_682).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 539_701 nanoseconds. + Weight::from_parts(398_198_074, 0) + // Standard Error: 2_231_810 + .saturating_add(Weight::from_parts(461_745_248, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -304,17 +317,18 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `741 + r * (19539 ±0)` // Estimated: `0` - // Minimum execution time: 422_661 nanoseconds. - Weight::from_ref_time(297_306_353) - // Standard Error: 1_486_114 - .saturating_add(Weight::from_ref_time(594_612_175).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 540_831 nanoseconds. + Weight::from_parts(454_109_442, 0) + // Standard Error: 2_462_833 + .saturating_add(Weight::from_parts(544_978_174, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -326,16 +340,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `704 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 383_971 nanoseconds. - Weight::from_ref_time(538_086_750) - // Standard Error: 482_564 - .saturating_add(Weight::from_ref_time(47_799_438).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 539_531 nanoseconds. + Weight::from_parts(661_621_217, 0) + // Standard Error: 548_577 + .saturating_add(Weight::from_parts(43_931_981, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -347,16 +362,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `694 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 392_191 nanoseconds. - Weight::from_ref_time(529_148_073) - // Standard Error: 401_482 - .saturating_add(Weight::from_ref_time(22_240_096).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 533_071 nanoseconds. + Weight::from_parts(652_770_497, 0) + // Standard Error: 442_690 + .saturating_add(Weight::from_parts(20_990_918, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -368,16 +384,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `698 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 430_521 nanoseconds. - Weight::from_ref_time(526_870_260) - // Standard Error: 549_166 - .saturating_add(Weight::from_ref_time(40_844_571).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_961 nanoseconds. + Weight::from_parts(654_344_945, 0) + // Standard Error: 481_495 + .saturating_add(Weight::from_parts(35_850_715, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -389,16 +406,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `699 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 416_131 nanoseconds. - Weight::from_ref_time(488_659_078) - // Standard Error: 450_850 - .saturating_add(Weight::from_ref_time(43_862_203).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 537_131 nanoseconds. + Weight::from_parts(666_668_449, 0) + // Standard Error: 471_768 + .saturating_add(Weight::from_parts(35_356_154, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:2 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -410,16 +428,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `873 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 448_991 nanoseconds. - Weight::from_ref_time(562_721_723) - // Standard Error: 1_530_629 - .saturating_add(Weight::from_ref_time(191_699_924).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_771 nanoseconds. + Weight::from_parts(712_769_271, 0) + // Standard Error: 755_664 + .saturating_add(Weight::from_parts(158_233_444, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -431,16 +450,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `708 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 371_431 nanoseconds. - Weight::from_ref_time(508_541_681) - // Standard Error: 441_247 - .saturating_add(Weight::from_ref_time(40_677_699).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 534_211 nanoseconds. + Weight::from_parts(659_103_045, 0) + // Standard Error: 884_226 + .saturating_add(Weight::from_parts(35_977_888, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -452,16 +472,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `706 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 403_231 nanoseconds. - Weight::from_ref_time(533_640_067) - // Standard Error: 420_220 - .saturating_add(Weight::from_ref_time(39_968_958).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_701 nanoseconds. + Weight::from_parts(638_397_534, 0) + // Standard Error: 547_407 + .saturating_add(Weight::from_parts(37_004_290, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -473,16 +494,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `703 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 377_331 nanoseconds. - Weight::from_ref_time(517_541_129) - // Standard Error: 660_097 - .saturating_add(Weight::from_ref_time(41_963_235).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 535_401 nanoseconds. + Weight::from_parts(615_726_727, 0) + // Standard Error: 618_091 + .saturating_add(Weight::from_parts(38_987_676, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -494,16 +516,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `694 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 404_841 nanoseconds. - Weight::from_ref_time(492_606_951) - // Standard Error: 786_255 - .saturating_add(Weight::from_ref_time(44_988_691).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_921 nanoseconds. + Weight::from_parts(639_353_814, 0) + // Standard Error: 491_104 + .saturating_add(Weight::from_parts(37_746_710, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -517,16 +540,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `809 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 375_391 nanoseconds. - Weight::from_ref_time(486_909_222) - // Standard Error: 1_108_385 - .saturating_add(Weight::from_ref_time(183_182_667).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 539_572 nanoseconds. + Weight::from_parts(774_674_044, 0) + // Standard Error: 865_107 + .saturating_add(Weight::from_parts(153_164_182, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -538,16 +562,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `661 + r * (320 ±0)` // Estimated: `0` - // Minimum execution time: 195_821 nanoseconds. - Weight::from_ref_time(255_706_203) - // Standard Error: 152_429 - .saturating_add(Weight::from_ref_time(19_140_207).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 197_671 nanoseconds. + Weight::from_parts(239_987_306, 0) + // Standard Error: 229_192 + .saturating_add(Weight::from_parts(17_255_992, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -559,16 +584,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `696 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 432_501 nanoseconds. - Weight::from_ref_time(531_441_407) - // Standard Error: 449_978 - .saturating_add(Weight::from_ref_time(35_106_965).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 537_261 nanoseconds. + Weight::from_parts(692_611_711, 0) + // Standard Error: 454_523 + .saturating_add(Weight::from_parts(30_093_959, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -580,16 +606,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1176` // Estimated: `0` - // Minimum execution time: 413_421 nanoseconds. - Weight::from_ref_time(610_244_754) - // Standard Error: 166_402 - .saturating_add(Weight::from_ref_time(18_626_327).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 569_711 nanoseconds. + Weight::from_parts(687_286_602, 0) + // Standard Error: 39_549 + .saturating_add(Weight::from_parts(12_178_012, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -601,14 +628,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) - fn seal_return(_r: u32) -> Weight { + /// The range of component `r` is `[0, 1]`. + fn seal_return(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `684 + r * (8 ±0)` // Estimated: `0` - // Minimum execution time: 371_171 nanoseconds. - Weight::from_ref_time(492_065_900) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 531_732 nanoseconds. + Weight::from_parts(645_719_612, 0) + // Standard Error: 9_218_034 + .saturating_add(Weight::from_parts(95_501_187, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -620,16 +650,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `0` - // Minimum execution time: 384_511 nanoseconds. - Weight::from_ref_time(533_468_127) - // Standard Error: 13_902 - .saturating_add(Weight::from_ref_time(343_428).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 534_212 nanoseconds. + Weight::from_parts(625_914_857, 0) + // Standard Error: 9_816 + .saturating_add(Weight::from_parts(404_875, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:3 w:3) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -645,17 +676,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) /// Storage: System EventTopics (r:3 w:3) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `726 + r * (285 ±0)` // Estimated: `0` - // Minimum execution time: 371_511 nanoseconds. - Weight::from_ref_time(498_260_832) - // Standard Error: 10_611_365 - .saturating_add(Weight::from_ref_time(83_054_067).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 534_742 nanoseconds. + Weight::from_parts(639_771_534, 0) + // Standard Error: 9_422_723 + .saturating_add(Weight::from_parts(110_289_165, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -669,16 +702,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `775 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 400_002 nanoseconds. - Weight::from_ref_time(535_795_374) - // Standard Error: 433_802 - .saturating_add(Weight::from_ref_time(228_011_294).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_012 nanoseconds. + Weight::from_parts(653_666_893, 0) + // Standard Error: 971_714 + .saturating_add(Weight::from_parts(202_771_445, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -690,16 +724,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `694 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 380_131 nanoseconds. - Weight::from_ref_time(534_904_075) - // Standard Error: 1_278_761 - .saturating_add(Weight::from_ref_time(431_858_210).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 532_351 nanoseconds. + Weight::from_parts(677_960_612, 0) + // Standard Error: 1_147_129 + .saturating_add(Weight::from_parts(390_084_131, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -711,19 +746,22 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:322 w:322) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `t` is `[0, 4]`. + /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1630 + t * (2608 ±0) + n * (8 ±0)` // Estimated: `0` - // Minimum execution time: 1_883_206 nanoseconds. - Weight::from_ref_time(848_572_505) - // Standard Error: 4_317_642 - .saturating_add(Weight::from_ref_time(364_117_215).saturating_mul(t.into())) - // Standard Error: 1_185_833 - .saturating_add(Weight::from_ref_time(128_033_226).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 1_925_725 nanoseconds. + Weight::from_parts(836_333_823, 0) + // Standard Error: 4_005_545 + .saturating_add(Weight::from_parts(331_741_261, 0).saturating_mul(t.into())) + // Standard Error: 1_100_116 + .saturating_add(Weight::from_parts(123_812_557, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(t.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -735,170 +773,189 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `693 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 211_820 nanoseconds. - Weight::from_ref_time(277_368_948) - // Standard Error: 381_276 - .saturating_add(Weight::from_ref_time(31_127_095).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 223_610 nanoseconds. + Weight::from_parts(284_805_905, 0) + // Standard Error: 387_522 + .saturating_add(Weight::from_parts(26_538_794, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `720 + r * (23420 ±0)` // Estimated: `0` - // Minimum execution time: 378_292 nanoseconds. - Weight::from_ref_time(340_567_907) - // Standard Error: 3_537_344 - .saturating_add(Weight::from_ref_time(894_095_021).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 535_061 nanoseconds. + Weight::from_parts(551_506_930, 0) + // Standard Error: 2_878_212 + .saturating_add(Weight::from_parts(787_236_547, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `12402 + n * (12006 ±0)` // Estimated: `0` - // Minimum execution time: 615_232 nanoseconds. - Weight::from_ref_time(1_132_334_359) - // Standard Error: 3_371_637 - .saturating_add(Weight::from_ref_time(192_392_508).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(52_u64)) + // Minimum execution time: 763_351 nanoseconds. + Weight::from_parts(1_211_260_729, 0) + // Standard Error: 3_403_829 + .saturating_add(Weight::from_parts(162_413_215, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(52)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(50_u64)) + .saturating_add(T::DbWeight::get().writes(50)) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `14990 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 612_791 nanoseconds. - Weight::from_ref_time(1_134_662_807) - // Standard Error: 3_339_503 - .saturating_add(Weight::from_ref_time(119_878_257).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51_u64)) + // Minimum execution time: 761_872 nanoseconds. + Weight::from_parts(1_184_329_650, 0) + // Standard Error: 3_092_883 + .saturating_add(Weight::from_parts(110_336_252, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(49_u64)) + .saturating_add(T::DbWeight::get().writes(49)) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `720 + r * (23100 ±0)` // Estimated: `0` - // Minimum execution time: 383_941 nanoseconds. - Weight::from_ref_time(384_785_896) - // Standard Error: 3_259_278 - .saturating_add(Weight::from_ref_time(882_833_445).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 539_481 nanoseconds. + Weight::from_parts(457_076_217, 0) + // Standard Error: 3_483_351 + .saturating_add(Weight::from_parts(809_752_536, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `14670 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 562_292 nanoseconds. - Weight::from_ref_time(1_071_010_060) - // Standard Error: 3_182_125 - .saturating_add(Weight::from_ref_time(133_153_202).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51_u64)) + // Minimum execution time: 710_242 nanoseconds. + Weight::from_parts(1_168_973_359, 0) + // Standard Error: 3_093_181 + .saturating_add(Weight::from_parts(110_932_443, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(48_u64)) + .saturating_add(T::DbWeight::get().writes(48)) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `730 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 383_241 nanoseconds. - Weight::from_ref_time(481_925_522) - // Standard Error: 2_078_469 - .saturating_add(Weight::from_ref_time(709_828_695).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 539_211 nanoseconds. + Weight::from_parts(530_631_252, 0) + // Standard Error: 2_386_741 + .saturating_add(Weight::from_parts(643_843_165, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `15321 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 526_282 nanoseconds. - Weight::from_ref_time(999_063_905) - // Standard Error: 3_021_133 - .saturating_add(Weight::from_ref_time(304_419_076).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51_u64)) + // Minimum execution time: 677_852 nanoseconds. + Weight::from_parts(1_089_244_381, 0) + // Standard Error: 2_973_981 + .saturating_add(Weight::from_parts(274_426_904, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `723 + r * (23100 ±0)` // Estimated: `0` - // Minimum execution time: 378_371 nanoseconds. - Weight::from_ref_time(407_046_779) - // Standard Error: 2_152_108 - .saturating_add(Weight::from_ref_time(696_120_070).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 539_381 nanoseconds. + Weight::from_parts(540_275_019, 0) + // Standard Error: 2_191_374 + .saturating_add(Weight::from_parts(604_970_501, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `14673 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 511_481 nanoseconds. - Weight::from_ref_time(957_749_360) - // Standard Error: 2_867_843 - .saturating_add(Weight::from_ref_time(121_100_740).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51_u64)) + // Minimum execution time: 667_112 nanoseconds. + Weight::from_parts(1_008_021_253, 0) + // Standard Error: 2_607_471 + .saturating_add(Weight::from_parts(107_952_488, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `731 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 455_411 nanoseconds. - Weight::from_ref_time(396_634_391) - // Standard Error: 2_834_278 - .saturating_add(Weight::from_ref_time(907_613_363).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 537_281 nanoseconds. + Weight::from_parts(587_427_860, 0) + // Standard Error: 3_200_681 + .saturating_add(Weight::from_parts(792_532_230, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `15322 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 556_981 nanoseconds. - Weight::from_ref_time(1_092_296_100) - // Standard Error: 3_765_245 - .saturating_add(Weight::from_ref_time(319_955_976).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51_u64)) + // Minimum execution time: 716_841 nanoseconds. + Weight::from_parts(1_118_888_191, 0) + // Standard Error: 3_224_328 + .saturating_add(Weight::from_parts(294_328_666, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(48_u64)) + .saturating_add(T::DbWeight::get().writes(48)) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) } /// Storage: System Account (r:1602 w:1601) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -910,17 +967,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1322 + r * (3601 ±0)` // Estimated: `0` - // Minimum execution time: 378_041 nanoseconds. - Weight::from_ref_time(352_172_140) - // Standard Error: 3_697_576 - .saturating_add(Weight::from_ref_time(2_631_062_607).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Minimum execution time: 539_721 nanoseconds. + Weight::from_parts(165_304_477, 0) + // Standard Error: 4_834_017 + .saturating_add(Weight::from_parts(2_369_426_888, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -932,17 +991,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:1602 w:1602) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `948 + r * (20495 ±0)` // Estimated: `0` - // Minimum execution time: 458_601 nanoseconds. - Weight::from_ref_time(490_401_000) - // Standard Error: 30_563_693 - .saturating_add(Weight::from_ref_time(37_755_820_145).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Minimum execution time: 540_662 nanoseconds. + Weight::from_parts(563_471_000, 0) + // Standard Error: 48_067_636 + .saturating_add(Weight::from_parts(51_370_582_192, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((160_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -954,17 +1015,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:1537 w:1537) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (71670 ±0)` // Estimated: `0` - // Minimum execution time: 438_561 nanoseconds. - Weight::from_ref_time(531_402_000) - // Standard Error: 31_362_051 - .saturating_add(Weight::from_ref_time(37_080_198_263).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 540_822 nanoseconds. + Weight::from_parts(642_842_000, 0) + // Standard Error: 31_689_979 + .saturating_add(Weight::from_parts(50_731_582_616, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((75_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:82 w:81) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -976,19 +1039,22 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:82 w:82) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `t` is `[0, 1]`. + /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `21128 + t * (15897 ±0)` // Estimated: `0` - // Minimum execution time: 18_495_409 nanoseconds. - Weight::from_ref_time(16_632_793_094) - // Standard Error: 126_008_691 - .saturating_add(Weight::from_ref_time(3_202_223_200).saturating_mul(t.into())) - // Standard Error: 188_943 - .saturating_add(Weight::from_ref_time(19_391_282).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(167_u64)) + // Minimum execution time: 16_785_218 nanoseconds. + Weight::from_parts(15_606_491_784, 0) + // Standard Error: 59_687_361 + .saturating_add(Weight::from_parts(2_212_944_886, 0).saturating_mul(t.into())) + // Standard Error: 89_497 + .saturating_add(Weight::from_parts(13_703_042, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(167)) .saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(163_u64)) + .saturating_add(T::DbWeight::get().writes(163)) + .saturating_add(T::DbWeight::get().writes((81_u64).saturating_mul(t.into()))) } /// Storage: System Account (r:1602 w:1602) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1004,17 +1070,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) /// Storage: System EventTopics (r:1602 w:1602) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1512 + r * (25573 ±0)` // Estimated: `0` - // Minimum execution time: 384_252 nanoseconds. - Weight::from_ref_time(466_982_000) - // Standard Error: 66_870_986 - .saturating_add(Weight::from_ref_time(48_895_356_612).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Minimum execution time: 543_002 nanoseconds. + Weight::from_parts(626_922_000, 0) + // Standard Error: 81_700_194 + .saturating_add(Weight::from_parts(61_961_443_354, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((400_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:82 w:82) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1030,19 +1098,23 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) /// Storage: System EventTopics (r:82 w:82) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `t` is `[0, 1]`. + /// The range of component `i` is `[0, 960]`. + /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `5505 + t * (68 ±0)` // Estimated: `0` - // Minimum execution time: 215_042_744 nanoseconds. - Weight::from_ref_time(38_184_950_902) - // Standard Error: 991_352 - .saturating_add(Weight::from_ref_time(217_952_334).saturating_mul(i.into())) - // Standard Error: 991_352 - .saturating_add(Weight::from_ref_time(216_436_919).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(249_u64)) + // Minimum execution time: 193_252_546 nanoseconds. + Weight::from_parts(7_216_274_270, 0) + // Standard Error: 683_658 + .saturating_add(Weight::from_parts(207_345_815, 0).saturating_mul(i.into())) + // Standard Error: 683_658 + .saturating_add(Weight::from_parts(211_926_306, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(249)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(247_u64)) + .saturating_add(T::DbWeight::get().writes(247)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1054,16 +1126,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_hash_sha2_256(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `691 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 371_791 nanoseconds. - Weight::from_ref_time(476_522_136) - // Standard Error: 9_557_681 - .saturating_add(Weight::from_ref_time(18_119_263).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 534_281 nanoseconds. + Weight::from_parts(665_764_412, 0) + // Standard Error: 9_718_022 + .saturating_add(Weight::from_parts(109_500_787, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1075,16 +1148,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1493` // Estimated: `0` - // Minimum execution time: 420_702 nanoseconds. - Weight::from_ref_time(496_211_000) - // Standard Error: 84_684 - .saturating_add(Weight::from_ref_time(89_350_132).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 582_641 nanoseconds. + Weight::from_parts(1_100_556_254, 0) + // Standard Error: 112_735 + .saturating_add(Weight::from_parts(88_211_294, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1096,16 +1170,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_hash_keccak_256(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `693 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 371_382 nanoseconds. - Weight::from_ref_time(463_810_691) - // Standard Error: 8_376_917 - .saturating_add(Weight::from_ref_time(158_368_308).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 533_241 nanoseconds. + Weight::from_parts(644_259_789, 0) + // Standard Error: 9_463_982 + .saturating_add(Weight::from_parts(68_584_310, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1117,16 +1192,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1495` // Estimated: `0` - // Minimum execution time: 455_871 nanoseconds. - Weight::from_ref_time(456_625_973) - // Standard Error: 736_099 - .saturating_add(Weight::from_ref_time(364_001_272).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 615_671 nanoseconds. + Weight::from_parts(53_246_097, 0) + // Standard Error: 477_322 + .saturating_add(Weight::from_parts(345_985_242, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1138,16 +1214,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_256(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `693 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 369_931 nanoseconds. - Weight::from_ref_time(480_784_981) - // Standard Error: 10_397_523 - .saturating_add(Weight::from_ref_time(56_170_718).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 532_691 nanoseconds. + Weight::from_parts(662_839_577, 0) + // Standard Error: 9_757_528 + .saturating_add(Weight::from_parts(57_827_122, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1159,16 +1236,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1495` // Estimated: `0` - // Minimum execution time: 429_031 nanoseconds. - Weight::from_ref_time(718_663_421) - // Standard Error: 362_180 - .saturating_add(Weight::from_ref_time(161_289_668).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 589_882 nanoseconds. + Weight::from_parts(1_564_409_247, 0) + // Standard Error: 185_985 + .saturating_add(Weight::from_parts(154_060_125, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1180,16 +1258,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_128(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `693 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 369_331 nanoseconds. - Weight::from_ref_time(468_428_595) - // Standard Error: 9_815_114 - .saturating_add(Weight::from_ref_time(44_049_004).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 532_572 nanoseconds. + Weight::from_parts(651_928_026, 0) + // Standard Error: 9_830_694 + .saturating_add(Weight::from_parts(50_668_673, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1201,16 +1280,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1495` // Estimated: `0` - // Minimum execution time: 424_471 nanoseconds. - Weight::from_ref_time(429_542_000) - // Standard Error: 212_095 - .saturating_add(Weight::from_ref_time(165_353_726).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 593_642 nanoseconds. + Weight::from_parts(459_685_646, 0) + // Standard Error: 261_286 + .saturating_add(Weight::from_parts(156_975_231, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1222,16 +1302,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_recover(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `737 + r * (6083 ±0)` // Estimated: `0` - // Minimum execution time: 374_721 nanoseconds. - Weight::from_ref_time(491_287_314) - // Standard Error: 10_676_782 - .saturating_add(Weight::from_ref_time(5_834_782_185).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 535_422 nanoseconds. + Weight::from_parts(646_575_214, 0) + // Standard Error: 9_859_269 + .saturating_add(Weight::from_parts(5_582_068_285, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1243,16 +1324,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_to_eth_address(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `706 + r * (3362 ±0)` // Estimated: `0` - // Minimum execution time: 373_572 nanoseconds. - Weight::from_ref_time(496_504_477) - // Standard Error: 10_908_205 - .saturating_add(Weight::from_ref_time(1_220_678_822).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 536_091 nanoseconds. + Weight::from_parts(663_700_069, 0) + // Standard Error: 9_333_561 + .saturating_add(Weight::from_parts(1_275_587_330, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1266,17 +1348,19 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) /// Storage: System EventTopics (r:1538 w:1538) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (79300 ±0)` // Estimated: `0` - // Minimum execution time: 375_691 nanoseconds. - Weight::from_ref_time(440_152_000) - // Standard Error: 10_804_320 - .saturating_add(Weight::from_ref_time(3_124_340_260).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 538_192 nanoseconds. + Weight::from_parts(564_532_000, 0) + // Standard Error: 9_620_215 + .saturating_add(Weight::from_parts(2_831_904_081, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((150_u64).saturating_mul(r.into()))) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1288,16 +1372,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_reentrance_count(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `689 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 376_221 nanoseconds. - Weight::from_ref_time(498_826_998) - // Standard Error: 433_701 - .saturating_add(Weight::from_ref_time(25_322_334).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 539_472 nanoseconds. + Weight::from_parts(639_174_493, 0) + // Standard Error: 438_161 + .saturating_add(Weight::from_parts(22_597_406, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1309,16 +1394,17 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_account_reentrance_count(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1387 + r * (3140 ±0)` // Estimated: `0` - // Minimum execution time: 379_362 nanoseconds. - Weight::from_ref_time(641_369_462) - // Standard Error: 460_856 - .saturating_add(Weight::from_ref_time(34_964_650).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 542_231 nanoseconds. + Weight::from_parts(726_365_773, 0) + // Standard Error: 500_528 + .saturating_add(Weight::from_parts(32_524_637, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) @@ -1332,483 +1418,536 @@ impl pallet_contracts::weights::WeightInfo for WeightIn /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) /// Storage: System EventTopics (r:2 w:2) /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// The range of component `r` is `[0, 20]`. fn seal_instantiation_nonce(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `692 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 381_041 nanoseconds. - Weight::from_ref_time(505_412_667) - // Standard Error: 328_975 - .saturating_add(Weight::from_ref_time(17_860_071).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 537_261 nanoseconds. + Weight::from_parts(639_006_806, 0) + // Standard Error: 1_058_530 + .saturating_add(Weight::from_parts(23_119_410, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } + /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_620 nanoseconds. - Weight::from_ref_time(2_387_337) - // Standard Error: 6_835 - .saturating_add(Weight::from_ref_time(638_538).saturating_mul(r.into())) + // Minimum execution time: 1_580 nanoseconds. + Weight::from_parts(2_443_311, 0) + // Standard Error: 6_313 + .saturating_add(Weight::from_parts(603_267, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_980 nanoseconds. - Weight::from_ref_time(1_975_244) - // Standard Error: 90_756 - .saturating_add(Weight::from_ref_time(2_402_218).saturating_mul(r.into())) + // Minimum execution time: 1_820 nanoseconds. + Weight::from_parts(8_316_285, 0) + // Standard Error: 31_119 + .saturating_add(Weight::from_parts(1_944_211, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_730 nanoseconds. - Weight::from_ref_time(6_196_566) - // Standard Error: 21_612 - .saturating_add(Weight::from_ref_time(1_944_752).saturating_mul(r.into())) + // Minimum execution time: 1_820 nanoseconds. + Weight::from_parts(8_651_501, 0) + // Standard Error: 18_486 + .saturating_add(Weight::from_parts(1_657_320, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_620 nanoseconds. - Weight::from_ref_time(2_605_203) - // Standard Error: 16_536 - .saturating_add(Weight::from_ref_time(1_690_156).saturating_mul(r.into())) + // Minimum execution time: 1_440 nanoseconds. + Weight::from_parts(2_360_904, 0) + // Standard Error: 19_617 + .saturating_add(Weight::from_parts(1_653_653, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_500 nanoseconds. - Weight::from_ref_time(2_073_365) - // Standard Error: 22_590 - .saturating_add(Weight::from_ref_time(2_835_368).saturating_mul(r.into())) + // Minimum execution time: 1_410 nanoseconds. + Weight::from_parts(194_485, 0) + // Standard Error: 21_482 + .saturating_add(Weight::from_parts(2_898_697, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_630 nanoseconds. - Weight::from_ref_time(1_713_049) - // Standard Error: 7_754 - .saturating_add(Weight::from_ref_time(1_041_485).saturating_mul(r.into())) + // Minimum execution time: 1_530 nanoseconds. + Weight::from_parts(2_168_789, 0) + // Standard Error: 7_963 + .saturating_add(Weight::from_parts(940_840, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_680 nanoseconds. - Weight::from_ref_time(1_784_562) - // Standard Error: 11_866 - .saturating_add(Weight::from_ref_time(1_400_065).saturating_mul(r.into())) + // Minimum execution time: 1_370 nanoseconds. + Weight::from_parts(1_383_747, 0) + // Standard Error: 9_217 + .saturating_add(Weight::from_parts(1_309_015, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_520 nanoseconds. - Weight::from_ref_time(2_393_259) - // Standard Error: 15_018 - .saturating_add(Weight::from_ref_time(1_763_195).saturating_mul(r.into())) + // Minimum execution time: 1_360 nanoseconds. + Weight::from_parts(1_684_707, 0) + // Standard Error: 13_009 + .saturating_add(Weight::from_parts(1_703_750, 0).saturating_mul(r.into())) } + /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_800 nanoseconds. - Weight::from_ref_time(7_373_483) - // Standard Error: 520 - .saturating_add(Weight::from_ref_time(3_848).saturating_mul(e.into())) + // Minimum execution time: 5_360 nanoseconds. + Weight::from_parts(6_277_009, 0) + // Standard Error: 480 + .saturating_add(Weight::from_parts(9_377, 0).saturating_mul(e.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_560 nanoseconds. - Weight::from_ref_time(5_556_196) - // Standard Error: 43_838 - .saturating_add(Weight::from_ref_time(5_075_625).saturating_mul(r.into())) + // Minimum execution time: 1_510 nanoseconds. + Weight::from_parts(13_032_556, 0) + // Standard Error: 48_362 + .saturating_add(Weight::from_parts(4_516_132, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_910 nanoseconds. - Weight::from_ref_time(8_951_239) - // Standard Error: 55_679 - .saturating_add(Weight::from_ref_time(5_802_490).saturating_mul(r.into())) + // Minimum execution time: 1_600 nanoseconds. + Weight::from_parts(7_753_942, 0) + // Standard Error: 46_845 + .saturating_add(Weight::from_parts(5_489_614, 0).saturating_mul(r.into())) } + /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_270 nanoseconds. - Weight::from_ref_time(12_401_007) - // Standard Error: 4_705 - .saturating_add(Weight::from_ref_time(320_706).saturating_mul(p.into())) + // Minimum execution time: 7_470 nanoseconds. + Weight::from_parts(12_027_580, 0) + // Standard Error: 3_145 + .saturating_add(Weight::from_parts(279_413, 0).saturating_mul(p.into())) } + /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_240 nanoseconds. - Weight::from_ref_time(8_985_089) - // Standard Error: 764 - .saturating_add(Weight::from_ref_time(86_565).saturating_mul(l.into())) + // Minimum execution time: 5_991 nanoseconds. + Weight::from_parts(18_311_842, 0) + // Standard Error: 2_054 + .saturating_add(Weight::from_parts(157_440, 0).saturating_mul(l.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_790 nanoseconds. - Weight::from_ref_time(5_762_201) - // Standard Error: 7_458 - .saturating_add(Weight::from_ref_time(803_267).saturating_mul(r.into())) + // Minimum execution time: 5_250 nanoseconds. + Weight::from_parts(6_900_572, 0) + // Standard Error: 7_652 + .saturating_add(Weight::from_parts(712_909, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_840 nanoseconds. - Weight::from_ref_time(5_531_801) - // Standard Error: 9_241 - .saturating_add(Weight::from_ref_time(1_127_998).saturating_mul(r.into())) + // Minimum execution time: 4_470 nanoseconds. + Weight::from_parts(5_728_865, 0) + // Standard Error: 8_503 + .saturating_add(Weight::from_parts(1_063_278, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_870 nanoseconds. - Weight::from_ref_time(5_283_748) - // Standard Error: 12_147 - .saturating_add(Weight::from_ref_time(1_360_940).saturating_mul(r.into())) + // Minimum execution time: 5_300 nanoseconds. + Weight::from_parts(5_252_543, 0) + // Standard Error: 12_599 + .saturating_add(Weight::from_parts(1_366_745, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_790 nanoseconds. - Weight::from_ref_time(2_415_275) - // Standard Error: 16_052 - .saturating_add(Weight::from_ref_time(1_500_688).saturating_mul(r.into())) + // Minimum execution time: 1_530 nanoseconds. + Weight::from_parts(3_548_668, 0) + // Standard Error: 11_522 + .saturating_add(Weight::from_parts(1_367_025, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_530 nanoseconds. - Weight::from_ref_time(2_078_827) - // Standard Error: 14_870 - .saturating_add(Weight::from_ref_time(1_937_341).saturating_mul(r.into())) + // Minimum execution time: 1_570 nanoseconds. + Weight::from_parts(1_658_922, 0) + // Standard Error: 21_156 + .saturating_add(Weight::from_parts(1_876_767, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_900 nanoseconds. - Weight::from_ref_time(2_165_104) - // Standard Error: 11_290 - .saturating_add(Weight::from_ref_time(1_446_668).saturating_mul(r.into())) + // Minimum execution time: 1_610 nanoseconds. + Weight::from_parts(1_759_828, 0) + // Standard Error: 12_254 + .saturating_add(Weight::from_parts(1_348_159, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_600 nanoseconds. - Weight::from_ref_time(1_978_697) - // Standard Error: 232_560 - .saturating_add(Weight::from_ref_time(241_980_002).saturating_mul(r.into())) + // Minimum execution time: 1_530 nanoseconds. + Weight::from_parts(1_875_416, 0) + // Standard Error: 1_400_829 + .saturating_add(Weight::from_parts(372_521_183, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_680 nanoseconds. - Weight::from_ref_time(3_697_230) - // Standard Error: 10_402 - .saturating_add(Weight::from_ref_time(907_163).saturating_mul(r.into())) + // Minimum execution time: 1_530 nanoseconds. + Weight::from_parts(2_705_490, 0) + // Standard Error: 7_228 + .saturating_add(Weight::from_parts(850_311, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_530 nanoseconds. - Weight::from_ref_time(3_110_782) - // Standard Error: 8_945 - .saturating_add(Weight::from_ref_time(936_984).saturating_mul(r.into())) + // Minimum execution time: 1_370 nanoseconds. + Weight::from_parts(2_930_080, 0) + // Standard Error: 9_617 + .saturating_add(Weight::from_parts(862_253, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_450 nanoseconds. - Weight::from_ref_time(2_631_715) - // Standard Error: 12_463 - .saturating_add(Weight::from_ref_time(956_920).saturating_mul(r.into())) + // Minimum execution time: 1_380 nanoseconds. + Weight::from_parts(2_687_818, 0) + // Standard Error: 9_474 + .saturating_add(Weight::from_parts(878_607, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_690 nanoseconds. - Weight::from_ref_time(2_337_994) - // Standard Error: 8_242 - .saturating_add(Weight::from_ref_time(931_058).saturating_mul(r.into())) + // Minimum execution time: 1_410 nanoseconds. + Weight::from_parts(2_600_835, 0) + // Standard Error: 8_146 + .saturating_add(Weight::from_parts(882_563, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_830 nanoseconds. - Weight::from_ref_time(3_852_742) - // Standard Error: 9_470 - .saturating_add(Weight::from_ref_time(907_345).saturating_mul(r.into())) + // Minimum execution time: 1_400 nanoseconds. + Weight::from_parts(2_413_368, 0) + // Standard Error: 7_762 + .saturating_add(Weight::from_parts(877_860, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_440 nanoseconds. - Weight::from_ref_time(2_954_359) - // Standard Error: 9_330 - .saturating_add(Weight::from_ref_time(934_345).saturating_mul(r.into())) + // Minimum execution time: 1_540 nanoseconds. + Weight::from_parts(3_016_168, 0) + // Standard Error: 9_915 + .saturating_add(Weight::from_parts(858_278, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_430 nanoseconds. - Weight::from_ref_time(2_269_993) - // Standard Error: 10_238 - .saturating_add(Weight::from_ref_time(953_368).saturating_mul(r.into())) + // Minimum execution time: 1_530 nanoseconds. + Weight::from_parts(3_143_407, 0) + // Standard Error: 12_258 + .saturating_add(Weight::from_parts(873_497, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_590 nanoseconds. - Weight::from_ref_time(3_010_851) - // Standard Error: 12_100 - .saturating_add(Weight::from_ref_time(1_265_899).saturating_mul(r.into())) + // Minimum execution time: 1_400 nanoseconds. + Weight::from_parts(2_854_402, 0) + // Standard Error: 15_623 + .saturating_add(Weight::from_parts(1_217_855, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_570 nanoseconds. - Weight::from_ref_time(2_649_717) - // Standard Error: 12_171 - .saturating_add(Weight::from_ref_time(1_270_084).saturating_mul(r.into())) + // Minimum execution time: 1_580 nanoseconds. + Weight::from_parts(2_503_273, 0) + // Standard Error: 11_348 + .saturating_add(Weight::from_parts(1_200_185, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_630 nanoseconds. - Weight::from_ref_time(2_874_454) - // Standard Error: 16_372 - .saturating_add(Weight::from_ref_time(1_248_283).saturating_mul(r.into())) + // Minimum execution time: 1_470 nanoseconds. + Weight::from_parts(2_729_405, 0) + // Standard Error: 10_074 + .saturating_add(Weight::from_parts(1_164_450, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_880 nanoseconds. - Weight::from_ref_time(3_788_144) - // Standard Error: 12_191 - .saturating_add(Weight::from_ref_time(1_236_076).saturating_mul(r.into())) + // Minimum execution time: 1_550 nanoseconds. + Weight::from_parts(2_179_957, 0) + // Standard Error: 10_417 + .saturating_add(Weight::from_parts(1_186_362, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_470 nanoseconds. - Weight::from_ref_time(3_016_346) - // Standard Error: 11_591 - .saturating_add(Weight::from_ref_time(1_246_106).saturating_mul(r.into())) + // Minimum execution time: 1_360 nanoseconds. + Weight::from_parts(2_615_244, 0) + // Standard Error: 10_618 + .saturating_add(Weight::from_parts(1_169_329, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 1_490 nanoseconds. - Weight::from_ref_time(4_841_307) - // Standard Error: 13_372 - .saturating_add(Weight::from_ref_time(1_179_750).saturating_mul(r.into())) + Weight::from_parts(2_971_659, 0) + // Standard Error: 15_246 + .saturating_add(Weight::from_parts(1_176_602, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_640 nanoseconds. - Weight::from_ref_time(3_749_383) - // Standard Error: 13_031 - .saturating_add(Weight::from_ref_time(1_180_445).saturating_mul(r.into())) + // Minimum execution time: 1_630 nanoseconds. + Weight::from_parts(2_791_256, 0) + // Standard Error: 14_364 + .saturating_add(Weight::from_parts(1_184_329, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_500 nanoseconds. - Weight::from_ref_time(3_947_468) - // Standard Error: 13_230 - .saturating_add(Weight::from_ref_time(1_187_807).saturating_mul(r.into())) + // Minimum execution time: 1_380 nanoseconds. + Weight::from_parts(4_049_989, 0) + // Standard Error: 13_210 + .saturating_add(Weight::from_parts(1_178_694, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_560 nanoseconds. - Weight::from_ref_time(3_843_179) - // Standard Error: 12_761 - .saturating_add(Weight::from_ref_time(1_169_350).saturating_mul(r.into())) + // Minimum execution time: 1_540 nanoseconds. + Weight::from_parts(3_307_499, 0) + // Standard Error: 11_871 + .saturating_add(Weight::from_parts(1_139_042, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_640 nanoseconds. - Weight::from_ref_time(3_546_752) - // Standard Error: 11_529 - .saturating_add(Weight::from_ref_time(1_189_547).saturating_mul(r.into())) + // Minimum execution time: 1_360 nanoseconds. + Weight::from_parts(2_896_896, 0) + // Standard Error: 12_827 + .saturating_add(Weight::from_parts(1_182_536, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_490 nanoseconds. - Weight::from_ref_time(3_462_333) - // Standard Error: 11_127 - .saturating_add(Weight::from_ref_time(1_192_366).saturating_mul(r.into())) + // Minimum execution time: 1_480 nanoseconds. + Weight::from_parts(2_560_901, 0) + // Standard Error: 13_888 + .saturating_add(Weight::from_parts(1_163_989, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_570 nanoseconds. - Weight::from_ref_time(3_496_387) - // Standard Error: 9_997 - .saturating_add(Weight::from_ref_time(1_144_723).saturating_mul(r.into())) + // Minimum execution time: 1_370 nanoseconds. + Weight::from_parts(2_186_227, 0) + // Standard Error: 12_707 + .saturating_add(Weight::from_parts(1_155_905, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_630 nanoseconds. - Weight::from_ref_time(2_929_178) - // Standard Error: 11_322 - .saturating_add(Weight::from_ref_time(1_194_513).saturating_mul(r.into())) + // Minimum execution time: 1_520 nanoseconds. + Weight::from_parts(2_921_367, 0) + // Standard Error: 10_273 + .saturating_add(Weight::from_parts(1_158_241, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_610 nanoseconds. - Weight::from_ref_time(2_070_771) - // Standard Error: 15_807 - .saturating_add(Weight::from_ref_time(1_391_944).saturating_mul(r.into())) + // Minimum execution time: 1_400 nanoseconds. + Weight::from_parts(2_368_358, 0) + // Standard Error: 10_082 + .saturating_add(Weight::from_parts(1_299_003, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_580 nanoseconds. - Weight::from_ref_time(3_433_245) - // Standard Error: 17_657 - .saturating_add(Weight::from_ref_time(1_261_402).saturating_mul(r.into())) + // Minimum execution time: 1_380 nanoseconds. + Weight::from_parts(2_382_023, 0) + // Standard Error: 10_781 + .saturating_add(Weight::from_parts(1_215_481, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_560 nanoseconds. - Weight::from_ref_time(2_524_071) - // Standard Error: 14_654 - .saturating_add(Weight::from_ref_time(1_476_887).saturating_mul(r.into())) + // Minimum execution time: 1_380 nanoseconds. + Weight::from_parts(2_581_719, 0) + // Standard Error: 15_661 + .saturating_add(Weight::from_parts(1_378_443, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_620 nanoseconds. - Weight::from_ref_time(1_648_003) - // Standard Error: 14_508 - .saturating_add(Weight::from_ref_time(1_349_871).saturating_mul(r.into())) + // Minimum execution time: 1_900 nanoseconds. + Weight::from_parts(1_602_690, 0) + // Standard Error: 17_371 + .saturating_add(Weight::from_parts(1_321_186, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_580 nanoseconds. - Weight::from_ref_time(4_370_647) - // Standard Error: 20_304 - .saturating_add(Weight::from_ref_time(1_217_565).saturating_mul(r.into())) + // Minimum execution time: 1_390 nanoseconds. + Weight::from_parts(3_176_503, 0) + // Standard Error: 13_539 + .saturating_add(Weight::from_parts(1_186_142, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_630 nanoseconds. - Weight::from_ref_time(3_535_670) - // Standard Error: 10_984 - .saturating_add(Weight::from_ref_time(1_180_943).saturating_mul(r.into())) + // Minimum execution time: 1_380 nanoseconds. + Weight::from_parts(2_039_473, 0) + // Standard Error: 11_923 + .saturating_add(Weight::from_parts(1_224_869, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_470 nanoseconds. - Weight::from_ref_time(3_001_354) - // Standard Error: 14_478 - .saturating_add(Weight::from_ref_time(1_217_792).saturating_mul(r.into())) + // Minimum execution time: 1_420 nanoseconds. + Weight::from_parts(1_641_181, 0) + // Standard Error: 12_267 + .saturating_add(Weight::from_parts(1_208_173, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_440 nanoseconds. - Weight::from_ref_time(3_198_669) - // Standard Error: 13_937 - .saturating_add(Weight::from_ref_time(1_206_547).saturating_mul(r.into())) + // Minimum execution time: 1_360 nanoseconds. + Weight::from_parts(2_632_227, 0) + // Standard Error: 12_418 + .saturating_add(Weight::from_parts(1_162_257, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_470 nanoseconds. - Weight::from_ref_time(1_586_404) - // Standard Error: 11_001 - .saturating_add(Weight::from_ref_time(1_270_803).saturating_mul(r.into())) + // Minimum execution time: 1_540 nanoseconds. + Weight::from_parts(2_614_080, 0) + // Standard Error: 13_070 + .saturating_add(Weight::from_parts(1_162_537, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_540 nanoseconds. - Weight::from_ref_time(3_700_673) - // Standard Error: 12_442 - .saturating_add(Weight::from_ref_time(1_188_232).saturating_mul(r.into())) + // Minimum execution time: 1_510 nanoseconds. + Weight::from_parts(2_699_148, 0) + // Standard Error: 13_024 + .saturating_add(Weight::from_parts(1_141_654, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_510 nanoseconds. - Weight::from_ref_time(3_723_038) - // Standard Error: 14_571 - .saturating_add(Weight::from_ref_time(1_221_028).saturating_mul(r.into())) + // Minimum execution time: 1_370 nanoseconds. + Weight::from_parts(3_021_931, 0) + // Standard Error: 13_442 + .saturating_add(Weight::from_parts(1_142_088, 0).saturating_mul(r.into())) } + /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_410 nanoseconds. - Weight::from_ref_time(4_089_917) - // Standard Error: 11_114 - .saturating_add(Weight::from_ref_time(1_221_863).saturating_mul(r.into())) + // Minimum execution time: 1_510 nanoseconds. + Weight::from_parts(2_912_589, 0) + // Standard Error: 11_442 + .saturating_add(Weight::from_parts(1_180_228, 0).saturating_mul(r.into())) } } diff --git a/runtime/common/src/weights/pallet_democracy.rs b/runtime/common/src/weights/pallet_democracy.rs index 7983bae3b..17b87abdf 100644 --- a/runtime/common/src/weights/pallet_democracy.rs +++ b/runtime/common/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_democracy //! //! 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` @@ -64,10 +64,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4835` // Estimated: `23413` - // Minimum execution time: 60_680 nanoseconds. - Weight::from_parts(105_460_000, 23413) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 52_690 nanoseconds. + Weight::from_parts(69_500_000, 23413) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy DepositOf (r:1 w:1) /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) @@ -75,10 +75,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3591` // Estimated: `5705` - // Minimum execution time: 44_880 nanoseconds. - Weight::from_parts(56_370_000, 5705) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 45_320 nanoseconds. + Weight::from_parts(51_990_000, 5705) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) @@ -90,10 +90,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3500` // Estimated: `12732` - // Minimum execution time: 61_371 nanoseconds. - Weight::from_parts(75_730_000, 12732) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 60_661 nanoseconds. + Weight::from_parts(66_820_000, 12732) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) @@ -105,10 +105,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3522` // Estimated: `12732` - // Minimum execution time: 64_030 nanoseconds. - Weight::from_parts(76_721_000, 12732) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 60_240 nanoseconds. + Weight::from_parts(76_170_000, 12732) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) @@ -118,10 +118,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `295` // Estimated: `5192` - // Minimum execution time: 29_470 nanoseconds. - Weight::from_parts(35_920_000, 5192) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 29_900 nanoseconds. + Weight::from_parts(30_530_000, 5192) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -139,10 +139,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `6251` // Estimated: `31427` - // Minimum execution time: 119_040 nanoseconds. - Weight::from_parts(144_711_000, 31427) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 117_140 nanoseconds. + Weight::from_parts(137_421_000, 31427) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -152,10 +152,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3419` // Estimated: `6344` - // Minimum execution time: 20_370 nanoseconds. - Weight::from_parts(24_541_000, 6344) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 23_770 nanoseconds. + Weight::from_parts(26_360_000, 6344) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy NextExternal (r:0 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -163,8 +163,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_450 nanoseconds. - Weight::from_ref_time(6_610_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_370 nanoseconds. + Weight::from_parts(6_320_000, 0).saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy NextExternal (r:0 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -172,8 +172,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_590 nanoseconds. - Weight::from_ref_time(6_640_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_480 nanoseconds. + Weight::from_parts(6_660_000, 0).saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -185,10 +185,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `179` // Estimated: `1126` - // Minimum execution time: 28_110 nanoseconds. - Weight::from_parts(28_900_000, 1126) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 28_320 nanoseconds. + Weight::from_parts(28_990_000, 1126) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy NextExternal (r:1 w:1) /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) @@ -198,10 +198,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3448` // Estimated: `6344` - // Minimum execution time: 38_240 nanoseconds. - Weight::from_parts(43_900_000, 6344) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 32_350 nanoseconds. + Weight::from_parts(40_660_000, 6344) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Democracy PublicProps (r:1 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -213,10 +213,10 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `6122` // Estimated: `28116` - // Minimum execution time: 97_150 nanoseconds. - Weight::from_parts(120_481_000, 28116) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 98_910 nanoseconds. + Weight::from_parts(110_540_000, 28116) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Democracy ReferendumInfoOf (r:0 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) @@ -224,8 +224,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_600 nanoseconds. - Weight::from_ref_time(15_940_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 12_880 nanoseconds. + Weight::from_parts(13_320_000, 0).saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -233,18 +233,19 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:0) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `174 + r * (125 ±0)` // Estimated: `998 + r * (2684 ±0)` - // Minimum execution time: 13_420 nanoseconds. - Weight::from_parts(10_794_167, 998) - // Standard Error: 46_774 - .saturating_add(Weight::from_ref_time(4_985_297).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 13_410 nanoseconds. + Weight::from_parts(23_309_206, 998) + // Standard Error: 74_188 + .saturating_add(Weight::from_parts(4_814_618, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: Democracy LowestUnbaked (r:1 w:1) /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -258,18 +259,19 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:0) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `174 + r * (125 ±0)` // Estimated: `19318 + r * (2684 ±0)` - // Minimum execution time: 19_240 nanoseconds. - Weight::from_parts(34_319_713, 19318) - // Standard Error: 44_408 - .saturating_add(Weight::from_ref_time(4_957_152).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Minimum execution time: 18_940 nanoseconds. + Weight::from_parts(25_529_183, 19318) + // Standard Error: 44_140 + .saturating_add(Weight::from_parts(4_676_383, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:3 w:3) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) @@ -277,35 +279,39 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `897 + r * (147 ±0)` // Estimated: `22596 + r * (2684 ±0)` - // Minimum execution time: 59_120 nanoseconds. - Weight::from_parts(89_161_582, 22596) - // Standard Error: 71_808 - .saturating_add(Weight::from_ref_time(6_198_429).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Minimum execution time: 57_420 nanoseconds. + Weight::from_parts(77_659_104, 22596) + // Standard Error: 54_298 + .saturating_add(Weight::from_parts(6_088_195, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: Democracy VotingOf (r:2 w:2) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:99) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `522 + r * (147 ±0)` // Estimated: `12548 + r * (2684 ±0)` - // Minimum execution time: 29_370 nanoseconds. - Weight::from_parts(43_898_195, 12548) - // Standard Error: 104_088 - .saturating_add(Weight::from_ref_time(6_428_500).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 29_781 nanoseconds. + Weight::from_parts(47_236_269, 12548) + // Standard Error: 62_245 + .saturating_add(Weight::from_parts(6_041_250, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: Democracy PublicProps (r:0 w:1) /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) @@ -313,8 +319,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_420 nanoseconds. - Weight::from_ref_time(6_760_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_300 nanoseconds. + Weight::from_parts(5_420_000, 0).saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) @@ -322,16 +328,15 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn unlock_remove(r: u32) -> Weight { + /// The range of component `r` is `[0, 99]`. + fn unlock_remove(_r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `554` // Estimated: `12655` - // Minimum execution time: 33_190 nanoseconds. - Weight::from_parts(46_406_241, 12655) - // Standard Error: 5_676 - .saturating_add(Weight::from_ref_time(8_684).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 31_790 nanoseconds. + Weight::from_parts(44_745_537, 12655) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) @@ -339,45 +344,48 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `555 + r * (22 ±0)` // Estimated: `12655` - // Minimum execution time: 34_740 nanoseconds. - Weight::from_parts(45_567_328, 12655) - // Standard Error: 6_413 - .saturating_add(Weight::from_ref_time(67_764).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 34_520 nanoseconds. + Weight::from_parts(40_974_401, 12655) + // Standard Error: 10_005 + .saturating_add(Weight::from_parts(88_759, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `760 + r * (26 ±0)` // Estimated: `8958` - // Minimum execution time: 26_320 nanoseconds. - Weight::from_parts(34_770_028, 8958) - // Standard Error: 5_675 - .saturating_add(Weight::from_ref_time(90_054).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 25_680 nanoseconds. + Weight::from_parts(33_394_344, 8958) + // Standard Error: 8_826 + .saturating_add(Weight::from_parts(103_660, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `760 + r * (26 ±0)` // Estimated: `8958` - // Minimum execution time: 23_080 nanoseconds. - Weight::from_parts(34_385_271, 8958) - // Standard Error: 8_441 - .saturating_add(Weight::from_ref_time(98_441).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 23_900 nanoseconds. + Weight::from_parts(36_794_123, 8958) + // Standard Error: 7_646 + .saturating_add(Weight::from_parts(81_950, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index d94718b2b..59f56ee5a 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_identity //! //! 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` @@ -54,29 +54,32 @@ pub struct WeightInfo(PhantomData); impl pallet_identity::weights::WeightInfo for WeightInfo { /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 7]`. fn add_registrar(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `64 + r * (57 ±0)` // Estimated: `952` - // Minimum execution time: 19_750 nanoseconds. - Weight::from_parts(23_875_912, 952) - // Standard Error: 44_966 - .saturating_add(Weight::from_ref_time(276_086).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 17_610 nanoseconds. + Weight::from_parts(21_350_382, 952) + // Standard Error: 44_356 + .saturating_add(Weight::from_parts(343_656, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity IdentityOf (r:1 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 8]`. + /// The range of component `x` is `[0, 64]`. fn set_identity(_r: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `474 + r * (5 ±0)` // Estimated: `7313` - // Minimum execution time: 26_470 nanoseconds. - Weight::from_parts(52_488_961, 7313) - // Standard Error: 15_114 - .saturating_add(Weight::from_ref_time(650_896).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 27_770 nanoseconds. + Weight::from_parts(44_700_966, 7313) + // Standard Error: 13_278 + .saturating_add(Weight::from_parts(681_563, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity IdentityOf (r:1 w:0) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) @@ -84,18 +87,20 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) /// Storage: Identity SuperOf (r:64 w:64) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 64]`. fn set_subs_new(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `11894 + s * (2589 ±0)` - // Minimum execution time: 15_090 nanoseconds. - Weight::from_parts(36_412_498, 11894) - // Standard Error: 41_980 - .saturating_add(Weight::from_ref_time(5_214_371).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 13_780 nanoseconds. + Weight::from_parts(33_310_670, 11894) + // Standard Error: 65_194 + .saturating_add(Weight::from_parts(4_921_454, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2589).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } /// Storage: Identity IdentityOf (r:1 w:0) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) @@ -103,16 +108,18 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) /// Storage: Identity SuperOf (r:0 w:64) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// The range of component `p` is `[0, 64]`. fn set_subs_old(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `11894` - // Minimum execution time: 17_660 nanoseconds. - Weight::from_parts(40_522_976, 11894) - // Standard Error: 33_316 - .saturating_add(Weight::from_ref_time(2_105_754).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 13_680 nanoseconds. + Weight::from_parts(38_465_682, 11894) + // Standard Error: 26_252 + .saturating_add(Weight::from_parts(1_822_648, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) @@ -120,104 +127,119 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) /// Storage: Identity SuperOf (r:0 w:64) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 8]`. + /// The range of component `s` is `[0, 64]`. + /// The range of component `x` is `[0, 64]`. fn clear_identity(r: u32, s: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `535 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11894` - // Minimum execution time: 52_610 nanoseconds. - Weight::from_parts(38_385_262, 11894) - // Standard Error: 223_582 - .saturating_add(Weight::from_ref_time(234_415).saturating_mul(r.into())) - // Standard Error: 26_034 - .saturating_add(Weight::from_ref_time(2_014_829).saturating_mul(s.into())) - // Standard Error: 26_034 - .saturating_add(Weight::from_ref_time(425_350).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 52_430 nanoseconds. + Weight::from_parts(36_908_427, 11894) + // Standard Error: 248_441 + .saturating_add(Weight::from_parts(884_272, 0).saturating_mul(r.into())) + // Standard Error: 28_929 + .saturating_add(Weight::from_parts(1_841_528, 0).saturating_mul(s.into())) + // Standard Error: 28_929 + .saturating_add(Weight::from_parts(362_073, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: Identity Registrars (r:1 w:0) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:1 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) - fn request_judgement(_r: u32, x: u32) -> Weight { + /// The range of component `r` is `[1, 8]`. + /// The range of component `x` is `[0, 64]`. + fn request_judgement(r: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `431 + r * (57 ±0) + x * (66 ±0)` // Estimated: `8265` - // Minimum execution time: 42_260 nanoseconds. - Weight::from_parts(52_260_973, 8265) - // Standard Error: 13_326 - .saturating_add(Weight::from_ref_time(721_487).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 40_920 nanoseconds. + Weight::from_parts(43_816_841, 8265) + // Standard Error: 135_906 + .saturating_add(Weight::from_parts(557_377, 0).saturating_mul(r.into())) + // Standard Error: 15_786 + .saturating_add(Weight::from_parts(688_806, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity IdentityOf (r:1 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 8]`. + /// The range of component `x` is `[0, 64]`. fn cancel_request(r: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `430 + x * (66 ±0)` // Estimated: `7313` - // Minimum execution time: 36_330 nanoseconds. - Weight::from_parts(42_149_171, 7313) - // Standard Error: 141_837 - .saturating_add(Weight::from_ref_time(673_369).saturating_mul(r.into())) - // Standard Error: 16_475 - .saturating_add(Weight::from_ref_time(729_714).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 35_980 nanoseconds. + Weight::from_parts(36_749_200, 7313) + // Standard Error: 138_120 + .saturating_add(Weight::from_parts(586_787, 0).saturating_mul(r.into())) + // Standard Error: 16_043 + .saturating_add(Weight::from_parts(768_786, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 7]`. fn set_fee(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `121 + r * (57 ±0)` // Estimated: `952` - // Minimum execution time: 13_950 nanoseconds. - Weight::from_parts(16_409_239, 952) - // Standard Error: 29_690 - .saturating_add(Weight::from_ref_time(229_915).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 12_370 nanoseconds. + Weight::from_parts(15_237_902, 952) + // Standard Error: 32_737 + .saturating_add(Weight::from_parts(118_042, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 7]`. fn set_account_id(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `121 + r * (57 ±0)` // Estimated: `952` - // Minimum execution time: 11_170 nanoseconds. - Weight::from_parts(13_615_141, 952) - // Standard Error: 20_885 - .saturating_add(Weight::from_ref_time(392_778).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_850 nanoseconds. + Weight::from_parts(12_698_527, 952) + // Standard Error: 25_788 + .saturating_add(Weight::from_parts(198_654, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 7]`. fn set_fields(r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `121 + r * (57 ±0)` // Estimated: `952` - // Minimum execution time: 11_490 nanoseconds. - Weight::from_parts(14_496_207, 952) - // Standard Error: 41_795 - .saturating_add(Weight::from_ref_time(215_483).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_450 nanoseconds. + Weight::from_parts(12_866_798, 952) + // Standard Error: 25_985 + .saturating_add(Weight::from_parts(181_753, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity Registrars (r:1 w:0) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:1 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 7]`. + /// The range of component `x` is `[0, 64]`. fn provide_judgement(_r: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `509 + r * (57 ±0) + x * (66 ±0)` // Estimated: `8265` - // Minimum execution time: 31_070 nanoseconds. - Weight::from_parts(48_354_843, 8265) - // Standard Error: 14_494 - .saturating_add(Weight::from_ref_time(1_136_000).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 31_990 nanoseconds. + Weight::from_parts(37_587_960, 8265) + // Standard Error: 16_939 + .saturating_add(Weight::from_parts(1_118_824, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) @@ -227,20 +249,22 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Identity SuperOf (r:0 w:64) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) - fn kill_identity(r: u32, s: u32, x: u32) -> Weight { + /// The range of component `r` is `[1, 8]`. + /// The range of component `s` is `[0, 64]`. + /// The range of component `x` is `[0, 64]`. + fn kill_identity(_r: u32, s: u32, x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `954 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `17108` - // Minimum execution time: 75_910 nanoseconds. - Weight::from_parts(64_507_024, 17108) - // Standard Error: 253_244 - .saturating_add(Weight::from_ref_time(400_254).saturating_mul(r.into())) - // Standard Error: 29_488 - .saturating_add(Weight::from_ref_time(2_063_702).saturating_mul(s.into())) - // Standard Error: 29_488 - .saturating_add(Weight::from_ref_time(433_912).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 74_930 nanoseconds. + Weight::from_parts(88_168_965, 17108) + // Standard Error: 33_257 + .saturating_add(Weight::from_parts(1_755_177, 0).saturating_mul(s.into())) + // Standard Error: 33_257 + .saturating_add(Weight::from_parts(307_613, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: Identity IdentityOf (r:1 w:0) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) @@ -248,31 +272,33 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 63]`. fn add_sub(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `355 + s * (41 ±0)` // Estimated: `14483` - // Minimum execution time: 40_220 nanoseconds. - Weight::from_parts(53_504_593, 14483) - // Standard Error: 10_817 - .saturating_add(Weight::from_ref_time(131_324).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 37_950 nanoseconds. + Weight::from_parts(49_565_683, 14483) + // Standard Error: 13_413 + .saturating_add(Weight::from_parts(136_156, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Identity IdentityOf (r:1 w:0) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) /// Storage: Identity SuperOf (r:1 w:1) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// The range of component `s` is `[1, 64]`. fn rename_sub(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `464 + s * (7 ±0)` // Estimated: `9902` - // Minimum execution time: 20_240 nanoseconds. - Weight::from_parts(25_667_761, 9902) - // Standard Error: 8_668 - .saturating_add(Weight::from_ref_time(86_610).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 19_230 nanoseconds. + Weight::from_parts(24_941_270, 9902) + // Standard Error: 6_110 + .saturating_add(Weight::from_parts(1_832, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Identity IdentityOf (r:1 w:0) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) @@ -280,30 +306,32 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// The range of component `s` is `[1, 64]`. fn remove_sub(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `544 + s * (39 ±0)` // Estimated: `14483` - // Minimum execution time: 44_900 nanoseconds. - Weight::from_parts(58_362_741, 14483) - // Standard Error: 10_560 - .saturating_add(Weight::from_ref_time(60_261).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 39_900 nanoseconds. + Weight::from_parts(46_984_850, 14483) + // Standard Error: 11_417 + .saturating_add(Weight::from_parts(153_327, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Identity SuperOf (r:1 w:1) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 63]`. fn quit_sub(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `469 + s * (42 ±0)` // Estimated: `7170` - // Minimum execution time: 31_550 nanoseconds. - Weight::from_parts(40_548_052, 7170) - // Standard Error: 8_448 - .saturating_add(Weight::from_ref_time(83_481).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 30_560 nanoseconds. + Weight::from_parts(39_702_408, 7170) + // Standard Error: 14_042 + .saturating_add(Weight::from_parts(21_188, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/common/src/weights/pallet_membership.rs b/runtime/common/src/weights/pallet_membership.rs index 713341656..11b7a0ae0 100644 --- a/runtime/common/src/weights/pallet_membership.rs +++ b/runtime/common/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! 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` @@ -60,17 +60,18 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[1, 99]`. fn add_member(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `237 + m * (64 ±0)` // Estimated: `4900 + m * (192 ±0)` - // Minimum execution time: 28_290 nanoseconds. - Weight::from_parts(35_685_233, 4900) - // Standard Error: 9_824 - .saturating_add(Weight::from_ref_time(79_139).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) + // Minimum execution time: 28_540 nanoseconds. + Weight::from_parts(31_571_960, 4900) + // Standard Error: 5_294 + .saturating_add(Weight::from_parts(67_727, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -82,17 +83,18 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `341 + m * (64 ±0)` // Estimated: `5739 + m * (192 ±0)` - // Minimum execution time: 33_260 nanoseconds. - Weight::from_parts(40_001_420, 5739) - // Standard Error: 4_422 - .saturating_add(Weight::from_ref_time(55_502).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) + // Minimum execution time: 32_620 nanoseconds. + Weight::from_parts(36_167_124, 5739) + // Standard Error: 6_458 + .saturating_add(Weight::from_parts(72_252, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -104,17 +106,18 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `341 + m * (64 ±0)` // Estimated: `5739 + m * (192 ±0)` - // Minimum execution time: 33_530 nanoseconds. - Weight::from_parts(40_652_820, 5739) - // Standard Error: 5_364 - .saturating_add(Weight::from_ref_time(76_219).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) + // Minimum execution time: 31_710 nanoseconds. + Weight::from_parts(36_940_570, 5739) + // Standard Error: 6_184 + .saturating_add(Weight::from_parts(88_886, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -126,17 +129,18 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `341 + m * (64 ±0)` // Estimated: `5739 + m * (192 ±0)` - // Minimum execution time: 32_460 nanoseconds. - Weight::from_parts(38_785_548, 5739) - // Standard Error: 6_043 - .saturating_add(Weight::from_ref_time(278_143).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) + // Minimum execution time: 32_290 nanoseconds. + Weight::from_parts(33_529_250, 5739) + // Standard Error: 44_044 + .saturating_add(Weight::from_parts(385_019, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -148,17 +152,18 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[1, 100]`. fn change_key(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `341 + m * (64 ±0)` // Estimated: `5739 + m * (192 ±0)` - // Minimum execution time: 34_520 nanoseconds. - Weight::from_parts(43_530_038, 5739) - // Standard Error: 10_675 - .saturating_add(Weight::from_ref_time(71_445).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) + // Minimum execution time: 34_460 nanoseconds. + Weight::from_parts(37_785_815, 5739) + // Standard Error: 5_395 + .saturating_add(Weight::from_parts(78_047, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Members (r:1 w:0) /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -166,27 +171,32 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `136 + m * (32 ±0)` // Estimated: `3833 + m * (32 ±0)` - // Minimum execution time: 15_240 nanoseconds. - Weight::from_parts(18_236_079, 3833) - // Standard Error: 2_638 - .saturating_add(Weight::from_ref_time(21_989).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) + // Minimum execution time: 13_330 nanoseconds. + Weight::from_parts(16_510_704, 3833) + // Standard Error: 2_505 + .saturating_add(Weight::from_parts(32_863, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) /// Storage: AdvisoryCommittee Prime (r:0 w:1) /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - fn clear_prime(_m: u32) -> Weight { + /// The range of component `m` is `[1, 100]`. + fn clear_prime(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_590 nanoseconds. - Weight::from_ref_time(6_974_592).saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 5_440 nanoseconds. + Weight::from_parts(6_377_372, 0) + // Standard Error: 851 + .saturating_add(Weight::from_parts(246, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index c285bbbe5..f01fd8c8e 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multisig //! //! 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` @@ -52,99 +52,109 @@ use frame_support::{ /// Weight functions for pallet_multisig (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_multisig::weights::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_510 nanoseconds. - Weight::from_ref_time(22_513_680) - // Standard Error: 72 - .saturating_add(Weight::from_ref_time(1_055).saturating_mul(z.into())) + // Minimum execution time: 16_870 nanoseconds. + Weight::from_parts(20_386_848, 0) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_018, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `303 + s * (1 ±0)` + // Measured: `339 + s * (1 ±0)` // Estimated: `5825` - // Minimum execution time: 48_000 nanoseconds. - Weight::from_parts(54_977_016, 5825) - // Standard Error: 9_444 - .saturating_add(Weight::from_ref_time(41_852).saturating_mul(s.into())) - // Standard Error: 92 - .saturating_add(Weight::from_ref_time(2_453).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 47_620 nanoseconds. + Weight::from_parts(48_400_987, 5825) + // Standard Error: 10_215 + .saturating_add(Weight::from_parts(101_930, 0).saturating_mul(s.into())) + // Standard Error: 100 + .saturating_add(Weight::from_parts(2_251, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// The range of component `s` is `[3, 100]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `246` + // Measured: `283` // Estimated: `5825` - // Minimum execution time: 35_791 nanoseconds. - Weight::from_parts(40_752_558, 5825) - // Standard Error: 9_035 - .saturating_add(Weight::from_ref_time(40_991).saturating_mul(s.into())) - // Standard Error: 88 - .saturating_add(Weight::from_ref_time(2_340).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 36_400 nanoseconds. + Weight::from_parts(37_069_062, 5825) + // Standard Error: 10_653 + .saturating_add(Weight::from_parts(75_829, 0).saturating_mul(s.into())) + // Standard Error: 104 + .saturating_add(Weight::from_parts(2_289, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `388 + s * (33 ±0)` + // Measured: `425 + s * (33 ±0)` // Estimated: `8432` - // Minimum execution time: 57_500 nanoseconds. - Weight::from_parts(65_557_947, 8432) - // Standard Error: 17_739 - .saturating_add(Weight::from_ref_time(44_272).saturating_mul(s.into())) - // Standard Error: 173 - .saturating_add(Weight::from_ref_time(2_086).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 57_181 nanoseconds. + Weight::from_parts(49_742_488, 8432) + // Standard Error: 9_821 + .saturating_add(Weight::from_parts(135_641, 0).saturating_mul(s.into())) + // Standard Error: 96 + .saturating_add(Weight::from_parts(2_897, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + s * (1 ±0)` + // Measured: `343 + s * (1 ±0)` // Estimated: `5825` - // Minimum execution time: 37_550 nanoseconds. - Weight::from_parts(49_094_735, 5825) - // Standard Error: 12_276 - .saturating_add(Weight::from_ref_time(121_978).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 39_380 nanoseconds. + Weight::from_parts(44_478_141, 5825) + // Standard Error: 11_125 + .saturating_add(Weight::from_parts(93_737, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `246` + // Measured: `283` // Estimated: `5825` - // Minimum execution time: 26_680 nanoseconds. - Weight::from_parts(30_984_305, 5825) - // Standard Error: 6_780 - .saturating_add(Weight::from_ref_time(82_706).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_370 nanoseconds. + Weight::from_parts(29_768_675, 5825) + // Standard Error: 5_802 + .saturating_add(Weight::from_parts(91_962, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `454 + s * (1 ±0)` + // Measured: `491 + s * (1 ±0)` // Estimated: `5825` - // Minimum execution time: 40_801 nanoseconds. - Weight::from_parts(47_846_662, 5825) - // Standard Error: 7_468 - .saturating_add(Weight::from_ref_time(82_892).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 41_141 nanoseconds. + Weight::from_parts(45_843_060, 5825) + // Standard Error: 6_256 + .saturating_add(Weight::from_parts(90_462, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_parachain_staking.rs b/runtime/common/src/weights/pallet_parachain_staking.rs index ef5084ceb..a998f5c1e 100644 --- a/runtime/common/src/weights/pallet_parachain_staking.rs +++ b/runtime/common/src/weights/pallet_parachain_staking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_parachain_staking //! //! 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` @@ -58,10 +58,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `119` // Estimated: `614` - // Minimum execution time: 17_450 nanoseconds. - Weight::from_parts(19_420_000, 614) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 21_000 nanoseconds. + Weight::from_parts(21_560_000, 614) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking InflationConfig (r:1 w:1) /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) @@ -69,10 +69,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `119` // Estimated: `614` - // Minimum execution time: 54_160 nanoseconds. - Weight::from_parts(66_410_000, 614) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 74_830 nanoseconds. + Weight::from_parts(76_050_000, 614) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) @@ -81,9 +81,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Measured: `52` // Estimated: `547` // Minimum execution time: 15_690 nanoseconds. - Weight::from_parts(18_881_000, 547) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + Weight::from_parts(18_860_000, 547) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) @@ -91,10 +91,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `52` // Estimated: `547` - // Minimum execution time: 13_480 nanoseconds. - Weight::from_parts(15_430_000, 547) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 17_800 nanoseconds. + Weight::from_parts(18_990_000, 547) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking TotalSelected (r:1 w:1) /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) @@ -102,10 +102,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `28` // Estimated: `523` - // Minimum execution time: 15_830 nanoseconds. - Weight::from_parts(16_920_000, 523) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 16_110 nanoseconds. + Weight::from_parts(20_060_000, 523) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking CollatorCommission (r:1 w:1) /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) @@ -113,10 +113,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `27` // Estimated: `522` - // Minimum execution time: 14_490 nanoseconds. - Weight::from_parts(16_890_000, 522) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 15_230 nanoseconds. + Weight::from_parts(18_580_000, 522) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking TotalSelected (r:1 w:0) /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) @@ -126,10 +126,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `147` // Estimated: `1284` - // Minimum execution time: 66_770 nanoseconds. - Weight::from_parts(70_780_000, 1284) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 81_010 nanoseconds. + Weight::from_parts(82_491_000, 1284) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -147,33 +147,35 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking BottomDelegations (r:0 w:1) /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1898 + x * (49 ±0)` // Estimated: `22371 + x * (300 ±0)` - // Minimum execution time: 60_351 nanoseconds. - Weight::from_parts(75_530_332, 22371) - // Standard Error: 2_331 - .saturating_add(Weight::from_ref_time(197_179).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - .saturating_add(Weight::from_proof_size(300).saturating_mul(x.into())) + // Minimum execution time: 58_821 nanoseconds. + Weight::from_parts(88_226_852, 22371) + // Standard Error: 2_170 + .saturating_add(Weight::from_parts(203_954, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 300).saturating_mul(x.into())) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking CandidatePool (r:1 w:1) /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `990 + x * (48 ±0)` // Estimated: `4794 + x * (98 ±0)` - // Minimum execution time: 27_140 nanoseconds. - Weight::from_parts(30_306_176, 4794) - // Standard Error: 1_948 - .saturating_add(Weight::from_ref_time(173_644).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) + // Minimum execution time: 29_940 nanoseconds. + Weight::from_parts(35_101_831, 4794) + // Standard Error: 2_107 + .saturating_add(Weight::from_parts(181_319, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 98).saturating_mul(x.into())) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -193,34 +195,37 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking Total (r:1 w:1) /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `x` is `[2, 350]`. fn execute_leave_candidates(x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `238 + x * (595 ±0)` // Estimated: `18229 + x * (12995 ±0)` - // Minimum execution time: 100_960 nanoseconds. - Weight::from_parts(115_170_000, 18229) - // Standard Error: 151_085 - .saturating_add(Weight::from_ref_time(41_415_186).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Minimum execution time: 98_890 nanoseconds. + Weight::from_parts(120_431_000, 18229) + // Standard Error: 164_048 + .saturating_add(Weight::from_parts(44_538_186, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_proof_size(12995).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_parts(0, 12995).saturating_mul(x.into())) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking CandidatePool (r:1 w:1) /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `946 + x * (48 ±0)` // Estimated: `4704 + x * (98 ±0)` - // Minimum execution time: 26_340 nanoseconds. - Weight::from_parts(35_163_042, 4704) - // Standard Error: 1_923 - .saturating_add(Weight::from_ref_time(171_732).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) + // Minimum execution time: 25_480 nanoseconds. + Weight::from_parts(34_363_058, 4704) + // Standard Error: 1_860 + .saturating_add(Weight::from_parts(190_331, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 98).saturating_mul(x.into())) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -230,10 +235,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `371` // Estimated: `3712` - // Minimum execution time: 28_560 nanoseconds. - Weight::from_parts(33_400_000, 3712) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 28_600 nanoseconds. + Weight::from_parts(35_191_000, 3712) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -243,10 +248,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `322` // Estimated: `3614` - // Minimum execution time: 28_190 nanoseconds. - Weight::from_parts(34_510_000, 3614) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 28_530 nanoseconds. + Weight::from_parts(34_870_000, 3614) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -262,10 +267,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `650` // Estimated: `11796` - // Minimum execution time: 61_360 nanoseconds. - Weight::from_parts(73_000_000, 11796) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 60_160 nanoseconds. + Weight::from_parts(73_960_000, 11796) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -273,10 +278,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `216` // Estimated: `2691` - // Minimum execution time: 23_200 nanoseconds. - Weight::from_parts(23_870_000, 2691) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 27_790 nanoseconds. + Weight::from_parts(28_520_000, 2691) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -292,10 +297,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `670` // Estimated: `11856` - // Minimum execution time: 53_870 nanoseconds. - Weight::from_parts(62_430_000, 11856) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 63_530 nanoseconds. + Weight::from_parts(72_810_000, 11856) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: ParachainStaking CandidateInfo (r:1 w:1) /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) @@ -303,10 +308,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `236` // Estimated: `2711` - // Minimum execution time: 21_480 nanoseconds. - Weight::from_parts(22_500_000, 2711) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_630 nanoseconds. + Weight::from_parts(26_851_000, 2711) + .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) @@ -322,20 +327,22 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: ParachainStaking Total (r:1 w:1) /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `x` is `[3, 100]`. + /// The range of component `y` is `[2, 300]`. fn delegate(x: u32, y: u32) -> Weight { // Proof Size summary in bytes: // Measured: `2374 + x * (103 ±0) + y * (52 ±0)` // Estimated: `25391 + x * (530 ±0) + y * (265 ±0)` - // Minimum execution time: 104_031 nanoseconds. - Weight::from_parts(93_820_718, 25391) - // Standard Error: 13_956 - .saturating_add(Weight::from_ref_time(349_185).saturating_mul(x.into())) - // Standard Error: 4_578 - .saturating_add(Weight::from_ref_time(193_605).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - .saturating_add(Weight::from_proof_size(530).saturating_mul(x.into())) - .saturating_add(Weight::from_proof_size(265).saturating_mul(y.into())) + // Minimum execution time: 99_641 nanoseconds. + Weight::from_parts(106_657_198, 25391) + // Standard Error: 11_960 + .saturating_add(Weight::from_parts(335_640, 0).saturating_mul(x.into())) + // Standard Error: 3_923 + .saturating_add(Weight::from_parts(206_453, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 530).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 265).saturating_mul(y.into())) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -345,10 +352,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `176` // Estimated: `5302` - // Minimum execution time: 27_260 nanoseconds. - Weight::from_parts(30_230_000, 5302) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 24_570 nanoseconds. + Weight::from_parts(36_420_000, 5302) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -368,18 +375,20 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `x` is `[2, 100]`. fn execute_leave_delegators(x: u32) -> Weight { // Proof Size summary in bytes: // Measured: `755 + x * (558 ±0)` // Estimated: `26542 + x * (13492 ±2)` - // Minimum execution time: 88_350 nanoseconds. - Weight::from_parts(8_859_687, 26542) - // Standard Error: 173_924 - .saturating_add(Weight::from_ref_time(34_595_003).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 85_821 nanoseconds. + Weight::from_parts(97_710_000, 26542) + // Standard Error: 91_916 + .saturating_add(Weight::from_parts(35_618_260, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(13492).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_parts(0, 13492).saturating_mul(x.into())) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -389,10 +398,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `298` // Estimated: `5546` - // Minimum execution time: 28_540 nanoseconds. - Weight::from_parts(31_040_000, 5546) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 32_170 nanoseconds. + Weight::from_parts(33_590_000, 5546) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -402,10 +411,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `176` // Estimated: `5302` - // Minimum execution time: 24_460 nanoseconds. - Weight::from_parts(29_720_000, 5302) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 29_300 nanoseconds. + Weight::from_parts(30_310_000, 5302) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) @@ -427,10 +436,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `1066` // Estimated: `23667` - // Minimum execution time: 75_251 nanoseconds. - Weight::from_parts(95_650_000, 23667) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 74_040 nanoseconds. + Weight::from_parts(102_570_000, 23667) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -440,10 +449,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `176` // Estimated: `5302` - // Minimum execution time: 27_070 nanoseconds. - Weight::from_parts(32_830_000, 5302) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 30_200 nanoseconds. + Weight::from_parts(33_190_000, 5302) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -467,10 +476,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `1243` // Estimated: `28447` - // Minimum execution time: 91_870 nanoseconds. - Weight::from_parts(108_950_000, 28447) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 107_580 nanoseconds. + Weight::from_parts(124_161_000, 28447) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -492,10 +501,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `1188` // Estimated: `24399` - // Minimum execution time: 77_400 nanoseconds. - Weight::from_parts(94_280_000, 24399) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 80_350 nanoseconds. + Weight::from_parts(106_250_000, 24399) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -505,10 +514,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `298` // Estimated: `5546` - // Minimum execution time: 27_250 nanoseconds. - Weight::from_parts(32_621_000, 5546) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 31_770 nanoseconds. + Weight::from_parts(33_300_000, 5546) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking DelegatorState (r:1 w:1) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -518,10 +527,10 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `298` // Estimated: `5546` - // Minimum execution time: 27_100 nanoseconds. - Weight::from_parts(32_171_000, 5546) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 34_390 nanoseconds. + Weight::from_parts(37_020_000, 5546) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: ParachainStaking Points (r:1 w:0) /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) @@ -541,25 +550,26 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `438` // Estimated: `11670` - // Minimum execution time: 47_910 nanoseconds. - Weight::from_parts(62_160_000, 11670) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 47_650 nanoseconds. + Weight::from_parts(56_820_000, 11670) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking TopDelegations (r:1 w:0) /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// The range of component `y` is `[0, 100]`. fn get_rewardable_delegators(y: u32) -> Weight { // Proof Size summary in bytes: // Measured: `118 + y * (48 ±0)` // Estimated: `5180 + y * (96 ±0)` - // Minimum execution time: 8_950 nanoseconds. - Weight::from_parts(10_639_265, 5180) - // Standard Error: 1_783 - .saturating_add(Weight::from_ref_time(87_488).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_proof_size(96).saturating_mul(y.into())) + // Minimum execution time: 8_841 nanoseconds. + Weight::from_parts(11_059_228, 5180) + // Standard Error: 1_865 + .saturating_add(Weight::from_parts(113_973, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 96).saturating_mul(y.into())) } /// Storage: ParachainStaking TotalSelected (r:1 w:0) /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) @@ -577,21 +587,24 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ParachainStaking AtStake (r:0 w:51) /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// The range of component `x` is `[0, 50]`. + /// The range of component `y` is `[0, 100]`. fn select_top_candidates(x: u32, y: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (5122 ±0) + y * (2400 ±0)` // Estimated: `13898 + x * (26124 ±53) + y * (6816 ±26)` - // Minimum execution time: 31_540 nanoseconds. - Weight::from_parts(33_560_000, 13898) - // Standard Error: 171_541 - .saturating_add(Weight::from_ref_time(27_739_842).saturating_mul(x.into())) - // Standard Error: 85_543 - .saturating_add(Weight::from_ref_time(2_678_578).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 37_510 nanoseconds. + Weight::from_parts(38_080_000, 13898) + // Standard Error: 166_418 + .saturating_add(Weight::from_parts(29_457_528, 0).saturating_mul(x.into())) + // Standard Error: 82_988 + .saturating_add(Weight::from_parts(2_891_258, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(26124).saturating_mul(x.into())) - .saturating_add(Weight::from_proof_size(6816).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_parts(0, 26124).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 6816).saturating_mul(y.into())) } /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) @@ -603,44 +616,48 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:301 w:301) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `y` is `[0, 300]`. fn pay_one_collator_reward(y: u32) -> Weight { // Proof Size summary in bytes: // Measured: `485 + y * (219 ±0)` // Estimated: `16898 + y * (3483 ±0)` - // Minimum execution time: 63_730 nanoseconds. - Weight::from_parts(5_351_340, 16898) - // Standard Error: 72_227 - .saturating_add(Weight::from_ref_time(19_826_040).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 59_690 nanoseconds. + Weight::from_parts(25_763_992, 16898) + // Standard Error: 57_185 + .saturating_add(Weight::from_parts(20_957_127, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(3483).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into()))) + .saturating_add(Weight::from_parts(0, 3483).saturating_mul(y.into())) } fn base_on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_880 nanoseconds. - Weight::from_ref_time(2_300_000) + // Minimum execution time: 2_030 nanoseconds. + Weight::from_parts(2_400_000, 0) } /// Storage: ParachainStaking DelegatorState (r:1 w:0) /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// The range of component `x` is `[0, 300]`. + /// The range of component `y` is `[0, 100]`. fn set_auto_compound(x: u32, y: u32) -> Weight { // Proof Size summary in bytes: // Measured: `718 + x * (34 ±0) + y * (48 ±0)` // Estimated: `6134 + x * (70 ±0) + y * (98 ±0)` - // Minimum execution time: 37_070 nanoseconds. - Weight::from_parts(38_931_440, 6134) - // Standard Error: 1_774 - .saturating_add(Weight::from_ref_time(105_495).saturating_mul(x.into())) - // Standard Error: 5_312 - .saturating_add(Weight::from_ref_time(100_869).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(70).saturating_mul(x.into())) - .saturating_add(Weight::from_proof_size(98).saturating_mul(y.into())) + // Minimum execution time: 46_110 nanoseconds. + Weight::from_parts(52_488_804, 6134) + // Standard Error: 1_411 + .saturating_add(Weight::from_parts(89_837, 0).saturating_mul(x.into())) + // Standard Error: 4_224 + .saturating_add(Weight::from_parts(78_304, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 98).saturating_mul(y.into())) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) @@ -660,23 +677,26 @@ impl pallet_parachain_staking::weights::WeightInfo for /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: ParachainStaking Total (r:1 w:1) /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// The range of component `x` is `[0, 350]`. + /// The range of component `y` is `[0, 349]`. + /// The range of component `z` is `[0, 99]`. fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (84 ±0) + y * (33 ±0) + z * (114 ±0)` // Estimated: `127262 + x * (367 ±0) + y * (73 ±0) + z * (230 ±1)` - // Minimum execution time: 116_371 nanoseconds. - Weight::from_parts(88_321_494, 127262) - // Standard Error: 4_402 - .saturating_add(Weight::from_ref_time(248_247).saturating_mul(x.into())) - // Standard Error: 4_414 - .saturating_add(Weight::from_ref_time(42_668).saturating_mul(y.into())) - // Standard Error: 15_546 - .saturating_add(Weight::from_ref_time(322_386).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - .saturating_add(Weight::from_proof_size(367).saturating_mul(x.into())) - .saturating_add(Weight::from_proof_size(73).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(230).saturating_mul(z.into())) + // Minimum execution time: 123_121 nanoseconds. + Weight::from_parts(112_671_030, 127262) + // Standard Error: 3_101 + .saturating_add(Weight::from_parts(255_873, 0).saturating_mul(x.into())) + // Standard Error: 3_110 + .saturating_add(Weight::from_parts(37_579, 0).saturating_mul(y.into())) + // Standard Error: 10_953 + .saturating_add(Weight::from_parts(286_333, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(Weight::from_parts(0, 367).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 73).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(0, 230).saturating_mul(z.into())) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) @@ -684,9 +704,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Proof Size summary in bytes: // Measured: `139` // Estimated: `2607` - // Minimum execution time: 20_740 nanoseconds. - Weight::from_parts(21_390_000, 2607) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 27_490 nanoseconds. + Weight::from_parts(28_400_000, 2607) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index d054a1e0c..6a31eefe0 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! 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` @@ -56,46 +56,49 @@ impl pallet_preimage::weights::WeightInfo for WeightInf /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Preimage PreimageFor (r:0 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `179` // Estimated: `2566` - // Minimum execution time: 39_500 nanoseconds. - Weight::from_parts(43_130_000, 2566) + // Minimum execution time: 38_630 nanoseconds. + Weight::from_parts(39_230_000, 2566) // Standard Error: 5 - .saturating_add(Weight::from_ref_time(3_100).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(3_044, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Preimage PreimageFor (r:0 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `2566` - // Minimum execution time: 26_460 nanoseconds. - Weight::from_parts(28_420_000, 2566) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(3_064).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 25_050 nanoseconds. + Weight::from_parts(25_620_000, 2566) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_998, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Preimage PreimageFor (r:0 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `2566` - // Minimum execution time: 25_700 nanoseconds. - Weight::from_parts(25_820_000, 2566) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(3_122).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 22_440 nanoseconds. + Weight::from_parts(22_760_000, 2566) + // Standard Error: 6 + .saturating_add(Weight::from_parts(3_008, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -105,10 +108,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `357` // Estimated: `2566` - // Minimum execution time: 58_510 nanoseconds. - Weight::from_parts(68_820_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 61_020 nanoseconds. + Weight::from_parts(70_960_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -118,10 +121,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `2566` - // Minimum execution time: 43_320 nanoseconds. - Weight::from_parts(51_221_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 41_470 nanoseconds. + Weight::from_parts(49_260_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -129,10 +132,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `220` // Estimated: `2566` - // Minimum execution time: 40_470 nanoseconds. - Weight::from_parts(47_190_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 37_960 nanoseconds. + Weight::from_parts(43_310_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -140,10 +143,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `2566` - // Minimum execution time: 25_250 nanoseconds. - Weight::from_parts(32_000_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 26_950 nanoseconds. + Weight::from_parts(29_941_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -151,10 +154,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `42` // Estimated: `2566` - // Minimum execution time: 32_140 nanoseconds. - Weight::from_parts(41_680_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 29_710 nanoseconds. + Weight::from_parts(34_790_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -162,10 +165,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `2566` - // Minimum execution time: 14_850 nanoseconds. - Weight::from_parts(16_230_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 14_720 nanoseconds. + Weight::from_parts(16_600_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -175,10 +178,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `2566` - // Minimum execution time: 42_320 nanoseconds. - Weight::from_parts(48_090_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 41_630 nanoseconds. + Weight::from_parts(47_050_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -186,10 +189,10 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `2566` - // Minimum execution time: 15_460 nanoseconds. - Weight::from_parts(17_840_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 14_760 nanoseconds. + Weight::from_parts(15_880_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) @@ -197,9 +200,9 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `2566` - // Minimum execution time: 15_400 nanoseconds. - Weight::from_parts(18_930_000, 2566) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 16_090 nanoseconds. + Weight::from_parts(18_230_000, 2566) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index 160226a01..f36120d24 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_proxy //! //! 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` @@ -54,15 +54,16 @@ pub struct WeightInfo(PhantomData); impl pallet_proxy::weights::WeightInfo for WeightInfo { /// Storage: Proxy Proxies (r:1 w:0) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) + /// The range of component `p` is `[1, 31]`. fn proxy(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `122 + p * (41 ±0)` // Estimated: `3844` - // Minimum execution time: 20_750 nanoseconds. - Weight::from_parts(26_214_665, 3844) - // Standard Error: 13_389 - .saturating_add(Weight::from_ref_time(66_184).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 20_940 nanoseconds. + Weight::from_parts(25_140_189, 3844) + // Standard Error: 11_204 + .saturating_add(Weight::from_parts(82_019, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) @@ -70,48 +71,56 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `521 + a * (72 ±0) + p * (41 ±0)` // Estimated: `11287` - // Minimum execution time: 47_440 nanoseconds. - Weight::from_parts(60_567_287, 11287) - // Standard Error: 27_284 - .saturating_add(Weight::from_ref_time(100_013).saturating_mul(a.into())) - // Standard Error: 28_190 - .saturating_add(Weight::from_ref_time(2_765).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 45_610 nanoseconds. + Weight::from_parts(50_961_712, 11287) + // Standard Error: 20_838 + .saturating_add(Weight::from_parts(313_335, 0).saturating_mul(a.into())) + // Standard Error: 21_529 + .saturating_add(Weight::from_parts(82_019, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn remove_announcement(a: u32, _p: u32) -> Weight { + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn remove_announcement(a: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `404 + a * (72 ±0)` // Estimated: `7443` - // Minimum execution time: 28_060 nanoseconds. - Weight::from_parts(37_408_718, 7443) - // Standard Error: 18_090 - .saturating_add(Weight::from_ref_time(103_057).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 27_220 nanoseconds. + Weight::from_parts(31_906_629, 7443) + // Standard Error: 19_587 + .saturating_add(Weight::from_parts(295_108, 0).saturating_mul(a.into())) + // Standard Error: 20_237 + .saturating_add(Weight::from_parts(60_064, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `404 + a * (72 ±0)` // Estimated: `7443` - // Minimum execution time: 28_210 nanoseconds. - Weight::from_parts(38_345_310, 7443) - // Standard Error: 16_574 - .saturating_add(Weight::from_ref_time(165_716).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 27_740 nanoseconds. + Weight::from_parts(34_981_605, 7443) + // Standard Error: 15_466 + .saturating_add(Weight::from_parts(249_342, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Proxies (r:1 w:0) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) @@ -119,74 +128,87 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn announce(a: u32, p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `449 + a * (72 ±0) + p * (41 ±0)` // Estimated: `11287` - // Minimum execution time: 40_250 nanoseconds. - Weight::from_parts(53_247_454, 11287) - // Standard Error: 21_381 - .saturating_add(Weight::from_ref_time(116_995).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 39_530 nanoseconds. + Weight::from_parts(51_332_901, 11287) + // Standard Error: 20_753 + .saturating_add(Weight::from_parts(60_767, 0).saturating_mul(a.into())) + // Standard Error: 21_442 + .saturating_add(Weight::from_parts(25_155, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) + /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `122 + p * (41 ±0)` // Estimated: `3844` - // Minimum execution time: 30_200 nanoseconds. - Weight::from_parts(35_645_380, 3844) - // Standard Error: 20_941 - .saturating_add(Weight::from_ref_time(202_965).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 29_740 nanoseconds. + Weight::from_parts(34_898_386, 3844) + // Standard Error: 16_204 + .saturating_add(Weight::from_parts(93_434, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) - fn remove_proxy(_p: u32) -> Weight { + /// The range of component `p` is `[1, 31]`. + fn remove_proxy(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `122 + p * (41 ±0)` // Estimated: `3844` - // Minimum execution time: 29_920 nanoseconds. - Weight::from_parts(41_304_838, 3844) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 29_330 nanoseconds. + Weight::from_parts(35_210_658, 3844) + // Standard Error: 14_296 + .saturating_add(Weight::from_parts(41_370, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) - fn remove_proxies(p: u32) -> Weight { + /// The range of component `p` is `[1, 31]`. + fn remove_proxies(_p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `122 + p * (41 ±0)` // Estimated: `3844` - // Minimum execution time: 24_330 nanoseconds. - Weight::from_parts(30_122_952, 3844) - // Standard Error: 12_920 - .saturating_add(Weight::from_ref_time(42_769).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 23_490 nanoseconds. + Weight::from_parts(31_470_503, 3844) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) - fn create_pure(_p: u32) -> Weight { + /// The range of component `p` is `[1, 31]`. + fn create_pure(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3844` - // Minimum execution time: 31_670 nanoseconds. - Weight::from_parts(40_185_113, 3844) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 30_780 nanoseconds. + Weight::from_parts(36_804_882, 3844) + // Standard Error: 14_018 + .saturating_add(Weight::from_parts(15_229, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) - fn kill_pure(_p: u32) -> Weight { + /// The range of component `p` is `[0, 30]`. + fn kill_pure(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `163 + p * (41 ±0)` // Estimated: `3844` - // Minimum execution time: 25_800 nanoseconds. - Weight::from_parts(34_349_516, 3844) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 25_020 nanoseconds. + Weight::from_parts(29_081_365, 3844) + // Standard Error: 10_456 + .saturating_add(Weight::from_parts(47_688, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index 569e8b4f6..8a2a6cc71 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_scheduler //! //! 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` @@ -58,46 +58,48 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `35` // Estimated: `503` - // Minimum execution time: 6_030 nanoseconds. - Weight::from_parts(6_340_000, 503) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 6_290 nanoseconds. + Weight::from_parts(6_710_000, 503) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `114 + s * (181 ±0)` // Estimated: `13142` - // Minimum execution time: 5_421 nanoseconds. - Weight::from_parts(15_044_319, 13142) - // Standard Error: 12_339 - .saturating_add(Weight::from_ref_time(540_060).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_270 nanoseconds. + Weight::from_parts(13_039_898, 13142) + // Standard Error: 8_846 + .saturating_add(Weight::from_parts(518_519, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_170 nanoseconds. - Weight::from_ref_time(8_980_000) + // Minimum execution time: 7_910 nanoseconds. + Weight::from_parts(8_570_000, 0) } /// Storage: Preimage PreimageFor (r:1 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `211 + s * (1 ±0)` // Estimated: `5252 + s * (1 ±0)` - // Minimum execution time: 31_080 nanoseconds. - Weight::from_parts(31_610_000, 5252) + // Minimum execution time: 30_710 nanoseconds. + Weight::from_parts(31_240_000, 5252) // Standard Error: 6 - .saturating_add(Weight::from_ref_time(2_338).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(1).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_359, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: Scheduler Lookup (r:0 w:1) /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) @@ -105,86 +107,90 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_210 nanoseconds. - Weight::from_ref_time(12_680_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_100 nanoseconds. + Weight::from_parts(10_480_000, 0).saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_900 nanoseconds. - Weight::from_ref_time(10_260_000) + // Minimum execution time: 7_790 nanoseconds. + Weight::from_parts(8_450_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_880 nanoseconds. - Weight::from_ref_time(4_510_000) + // Minimum execution time: 3_810 nanoseconds. + Weight::from_parts(4_120_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_520 nanoseconds. - Weight::from_ref_time(4_300_000) + // Minimum execution time: 3_710 nanoseconds. + Weight::from_parts(3_910_000, 0) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `114 + s * (181 ±0)` // Estimated: `13142` - // Minimum execution time: 18_890 nanoseconds. - Weight::from_parts(31_761_368, 13142) - // Standard Error: 12_745 - .saturating_add(Weight::from_ref_time(582_142).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 19_070 nanoseconds. + Weight::from_parts(29_611_427, 13142) + // Standard Error: 13_345 + .saturating_add(Weight::from_parts(499_616, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) /// Storage: Scheduler Lookup (r:0 w:1) /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// The range of component `s` is `[1, 50]`. fn cancel(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `114 + s * (181 ±0)` // Estimated: `13142` - // Minimum execution time: 26_840 nanoseconds. - Weight::from_parts(30_383_746, 13142) - // Standard Error: 24_905 - .saturating_add(Weight::from_ref_time(904_743).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 24_350 nanoseconds. + Weight::from_parts(30_773_500, 13142) + // Standard Error: 32_975 + .saturating_add(Weight::from_parts(782_930, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Scheduler Lookup (r:1 w:1) /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `297 + s * (189 ±0)` // Estimated: `15669` - // Minimum execution time: 25_130 nanoseconds. - Weight::from_parts(38_669_389, 15669) - // Standard Error: 14_406 - .saturating_add(Weight::from_ref_time(629_425).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 23_080 nanoseconds. + Weight::from_parts(37_350_318, 15669) + // Standard Error: 15_749 + .saturating_add(Weight::from_parts(515_008, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Scheduler Lookup (r:1 w:1) /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) + /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `321 + s * (189 ±0)` // Estimated: `15669` - // Minimum execution time: 29_960 nanoseconds. - Weight::from_parts(37_063_103, 15669) - // Standard Error: 27_105 - .saturating_add(Weight::from_ref_time(848_431).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 30_040 nanoseconds. + Weight::from_parts(34_370_715, 15669) + // Standard Error: 18_561 + .saturating_add(Weight::from_parts(820_922, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index f601de2b2..7969dd2c5 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! 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` @@ -60,16 +60,16 @@ impl pallet_timestamp::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `256` // Estimated: `1006` - // Minimum execution time: 22_740 nanoseconds. - Weight::from_parts(28_510_000, 1006) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 21_870 nanoseconds. + Weight::from_parts(27_420_000, 1006) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 8_690 nanoseconds. - Weight::from_ref_time(8_880_000) + // Minimum execution time: 8_710 nanoseconds. + Weight::from_parts(8_920_000, 0) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 6975ca689..7ff7a7ce6 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! 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` @@ -62,10 +62,10 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `42` // Estimated: `1396` - // Minimum execution time: 23_110 nanoseconds. - Weight::from_parts(28_271_000, 1396) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 23_240 nanoseconds. + Weight::from_parts(27_170_000, 1396) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Treasury ProposalCount (r:1 w:1) /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -75,10 +75,10 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `179` // Estimated: `499` - // Minimum execution time: 38_230 nanoseconds. - Weight::from_parts(45_180_000, 499) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 36_060 nanoseconds. + Weight::from_parts(37_371_000, 499) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Treasury Proposals (r:1 w:1) /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) @@ -88,25 +88,26 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `545` // Estimated: `7797` - // Minimum execution time: 56_670 nanoseconds. - Weight::from_parts(58_110_000, 7797) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 56_050 nanoseconds. + Weight::from_parts(57_720_000, 7797) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Treasury Proposals (r:1 w:0) /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) /// Storage: Treasury Approvals (r:1 w:1) /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `500 + p * (8 ±0)` // Estimated: `3480` - // Minimum execution time: 16_440 nanoseconds. - Weight::from_parts(24_466_536, 3480) - // Standard Error: 5_719 - .saturating_add(Weight::from_ref_time(7_361).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 16_690 nanoseconds. + Weight::from_parts(21_951_831, 3480) + // Standard Error: 3_747 + .saturating_add(Weight::from_parts(44_124, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Treasury Approvals (r:1 w:1) /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) @@ -115,9 +116,9 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Measured: `127` // Estimated: `897` // Minimum execution time: 13_300 nanoseconds. - Weight::from_parts(13_990_000, 897) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + Weight::from_parts(16_380_000, 897) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: System Account (r:201 w:201) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) @@ -131,17 +132,19 @@ impl pallet_treasury::weights::WeightInfo for WeightInf /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) /// Storage: Bounties BountyApprovals (r:1 w:1) /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32) -> Weight { // Proof Size summary in bytes: // Measured: `383 + p * (318 ±0)` // Estimated: `5423 + p * (7797 ±0)` - // Minimum execution time: 63_181 nanoseconds. - Weight::from_parts(88_775_191, 5423) - // Standard Error: 330_024 - .saturating_add(Weight::from_ref_time(46_475_971).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Minimum execution time: 63_260 nanoseconds. + Weight::from_parts(116_268_411, 5423) + // Standard Error: 350_429 + .saturating_add(Weight::from_parts(44_963_637, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_proof_size(7797).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 7797).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index b4b142dd3..c061aa025 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! 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` @@ -52,45 +52,48 @@ use frame_support::{ /// Weight functions for pallet_utility (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_utility::weights::WeightInfo for WeightInfo { + /// The range of component `c` is `[0, 1000]`. fn batch(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_120 nanoseconds. - Weight::from_ref_time(57_937_255) - // Standard Error: 47_371 - .saturating_add(Weight::from_ref_time(6_567_198).saturating_mul(c.into())) + // Minimum execution time: 10_540 nanoseconds. + Weight::from_parts(42_450_876, 0) + // Standard Error: 19_377 + .saturating_add(Weight::from_parts(6_442_903, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_060 nanoseconds. - Weight::from_ref_time(8_530_000) + // Minimum execution time: 7_110 nanoseconds. + Weight::from_parts(7_720_000, 0) } + /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_200 nanoseconds. - Weight::from_ref_time(61_059_264) - // Standard Error: 82_792 - .saturating_add(Weight::from_ref_time(6_833_403).saturating_mul(c.into())) + // Minimum execution time: 10_020 nanoseconds. + Weight::from_parts(10_270_000, 0) + // Standard Error: 34_495 + .saturating_add(Weight::from_parts(6_855_533, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_500 nanoseconds. - Weight::from_ref_time(17_151_000) + // Minimum execution time: 13_750 nanoseconds. + Weight::from_parts(16_900_000, 0) } + /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_320 nanoseconds. - Weight::from_ref_time(90_747_111) - // Standard Error: 25_070 - .saturating_add(Weight::from_ref_time(6_573_723).saturating_mul(c.into())) + // Minimum execution time: 10_940 nanoseconds. + Weight::from_parts(37_181_467, 0) + // Standard Error: 46_659 + .saturating_add(Weight::from_parts(6_630_416, 0).saturating_mul(c.into())) } } diff --git a/runtime/common/src/weights/pallet_vesting.rs b/runtime/common/src/weights/pallet_vesting.rs index 815386f29..cf7ad7385 100644 --- a/runtime/common/src/weights/pallet_vesting.rs +++ b/runtime/common/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting //! //! 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` @@ -56,35 +56,39 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `405 + l * (25 ±0) + s * (40 ±0)` // Estimated: `7418` - // Minimum execution time: 38_600 nanoseconds. - Weight::from_parts(43_587_531, 7418) - // Standard Error: 15_831 - .saturating_add(Weight::from_ref_time(68_812).saturating_mul(l.into())) - // Standard Error: 28_166 - .saturating_add(Weight::from_ref_time(85_553).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 38_200 nanoseconds. + Weight::from_parts(40_661_819, 7418) + // Standard Error: 11_194 + .saturating_add(Weight::from_parts(135_384, 0).saturating_mul(l.into())) + // Standard Error: 19_917 + .saturating_add(Weight::from_parts(143_297, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `405 + l * (25 ±0) + s * (40 ±0)` // Estimated: `7418` - // Minimum execution time: 38_721 nanoseconds. - Weight::from_parts(40_131_560, 7418) - // Standard Error: 12_751 - .saturating_add(Weight::from_ref_time(153_614).saturating_mul(l.into())) - // Standard Error: 22_687 - .saturating_add(Weight::from_ref_time(106_312).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 38_110 nanoseconds. + Weight::from_parts(42_040_682, 7418) + // Standard Error: 13_831 + .saturating_add(Weight::from_parts(98_586, 0).saturating_mul(l.into())) + // Standard Error: 24_608 + .saturating_add(Weight::from_parts(140_692, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -92,18 +96,18 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn vest_other_locked(l: u32, s: u32) -> Weight { + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_other_locked(l: u32, _s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `544 + l * (25 ±0) + s * (40 ±0)` // Estimated: `10025` - // Minimum execution time: 43_470 nanoseconds. - Weight::from_parts(49_859_247, 10025) - // Standard Error: 17_297 - .saturating_add(Weight::from_ref_time(82_500).saturating_mul(l.into())) - // Standard Error: 30_776 - .saturating_add(Weight::from_ref_time(131_073).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 43_910 nanoseconds. + Weight::from_parts(56_595_372, 10025) + // Standard Error: 13_637 + .saturating_add(Weight::from_parts(19_765, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -111,16 +115,20 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn vest_other_unlocked(l: u32, _s: u32) -> Weight { + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_other_unlocked(l: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `544 + l * (25 ±0) + s * (40 ±0)` // Estimated: `10025` - // Minimum execution time: 44_220 nanoseconds. - Weight::from_parts(54_622_024, 10025) - // Standard Error: 13_957 - .saturating_add(Weight::from_ref_time(64_053).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 44_170 nanoseconds. + Weight::from_parts(51_279_266, 10025) + // Standard Error: 12_844 + .saturating_add(Weight::from_parts(38_493, 0).saturating_mul(l.into())) + // Standard Error: 22_852 + .saturating_add(Weight::from_parts(42_143, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -128,16 +136,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - fn vested_transfer(l: u32, _s: u32) -> Weight { + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[0, 27]`. + fn vested_transfer(_l: u32, _s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `615 + l * (25 ±0) + s * (40 ±0)` // Estimated: `10025` - // Minimum execution time: 63_530 nanoseconds. - Weight::from_parts(81_340_929, 10025) - // Standard Error: 24_465 - .saturating_add(Weight::from_ref_time(43_600).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 63_280 nanoseconds. + Weight::from_parts(79_723_425, 10025) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -145,18 +153,18 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - fn force_vested_transfer(l: u32, s: u32) -> Weight { + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[0, 27]`. + fn force_vested_transfer(l: u32, _s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `754 + l * (25 ±0) + s * (40 ±0)` // Estimated: `12632` - // Minimum execution time: 67_830 nanoseconds. - Weight::from_parts(77_854_612, 12632) - // Standard Error: 27_906 - .saturating_add(Weight::from_ref_time(72_280).saturating_mul(l.into())) - // Standard Error: 49_651 - .saturating_add(Weight::from_ref_time(135_728).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 68_090 nanoseconds. + Weight::from_parts(84_279_135, 12632) + // Standard Error: 19_014 + .saturating_add(Weight::from_parts(5_149, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -164,18 +172,20 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `542 + l * (25 ±0) + s * (40 ±0)` // Estimated: `10025` - // Minimum execution time: 45_830 nanoseconds. - Weight::from_parts(50_112_392, 10025) - // Standard Error: 16_706 - .saturating_add(Weight::from_ref_time(88_312).saturating_mul(l.into())) - // Standard Error: 30_853 - .saturating_add(Weight::from_ref_time(115_089).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 46_130 nanoseconds. + Weight::from_parts(53_606_659, 10025) + // Standard Error: 14_163 + .saturating_add(Weight::from_parts(28_639, 0).saturating_mul(l.into())) + // Standard Error: 26_155 + .saturating_add(Weight::from_parts(1_003, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) @@ -183,17 +193,19 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32) -> Weight { // Proof Size summary in bytes: // Measured: `542 + l * (25 ±0) + s * (40 ±0)` // Estimated: `10025` - // Minimum execution time: 45_530 nanoseconds. - Weight::from_parts(45_481_538, 10025) - // Standard Error: 13_332 - .saturating_add(Weight::from_ref_time(273_701).saturating_mul(l.into())) - // Standard Error: 24_620 - .saturating_add(Weight::from_ref_time(164_319).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 45_860 nanoseconds. + Weight::from_parts(51_687_722, 10025) + // Standard Error: 12_517 + .saturating_add(Weight::from_parts(111_660, 0).saturating_mul(l.into())) + // Standard Error: 23_115 + .saturating_add(Weight::from_parts(19_215, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/zrml/authorized/src/weights.rs b/zrml/authorized/src/weights.rs index 650633d9f..193980e98 100644 --- a/zrml/authorized/src/weights.rs +++ b/zrml/authorized/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_authorized //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-19`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-11`, STEPS: `10`, REPEAT: `1000`, 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` @@ -64,41 +64,42 @@ pub trait WeightInfoZeitgeist { pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// The range of component `m` is `[1, 63]`. fn authorize_market_outcome_first_report(m: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `819 + m * (22 ±0)` - // Estimated: `9057` - // Minimum execution time: 37_680 nanoseconds. - Weight::from_parts(43_803_530, 9057) - // Standard Error: 2_117 - .saturating_add(Weight::from_ref_time(147_011).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `820 + m * (22 ±0)` + // Estimated: `9058` + // Minimum execution time: 37_130 nanoseconds. + Weight::from_parts(42_650_357, 9058) + // Standard Error: 2_289 + .saturating_add(Weight::from_parts(99_108, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn authorize_market_outcome_existing_report() -> Weight { // Proof Size summary in bytes: - // Measured: `573` - // Estimated: `5540` - // Minimum execution time: 30_130 nanoseconds. - Weight::from_parts(37_510_000, 5540) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `574` + // Estimated: `5541` + // Minimum execution time: 29_800 nanoseconds. + Weight::from_parts(32_130_000, 5541) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } fn on_dispute_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 240 nanoseconds. - Weight::from_ref_time(370_000) + Weight::from_parts(320_000, 0) } /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) @@ -106,17 +107,17 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `217` // Estimated: `2524` - // Minimum execution time: 8_390 nanoseconds. - Weight::from_parts(10_690_000, 2524) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_460 nanoseconds. + Weight::from_parts(10_380_000, 2524) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn exchange_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_430 nanoseconds. - Weight::from_ref_time(3_130_000) + // Minimum execution time: 2_330 nanoseconds. + Weight::from_parts(2_730_000, 0) } /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:0) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) @@ -124,22 +125,22 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `217` // Estimated: `2524` - // Minimum execution time: 7_560 nanoseconds. - Weight::from_parts(9_510_000, 2524).saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 7_610 nanoseconds. + Weight::from_parts(9_330_000, 2524).saturating_add(T::DbWeight::get().reads(1)) } fn has_failed_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 240 nanoseconds. - Weight::from_ref_time(330_000) + // Minimum execution time: 250 nanoseconds. + Weight::from_parts(330_000, 0) } fn on_global_dispute_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 220 nanoseconds. - Weight::from_ref_time(330_000) + // Minimum execution time: 230 nanoseconds. + Weight::from_parts(300_000, 0) } /// Storage: Authorized AuthorizedOutcomeReports (r:0 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) @@ -147,7 +148,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_140 nanoseconds. - Weight::from_ref_time(2_760_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_210 nanoseconds. + Weight::from_parts(2_660_000, 0).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/court/src/weights.rs b/zrml/court/src/weights.rs index 05b91842d..3842a44cd 100644 --- a/zrml/court/src/weights.rs +++ b/zrml/court/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_court //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-19`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -80,16 +80,17 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `j` is `[0, 999]`. fn join_court(j: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1096 + j * (72 ±0)` // Estimated: `78997` - // Minimum execution time: 43_160 nanoseconds. - Weight::from_parts(55_537_589, 78997) - // Standard Error: 372 - .saturating_add(Weight::from_ref_time(127_178).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 41_860 nanoseconds. + Weight::from_parts(51_772_322, 78997) + // Standard Error: 340 + .saturating_add(Weight::from_parts(128_923, 0).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Court CourtPool (r:1 w:1) /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) @@ -97,35 +98,38 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `j` is `[5, 999]`. + /// The range of component `d` is `[1, 5]`. fn delegate(j: u32, d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + j * (74 ±0) + d * (685 ±0)` // Estimated: `78997 + d * (2726 ±0)` - // Minimum execution time: 71_440 nanoseconds. - Weight::from_parts(44_282_067, 78997) - // Standard Error: 449 - .saturating_add(Weight::from_ref_time(173_095).saturating_mul(j.into())) - // Standard Error: 97_916 - .saturating_add(Weight::from_ref_time(8_829_240).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 71_010 nanoseconds. + Weight::from_parts(33_681_143, 78997) + // Standard Error: 474 + .saturating_add(Weight::from_parts(175_394, 0).saturating_mul(j.into())) + // Standard Error: 103_515 + .saturating_add(Weight::from_parts(10_265_315, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: Court Participants (r:1 w:1) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Court CourtPool (r:1 w:1) /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// The range of component `j` is `[0, 999]`. fn prepare_exit_court(j: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1034 + j * (72 ±0)` // Estimated: `75223` - // Minimum execution time: 27_450 nanoseconds. - Weight::from_parts(33_850_483, 75223) - // Standard Error: 279 - .saturating_add(Weight::from_ref_time(112_723).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 26_980 nanoseconds. + Weight::from_parts(35_113_806, 75223) + // Standard Error: 268 + .saturating_add(Weight::from_parts(105_698, 0).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Court Participants (r:1 w:1) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) @@ -135,10 +139,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `273` // Estimated: `6500` - // Minimum execution time: 38_030 nanoseconds. - Weight::from_parts(46_410_000, 6500) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 37_360 nanoseconds. + Weight::from_parts(43_201_000, 6500) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Court Participants (r:1 w:1) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) @@ -148,74 +152,77 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `273` // Estimated: `6500` - // Minimum execution time: 36_590 nanoseconds. - Weight::from_parts(41_660_000, 6500) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 35_770 nanoseconds. + Weight::from_parts(40_940_000, 6500) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Court Courts (r:1 w:0) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) /// Storage: Court SelectedDraws (r:1 w:1) /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// The range of component `d` is `[1, 510]`. fn vote(d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `416 + d * (53 ±0)` // Estimated: `155273` - // Minimum execution time: 53_750 nanoseconds. - Weight::from_parts(63_068_664, 155273) - // Standard Error: 466 - .saturating_add(Weight::from_ref_time(128_840).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 52_471 nanoseconds. + Weight::from_parts(63_337_425, 155273) + // Standard Error: 476 + .saturating_add(Weight::from_parts(117_559, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Court CourtIdToMarketId (r:1 w:0) /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Court Participants (r:1 w:0) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Court Courts (r:1 w:0) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) /// Storage: Court SelectedDraws (r:1 w:1) /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// The range of component `d` is `[1, 510]`. fn denounce_vote(d: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1525 + d * (53 ±0)` - // Estimated: `163530` - // Minimum execution time: 56_950 nanoseconds. - Weight::from_parts(65_065_365, 163530) - // Standard Error: 667 - .saturating_add(Weight::from_ref_time(175_106).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `1526 + d * (53 ±0)` + // Estimated: `163531` + // Minimum execution time: 56_570 nanoseconds. + Weight::from_parts(64_504_390, 163531) + // Standard Error: 618 + .saturating_add(Weight::from_parts(164_325, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Court CourtIdToMarketId (r:1 w:0) /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Court Participants (r:1 w:0) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Court Courts (r:1 w:0) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) /// Storage: Court SelectedDraws (r:1 w:1) /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// The range of component `d` is `[1, 510]`. fn reveal_vote(d: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `2107 + d * (53 ±0)` - // Estimated: `163530` - // Minimum execution time: 89_280 nanoseconds. - Weight::from_parts(105_142_516, 163530) - // Standard Error: 700 - .saturating_add(Weight::from_ref_time(129_152).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `2108 + d * (53 ±0)` + // Estimated: `163531` + // Minimum execution time: 88_011 nanoseconds. + Weight::from_parts(104_678_220, 163531) + // Standard Error: 712 + .saturating_add(Weight::from_parts(113_726, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Court Courts (r:1 w:1) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) /// Storage: Court CourtIdToMarketId (r:1 w:0) /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Court SelectedDraws (r:1 w:1) /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) /// Storage: Court CourtPool (r:1 w:1) @@ -232,21 +239,26 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// The range of component `j` is `[255, 1000]`. + /// The range of component `a` is `[0, 2]`. + /// The range of component `r` is `[0, 62]`. + /// The range of component `f` is `[0, 62]`. fn appeal(j: u32, a: u32, _r: u32, _f: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + j * (132 ±0) + a * (35486 ±0) + r * (16 ±0) + f * (16 ±0)` - // Estimated: `515302 + j * (203 ±1) + a * (314898 ±368)` - // Minimum execution time: 3_550_031 nanoseconds. - Weight::from_parts(3_951_492_000, 515302) - // Standard Error: 24_907 - .saturating_add(Weight::from_ref_time(5_971_667).saturating_mul(j.into())) - // Standard Error: 8_889_266 - .saturating_add(Weight::from_ref_time(4_324_332_119).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(109_u64)) + // Estimated: `515303 + j * (203 ±1) + a * (314898 ±368)` + // Minimum execution time: 3_473_644 nanoseconds. + Weight::from_parts(3_775_379_000, 515303) + // Standard Error: 27_336 + .saturating_add(Weight::from_parts(6_465_312, 0).saturating_mul(j.into())) + // Standard Error: 9_755_849 + .saturating_add(Weight::from_parts(4_399_915_858, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(109)) .saturating_add(T::DbWeight::get().reads((116_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(100_u64)) - .saturating_add(Weight::from_proof_size(203).saturating_mul(j.into())) - .saturating_add(Weight::from_proof_size(314898).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(100)) + .saturating_add(T::DbWeight::get().writes((116_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 203).saturating_mul(j.into())) + .saturating_add(Weight::from_parts(0, 314898).saturating_mul(a.into())) } /// Storage: Court Courts (r:1 w:1) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) @@ -256,18 +268,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: System Account (r:511 w:510) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `d` is `[5, 510]`. fn reassign_court_stakes(d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `911 + d * (587 ±0)` // Estimated: `157880 + d * (5333 ±0)` - // Minimum execution time: 151_380 nanoseconds. - Weight::from_parts(154_621_000, 157880) - // Standard Error: 36_846 - .saturating_add(Weight::from_ref_time(68_443_331).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 147_721 nanoseconds. + Weight::from_parts(151_251_000, 157880) + // Standard Error: 34_391 + .saturating_add(Weight::from_parts(66_838_948, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(5333).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 5333).saturating_mul(d.into())) } /// Storage: Court YearlyInflation (r:0 w:1) /// Proof: Court YearlyInflation (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -275,8 +289,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_830 nanoseconds. - Weight::from_ref_time(13_480_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 12_430 nanoseconds. + Weight::from_parts(14_040_000, 0).saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Court YearlyInflation (r:1 w:0) /// Proof: Court YearlyInflation (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -284,17 +298,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) /// Storage: System Account (r:1000 w:1000) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `j` is `[1, 1000]`. fn handle_inflation(j: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + j * (243 ±0)` // Estimated: `72996 + j * (2607 ±0)` - // Minimum execution time: 33_610 nanoseconds. - Weight::from_parts(40_730_000, 72996) - // Standard Error: 9_967 - .saturating_add(Weight::from_ref_time(20_723_935).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 32_920 nanoseconds. + Weight::from_parts(34_440_000, 72996) + // Standard Error: 11_101 + .saturating_add(Weight::from_parts(19_885_586, 0).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(j.into()))) - .saturating_add(Weight::from_proof_size(2607).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(j.into()))) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(j.into())) } /// Storage: Court CourtPool (r:1 w:1) /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) @@ -304,18 +320,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen) /// Storage: Court Participants (r:240 w:236) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 3]`. fn select_participants(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `84018 + a * (19595 ±0)` // Estimated: `133335 + a * (162878 ±713)` - // Minimum execution time: 1_557_395 nanoseconds. - Weight::from_parts(973_988_351, 133335) - // Standard Error: 17_132_150 - .saturating_add(Weight::from_ref_time(3_436_391_543).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(24_u64)) + // Minimum execution time: 1_519_144 nanoseconds. + Weight::from_parts(838_962_523, 133335) + // Standard Error: 19_763_528 + .saturating_add(Weight::from_parts(3_555_251_845, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(24)) .saturating_add(T::DbWeight::get().reads((60_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(19_u64)) - .saturating_add(Weight::from_proof_size(162878).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(19)) + .saturating_add(T::DbWeight::get().writes((60_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 162878).saturating_mul(a.into())) } /// Storage: Court NextCourtId (r:1 w:1) /// Proof: Court NextCourtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) @@ -339,20 +357,22 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Court Courts (r:0 w:1) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// The range of component `j` is `[31, 1000]`. + /// The range of component `r` is `[0, 62]`. fn on_dispute(j: u32, r: u32) -> Weight { // Proof Size summary in bytes: // Measured: `6039 + j * (80 ±0) + r * (16 ±0)` // Estimated: `153295 + j * (11 ±0) + r * (29 ±1)` - // Minimum execution time: 295_111 nanoseconds. - Weight::from_parts(341_821_863, 153295) - // Standard Error: 1_402 - .saturating_add(Weight::from_ref_time(251_136).saturating_mul(j.into())) - // Standard Error: 21_685 - .saturating_add(Weight::from_ref_time(294_981).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(33_u64)) - .saturating_add(T::DbWeight::get().writes(35_u64)) - .saturating_add(Weight::from_proof_size(11).saturating_mul(j.into())) - .saturating_add(Weight::from_proof_size(29).saturating_mul(r.into())) + // Minimum execution time: 292_071 nanoseconds. + Weight::from_parts(332_110_603, 153295) + // Standard Error: 1_279 + .saturating_add(Weight::from_parts(252_628, 0).saturating_mul(j.into())) + // Standard Error: 19_792 + .saturating_add(Weight::from_parts(446_988, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(35)) + .saturating_add(Weight::from_parts(0, 11).saturating_mul(j.into())) + .saturating_add(Weight::from_parts(0, 29).saturating_mul(r.into())) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -363,21 +383,23 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: Court CourtIdToMarketId (r:1 w:0) /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Court Participants (r:510 w:510) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// The range of component `d` is `[1, 510]`. fn on_resolution(d: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `930 + d * (256 ±0)` - // Estimated: `163319 + d * (2726 ±0)` - // Minimum execution time: 45_150 nanoseconds. - Weight::from_parts(45_960_000, 163319) - // Standard Error: 5_929 - .saturating_add(Weight::from_ref_time(7_126_653).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `931 + d * (256 ±0)` + // Estimated: `163320 + d * (2726 ±0)` + // Minimum execution time: 45_140 nanoseconds. + Weight::from_parts(46_400_000, 163320) + // Standard Error: 5_453 + .saturating_add(Weight::from_parts(7_158_282, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -387,17 +409,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: System Account (r:4 w:4) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 4]`. fn exchange(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `386 + a * (352 ±0)` // Estimated: `5339 + a * (6331 ±0)` - // Minimum execution time: 15_690 nanoseconds. - Weight::from_parts(20_044_520, 5339) - // Standard Error: 71_967 - .saturating_add(Weight::from_ref_time(30_374_058).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 15_770 nanoseconds. + Weight::from_parts(19_251_587, 5339) + // Standard Error: 61_943 + .saturating_add(Weight::from_parts(31_306_570, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(6331).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 6331).saturating_mul(a.into())) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -407,8 +431,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `389` // Estimated: `5339` - // Minimum execution time: 13_440 nanoseconds. - Weight::from_parts(14_310_000, 5339).saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 13_450 nanoseconds. + Weight::from_parts(15_930_000, 5339).saturating_add(T::DbWeight::get().reads(2)) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -419,13 +443,13 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: Court CourtIdToMarketId (r:1 w:0) /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) fn has_failed() -> Weight { // Proof Size summary in bytes: - // Measured: `3151` - // Estimated: `83367` - // Minimum execution time: 34_400 nanoseconds. - Weight::from_parts(36_120_000, 83367).saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `3152` + // Estimated: `83368` + // Minimum execution time: 34_630 nanoseconds. + Weight::from_parts(36_671_000, 83368).saturating_add(T::DbWeight::get().reads(5)) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -435,18 +459,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) /// Storage: Court Participants (r:510 w:510) /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 4]`. + /// The range of component `d` is `[1, 510]`. fn on_global_dispute(_a: u32, d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `448 + a * (66 ±0) + d * (256 ±0)` // Estimated: `157788 + d * (2726 ±0)` - // Minimum execution time: 30_890 nanoseconds. - Weight::from_parts(31_700_000, 157788) - // Standard Error: 4_099 - .saturating_add(Weight::from_ref_time(7_478_471).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 30_740 nanoseconds. + Weight::from_parts(2_270_886, 157788) + // Standard Error: 9_278 + .saturating_add(Weight::from_parts(7_459_796, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: Court MarketIdToCourtId (r:1 w:0) /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) @@ -456,17 +483,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) /// Storage: Court Courts (r:0 w:1) /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// The range of component `d` is `[1, 510]`. fn clear(d: u32) -> Weight { // Proof Size summary in bytes: // Measured: `363 + d * (256 ±0)` // Estimated: `154964 + d * (2726 ±0)` - // Minimum execution time: 25_431 nanoseconds. - Weight::from_parts(26_110_000, 154964) - // Standard Error: 5_377 - .saturating_add(Weight::from_ref_time(7_135_106).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 25_190 nanoseconds. + Weight::from_parts(25_760_000, 154964) + // Standard Error: 6_733 + .saturating_add(Weight::from_parts(7_143_466, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } } diff --git a/zrml/global-disputes/src/weights.rs b/zrml/global-disputes/src/weights.rs index c4bbd433f..e336c3eeb 100644 --- a/zrml/global-disputes/src/weights.rs +++ b/zrml/global-disputes/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_global_disputes //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-19`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -70,18 +70,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `o` is `[2, 10]`. + /// The range of component `v` is `[0, 49]`. fn vote_on_outcome(o: u32, v: u32) -> Weight { // Proof Size summary in bytes: // Measured: `556 + o * (26 ±0) + v * (32 ±0)` // Estimated: `13631` - // Minimum execution time: 56_590 nanoseconds. - Weight::from_parts(64_123_584, 13631) - // Standard Error: 20_943 - .saturating_add(Weight::from_ref_time(211_783).saturating_mul(o.into())) - // Standard Error: 3_674 - .saturating_add(Weight::from_ref_time(73_843).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 57_410 nanoseconds. + Weight::from_parts(66_467_418, 13631) + // Standard Error: 20_588 + .saturating_add(Weight::from_parts(87_789, 0).saturating_mul(o.into())) + // Standard Error: 3_612 + .saturating_add(Weight::from_parts(45_378, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: GlobalDisputes Locks (r:1 w:1) /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) @@ -91,20 +93,22 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 50]`. + /// The range of component `o` is `[1, 10]`. fn unlock_vote_balance_set(l: u32, o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + l * (467 ±0) + o * (1600 ±0)` // Estimated: `10497 + l * (2871 ±0)` - // Minimum execution time: 32_240 nanoseconds. - Weight::from_parts(38_620_672, 10497) - // Standard Error: 11_532 - .saturating_add(Weight::from_ref_time(4_005_759).saturating_mul(l.into())) - // Standard Error: 64_559 - .saturating_add(Weight::from_ref_time(1_054_448).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 31_690 nanoseconds. + Weight::from_parts(31_232_820, 10497) + // Standard Error: 11_210 + .saturating_add(Weight::from_parts(4_094_584, 0).saturating_mul(l.into())) + // Standard Error: 62_757 + .saturating_add(Weight::from_parts(1_297_075, 0).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2871).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) } /// Storage: GlobalDisputes Locks (r:1 w:1) /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) @@ -114,37 +118,42 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `l` is `[0, 50]`. + /// The range of component `o` is `[1, 10]`. fn unlock_vote_balance_remove(l: u32, o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + l * (451 ±0) + o * (1600 ±0)` // Estimated: `10497 + l * (2871 ±0)` - // Minimum execution time: 31_970 nanoseconds. - Weight::from_parts(33_511_909, 10497) - // Standard Error: 10_428 - .saturating_add(Weight::from_ref_time(3_811_407).saturating_mul(l.into())) - // Standard Error: 58_378 - .saturating_add(Weight::from_ref_time(1_203_183).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 31_720 nanoseconds. + Weight::from_parts(18_548_656, 10497) + // Standard Error: 11_063 + .saturating_add(Weight::from_parts(4_057_618, 0).saturating_mul(l.into())) + // Standard Error: 61_931 + .saturating_add(Weight::from_parts(2_028_551, 0).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2871).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) /// Storage: GlobalDisputes Outcomes (r:1 w:1) /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn add_vote_outcome(_w: u32) -> Weight { + /// The range of component `w` is `[1, 10]`. + fn add_vote_outcome(w: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `686 + w * (32 ±0)` - // Estimated: `11364` - // Minimum execution time: 66_930 nanoseconds. - Weight::from_parts(80_489_480, 11364) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `687 + w * (32 ±0)` + // Estimated: `11365` + // Minimum execution time: 67_460 nanoseconds. + Weight::from_parts(77_049_200, 11365) + // Standard Error: 25_025 + .saturating_add(Weight::from_parts(93_445, 0).saturating_mul(w.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: GlobalDisputes Outcomes (r:1 w:0) /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) @@ -152,18 +161,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) /// Storage: System Account (r:11 w:11) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `o` is `[1, 10]`. fn reward_outcome_owner_shared_possession(o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `490 + o * (41 ±0)` // Estimated: `8869 + o * (2702 ±6)` - // Minimum execution time: 65_240 nanoseconds. - Weight::from_parts(53_543_555, 8869) - // Standard Error: 97_020 - .saturating_add(Weight::from_ref_time(29_345_233).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 66_290 nanoseconds. + Weight::from_parts(51_210_493, 8869) + // Standard Error: 97_119 + .saturating_add(Weight::from_parts(29_851_278, 0).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(o.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2702).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) + .saturating_add(Weight::from_parts(0, 2702).saturating_mul(o.into())) } /// Storage: GlobalDisputes Outcomes (r:1 w:0) /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) @@ -175,43 +186,49 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `537` // Estimated: `10955` - // Minimum execution time: 64_330 nanoseconds. - Weight::from_parts(77_110_000, 10955) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 65_360 nanoseconds. + Weight::from_parts(75_881_000, 10955) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) /// Storage: GlobalDisputes Outcomes (r:250 w:249) /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// The range of component `k` is `[2, 248]`. + /// The range of component `o` is `[1, 10]`. fn purge_outcomes(k: u32, _o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `407 + k * (122 ±0) + o * (32 ±0)` // Estimated: `8611 + k * (2870 ±0)` - // Minimum execution time: 74_110 nanoseconds. - Weight::from_parts(77_737_658, 8611) - // Standard Error: 16_871 - .saturating_add(Weight::from_ref_time(17_798_938).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 75_521 nanoseconds. + Weight::from_parts(19_988_587, 8611) + // Standard Error: 18_595 + .saturating_add(Weight::from_parts(18_053_259, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(2870).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) } /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) /// Storage: GlobalDisputes Outcomes (r:250 w:249) /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// The range of component `k` is `[2, 248]`. + /// The range of component `o` is `[1, 10]`. fn refund_vote_fees(k: u32, _o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `407 + k * (122 ±0) + o * (32 ±0)` // Estimated: `8611 + k * (2870 ±0)` - // Minimum execution time: 71_460 nanoseconds. - Weight::from_parts(169_245_397, 8611) - // Standard Error: 20_546 - .saturating_add(Weight::from_ref_time(17_882_530).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 72_970 nanoseconds. + Weight::from_parts(119_070_747, 8611) + // Standard Error: 15_542 + .saturating_add(Weight::from_parts(17_596_560, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(2870).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) } } diff --git a/zrml/liquidity-mining/src/weights.rs b/zrml/liquidity-mining/src/weights.rs index 3049b9cc7..d70c2da17 100644 --- a/zrml/liquidity-mining/src/weights.rs +++ b/zrml/liquidity-mining/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_liquidity_mining //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-19`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -61,7 +61,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_390 nanoseconds. - Weight::from_ref_time(4_790_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_080 nanoseconds. + Weight::from_parts(4_510_000, 0).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/neo-swaps/src/weights.rs b/zrml/neo-swaps/src/weights.rs index 618636182..6d50d69f1 100644 --- a/zrml/neo-swaps/src/weights.rs +++ b/zrml/neo-swaps/src/weights.rs @@ -19,21 +19,21 @@ //! Autogenerated weights for zrml_neo_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-15`, STEPS: `2`, REPEAT: `0`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `mkl-mac`, CPU: `` -//! EXECUTION: `Some(Native)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/zeitgeist +// ./target/production/zeitgeist // benchmark // pallet // --chain=dev -// --steps=2 -// --repeat=0 +// --steps=10 +// --repeat=1000 // --pallet=zrml_neo_swaps // --extrinsic=* -// --execution=native +// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs @@ -61,7 +61,7 @@ pub trait WeightInfoZeitgeist { pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) @@ -73,14 +73,14 @@ impl WeightInfoZeitgeist for WeightInfo { fn buy() -> Weight { // Proof Size summary in bytes: // Measured: `2868` - // Estimated: `28187` - // Minimum execution time: 234_000 nanoseconds. - Weight::from_parts(234_000_000, 28187) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Estimated: `28188` + // Minimum execution time: 383_942 nanoseconds. + Weight::from_parts(452_972_000, 28188) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:3) @@ -92,14 +92,14 @@ impl WeightInfoZeitgeist for WeightInfo { fn sell() -> Weight { // Proof Size summary in bytes: // Measured: `3034` - // Estimated: `28187` - // Minimum execution time: 296_000 nanoseconds. - Weight::from_parts(296_000_000, 28187) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Estimated: `28188` + // Minimum execution time: 401_532 nanoseconds. + Weight::from_parts(491_103_000, 28188) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) @@ -107,14 +107,14 @@ impl WeightInfoZeitgeist for WeightInfo { fn join() -> Weight { // Proof Size summary in bytes: // Measured: `2756` - // Estimated: `20535` - // Minimum execution time: 118_000 nanoseconds. - Weight::from_parts(118_000_000, 20535) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Estimated: `20536` + // Minimum execution time: 122_280 nanoseconds. + Weight::from_parts(149_371_000, 20536) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) @@ -124,11 +124,11 @@ impl WeightInfoZeitgeist for WeightInfo { fn exit() -> Weight { // Proof Size summary in bytes: // Measured: `2524` - // Estimated: `23142` - // Minimum execution time: 116_000 nanoseconds. - Weight::from_parts(116_000_000, 23142) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Estimated: `23143` + // Minimum execution time: 124_590 nanoseconds. + Weight::from_parts(151_600_000, 23143) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) @@ -138,13 +138,13 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `1819` // Estimated: `9734` - // Minimum execution time: 73_000 nanoseconds. - Weight::from_parts(73_000_000, 9734) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 77_180 nanoseconds. + Weight::from_parts(93_340_000, 9734) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) @@ -154,10 +154,10 @@ impl WeightInfoZeitgeist for WeightInfo { fn deploy_pool() -> Weight { // Proof Size summary in bytes: // Measured: `2241` - // Estimated: `23142` - // Minimum execution time: 149_000 nanoseconds. - Weight::from_parts(149_000_000, 23142) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Estimated: `23143` + // Minimum execution time: 166_011 nanoseconds. + Weight::from_parts(201_540_000, 23143) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } } diff --git a/zrml/prediction-markets/src/weights.rs b/zrml/prediction-markets/src/weights.rs index a2ea80eed..f353775e1 100644 --- a/zrml/prediction-markets/src/weights.rs +++ b/zrml/prediction-markets/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_prediction_markets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-19`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -89,7 +89,7 @@ pub trait WeightInfoZeitgeist { pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:2 w:2) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: System Account (r:3 w:3) @@ -108,27 +108,30 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) - fn admin_destroy_disputed_market(a: u32, o: u32, c: u32, r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `2060 + a * (215 ±0) + r * (16 ±0)` - // Estimated: `35846 + a * (5116 ±0)` - // Minimum execution time: 275_961 nanoseconds. - Weight::from_parts(223_802_648, 35846) - // Standard Error: 39_490 - .saturating_add(Weight::from_ref_time(29_860_680).saturating_mul(a.into())) - // Standard Error: 39_293 - .saturating_add(Weight::from_ref_time(133_295).saturating_mul(o.into())) - // Standard Error: 39_293 - .saturating_add(Weight::from_ref_time(199_113).saturating_mul(c.into())) - // Standard Error: 39_293 - .saturating_add(Weight::from_ref_time(205_263).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) + /// The range of component `a` is `[2, 64]`. + /// The range of component `o` is `[0, 63]`. + /// The range of component `c` is `[0, 63]`. + /// The range of component `r` is `[0, 63]`. + fn admin_destroy_disputed_market(a: u32, o: u32, _c: u32, r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `2061 + a * (215 ±0) + r * (16 ±0)` + // Estimated: `35847 + a * (5116 ±0)` + // Minimum execution time: 272_462 nanoseconds. + Weight::from_parts(177_049_020, 35847) + // Standard Error: 40_455 + .saturating_add(Weight::from_parts(30_350_413, 0).saturating_mul(a.into())) + // Standard Error: 40_253 + .saturating_add(Weight::from_parts(540_891, 0).saturating_mul(o.into())) + // Standard Error: 40_253 + .saturating_add(Weight::from_parts(481_992, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(10_u64)) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) @@ -145,23 +148,28 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) - fn admin_destroy_reported_market(a: u32, _o: u32, _c: u32, r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1691 + a * (215 ±0) + r * (16 ±0)` - // Estimated: `26991 + a * (5116 ±0)` - // Minimum execution time: 241_041 nanoseconds. - Weight::from_parts(196_167_863, 26991) - // Standard Error: 42_480 - .saturating_add(Weight::from_ref_time(30_146_656).saturating_mul(a.into())) - // Standard Error: 42_269 - .saturating_add(Weight::from_ref_time(177_697).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + /// The range of component `a` is `[2, 64]`. + /// The range of component `o` is `[0, 63]`. + /// The range of component `c` is `[0, 63]`. + /// The range of component `r` is `[0, 63]`. + fn admin_destroy_reported_market(a: u32, _o: u32, c: u32, _r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1692 + a * (215 ±0) + r * (16 ±0)` + // Estimated: `26992 + a * (5116 ±0)` + // Minimum execution time: 237_841 nanoseconds. + Weight::from_parts(243_811_000, 26992) + // Standard Error: 28_528 + .saturating_add(Weight::from_parts(29_741_142, 0).saturating_mul(a.into())) + // Standard Error: 28_616 + .saturating_add(Weight::from_parts(111_095, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(7_u64)) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) @@ -170,38 +178,41 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// The range of component `o` is `[0, 63]`. + /// The range of component `c` is `[0, 63]`. fn admin_move_market_to_closed(_o: u32, c: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `788 + o * (16 ±0) + c * (16 ±0)` - // Estimated: `13092` - // Minimum execution time: 54_890 nanoseconds. - Weight::from_parts(63_112_401, 13092) - // Standard Error: 2_775 - .saturating_add(Weight::from_ref_time(31_849).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `789 + o * (16 ±0) + c * (16 ±0)` + // Estimated: `13093` + // Minimum execution time: 54_440 nanoseconds. + Weight::from_parts(65_791_830, 13093) + // Standard Error: 2_584 + .saturating_add(Weight::from_parts(32_267, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 63]`. fn admin_move_market_to_resolved_scalar_reported(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `785 + r * (16 ±0)` - // Estimated: `12780` - // Minimum execution time: 81_821 nanoseconds. - Weight::from_parts(89_305_749, 12780) - // Standard Error: 5_012 - .saturating_add(Weight::from_ref_time(38_041).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `786 + r * (16 ±0)` + // Estimated: `12781` + // Minimum execution time: 81_390 nanoseconds. + Weight::from_parts(93_537_719, 12781) + // Standard Error: 4_374 + .saturating_add(Weight::from_parts(88_348, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) @@ -210,19 +221,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 63]`. fn admin_move_market_to_resolved_categorical_reported(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `4478 + r * (16 ±0)` - // Estimated: `18906` - // Minimum execution time: 131_161 nanoseconds. - Weight::from_parts(145_030_674, 18906) - // Standard Error: 7_894 - .saturating_add(Weight::from_ref_time(17_273).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `4479 + r * (16 ±0)` + // Estimated: `18907` + // Minimum execution time: 131_361 nanoseconds. + Weight::from_parts(148_371_434, 18907) + // Standard Error: 8_178 + .saturating_add(Weight::from_parts(17_697, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) @@ -235,17 +247,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - fn admin_move_market_to_resolved_scalar_disputed(_r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1311 + r * (16 ±0)` - // Estimated: `24506` - // Minimum execution time: 136_731 nanoseconds. - Weight::from_parts(153_221_659, 24506) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + /// The range of component `r` is `[0, 63]`. + fn admin_move_market_to_resolved_scalar_disputed(r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1312 + r * (16 ±0)` + // Estimated: `24507` + // Minimum execution time: 136_470 nanoseconds. + Weight::from_parts(157_704_563, 24507) + // Standard Error: 7_258 + .saturating_add(Weight::from_parts(106_232, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) @@ -260,65 +275,71 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) - fn admin_move_market_to_resolved_categorical_disputed(_r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `4989 + r * (16 ±0)` - // Estimated: `30632` - // Minimum execution time: 187_561 nanoseconds. - Weight::from_parts(209_238_581, 30632) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + /// The range of component `r` is `[0, 63]`. + fn admin_move_market_to_resolved_categorical_disputed(r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `4990 + r * (16 ±0)` + // Estimated: `30633` + // Minimum execution time: 186_660 nanoseconds. + Weight::from_parts(214_938_616, 30633) + // Standard Error: 10_966 + .saturating_add(Weight::from_parts(21_013, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:0) /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn approve_market() -> Weight { // Proof Size summary in bytes: - // Measured: `576` - // Estimated: `10265` - // Minimum execution time: 50_180 nanoseconds. - Weight::from_parts(56_000_000, 10265) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `577` + // Estimated: `10266` + // Minimum execution time: 50_411 nanoseconds. + Weight::from_parts(56_920_000, 10266) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 1024]`. fn request_edit(r: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `515` - // Estimated: `6541` - // Minimum execution time: 25_330 nanoseconds. - Weight::from_parts(27_716_399, 6541) - // Standard Error: 93 - .saturating_add(Weight::from_ref_time(3_016).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `516` + // Estimated: `6542` + // Minimum execution time: 25_380 nanoseconds. + Weight::from_parts(29_805_022, 6542) + // Standard Error: 89 + .saturating_add(Weight::from_parts(2_565, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:64 w:64) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:64) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 64]`. fn buy_complete_set(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `516` - // Estimated: `5623 + a * (5116 ±0)` - // Minimum execution time: 94_390 nanoseconds. - Weight::from_parts(49_976_568, 5623) - // Standard Error: 34_483 - .saturating_add(Weight::from_ref_time(20_543_093).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `517` + // Estimated: `5624 + a * (5116 ±0)` + // Minimum execution time: 95_871 nanoseconds. + Weight::from_parts(71_923_870, 5624) + // Standard Error: 32_395 + .saturating_add(Weight::from_parts(20_437_528, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) @@ -329,39 +350,41 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:0 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) + /// The range of component `m` is `[0, 63]`. fn create_market(m: u32) -> Weight { // Proof Size summary in bytes: // Measured: `240 + m * (16 ±0)` // Estimated: `8263` - // Minimum execution time: 51_590 nanoseconds. - Weight::from_parts(58_403_973, 8263) - // Standard Error: 3_407 - .saturating_add(Weight::from_ref_time(72_624).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 51_380 nanoseconds. + Weight::from_parts(62_038_312, 8263) + // Standard Error: 2_844 + .saturating_add(Weight::from_parts(30_077, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// The range of component `m` is `[0, 63]`. fn edit_market(m: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `731 + m * (16 ±0)` - // Estimated: `10569` - // Minimum execution time: 50_340 nanoseconds. - Weight::from_parts(55_894_142, 10569) - // Standard Error: 3_233 - .saturating_add(Weight::from_ref_time(65_400).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `732 + m * (16 ±0)` + // Estimated: `10570` + // Minimum execution time: 51_090 nanoseconds. + Weight::from_parts(60_075_585, 10570) + // Standard Error: 2_917 + .saturating_add(Weight::from_parts(19_784, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Swaps NextPoolId (r:1 w:1) /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:129 w:129) @@ -378,21 +401,24 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:0 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 64]`. + /// The range of component `o` is `[0, 63]`. fn deploy_swap_pool_for_market_future_pool(a: u32, _o: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1208 + a * (118 ±0) + o * (16 ±0)` - // Estimated: `17801 + a * (5196 ±0)` - // Minimum execution time: 183_711 nanoseconds. - Weight::from_parts(125_849_185, 17801) - // Standard Error: 50_587 - .saturating_add(Weight::from_ref_time(34_168_218).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Measured: `1209 + a * (118 ±0) + o * (16 ±0)` + // Estimated: `17802 + a * (5196 ±0)` + // Minimum execution time: 182_280 nanoseconds. + Weight::from_parts(151_158_106, 17802) + // Standard Error: 44_597 + .saturating_add(Weight::from_parts(34_641_935, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(7_u64)) - .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5196).saturating_mul(a.into())) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Swaps NextPoolId (r:1 w:1) /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:129 w:129) @@ -407,21 +433,23 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:0 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 64]`. fn deploy_swap_pool_for_market_open_pool(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1074 + a * (119 ±0)` - // Estimated: `14276 + a * (5196 ±0)` - // Minimum execution time: 185_270 nanoseconds. - Weight::from_parts(121_585_882, 14276) - // Standard Error: 50_458 - .saturating_add(Weight::from_ref_time(34_187_947).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `1075 + a * (119 ±0)` + // Estimated: `14277 + a * (5196 ±0)` + // Minimum execution time: 184_150 nanoseconds. + Weight::from_parts(112_872_816, 14277) + // Standard Error: 51_522 + .saturating_add(Weight::from_parts(35_723_201, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) - .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5196).saturating_mul(a.into())) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) /// Storage: Court MarketIdToCourtId (r:1 w:0) @@ -440,49 +468,47 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) - fn start_global_dispute(m: u32, n: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `9153 + m * (16 ±0)` - // Estimated: `329580` - // Minimum execution time: 318_381 nanoseconds. - Weight::from_parts(343_839_230, 329580) - // Standard Error: 15_691 - .saturating_add(Weight::from_ref_time(141_874).saturating_mul(m.into())) - // Standard Error: 15_691 - .saturating_add(Weight::from_ref_time(107_823).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(36_u64)) + /// The range of component `m` is `[1, 64]`. + /// The range of component `n` is `[1, 64]`. + fn start_global_dispute(_m: u32, _n: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `9154 + m * (16 ±0)` + // Estimated: `329581` + // Minimum execution time: 316_651 nanoseconds. + Weight::from_parts(378_091_905, 329581) + .saturating_add(T::DbWeight::get().reads(40)) + .saturating_add(T::DbWeight::get().writes(36)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn dispute_authorized() -> Weight { // Proof Size summary in bytes: - // Measured: `622` - // Estimated: `6740` - // Minimum execution time: 42_720 nanoseconds. - Weight::from_parts(44_301_000, 6740) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `623` + // Estimated: `6741` + // Minimum execution time: 42_290 nanoseconds. + Weight::from_parts(48_340_000, 6741) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) fn handle_expired_advised_market() -> Weight { // Proof Size summary in bytes: - // Measured: `535` - // Estimated: `6740` - // Minimum execution time: 55_820 nanoseconds. - Weight::from_parts(57_280_000, 6740) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `536` + // Estimated: `6741` + // Minimum execution time: 55_630 nanoseconds. + Weight::from_parts(67_860_000, 6741) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) @@ -491,15 +517,15 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn internal_resolve_categorical_reported() -> Weight { // Proof Size summary in bytes: - // Measured: `4315` - // Estimated: `15389` - // Minimum execution time: 107_820 nanoseconds. - Weight::from_parts(123_431_000, 15389) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `4316` + // Estimated: `15390` + // Minimum execution time: 107_881 nanoseconds. + Weight::from_parts(121_701_000, 15390) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) @@ -512,30 +538,30 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn internal_resolve_categorical_disputed() -> Weight { // Proof Size summary in bytes: - // Measured: `4570` - // Estimated: `20784` - // Minimum execution time: 155_591 nanoseconds. - Weight::from_parts(162_400_000, 20784) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `4571` + // Estimated: `20785` + // Minimum execution time: 154_130 nanoseconds. + Weight::from_parts(180_720_000, 20785) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn internal_resolve_scalar_reported() -> Weight { // Proof Size summary in bytes: - // Measured: `622` - // Estimated: `9263` - // Minimum execution time: 59_350 nanoseconds. - Weight::from_parts(66_380_000, 9263) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `623` + // Estimated: `9264` + // Minimum execution time: 58_790 nanoseconds. + Weight::from_parts(72_680_000, 9264) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Balances Reserves (r:1 w:1) /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) @@ -546,12 +572,12 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn internal_resolve_scalar_disputed() -> Weight { // Proof Size summary in bytes: - // Measured: `892` - // Estimated: `14658` - // Minimum execution time: 101_650 nanoseconds. - Weight::from_parts(123_340_000, 14658) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `893` + // Estimated: `14659` + // Minimum execution time: 101_510 nanoseconds. + Weight::from_parts(124_291_000, 14659) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) @@ -575,26 +601,27 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `79` // Estimated: `23164` - // Minimum execution time: 33_180 nanoseconds. - Weight::from_parts(34_210_000, 23164) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + // Minimum execution time: 33_631 nanoseconds. + Weight::from_parts(41_000_000, 23164) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(529), added: 1024, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 10]`. fn process_subsidy_collecting_markets_raw(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `63 + a * (33 ±0)` // Estimated: `1024` - // Minimum execution time: 5_290 nanoseconds. - Weight::from_parts(7_432_139, 1024) - // Standard Error: 6_874 - .saturating_add(Weight::from_ref_time(481_432).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_300 nanoseconds. + Weight::from_parts(8_533_292, 1024) + // Standard Error: 5_298 + .saturating_add(Weight::from_parts(350_621, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -603,15 +630,15 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn redeem_shares_categorical() -> Weight { // Proof Size summary in bytes: - // Measured: `2024` - // Estimated: `10739` - // Minimum execution time: 92_690 nanoseconds. - Weight::from_parts(96_821_000, 10739) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `2025` + // Estimated: `10740` + // Minimum execution time: 92_021 nanoseconds. + Weight::from_parts(107_000_000, 10740) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, 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) @@ -620,15 +647,15 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn redeem_shares_scalar() -> Weight { // Proof Size summary in bytes: - // Measured: `1171` - // Estimated: `15855` - // Minimum execution time: 117_211 nanoseconds. - Weight::from_parts(133_970_000, 15855) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `1172` + // Estimated: `15856` + // Minimum execution time: 115_351 nanoseconds. + Weight::from_parts(133_451_000, 15856) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: MarketCommons Markets (r:1 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) @@ -637,49 +664,84 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) - fn reject_market(_c: u32, _o: u32, r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `719 + c * (16 ±0) + o * (16 ±0)` - // Estimated: `13790` - // Minimum execution time: 94_260 nanoseconds. - Weight::from_parts(106_089_785, 13790) - // Standard Error: 266 - .saturating_add(Weight::from_ref_time(1_689).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - fn report_market_with_dispute_mechanism(_m: u32) -> Weight { - Weight::from_ref_time(69_185_134) + /// The range of component `c` is `[0, 63]`. + /// The range of component `o` is `[0, 63]`. + /// The range of component `r` is `[0, 1024]`. + fn reject_market(c: u32, o: u32, r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `720 + c * (16 ±0) + o * (16 ±0)` + // Estimated: `13791` + // Minimum execution time: 93_510 nanoseconds. + Weight::from_parts(103_530_583, 13791) + // Standard Error: 3_892 + .saturating_add(Weight::from_parts(48_739, 0).saturating_mul(c.into())) + // Standard Error: 3_892 + .saturating_add(Weight::from_parts(37_200, 0).saturating_mul(o.into())) + // Standard Error: 239 + .saturating_add(Weight::from_parts(1_651, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, 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: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// The range of component `m` is `[0, 63]`. + fn report_market_with_dispute_mechanism(m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `746` + // Estimated: `7037` + // Minimum execution time: 40_680 nanoseconds. + Weight::from_parts(48_449_855, 7037) + // Standard Error: 2_426 + .saturating_add(Weight::from_parts(791, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn report_trusted_market() -> Weight { - Weight::from_ref_time(123) + // Proof Size summary in bytes: + // Measured: `535` + // Estimated: `9264` + // Minimum execution time: 79_570 nanoseconds. + Weight::from_parts(90_940_000, 9264) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens TotalIssuance (r:2 w:2) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:64 w:64) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 64]`. fn sell_complete_set(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `756 + a * (161 ±0)` - // Estimated: `5623 + a * (5116 ±0)` - // Minimum execution time: 108_711 nanoseconds. - Weight::from_parts(62_607_060, 5623) - // Standard Error: 40_843 - .saturating_add(Weight::from_ref_time(27_796_650).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `757 + a * (161 ±0)` + // Estimated: `5624 + a * (5116 ±0)` + // Minimum execution time: 110_910 nanoseconds. + Weight::from_parts(79_060_998, 5624) + // Standard Error: 41_575 + .saturating_add(Weight::from_parts(28_109_907, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } /// Storage: Swaps NextPoolId (r:1 w:1) /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:1) @@ -688,62 +750,67 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(529), added: 1024, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:0 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 64]`. fn start_subsidy(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `525` - // Estimated: `9869` - // Minimum execution time: 44_180 nanoseconds. - Weight::from_parts(48_544_019, 9869) - // Standard Error: 2_939 - .saturating_add(Weight::from_ref_time(91_778).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `9870` + // Minimum execution time: 43_640 nanoseconds. + Weight::from_parts(50_437_413, 9870) + // Standard Error: 2_457 + .saturating_add(Weight::from_parts(72_183, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: PredictionMarkets MarketIdsPerOpenBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerOpenBlock (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:62 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// The range of component `b` is `[1, 31]`. + /// The range of component `f` is `[1, 31]`. fn market_status_manager(b: u32, f: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `2536 + b * (325 ±0) + f * (327 ±0)` - // Estimated: `7050 + b * (3016 ±0) + f * (3016 ±0)` - // Minimum execution time: 159_270 nanoseconds. - Weight::from_parts(54_901_658, 7050) - // Standard Error: 22_664 - .saturating_add(Weight::from_ref_time(3_831_565).saturating_mul(b.into())) - // Standard Error: 22_664 - .saturating_add(Weight::from_ref_time(3_813_691).saturating_mul(f.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `2536 + b * (326 ±0) + f * (328 ±0)` + // Estimated: `7050 + b * (3017 ±0) + f * (3017 ±0)` + // Minimum execution time: 161_031 nanoseconds. + Weight::from_parts(57_887_830, 7050) + // Standard Error: 23_561 + .saturating_add(Weight::from_parts(3_969_574, 0).saturating_mul(b.into())) + // Standard Error: 23_561 + .saturating_add(Weight::from_parts(3_900_962, 0).saturating_mul(f.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(3016).saturating_mul(b.into())) - .saturating_add(Weight::from_proof_size(3016).saturating_mul(f.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 3017).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 3017).saturating_mul(f.into())) } /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:62 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// The range of component `r` is `[1, 31]`. + /// The range of component `d` is `[1, 31]`. fn market_resolution_manager(r: u32, d: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `2487 + r * (325 ±0) + d * (327 ±0)` - // Estimated: `7034 + r * (3016 ±0) + d * (3016 ±0)` - // Minimum execution time: 157_310 nanoseconds. - Weight::from_parts(52_065_042, 7034) - // Standard Error: 22_349 - .saturating_add(Weight::from_ref_time(3_800_277).saturating_mul(r.into())) - // Standard Error: 22_349 - .saturating_add(Weight::from_ref_time(3_858_826).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `2487 + r * (326 ±0) + d * (328 ±0)` + // Estimated: `7034 + r * (3017 ±0) + d * (3017 ±0)` + // Minimum execution time: 159_230 nanoseconds. + Weight::from_parts(52_321_709, 7034) + // Standard Error: 23_193 + .saturating_add(Weight::from_parts(4_099_230, 0).saturating_mul(r.into())) + // Standard Error: 23_193 + .saturating_add(Weight::from_parts(4_073_704, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(3016).saturating_mul(r.into())) - .saturating_add(Weight::from_proof_size(3016).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 3017).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 3017).saturating_mul(d.into())) } /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(529), added: 1024, mode: MaxEncodedLen) @@ -751,10 +818,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1024` - // Minimum execution time: 5_120 nanoseconds. - Weight::from_parts(5_900_000, 1024) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_050 nanoseconds. + Weight::from_parts(5_970_000, 1024) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) @@ -773,14 +840,17 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: NeoSwaps Pools (r:1 w:1) /// Proof: NeoSwaps Pools (max_values: None, max_size: Some(4652), added: 7127, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:0 w:1) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) - fn create_market_and_deploy_pool(_m: u32) -> Weight { + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) + /// The range of component `m` is `[0, 63]`. + fn create_market_and_deploy_pool(m: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `291 + m * (17 ±0)` + // Measured: `376 + m * (16 ±0)` // Estimated: `36032` - // Minimum execution time: 166_000 nanoseconds. - Weight::from_parts(172_000_000, 36032) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) + // Minimum execution time: 236_421 nanoseconds. + Weight::from_parts(276_946_079, 36032) + // Standard Error: 13_117 + .saturating_add(Weight::from_parts(6_946, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(13)) } } diff --git a/zrml/styx/src/weights.rs b/zrml/styx/src/weights.rs index bbfa956a4..16629bd19 100644 --- a/zrml/styx/src/weights.rs +++ b/zrml/styx/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_styx //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-20`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -64,10 +64,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3034` - // Minimum execution time: 31_880 nanoseconds. - Weight::from_parts(39_500_000, 3034) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 32_200 nanoseconds. + Weight::from_parts(39_480_000, 3034) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Styx BurnAmount (r:0 w:1) /// Proof: Styx BurnAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) @@ -75,7 +75,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_510 nanoseconds. - Weight::from_ref_time(11_070_000).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_620 nanoseconds. + Weight::from_parts(12_290_000, 0).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/swaps/src/weights.rs b/zrml/swaps/src/weights.rs index 0939fdccc..b3d827065 100644 --- a/zrml/swaps/src/weights.rs +++ b/zrml/swaps/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: `2023-09-20`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2023-10-12`, STEPS: `10`, REPEAT: `1000`, 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` @@ -81,36 +81,37 @@ pub trait WeightInfoZeitgeist { pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[3, 65]`. fn admin_clean_up_pool_cpmm_categorical(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `693 + a * (54 ±0)` - // Estimated: `11665` - // Minimum execution time: 42_370 nanoseconds. - Weight::from_parts(50_199_865, 11665) - // Standard Error: 3_369 - .saturating_add(Weight::from_ref_time(371_113).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `694 + a * (54 ±0)` + // Estimated: `11666` + // Minimum execution time: 42_641 nanoseconds. + Weight::from_parts(47_869_882, 11666) + // Standard Error: 3_432 + .saturating_add(Weight::from_parts(431_932, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: MarketCommons MarketPool (r:1 w:0) /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn admin_clean_up_pool_cpmm_scalar() -> Weight { // Proof Size summary in bytes: - // Measured: `885` - // Estimated: `11665` - // Minimum execution time: 38_790 nanoseconds. - Weight::from_parts(44_200_000, 11665) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `886` + // Estimated: `11666` + // Minimum execution time: 38_730 nanoseconds. + Weight::from_parts(41_340_000, 11666) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Swaps PoolsCachedForArbitrage (r:64 w:63) /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) @@ -122,32 +123,36 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:64) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 63]`. fn apply_to_cached_pools_execute_arbitrage(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `3255 + a * (11514 ±0)` // Estimated: `163651 + a * (182700 ±0)` - // Minimum execution time: 960 nanoseconds. - Weight::from_parts(1_100_000, 163651) - // Standard Error: 423_665 - .saturating_add(Weight::from_ref_time(2_379_782_150).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(43_u64)) + // Minimum execution time: 1_020 nanoseconds. + Weight::from_parts(1_170_000, 163651) + // Standard Error: 1_165_603 + .saturating_add(Weight::from_parts(2_439_995_297, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(43)) .saturating_add(T::DbWeight::get().reads((70_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(42_u64)) - .saturating_add(Weight::from_proof_size(182700).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(42)) + .saturating_add(T::DbWeight::get().writes((67_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 182700).saturating_mul(a.into())) } /// Storage: Swaps PoolsCachedForArbitrage (r:64 w:63) /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 63]`. fn apply_to_cached_pools_noop(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `27 + a * (27 ±0)` // Estimated: `2499 + a * (2499 ±0)` - // Minimum execution time: 880 nanoseconds. - Weight::from_parts(1_050_000, 2499) - // Standard Error: 9_590 - .saturating_add(Weight::from_ref_time(9_302_520).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 1_020 nanoseconds. + Weight::from_parts(1_260_000, 2499) + // Standard Error: 2_431 + .saturating_add(Weight::from_parts(10_034_511, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(2499).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 2499).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -157,18 +162,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) + /// The range of component `a` is `[0, 10]`. fn destroy_pool_in_subsidy_phase(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `805 + a * (297 ±0)` // Estimated: `11476 + a * (5153 ±0)` - // Minimum execution time: 30_460 nanoseconds. - Weight::from_parts(43_611_666, 11476) - // Standard Error: 56_949 - .saturating_add(Weight::from_ref_time(21_916_090).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 31_120 nanoseconds. + Weight::from_parts(49_313_427, 11476) + // Standard Error: 38_686 + .saturating_add(Weight::from_parts(22_850_290, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(5153).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5153).saturating_mul(a.into())) } /// Storage: Tokens TotalIssuance (r:2 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) @@ -176,22 +183,25 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: System Account (r:11 w:10) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `a` is `[10, 20]`. + /// The range of component `b` is `[0, 10]`. fn distribute_pool_share_rewards(a: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `662 + a * (414 ±0) + b * (161 ±0)` // Estimated: `19084 + a * (7887 ±5) + b * (5500 ±5)` - // Minimum execution time: 492_972 nanoseconds. - Weight::from_parts(6_751_523, 19084) - // Standard Error: 217_166 - .saturating_add(Weight::from_ref_time(29_973_920).saturating_mul(a.into())) - // Standard Error: 217_166 - .saturating_add(Weight::from_ref_time(46_530_689).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Minimum execution time: 510_031 nanoseconds. + Weight::from_parts(101_354_611, 19084) + // Standard Error: 164_834 + .saturating_add(Weight::from_parts(28_284_866, 0).saturating_mul(a.into())) + // Standard Error: 164_834 + .saturating_add(Weight::from_parts(43_566_707, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(7887).saturating_mul(a.into())) - .saturating_add(Weight::from_proof_size(5500).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7887).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5500).saturating_mul(b.into())) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -205,21 +215,25 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:0) /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. + /// The range of component `b` is `[0, 10]`. fn end_subsidy_phase(a: u32, b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0 + a * (169 ±0) + b * (1159 ±0)` - // Estimated: `14083 + a * (5116 ±0) + b * (10358 ±0)` - // Minimum execution time: 14_290 nanoseconds. - Weight::from_parts(14_990_000, 14083) - // Standard Error: 91_418 - .saturating_add(Weight::from_ref_time(20_384_803).saturating_mul(a.into())) - // Standard Error: 607_133 - .saturating_add(Weight::from_ref_time(89_338_448).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Estimated: `14083 + b * (10358 ±0) + a * (5116 ±0)` + // Minimum execution time: 14_210 nanoseconds. + Weight::from_parts(17_640_000, 14083) + // Standard Error: 95_168 + .saturating_add(Weight::from_parts(21_645_458, 0).saturating_mul(a.into())) + // Standard Error: 632_038 + .saturating_add(Weight::from_parts(92_562_032, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) - .saturating_add(Weight::from_proof_size(10358).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 10358).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -229,17 +243,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:64) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn execute_arbitrage_buy_burn(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `765 + a * (215 ±0)` // Estimated: `13849 + a * (5005 ±0)` - // Minimum execution time: 103_400 nanoseconds. - Weight::from_parts(73_422_872, 13849) - // Standard Error: 54_392 - .saturating_add(Weight::from_ref_time(37_718_384).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 103_460 nanoseconds. + Weight::from_parts(76_441_913, 13849) + // Standard Error: 30_115 + .saturating_add(Weight::from_parts(41_965_359, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(5005).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5005).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -249,34 +265,37 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:64) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn execute_arbitrage_mint_sell(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `563 + a * (215 ±0)` // Estimated: `16456 + a * (5005 ±0)` - // Minimum execution time: 108_430 nanoseconds. - Weight::from_parts(72_740_184, 16456) - // Standard Error: 60_820 - .saturating_add(Weight::from_ref_time(35_573_554).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 108_620 nanoseconds. + Weight::from_parts(52_955_739, 16456) + // Standard Error: 38_786 + .saturating_add(Weight::from_parts(38_657_536, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_proof_size(5005).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5005).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:65 w:0) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn execute_arbitrage_skipped(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `406 + a * (167 ±0)` // Estimated: `6126 + a * (2598 ±0)` - // Minimum execution time: 30_460 nanoseconds. - Weight::from_parts(29_668_341, 6126) - // Standard Error: 13_072 - .saturating_add(Weight::from_ref_time(5_079_375).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 30_730 nanoseconds. + Weight::from_parts(30_428_786, 6126) + // Standard Error: 3_743 + .saturating_add(Weight::from_parts(5_642_095, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(2598).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2598).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -286,18 +305,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn pool_exit(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `1015 + a * (286 ±0)` // Estimated: `13849 + a * (5196 ±0)` - // Minimum execution time: 114_410 nanoseconds. - Weight::from_parts(73_773_023, 13849) - // Standard Error: 45_390 - .saturating_add(Weight::from_ref_time(28_296_310).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Minimum execution time: 113_581 nanoseconds. + Weight::from_parts(65_994_621, 13849) + // Standard Error: 16_079 + .saturating_add(Weight::from_parts(30_544_652, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5196).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -309,10 +330,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `2459` // Estimated: `11279` - // Minimum execution time: 52_490 nanoseconds. - Weight::from_parts(58_830_000, 11279) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 52_520 nanoseconds. + Weight::from_parts(65_610_000, 11279) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -328,10 +349,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5392` // Estimated: `19045` - // Minimum execution time: 116_131 nanoseconds. - Weight::from_parts(126_540_000, 19045) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 116_341 nanoseconds. + Weight::from_parts(144_710_000, 19045) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -347,10 +368,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5392` // Estimated: `19045` - // Minimum execution time: 116_551 nanoseconds. - Weight::from_parts(134_311_000, 19045) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 116_160 nanoseconds. + Weight::from_parts(145_430_000, 19045) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -358,18 +379,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:131 w:131) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn pool_join(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `876 + a * (286 ±0)` // Estimated: `11242 + a * (5196 ±0)` - // Minimum execution time: 101_861 nanoseconds. - Weight::from_parts(50_814_580, 11242) - // Standard Error: 46_613 - .saturating_add(Weight::from_ref_time(27_738_187).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 102_271 nanoseconds. + Weight::from_parts(63_625_000, 11242) + // Standard Error: 14_357 + .saturating_add(Weight::from_parts(29_899_158, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5196).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -381,10 +404,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `2357` // Estimated: `11279` - // Minimum execution time: 53_831 nanoseconds. - Weight::from_parts(63_290_000, 11279) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 53_771 nanoseconds. + Weight::from_parts(67_210_000, 11279) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -398,10 +421,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5947` // Estimated: `16438` - // Minimum execution time: 98_100 nanoseconds. - Weight::from_parts(113_330_000, 16438) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 98_810 nanoseconds. + Weight::from_parts(122_971_000, 16438) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -415,28 +438,29 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5947` // Estimated: `16438` - // Minimum execution time: 98_630 nanoseconds. - Weight::from_parts(115_411_000, 16438) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Minimum execution time: 99_091 nanoseconds. + Weight::from_parts(124_120_000, 16438) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[3, 65]`. fn clean_up_pool_categorical_without_reward_distribution(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `209 + a * (54 ±0)` // Estimated: `6126` - // Minimum execution time: 10_720 nanoseconds. - Weight::from_parts(13_209_615, 6126) - // Standard Error: 1_229 - .saturating_add(Weight::from_ref_time(184_880).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 11_050 nanoseconds. + Weight::from_parts(13_881_024, 6126) + // Standard Error: 734 + .saturating_add(Weight::from_parts(216_221, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) @@ -445,17 +469,17 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn swap_exact_amount_in_cpmm() -> Weight { // Proof Size summary in bytes: - // Measured: `5488` - // Estimated: `22141` - // Minimum execution time: 182_820 nanoseconds. - Weight::from_parts(211_551_000, 22141) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `5489` + // Estimated: `22142` + // Minimum execution time: 180_701 nanoseconds. + Weight::from_parts(224_470_000, 22142) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:3) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:1) @@ -466,88 +490,92 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// The range of component `a` is `[3, 65]`. fn swap_exact_amount_in_rikiddo(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `2122 + a * (83 ±0)` - // Estimated: `27877 + a * (2352 ±1)` - // Minimum execution time: 209_100 nanoseconds. - Weight::from_parts(195_980_412, 27877) - // Standard Error: 42_421 - .saturating_add(Weight::from_ref_time(20_478_002).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `2123 + a * (83 ±0)` + // Estimated: `27878 + a * (2352 ±1)` + // Minimum execution time: 208_141 nanoseconds. + Weight::from_parts(193_459_057, 27878) + // Standard Error: 10_676 + .saturating_add(Weight::from_parts(22_649_984, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_proof_size(2352).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(Weight::from_parts(0, 2352).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn swap_exact_amount_out_cpmm() -> Weight { // Proof Size summary in bytes: - // Measured: `5488` - // Estimated: `22141` - // Minimum execution time: 178_201 nanoseconds. - Weight::from_parts(193_360_000, 22141) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `5489` + // Estimated: `22142` + // Minimum execution time: 176_021 nanoseconds. + Weight::from_parts(217_441_000, 22142) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Swaps Pools (r:1 w:0) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:3) /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) /// Storage: MarketCommons Markets (r:1 w:0) - /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(542), added: 3017, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:64 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// The range of component `a` is `[3, 65]`. fn swap_exact_amount_out_rikiddo(a: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `2036 + a * (85 ±0)` - // Estimated: `27868 + a * (2352 ±1)` - // Minimum execution time: 189_841 nanoseconds. - Weight::from_parts(121_280_871, 27868) - // Standard Error: 54_849 - .saturating_add(Weight::from_ref_time(34_361_170).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `2037 + a * (85 ±0)` + // Estimated: `27869 + a * (2352 ±1)` + // Minimum execution time: 189_271 nanoseconds. + Weight::from_parts(133_210_306, 27869) + // Standard Error: 17_287 + .saturating_add(Weight::from_parts(37_283_083, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_proof_size(2352).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(Weight::from_parts(0, 2352).saturating_mul(a.into())) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn open_pool(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `209 + a * (54 ±0)` // Estimated: `6126` - // Minimum execution time: 17_720 nanoseconds. - Weight::from_parts(20_732_644, 6126) - // Standard Error: 1_873 - .saturating_add(Weight::from_ref_time(327_920).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 17_880 nanoseconds. + Weight::from_parts(20_404_387, 6126) + // Standard Error: 1_449 + .saturating_add(Weight::from_parts(414_442, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn close_pool(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `209 + a * (54 ±0)` // Estimated: `6126` - // Minimum execution time: 15_450 nanoseconds. - Weight::from_parts(18_229_163, 6126) - // Standard Error: 1_382 - .saturating_add(Weight::from_ref_time(199_257).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 15_710 nanoseconds. + Weight::from_parts(19_818_585, 6126) + // Standard Error: 694 + .saturating_add(Weight::from_parts(246_286, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Swaps Pools (r:1 w:1) /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) @@ -557,17 +585,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:65 w:65) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// The range of component `a` is `[2, 65]`. fn destroy_pool(a: u32) -> Weight { // Proof Size summary in bytes: // Measured: `576 + a * (215 ±0)` // Estimated: `8733 + a * (5116 ±0)` - // Minimum execution time: 81_340 nanoseconds. - Weight::from_parts(55_981_959, 8733) - // Standard Error: 43_436 - .saturating_add(Weight::from_ref_time(26_829_739).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 80_470 nanoseconds. + Weight::from_parts(42_172_169, 8733) + // Standard Error: 20_425 + .saturating_add(Weight::from_parts(28_834_240, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 5116).saturating_mul(a.into())) } }