From 1f8ef6628d15471832fbbefd80b58c49059bcd30 Mon Sep 17 00:00:00 2001 From: niteshb3495 Date: Tue, 2 May 2023 19:24:45 +0000 Subject: [PATCH] [benchmarking bot] Auto commit generated weights files --- .../src/weights/cumulus_pallet_xcmp_queue.rs | 25 +- runtime/litentry/src/weights/frame_system.rs | 88 +- .../src/weights/pallet_asset_manager.rs | 79 +- .../litentry/src/weights/pallet_balances.rs | 80 +- runtime/litentry/src/weights/pallet_bridge.rs | 155 ++-- .../src/weights/pallet_bridge_transfer.rs | 65 +- .../litentry/src/weights/pallet_collective.rs | 290 ++++--- .../litentry/src/weights/pallet_democracy.rs | 154 ++-- runtime/litentry/src/weights/pallet_drop3.rs | 130 ++- .../src/weights/pallet_extrinsic_filter.rs | 43 +- .../litentry/src/weights/pallet_membership.rs | 180 +++-- .../litentry/src/weights/pallet_multisig.rs | 126 +-- .../src/weights/pallet_parachain_staking.rs | 752 ++++++++++++------ .../litentry/src/weights/pallet_preimage.rs | 163 ++-- runtime/litentry/src/weights/pallet_proxy.rs | 182 +++-- .../litentry/src/weights/pallet_scheduler.rs | 160 ++-- .../litentry/src/weights/pallet_session.rs | 31 +- .../litentry/src/weights/pallet_timestamp.rs | 22 +- .../litentry/src/weights/pallet_treasury.rs | 96 ++- .../litentry/src/weights/pallet_utility.rs | 55 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 25 +- runtime/litmus/src/weights/frame_system.rs | 88 +- .../src/weights/pallet_asset_manager.rs | 79 +- runtime/litmus/src/weights/pallet_balances.rs | 80 +- runtime/litmus/src/weights/pallet_bridge.rs | 155 ++-- .../src/weights/pallet_bridge_transfer.rs | 65 +- .../litmus/src/weights/pallet_collective.rs | 290 ++++--- .../litmus/src/weights/pallet_democracy.rs | 154 ++-- runtime/litmus/src/weights/pallet_drop3.rs | 130 ++- .../src/weights/pallet_extrinsic_filter.rs | 43 +- .../src/weights/pallet_identity_management.rs | 132 ++- .../litmus/src/weights/pallet_membership.rs | 180 +++-- runtime/litmus/src/weights/pallet_multisig.rs | 126 +-- runtime/litmus/src/weights/pallet_preimage.rs | 165 ++-- runtime/litmus/src/weights/pallet_proxy.rs | 186 +++-- .../litmus/src/weights/pallet_scheduler.rs | 160 ++-- runtime/litmus/src/weights/pallet_session.rs | 31 +- .../litmus/src/weights/pallet_sidechain.rs | 26 +- runtime/litmus/src/weights/pallet_teeracle.rs | 65 +- runtime/litmus/src/weights/pallet_teerex.rs | 94 ++- .../litmus/src/weights/pallet_timestamp.rs | 28 +- runtime/litmus/src/weights/pallet_treasury.rs | 96 ++- runtime/litmus/src/weights/pallet_utility.rs | 55 +- .../src/weights/pallet_vc_management.rs | 194 +++-- .../src/weights/cumulus_pallet_xcmp_queue.rs | 25 +- runtime/rococo/src/weights/frame_system.rs | 88 +- .../src/weights/pallet_asset_manager.rs | 79 +- runtime/rococo/src/weights/pallet_balances.rs | 80 +- runtime/rococo/src/weights/pallet_bridge.rs | 155 ++-- .../src/weights/pallet_bridge_transfer.rs | 65 +- .../rococo/src/weights/pallet_collective.rs | 286 ++++--- .../rococo/src/weights/pallet_democracy.rs | 154 ++-- runtime/rococo/src/weights/pallet_drop3.rs | 130 ++- .../src/weights/pallet_extrinsic_filter.rs | 43 +- .../src/weights/pallet_identity_management.rs | 132 ++- .../rococo/src/weights/pallet_membership.rs | 180 +++-- runtime/rococo/src/weights/pallet_multisig.rs | 126 +-- .../src/weights/pallet_parachain_staking.rs | 752 ++++++++++++------ runtime/rococo/src/weights/pallet_preimage.rs | 165 ++-- runtime/rococo/src/weights/pallet_proxy.rs | 186 +++-- .../rococo/src/weights/pallet_scheduler.rs | 160 ++-- runtime/rococo/src/weights/pallet_session.rs | 31 +- .../rococo/src/weights/pallet_sidechain.rs | 26 +- runtime/rococo/src/weights/pallet_teeracle.rs | 65 +- runtime/rococo/src/weights/pallet_teerex.rs | 94 ++- .../rococo/src/weights/pallet_timestamp.rs | 28 +- runtime/rococo/src/weights/pallet_treasury.rs | 99 ++- runtime/rococo/src/weights/pallet_utility.rs | 55 +- .../src/weights/pallet_vc_management.rs | 194 +++-- 69 files changed, 6071 insertions(+), 2850 deletions(-) diff --git a/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs index 2c9153aa4a..dd3670811c 100644 --- a/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,17 +48,27 @@ use sp_std::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - // Storage: XcmpQueue QueueConfig (r:1 w: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_u32() -> Weight { - // Minimum execution time: 9_104 nanoseconds. - Weight::from_ref_time(9_357_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 7_880 nanoseconds. + Weight::from_ref_time(8_246_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: XcmpQueue QueueConfig (r:1 w: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 { - // Minimum execution time: 9_248 nanoseconds. - Weight::from_ref_time(9_459_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 8_119 nanoseconds. + Weight::from_ref_time(8_444_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/frame_system.rs b/runtime/litentry/src/weights/frame_system.rs index 9abb291a41..3438ba7a74 100644 --- a/runtime/litentry/src/weights/frame_system.rs +++ b/runtime/litentry/src/weights/frame_system.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -49,51 +50,82 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - // Minimum execution time: 4_693 nanoseconds. - Weight::from_ref_time(4_868_000) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(825).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_476 nanoseconds. + Weight::from_ref_time(2_561_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(521).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 17_330 nanoseconds. - Weight::from_ref_time(17_691_000) - // Standard Error: 13 - .saturating_add(Weight::from_ref_time(2_960).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_495 nanoseconds. + Weight::from_ref_time(9_983_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(2_531).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: System Digest (r:1 w:1) + /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) + /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 10_645 nanoseconds. - Weight::from_ref_time(10_980_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `495` + // Minimum execution time: 4_855 nanoseconds. + Weight::from_ref_time(5_161_000) + .saturating_add(Weight::from_proof_size(495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_911 nanoseconds. - Weight::from_ref_time(5_075_000) - // Standard Error: 3_317 - .saturating_add(Weight::from_ref_time(970_578).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_421 nanoseconds. + Weight::from_ref_time(2_509_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_307 + .saturating_add(Weight::from_ref_time(1_063_604).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 4_944 nanoseconds. - Weight::from_ref_time(5_133_000) - // Standard Error: 3_047 - .saturating_add(Weight::from_ref_time(712_929).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_577 nanoseconds. + Weight::from_ref_time(2_654_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_489 + .saturating_add(Weight::from_ref_time(734_754).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 7_114 nanoseconds. - Weight::from_ref_time(7_265_000) - // Standard Error: 9_520 - .saturating_add(Weight::from_ref_time(1_631_056).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `85 + p * (69 ±0)` + // Estimated: `87 + p * (70 ±0)` + // Minimum execution time: 4_852 nanoseconds. + Weight::from_ref_time(5_043_000) + .saturating_add(Weight::from_proof_size(87)) + // Standard Error: 1_506 + .saturating_add(Weight::from_ref_time(1_557_506).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(70).saturating_mul(p.into())) } } diff --git a/runtime/litentry/src/weights/pallet_asset_manager.rs b/runtime/litentry/src/weights/pallet_asset_manager.rs index ab3d074647..07ff570539 100644 --- a/runtime/litentry/src/weights/pallet_asset_manager.rs +++ b/runtime/litentry/src/weights/pallet_asset_manager.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_asset_manager` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,45 +48,77 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_asset_manager`. pub struct WeightInfo(PhantomData); impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager ForeignAssetTracker (r:1 w:1) + /// Proof Skipped: AssetManager ForeignAssetTracker (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn register_foreign_asset_type() -> Weight { - // Minimum execution time: 37_542 nanoseconds. - Weight::from_ref_time(38_328_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3406` + // Minimum execution time: 32_993 nanoseconds. + Weight::from_ref_time(33_594_000) + .saturating_add(Weight::from_proof_size(3406)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn update_foreign_asset_metadata() -> Weight { - // Minimum execution time: 25_504 nanoseconds. - Weight::from_ref_time(27_153_000) + // Proof Size summary in bytes: + // Measured: `269` + // Estimated: `3013` + // Minimum execution time: 20_116 nanoseconds. + Weight::from_ref_time(20_936_000) + .saturating_add(Weight::from_proof_size(3013)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdUnitsPerSecond (max_values: None, max_size: None, mode: Measured) fn set_asset_units_per_second() -> Weight { - // Minimum execution time: 25_509 nanoseconds. - Weight::from_ref_time(25_974_000) + // Proof Size summary in bytes: + // Measured: `269` + // Estimated: `3013` + // Minimum execution time: 18_677 nanoseconds. + Weight::from_ref_time(19_671_000) + .saturating_add(Weight::from_proof_size(3013)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) fn add_asset_type() -> Weight { - // Minimum execution time: 30_752 nanoseconds. - Weight::from_ref_time(31_291_000) + // Proof Size summary in bytes: + // Measured: `292` + // Estimated: `5534` + // Minimum execution time: 24_783 nanoseconds. + Weight::from_ref_time(25_802_000) + .saturating_add(Weight::from_proof_size(5534)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:2 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) fn remove_asset_type() -> Weight { - // Minimum execution time: 36_679 nanoseconds. - Weight::from_ref_time(37_751_000) + // Proof Size summary in bytes: + // Measured: `449` + // Estimated: `5848` + // Minimum execution time: 31_591 nanoseconds. + Weight::from_ref_time(33_017_000) + .saturating_add(Weight::from_proof_size(5848)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litentry/src/weights/pallet_balances.rs b/runtime/litentry/src/weights/pallet_balances.rs index a89dfdb212..8f86623b90 100644 --- a/runtime/litentry/src/weights/pallet_balances.rs +++ b/runtime/litentry/src/weights/pallet_balances.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,52 +48,87 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 61_319 nanoseconds. - Weight::from_ref_time(62_965_000) + // Proof Size summary in bytes: + // Measured: `1357` + // Estimated: `2603` + // Minimum execution time: 72_666 nanoseconds. + Weight::from_ref_time(74_055_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 44_561 nanoseconds. - Weight::from_ref_time(45_359_000) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `2603` + // Minimum execution time: 52_941 nanoseconds. + Weight::from_ref_time(53_976_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { - // Minimum execution time: 34_194 nanoseconds. - Weight::from_ref_time(35_562_000) + // Proof Size summary in bytes: + // Measured: `1357` + // Estimated: `2603` + // Minimum execution time: 40_062 nanoseconds. + Weight::from_ref_time(41_630_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { - // Minimum execution time: 37_295 nanoseconds. - Weight::from_ref_time(39_456_000) + // Proof Size summary in bytes: + // Measured: `1357` + // Estimated: `2603` + // Minimum execution time: 46_435 nanoseconds. + Weight::from_ref_time(47_098_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:2 w:2) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { - // Minimum execution time: 58_953 nanoseconds. - Weight::from_ref_time(60_213_000) + // Proof Size summary in bytes: + // Measured: `1353` + // Estimated: `5206` + // Minimum execution time: 70_988 nanoseconds. + Weight::from_ref_time(72_061_000) + .saturating_add(Weight::from_proof_size(5206)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { - // Minimum execution time: 50_873 nanoseconds. - Weight::from_ref_time(52_142_000) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `2603` + // Minimum execution time: 61_778 nanoseconds. + Weight::from_ref_time(63_299_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { - // Minimum execution time: 28_633 nanoseconds. - Weight::from_ref_time(29_789_000) + // Proof Size summary in bytes: + // Measured: `1203` + // Estimated: `2603` + // Minimum execution time: 33_441 nanoseconds. + Weight::from_ref_time(34_779_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/pallet_bridge.rs b/runtime/litentry/src/weights/pallet_bridge.rs index b3cab9ec40..b02106063c 100644 --- a/runtime/litentry/src/weights/pallet_bridge.rs +++ b/runtime/litentry/src/weights/pallet_bridge.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,83 +48,147 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge`. pub struct WeightInfo(PhantomData); impl pallet_bridge::WeightInfo for WeightInfo { - // Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) fn set_threshold() -> Weight { - // Minimum execution time: 17_751 nanoseconds. - Weight::from_ref_time(18_086_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_851 nanoseconds. + Weight::from_ref_time(10_300_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn set_resource() -> Weight { - // Minimum execution time: 7_293 nanoseconds. - Weight::from_ref_time(7_449_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_966 nanoseconds. + Weight::from_ref_time(5_230_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn remove_resource() -> Weight { - // Minimum execution time: 6_427 nanoseconds. - Weight::from_ref_time(6_737_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_256 nanoseconds. + Weight::from_ref_time(4_430_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge ChainNonces (r:1 w:1) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) fn whitelist_chain() -> Weight { - // Minimum execution time: 21_462 nanoseconds. - Weight::from_ref_time(22_584_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `2584` + // Minimum execution time: 15_278 nanoseconds. + Weight::from_ref_time(15_902_000) + .saturating_add(Weight::from_proof_size(2584)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn add_relayer() -> Weight { - // Minimum execution time: 24_143 nanoseconds. - Weight::from_ref_time(25_208_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `3188` + // Minimum execution time: 18_469 nanoseconds. + Weight::from_ref_time(19_462_000) + .saturating_add(Weight::from_proof_size(3188)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn remove_relayer() -> Weight { - // Minimum execution time: 27_452 nanoseconds. - Weight::from_ref_time(28_157_000) + // Proof Size summary in bytes: + // Measured: `190` + // Estimated: `3350` + // Minimum execution time: 20_971 nanoseconds. + Weight::from_ref_time(21_696_000) + .saturating_add(Weight::from_proof_size(3350)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge BridgeFee (r:0 w:1) + /// Storage: ChainBridge BridgeFee (r:0 w:1) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) fn update_fee() -> Weight { - // Minimum execution time: 19_009 nanoseconds. - Weight::from_ref_time(19_507_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_899 nanoseconds. + Weight::from_ref_time(11_505_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn acknowledge_proposal() -> Weight { - // Minimum execution time: 54_376 nanoseconds. - Weight::from_ref_time(56_680_000) + // Proof Size summary in bytes: + // Measured: `307` + // Estimated: `12732` + // Minimum execution time: 54_784 nanoseconds. + Weight::from_ref_time(56_774_000) + .saturating_add(Weight::from_proof_size(12732)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn reject_proposal() -> Weight { - // Minimum execution time: 47_287 nanoseconds. - Weight::from_ref_time(49_526_000) + // Proof Size summary in bytes: + // Measured: `307` + // Estimated: `12732` + // Minimum execution time: 46_887 nanoseconds. + Weight::from_ref_time(48_680_000) + .saturating_add(Weight::from_proof_size(12732)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn eval_vote_state() -> Weight { - // Minimum execution time: 23_926 nanoseconds. - Weight::from_ref_time(24_851_000) + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `4911` + // Minimum execution time: 20_509 nanoseconds. + Weight::from_ref_time(21_271_000) + .saturating_add(Weight::from_proof_size(4911)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/pallet_bridge_transfer.rs b/runtime/litentry/src/weights/pallet_bridge_transfer.rs index e78b7762b2..769b7b9b4f 100644 --- a/runtime/litentry/src/weights/pallet_bridge_transfer.rs +++ b/runtime/litentry/src/weights/pallet_bridge_transfer.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge_transfer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,37 +48,63 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge_transfer`. pub struct WeightInfo(PhantomData); impl pallet_bridge_transfer::WeightInfo for WeightInfo { - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: ChainBridge ChainNonces (r:1 w:1) - // Storage: ChainBridge BridgeFee (r:1 w:0) - // Storage: System Account (r:2 w:2) - // Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge BridgeFee (r:1 w:0) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Proof Skipped: ChainBridge BridgeEvents (max_values: Some(1), max_size: None, mode: Measured) fn transfer_native() -> Weight { - // Minimum execution time: 76_524 nanoseconds. - Weight::from_ref_time(79_278_000) + // Proof Size summary in bytes: + // Measured: `598` + // Estimated: `13538` + // Minimum execution time: 71_319 nanoseconds. + Weight::from_ref_time(72_956_000) + .saturating_add(Weight::from_proof_size(13538)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:0) - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:0) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 44_390 nanoseconds. - Weight::from_ref_time(46_534_000) + // Proof Size summary in bytes: + // Measured: `244` + // Estimated: `4081` + // Minimum execution time: 34_078 nanoseconds. + Weight::from_ref_time(35_495_000) + .saturating_add(Weight::from_proof_size(4081)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) fn set_maximum_issuance() -> Weight { - // Minimum execution time: 20_776 nanoseconds. - Weight::from_ref_time(21_738_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 13_924 nanoseconds. + Weight::from_ref_time(14_704_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) fn set_external_balances() -> Weight { - // Minimum execution time: 5_924 nanoseconds. - Weight::from_ref_time(6_113_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_252 nanoseconds. + Weight::from_ref_time(3_470_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/litentry/src/weights/pallet_collective.rs b/runtime/litentry/src/weights/pallet_collective.rs index 8ab247dbdc..9dc005461b 100644 --- a/runtime/litentry/src/weights/pallet_collective.rs +++ b/runtime/litentry/src/weights/pallet_collective.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,161 +48,256 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Council Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Prime (r:0 w:1) - // Storage: Council Voting (r:100 w:100) + /// Storage: Council Members (r:1 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:100 w:100) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - // Minimum execution time: 25_277 nanoseconds. - Weight::from_ref_time(25_681_000) - // Standard Error: 107_211 - .saturating_add(Weight::from_ref_time(8_266_194).saturating_mul(m.into())) - // Standard Error: 107_211 - .saturating_add(Weight::from_ref_time(11_633_736).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` + // Estimated: `33287 + m * (7730 ±23) + p * (10156 ±23)` + // Minimum execution time: 23_897 nanoseconds. + Weight::from_ref_time(25_096_000) + .saturating_add(Weight::from_proof_size(33287)) + // Standard Error: 109_546 + .saturating_add(Weight::from_ref_time(8_146_454).saturating_mul(m.into())) + // Standard Error: 109_546 + .saturating_add(Weight::from_ref_time(12_042_918).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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7730).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(10156).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council 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 { - // Minimum execution time: 28_469 nanoseconds. - Weight::from_ref_time(27_363_726) - // Standard Error: 142 - .saturating_add(Weight::from_ref_time(3_211).saturating_mul(b.into())) - // Standard Error: 1_465 - .saturating_add(Weight::from_ref_time(28_294).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `135 + m * (32 ±0)` + // Estimated: `630 + m * (32 ±0)` + // Minimum execution time: 22_031 nanoseconds. + Weight::from_ref_time(22_550_250) + .saturating_add(Weight::from_proof_size(630)) + // Standard Error: 140 + .saturating_add(Weight::from_ref_time(1_156).saturating_mul(b.into())) + // Standard Error: 1_448 + .saturating_add(Weight::from_ref_time(18_074).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:0) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - // Minimum execution time: 31_768 nanoseconds. - Weight::from_ref_time(30_840_832) - // Standard Error: 121 - .saturating_add(Weight::from_ref_time(2_672).saturating_mul(b.into())) - // Standard Error: 1_250 - .saturating_add(Weight::from_ref_time(29_114).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `135 + m * (32 ±0)` + // Estimated: `3240 + m * (64 ±0)` + // Minimum execution time: 25_430 nanoseconds. + Weight::from_ref_time(24_172_964) + .saturating_add(Weight::from_proof_size(3240)) + // Standard Error: 48 + .saturating_add(Weight::from_ref_time(2_661).saturating_mul(b.into())) + // Standard Error: 498 + .saturating_add(Weight::from_ref_time(33_850).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalCount (r:1 w:1) - // Storage: Council Voting (r:0 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalCount (r:1 w:1) + /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { - // Minimum execution time: 40_919 nanoseconds. - Weight::from_ref_time(47_269_744) - // Standard Error: 345 - .saturating_add(Weight::from_ref_time(2_990).saturating_mul(b.into())) - // Standard Error: 3_554 - .saturating_add(Weight::from_ref_time(259_143).saturating_mul(p.into())) + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `527 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `6020 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 34_577 nanoseconds. + Weight::from_ref_time(36_175_547) + .saturating_add(Weight::from_proof_size(6020)) + // Standard Error: 154 + .saturating_add(Weight::from_ref_time(4_714).saturating_mul(b.into())) + // Standard Error: 1_608 + .saturating_add(Weight::from_ref_time(26_997).saturating_mul(m.into())) + // Standard Error: 1_592 + .saturating_add(Weight::from_ref_time(229_572).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council Voting (r:1 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - // Minimum execution time: 47_096 nanoseconds. - Weight::from_ref_time(51_207_466) - // Standard Error: 2_897 - .saturating_add(Weight::from_ref_time(66_431).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `906 + m * (64 ±0)` + // Estimated: `4782 + m * (128 ±0)` + // Minimum execution time: 35_172 nanoseconds. + Weight::from_ref_time(37_206_700) + .saturating_add(Weight::from_proof_size(4782)) + // Standard Error: 1_251 + .saturating_add(Weight::from_ref_time(57_477).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 47_155 nanoseconds. - Weight::from_ref_time(45_924_597) - // Standard Error: 5_838 - .saturating_add(Weight::from_ref_time(62_086).saturating_mul(m.into())) - // Standard Error: 5_648 - .saturating_add(Weight::from_ref_time(236_256).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `565 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `5413 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 37_989 nanoseconds. + Weight::from_ref_time(41_169_926) + .saturating_add(Weight::from_proof_size(5413)) + // Standard Error: 1_636 + .saturating_add(Weight::from_ref_time(28_312).saturating_mul(m.into())) + // Standard Error: 1_583 + .saturating_add(Weight::from_ref_time(210_023).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 58_589 nanoseconds. - Weight::from_ref_time(52_414_667) - // Standard Error: 524 - .saturating_add(Weight::from_ref_time(8_375).saturating_mul(b.into())) - // Standard Error: 5_573 - .saturating_add(Weight::from_ref_time(81_843).saturating_mul(m.into())) - // Standard Error: 5_393 - .saturating_add(Weight::from_ref_time(292_532).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `908 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `9032 + b * (4 ±0) + m * (260 ±0) + p * (160 ±0)` + // Minimum execution time: 53_579 nanoseconds. + Weight::from_ref_time(49_847_759) + .saturating_add(Weight::from_proof_size(9032)) + // Standard Error: 287 + .saturating_add(Weight::from_ref_time(7_608).saturating_mul(b.into())) + // Standard Error: 3_057 + .saturating_add(Weight::from_ref_time(31_810).saturating_mul(m.into())) + // Standard Error: 2_958 + .saturating_add(Weight::from_ref_time(300_217).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(160).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 48_940 nanoseconds. - Weight::from_ref_time(51_134_637) - // Standard Error: 4_729 - .saturating_add(Weight::from_ref_time(43_348).saturating_mul(m.into())) - // Standard Error: 4_575 - .saturating_add(Weight::from_ref_time(249_981).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `585 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `6495 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 41_988 nanoseconds. + Weight::from_ref_time(44_353_175) + .saturating_add(Weight::from_proof_size(6495)) + // Standard Error: 1_978 + .saturating_add(Weight::from_ref_time(49_748).saturating_mul(m.into())) + // Standard Error: 1_913 + .saturating_add(Weight::from_ref_time(217_665).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 63_063 nanoseconds. - Weight::from_ref_time(68_518_530) - // Standard Error: 640 - .saturating_add(Weight::from_ref_time(1_410).saturating_mul(b.into())) - // Standard Error: 6_799 - .saturating_add(Weight::from_ref_time(30_715).saturating_mul(m.into())) - // Standard Error: 6_578 - .saturating_add(Weight::from_ref_time(281_435).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `928 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `10400 + b * (5 ±0) + m * (325 ±0) + p * (200 ±0)` + // Minimum execution time: 57_229 nanoseconds. + Weight::from_ref_time(60_317_580) + .saturating_add(Weight::from_proof_size(10400)) + // Standard Error: 306 + .saturating_add(Weight::from_ref_time(4_147).saturating_mul(b.into())) + // Standard Error: 3_257 + .saturating_add(Weight::from_ref_time(12_340).saturating_mul(m.into())) + // Standard Error: 3_151 + .saturating_add(Weight::from_ref_time(272_093).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(200).saturating_mul(p.into())) } - // Storage: Council Proposals (r:1 w:1) - // Storage: Council Voting (r:0 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - // Minimum execution time: 27_747 nanoseconds. - Weight::from_ref_time(32_838_508) - // Standard Error: 3_318 - .saturating_add(Weight::from_ref_time(224_167).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `291 + p * (32 ±0)` + // Estimated: `1371 + p * (96 ±0)` + // Minimum execution time: 21_177 nanoseconds. + Weight::from_ref_time(24_819_531) + .saturating_add(Weight::from_proof_size(1371)) + // Standard Error: 1_490 + .saturating_add(Weight::from_ref_time(202_200).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into())) } } diff --git a/runtime/litentry/src/weights/pallet_democracy.rs b/runtime/litentry/src/weights/pallet_democracy.rs index 01379c700f..1904344142 100644 --- a/runtime/litentry/src/weights/pallet_democracy.rs +++ b/runtime/litentry/src/weights/pallet_democracy.rs @@ -17,20 +17,22 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-20, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 1024 +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=litentry-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_democracy // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -58,8 +60,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4797` // Estimated: `23409` - // Minimum execution time: 52_800 nanoseconds. - Weight::from_ref_time(56_100_000) + // Minimum execution time: 54_593 nanoseconds. + Weight::from_ref_time(56_545_000) .saturating_add(Weight::from_proof_size(23409)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +72,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3553` // Estimated: `5705` - // Minimum execution time: 47_100 nanoseconds. - Weight::from_ref_time(49_500_000) + // Minimum execution time: 49_367 nanoseconds. + Weight::from_ref_time(50_951_000) .saturating_add(Weight::from_proof_size(5705)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +88,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3460` // Estimated: `12720` - // Minimum execution time: 62_800 nanoseconds. - Weight::from_ref_time(68_700_000) + // Minimum execution time: 66_737 nanoseconds. + Weight::from_ref_time(69_953_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +104,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3482` // Estimated: `12720` - // Minimum execution time: 62_500 nanoseconds. - Weight::from_ref_time(69_300_000) + // Minimum execution time: 67_164 nanoseconds. + Weight::from_ref_time(70_172_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -118,8 +120,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331` // Estimated: `7712` - // Minimum execution time: 36_400 nanoseconds. - Weight::from_ref_time(37_600_000) + // Minimum execution time: 36_411 nanoseconds. + Weight::from_ref_time(38_181_000) .saturating_add(Weight::from_proof_size(7712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -142,8 +144,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6340` // Estimated: `38995` - // Minimum execution time: 139_500 nanoseconds. - Weight::from_ref_time(148_600_000) + // Minimum execution time: 137_567 nanoseconds. + Weight::from_ref_time(142_664_000) .saturating_add(Weight::from_proof_size(38995)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -156,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3381` // Estimated: `6340` - // Minimum execution time: 18_200 nanoseconds. - Weight::from_ref_time(18_800_000) + // Minimum execution time: 18_215 nanoseconds. + Weight::from_ref_time(18_932_000) .saturating_add(Weight::from_proof_size(6340)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -168,8 +170,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_800 nanoseconds. - Weight::from_ref_time(5_000_000) + // Minimum execution time: 4_509 nanoseconds. + Weight::from_ref_time(4_727_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +181,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_800 nanoseconds. - Weight::from_ref_time(5_100_000) + // Minimum execution time: 5_140 nanoseconds. + Weight::from_ref_time(5_371_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,8 +198,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3654` - // Minimum execution time: 38_600 nanoseconds. - Weight::from_ref_time(39_500_000) + // Minimum execution time: 38_020 nanoseconds. + Weight::from_ref_time(39_957_000) .saturating_add(Weight::from_proof_size(3654)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -212,8 +214,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3484` // Estimated: `8868` - // Minimum execution time: 43_900 nanoseconds. - Weight::from_ref_time(44_600_000) + // Minimum execution time: 46_093 nanoseconds. + Weight::from_ref_time(47_967_000) .saturating_add(Weight::from_proof_size(8868)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -230,8 +232,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6219` // Estimated: `30636` - // Minimum execution time: 113_000 nanoseconds. - Weight::from_ref_time(120_800_000) + // Minimum execution time: 119_461 nanoseconds. + Weight::from_ref_time(124_377_000) .saturating_add(Weight::from_proof_size(30636)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -244,8 +246,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `2528` - // Minimum execution time: 27_800 nanoseconds. - Weight::from_ref_time(28_500_000) + // Minimum execution time: 29_182 nanoseconds. + Weight::from_ref_time(30_741_000) .saturating_add(Weight::from_proof_size(2528)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -261,11 +263,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 9_700 nanoseconds. - Weight::from_ref_time(12_498_006) + // Minimum execution time: 9_538 nanoseconds. + Weight::from_ref_time(13_770_920) .saturating_add(Weight::from_proof_size(998)) - // Standard Error: 8_710 - .saturating_add(Weight::from_ref_time(4_109_348).saturating_mul(r.into())) + // Standard Error: 15_779 + .saturating_add(Weight::from_ref_time(4_232_541).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)) @@ -288,11 +290,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 13_100 nanoseconds. - Weight::from_ref_time(17_033_065) + // Minimum execution time: 14_289 nanoseconds. + Weight::from_ref_time(14_965_119) .saturating_add(Weight::from_proof_size(19318)) - // Standard Error: 10_563 - .saturating_add(Weight::from_ref_time(4_094_323).saturating_mul(r.into())) + // Standard Error: 16_890 + .saturating_add(Weight::from_ref_time(4_357_529).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)) @@ -309,11 +311,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854 + r * (139 ±0)` // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 52_500 nanoseconds. - Weight::from_ref_time(57_556_213) + // Minimum execution time: 55_805 nanoseconds. + Weight::from_ref_time(62_777_215) .saturating_add(Weight::from_proof_size(22584)) - // Standard Error: 11_078 - .saturating_add(Weight::from_ref_time(5_926_518).saturating_mul(r.into())) + // Standard Error: 17_924 + .saturating_add(Weight::from_ref_time(6_097_647).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)) @@ -329,11 +331,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488 + r * (139 ±0)` // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 29_800 nanoseconds. - Weight::from_ref_time(28_860_795) + // Minimum execution time: 29_603 nanoseconds. + Weight::from_ref_time(32_698_445) .saturating_add(Weight::from_proof_size(12540)) - // Standard Error: 9_880 - .saturating_add(Weight::from_ref_time(5_866_199).saturating_mul(r.into())) + // Standard Error: 12_863 + .saturating_add(Weight::from_ref_time(5_824_975).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)) @@ -346,8 +348,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_700 nanoseconds. - Weight::from_ref_time(4_900_000) + // Minimum execution time: 4_449 nanoseconds. + Weight::from_ref_time(4_631_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -362,11 +364,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485` // Estimated: `12647` - // Minimum execution time: 27_800 nanoseconds. - Weight::from_ref_time(36_315_742) + // Minimum execution time: 26_828 nanoseconds. + Weight::from_ref_time(37_445_730) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 3_256 - .saturating_add(Weight::from_ref_time(74_402).saturating_mul(r.into())) + // Standard Error: 3_748 + .saturating_add(Weight::from_ref_time(89_356).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +383,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `12647` - // Minimum execution time: 34_800 nanoseconds. - Weight::from_ref_time(36_365_541) + // Minimum execution time: 34_907 nanoseconds. + Weight::from_ref_time(39_038_074) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 1_633 - .saturating_add(Weight::from_ref_time(97_224).saturating_mul(r.into())) + // Standard Error: 1_394 + .saturating_add(Weight::from_ref_time(111_282).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -398,11 +400,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 23_200 nanoseconds. - Weight::from_ref_time(25_899_616) + // Minimum execution time: 22_573 nanoseconds. + Weight::from_ref_time(27_151_689) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 1_439 - .saturating_add(Weight::from_ref_time(105_106).saturating_mul(r.into())) + // Standard Error: 2_252 + .saturating_add(Weight::from_ref_time(158_454).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -415,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 22_700 nanoseconds. - Weight::from_ref_time(26_032_981) + // Minimum execution time: 23_016 nanoseconds. + Weight::from_ref_time(27_907_004) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 1_758 - .saturating_add(Weight::from_ref_time(117_057).saturating_mul(r.into())) + // Standard Error: 2_176 + .saturating_add(Weight::from_ref_time(139_740).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -433,8 +435,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3193` - // Minimum execution time: 25_100 nanoseconds. - Weight::from_ref_time(25_600_000) + // Minimum execution time: 25_484 nanoseconds. + Weight::from_ref_time(27_006_000) .saturating_add(Weight::from_proof_size(3193)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -447,8 +449,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3155` - // Minimum execution time: 22_900 nanoseconds. - Weight::from_ref_time(23_300_000) + // Minimum execution time: 23_426 nanoseconds. + Weight::from_ref_time(24_658_000) .saturating_add(Weight::from_proof_size(3155)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -463,8 +465,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4852` // Estimated: `19763` - // Minimum execution time: 52_900 nanoseconds. - Weight::from_ref_time(55_200_000) + // Minimum execution time: 51_763 nanoseconds. + Weight::from_ref_time(54_419_000) .saturating_add(Weight::from_proof_size(19763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -477,8 +479,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4786` // Estimated: `19725` - // Minimum execution time: 48_800 nanoseconds. - Weight::from_ref_time(51_200_000) + // Minimum execution time: 48_679 nanoseconds. + Weight::from_ref_time(50_773_000) .saturating_add(Weight::from_proof_size(19725)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -491,8 +493,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `2566` - // Minimum execution time: 20_500 nanoseconds. - Weight::from_ref_time(21_000_000) + // Minimum execution time: 20_922 nanoseconds. + Weight::from_ref_time(21_385_000) .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -505,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `5204` - // Minimum execution time: 25_300 nanoseconds. - Weight::from_ref_time(26_100_000) + // Minimum execution time: 26_033 nanoseconds. + Weight::from_ref_time(27_343_000) .saturating_add(Weight::from_proof_size(5204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/litentry/src/weights/pallet_drop3.rs b/runtime/litentry/src/weights/pallet_drop3.rs index 08ad4a1da3..3b97ee08ce 100644 --- a/runtime/litentry/src/weights/pallet_drop3.rs +++ b/runtime/litentry/src/weights/pallet_drop3.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,73 +48,126 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_drop3`. pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { - // Storage: Drop3 Admin (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:1) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn set_admin() -> Weight { - // Minimum execution time: 22_685 nanoseconds. - Weight::from_ref_time(23_314_000) + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `499` + // Minimum execution time: 12_442 nanoseconds. + Weight::from_ref_time(13_100_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) fn approve_reward_pool() -> Weight { - // Minimum execution time: 31_785 nanoseconds. - Weight::from_ref_time(32_359_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 22_109 nanoseconds. + Weight::from_ref_time(23_286_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn reject_reward_pool() -> Weight { - // Minimum execution time: 73_296 nanoseconds. - Weight::from_ref_time(74_455_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 66_344 nanoseconds. + Weight::from_ref_time(67_135_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn start_reward_pool() -> Weight { - // Minimum execution time: 31_916 nanoseconds. - Weight::from_ref_time(32_559_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 22_174 nanoseconds. + Weight::from_ref_time(23_095_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn stop_reward_pool() -> Weight { - // Minimum execution time: 33_502 nanoseconds. - Weight::from_ref_time(34_298_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 21_644 nanoseconds. + Weight::from_ref_time(22_792_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn close_reward_pool() -> Weight { - // Minimum execution time: 53_116 nanoseconds. - Weight::from_ref_time(54_015_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 40_729 nanoseconds. + Weight::from_ref_time(42_528_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: System Account (r:1 w:1) - // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) - // Storage: Drop3 RewardPools (r:0 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 CurrentMaxPoolId (r:1 w:1) + /// Proof Skipped: Drop3 CurrentMaxPoolId (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:0 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 16]`. fn propose_reward_pool(_n: u32, ) -> Weight { - // Minimum execution time: 44_560 nanoseconds. - Weight::from_ref_time(47_196_510) + // Proof Size summary in bytes: + // Measured: `137` + // Estimated: `3509` + // Minimum execution time: 36_480 nanoseconds. + Weight::from_ref_time(38_610_502) + .saturating_add(Weight::from_proof_size(3509)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn send_reward() -> Weight { - // Minimum execution time: 54_786 nanoseconds. - Weight::from_ref_time(56_109_000) + // Proof Size summary in bytes: + // Measured: `545` + // Estimated: `8226` + // Minimum execution time: 41_499 nanoseconds. + Weight::from_ref_time(42_853_000) + .saturating_add(Weight::from_proof_size(8226)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs index d74ee5ec3e..2a09c7c0a9 100644 --- a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,30 +48,42 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn block_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 29_413 nanoseconds. - Weight::from_ref_time(27_079_250) - // Standard Error: 60 - .saturating_add(Weight::from_ref_time(3_762).saturating_mul(p.into())) - // Standard Error: 60 - .saturating_add(Weight::from_ref_time(3_814).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `2584` + // Minimum execution time: 21_384 nanoseconds. + Weight::from_ref_time(19_918_229) + .saturating_add(Weight::from_proof_size(2584)) + // Standard Error: 48 + .saturating_add(Weight::from_ref_time(2_843).saturating_mul(p.into())) + // Standard Error: 48 + .saturating_add(Weight::from_ref_time(3_281).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 44_942 nanoseconds. - Weight::from_ref_time(28_101_445) - // Standard Error: 73 - .saturating_add(Weight::from_ref_time(17_724).saturating_mul(p.into())) - // Standard Error: 73 - .saturating_add(Weight::from_ref_time(17_918).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `145 + p * (1 ±0) + f * (1 ±0)` + // Estimated: `2621 + p * (1 ±0) + f * (1 ±0)` + // Minimum execution time: 39_110 nanoseconds. + Weight::from_ref_time(21_157_194) + .saturating_add(Weight::from_proof_size(2621)) + // Standard Error: 77 + .saturating_add(Weight::from_ref_time(19_630).saturating_mul(p.into())) + // Standard Error: 77 + .saturating_add(Weight::from_ref_time(19_778).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(p.into())) + .saturating_add(Weight::from_proof_size(1).saturating_mul(f.into())) } } diff --git a/runtime/litentry/src/weights/pallet_membership.rs b/runtime/litentry/src/weights/pallet_membership.rs index 9c3d0330f9..064e7f0901 100644 --- a/runtime/litentry/src/weights/pallet_membership.rs +++ b/runtime/litentry/src/weights/pallet_membership.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,95 +48,158 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - // Minimum execution time: 29_937 nanoseconds. - Weight::from_ref_time(30_695_132) - // Standard Error: 602 - .saturating_add(Weight::from_ref_time(54_801).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `275 + m * (64 ±0)` + // Estimated: `5017 + m * (192 ±0)` + // Minimum execution time: 23_391 nanoseconds. + Weight::from_ref_time(24_780_564) + .saturating_add(Weight::from_proof_size(5017)) + // Standard Error: 710 + .saturating_add(Weight::from_ref_time(46_482).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - // Minimum execution time: 33_692 nanoseconds. - Weight::from_ref_time(34_830_054) - // Standard Error: 864 - .saturating_add(Weight::from_ref_time(58_330).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `380 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 26_908 nanoseconds. + Weight::from_ref_time(28_622_103) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 602 + .saturating_add(Weight::from_ref_time(46_161).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - // Minimum execution time: 34_383 nanoseconds. - Weight::from_ref_time(35_310_628) - // Standard Error: 864 - .saturating_add(Weight::from_ref_time(74_057).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `380 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 27_236 nanoseconds. + Weight::from_ref_time(28_605_919) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 616 + .saturating_add(Weight::from_ref_time(65_625).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - // Minimum execution time: 33_414 nanoseconds. - Weight::from_ref_time(35_413_489) - // Standard Error: 1_495 - .saturating_add(Weight::from_ref_time(229_502).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `379 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 26_286 nanoseconds. + Weight::from_ref_time(28_795_896) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 1_053 + .saturating_add(Weight::from_ref_time(222_077).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:1) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - // Minimum execution time: 34_257 nanoseconds. - Weight::from_ref_time(35_837_154) - // Standard Error: 885 - .saturating_add(Weight::from_ref_time(68_947).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `379 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 27_789 nanoseconds. + Weight::from_ref_time(29_542_467) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 821 + .saturating_add(Weight::from_ref_time(63_007).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:0) - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:0) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - // Minimum execution time: 13_212 nanoseconds. - Weight::from_ref_time(13_879_624) - // Standard Error: 353 - .saturating_add(Weight::from_ref_time(11_728).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `139 + m * (32 ±0)` + // Estimated: `3837 + m * (32 ±0)` + // Minimum execution time: 11_553 nanoseconds. + Weight::from_ref_time(12_309_435) + .saturating_add(Weight::from_proof_size(3837)) + // Standard Error: 301 + .saturating_add(Weight::from_ref_time(13_790).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { - // Minimum execution time: 7_003 nanoseconds. - Weight::from_ref_time(7_428_416) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(2_074).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_326 nanoseconds. + Weight::from_ref_time(4_584_208) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 105 + .saturating_add(Weight::from_ref_time(1_211).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/litentry/src/weights/pallet_multisig.rs b/runtime/litentry/src/weights/pallet_multisig.rs index 69de23295c..de3b3d9484 100644 --- a/runtime/litentry/src/weights/pallet_multisig.rs +++ b/runtime/litentry/src/weights/pallet_multisig.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -49,80 +50,113 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - // Minimum execution time: 23_667 nanoseconds. - Weight::from_ref_time(24_200_346) - // Standard Error: 21 - .saturating_add(Weight::from_ref_time(1_337).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446 nanoseconds. + Weight::from_ref_time(19_515_327) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(682).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 64_451 nanoseconds. - Weight::from_ref_time(47_360_344) - // Standard Error: 1_734 - .saturating_add(Weight::from_ref_time(191_545).saturating_mul(s.into())) - // Standard Error: 17 - .saturating_add(Weight::from_ref_time(2_671).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `330 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 54_874 nanoseconds. + Weight::from_ref_time(41_063_124) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 995 + .saturating_add(Weight::from_ref_time(155_493).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_ref_time(2_233).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 50_918 nanoseconds. - Weight::from_ref_time(32_786_959) - // Standard Error: 1_952 - .saturating_add(Weight::from_ref_time(204_659).saturating_mul(s.into())) - // Standard Error: 19 - .saturating_add(Weight::from_ref_time(2_671).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 41_169 nanoseconds. + Weight::from_ref_time(29_220_130) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 834 + .saturating_add(Weight::from_ref_time(140_950).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(2_102).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) - // Storage: System Account (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 73_362 nanoseconds. - Weight::from_ref_time(55_499_490) - // Standard Error: 7_909 - .saturating_add(Weight::from_ref_time(279_569).saturating_mul(s.into())) - // Standard Error: 77 - .saturating_add(Weight::from_ref_time(2_402).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `484 + s * (33 ±0)` + // Estimated: `8424` + // Minimum execution time: 62_004 nanoseconds. + Weight::from_ref_time(46_947_380) + .saturating_add(Weight::from_proof_size(8424)) + // Standard Error: 1_356 + .saturating_add(Weight::from_ref_time(175_104).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_ref_time(2_250).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) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 43_712 nanoseconds. - Weight::from_ref_time(48_495_885) - // Standard Error: 5_020 - .saturating_add(Weight::from_ref_time(202_531).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `340 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 38_315 nanoseconds. + Weight::from_ref_time(40_588_773) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_044 + .saturating_add(Weight::from_ref_time(156_535).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 32_241 nanoseconds. - Weight::from_ref_time(34_260_852) - // Standard Error: 2_556 - .saturating_add(Weight::from_ref_time(190_679).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 25_055 nanoseconds. + Weight::from_ref_time(26_786_462) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 923 + .saturating_add(Weight::from_ref_time(143_624).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 46_329 nanoseconds. - Weight::from_ref_time(47_829_291) - // Standard Error: 2_918 - .saturating_add(Weight::from_ref_time(230_696).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `549 + s * (1 ±0)` + // Estimated: `5821` + // Minimum execution time: 39_569 nanoseconds. + Weight::from_ref_time(42_256_532) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_094 + .saturating_add(Weight::from_ref_time(142_273).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/pallet_parachain_staking.rs b/runtime/litentry/src/weights/pallet_parachain_staking.rs index 23ce4d79f3..27b30d5ed5 100644 --- a/runtime/litentry/src/weights/pallet_parachain_staking.rs +++ b/runtime/litentry/src/weights/pallet_parachain_staking.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_parachain_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `25`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `25`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,387 +48,670 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_parachain_staking`. pub struct WeightInfo(PhantomData); impl pallet_parachain_staking::WeightInfo for WeightInfo { - // Storage: ParachainStaking Candidates (r:1 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:1) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `x` is `[1, 100]`. fn add_candidates_whitelist(x: u32, ) -> Weight { - // Minimum execution time: 24_852 nanoseconds. - Weight::from_ref_time(28_668_528) - // Standard Error: 5_919 - .saturating_add(Weight::from_ref_time(270_624).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `335 + x * (32 ±0)` + // Estimated: `819 + x * (32 ±0)` + // Minimum execution time: 18_654 nanoseconds. + Weight::from_ref_time(24_044_309) + .saturating_add(Weight::from_proof_size(819)) + // Standard Error: 4_021 + .saturating_add(Weight::from_ref_time(85_361).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(x.into())) } - // Storage: ParachainStaking Candidates (r:1 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:1) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `x` is `[1, 100]`. fn remove_candidates_whitelist(x: u32, ) -> Weight { - // Minimum execution time: 24_930 nanoseconds. - Weight::from_ref_time(32_913_345) - // Standard Error: 9_708 - .saturating_add(Weight::from_ref_time(217_792).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `367 + x * (32 ±0)` + // Estimated: `851 + x * (32 ±0)` + // Minimum execution time: 19_009 nanoseconds. + Weight::from_ref_time(22_517_098) + .saturating_add(Weight::from_proof_size(851)) + // Standard Error: 2_859 + .saturating_add(Weight::from_ref_time(96_371).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(x.into())) } - // Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_staking_expectations() -> Weight { - // Minimum execution time: 26_932 nanoseconds. - Weight::from_ref_time(33_141_000) + // Proof Size summary in bytes: + // Measured: `355` + // Estimated: `850` + // Minimum execution time: 20_033 nanoseconds. + Weight::from_ref_time(21_216_000) + .saturating_add(Weight::from_proof_size(850)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking InflationConfig (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn set_inflation() -> Weight { - // Minimum execution time: 80_196 nanoseconds. - Weight::from_ref_time(81_786_000) + // Proof Size summary in bytes: + // Measured: `391` + // Estimated: `1772` + // Minimum execution time: 72_317 nanoseconds. + Weight::from_ref_time(74_433_000) + .saturating_add(Weight::from_proof_size(1772)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_account() -> Weight { - // Minimum execution time: 25_718 nanoseconds. - Weight::from_ref_time(27_387_000) + // Proof Size summary in bytes: + // Measured: `323` + // Estimated: `818` + // Minimum execution time: 19_533 nanoseconds. + Weight::from_ref_time(19_979_000) + .saturating_add(Weight::from_proof_size(818)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_reserve_percent() -> Weight { - // Minimum execution time: 24_516 nanoseconds. - Weight::from_ref_time(25_675_000) + // Proof Size summary in bytes: + // Measured: `323` + // Estimated: `818` + // Minimum execution time: 20_187 nanoseconds. + Weight::from_ref_time(20_814_000) + .saturating_add(Weight::from_proof_size(818)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking TotalSelected (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking TotalSelected (r:1 w:1) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn set_total_selected() -> Weight { - // Minimum execution time: 25_818 nanoseconds. - Weight::from_ref_time(26_574_000) + // Proof Size summary in bytes: + // Measured: `272` + // Estimated: `1534` + // Minimum execution time: 18_394 nanoseconds. + Weight::from_ref_time(19_238_000) + .saturating_add(Weight::from_proof_size(1534)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking CollatorCommission (r:1 w:1) + /// Storage: ParachainStaking CollatorCommission (r:1 w:1) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) fn set_collator_commission() -> Weight { - // Minimum execution time: 23_825 nanoseconds. - Weight::from_ref_time(24_972_000) + // Proof Size summary in bytes: + // Measured: `263` + // Estimated: `758` + // Minimum execution time: 18_610 nanoseconds. + Weight::from_ref_time(19_470_000) + .saturating_add(Weight::from_proof_size(758)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking Round (r:1 w:1) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Storage: ParachainStaking Round (r:1 w:1) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_blocks_per_round() -> Weight { - // Minimum execution time: 33_717 nanoseconds. - Weight::from_ref_time(34_481_000) + // Proof Size summary in bytes: + // Measured: `391` + // Estimated: `2658` + // Minimum execution time: 29_601 nanoseconds. + Weight::from_ref_time(30_253_000) + .saturating_add(Weight::from_proof_size(2658)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking Candidates (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:0 w:1) - // Storage: ParachainStaking BottomDelegations (r:0 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:0) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegatorState (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:0 w:1) + /// 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 { - // Minimum execution time: 64_452 nanoseconds. - Weight::from_ref_time(76_529_991) - // Standard Error: 2_523 - .saturating_add(Weight::from_ref_time(263_542).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1489 + x * (80 ±0)` + // Estimated: `18334 + x * (567 ±0)` + // Minimum execution time: 60_140 nanoseconds. + Weight::from_ref_time(64_561_524) + .saturating_add(Weight::from_proof_size(18334)) + // Standard Error: 3_283 + .saturating_add(Weight::from_ref_time(194_067).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + .saturating_add(Weight::from_proof_size(567).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 Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), 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 { - // Minimum execution time: 42_519 nanoseconds. - Weight::from_ref_time(58_204_116) - // Standard Error: 3_308 - .saturating_add(Weight::from_ref_time(189_432).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1309 + x * (48 ±0)` + // Estimated: `7074 + x * (147 ±0)` + // Minimum execution time: 32_987 nanoseconds. + Weight::from_ref_time(29_154_112) + .saturating_add(Weight::from_proof_size(7074)) + // Standard Error: 2_378 + .saturating_add(Weight::from_ref_time(155_634).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + .saturating_add(Weight::from_proof_size(147).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 Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1200 w:1200) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1199 w:1199) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (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) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// 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, 1200]`. fn execute_leave_candidates(x: u32, ) -> Weight { - // Minimum execution time: 138_366 nanoseconds. - Weight::from_ref_time(139_990_000) - // Standard Error: 796_018 - .saturating_add(Weight::from_ref_time(62_971_561).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `425 + x * (511 ±0)` + // Estimated: `20491 + x * (9159 ±0)` + // Minimum execution time: 127_982 nanoseconds. + Weight::from_ref_time(129_578_000) + .saturating_add(Weight::from_proof_size(20491)) + // Standard Error: 742_092 + .saturating_add(Weight::from_ref_time(64_371_737).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(9159).saturating_mul(x.into())) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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 { - // Minimum execution time: 38_464 nanoseconds. - Weight::from_ref_time(47_083_350) - // Standard Error: 2_835 - .saturating_add(Weight::from_ref_time(213_638).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1229 + x * (48 ±0)` + // Estimated: `5216 + x * (98 ±0)` + // Minimum execution time: 29_487 nanoseconds. + Weight::from_ref_time(23_545_910) + .saturating_add(Weight::from_proof_size(5216)) + // Standard Error: 3_040 + .saturating_add(Weight::from_ref_time(154_209).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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) fn go_offline() -> Weight { - // Minimum execution time: 35_346 nanoseconds. - Weight::from_ref_time(36_123_000) + // Proof Size summary in bytes: + // Measured: `629` + // Estimated: `4228` + // Minimum execution time: 28_459 nanoseconds. + Weight::from_ref_time(30_455_000) + .saturating_add(Weight::from_proof_size(4228)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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) fn go_online() -> Weight { - // Minimum execution time: 34_523 nanoseconds. - Weight::from_ref_time(35_969_000) + // Proof Size summary in bytes: + // Measured: `547` + // Estimated: `4064` + // Minimum execution time: 27_983 nanoseconds. + Weight::from_ref_time(28_905_000) + .saturating_add(Weight::from_proof_size(4064)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), 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) fn candidate_bond_more() -> Weight { - // Minimum execution time: 54_002 nanoseconds. - Weight::from_ref_time(55_207_000) + // Proof Size summary in bytes: + // Measured: `767` + // Estimated: `8369` + // Minimum execution time: 49_089 nanoseconds. + Weight::from_ref_time(50_952_000) + .saturating_add(Weight::from_proof_size(8369)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_candidate_bond_less() -> Weight { - // Minimum execution time: 32_351 nanoseconds. - Weight::from_ref_time(36_995_000) + // Proof Size summary in bytes: + // Measured: `559` + // Estimated: `4088` + // Minimum execution time: 25_765 nanoseconds. + Weight::from_ref_time(27_194_000) + .saturating_add(Weight::from_proof_size(4088)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), 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) fn execute_candidate_bond_less() -> Weight { - // Minimum execution time: 82_824 nanoseconds. - Weight::from_ref_time(87_197_000) + // Proof Size summary in bytes: + // Measured: `926` + // Estimated: `10267` + // Minimum execution time: 70_151 nanoseconds. + Weight::from_ref_time(74_252_000) + .saturating_add(Weight::from_proof_size(10267)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) fn cancel_candidate_bond_less() -> Weight { - // Minimum execution time: 30_286 nanoseconds. - Weight::from_ref_time(31_462_000) + // Proof Size summary in bytes: + // Measured: `543` + // Estimated: `3018` + // Minimum execution time: 22_580 nanoseconds. + Weight::from_ref_time(24_102_000) + .saturating_add(Weight::from_proof_size(3018)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn schedule_leave_delegators() -> Weight { - // Minimum execution time: 38_603 nanoseconds. - Weight::from_ref_time(43_125_000) + // Proof Size summary in bytes: + // Measured: `594` + // Estimated: `7227` + // Minimum execution time: 31_510 nanoseconds. + Weight::from_ref_time(33_252_000) + .saturating_add(Weight::from_proof_size(7227)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:99 w:99) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:99 w:99) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:99 w:99) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) /// The range of component `x` is `[2, 100]`. fn execute_leave_delegators(x: u32, ) -> Weight { - // Minimum execution time: 120_284 nanoseconds. - Weight::from_ref_time(283_589) - // Standard Error: 61_220 - .saturating_add(Weight::from_ref_time(37_966_335).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `719 + x * (554 ±0)` + // Estimated: `24915 + x * (14004 ±0)` + // Minimum execution time: 106_089 nanoseconds. + Weight::from_ref_time(108_108_000) + .saturating_add(Weight::from_proof_size(24915)) + // Standard Error: 98_923 + .saturating_add(Weight::from_ref_time(43_680_702).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(1)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(14004).saturating_mul(x.into())) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_leave_delegators() -> Weight { - // Minimum execution time: 40_976 nanoseconds. - Weight::from_ref_time(41_950_000) + // Proof Size summary in bytes: + // Measured: `750` + // Estimated: `6450` + // Minimum execution time: 34_475 nanoseconds. + Weight::from_ref_time(36_363_000) + .saturating_add(Weight::from_proof_size(6450)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_revoke_delegation() -> Weight { - // Minimum execution time: 38_863 nanoseconds. - Weight::from_ref_time(41_811_000) + // Proof Size summary in bytes: + // Measured: `594` + // Estimated: `7227` + // Minimum execution time: 31_326 nanoseconds. + Weight::from_ref_time(32_872_000) + .saturating_add(Weight::from_proof_size(7227)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn delegator_bond_more() -> Weight { - // Minimum execution time: 74_203 nanoseconds. - Weight::from_ref_time(83_761_000) + // Proof Size summary in bytes: + // Measured: `1181` + // Estimated: `20579` + // Minimum execution time: 74_233 nanoseconds. + Weight::from_ref_time(78_920_000) + .saturating_add(Weight::from_proof_size(20579)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_delegator_bond_less() -> Weight { - // Minimum execution time: 39_720 nanoseconds. - Weight::from_ref_time(44_629_000) + // Proof Size summary in bytes: + // Measured: `594` + // Estimated: `7227` + // Minimum execution time: 31_248 nanoseconds. + Weight::from_ref_time(32_957_000) + .saturating_add(Weight::from_proof_size(7227)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_revoke_delegation() -> Weight { - // Minimum execution time: 120_820 nanoseconds. - Weight::from_ref_time(125_646_000) + // Proof Size summary in bytes: + // Measured: `1486` + // Estimated: `28351` + // Minimum execution time: 110_271 nanoseconds. + Weight::from_ref_time(114_638_000) + .saturating_add(Weight::from_proof_size(28351)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_delegator_bond_less() -> Weight { - // Minimum execution time: 110_515 nanoseconds. - Weight::from_ref_time(114_600_000) + // Proof Size summary in bytes: + // Measured: `1440` + // Estimated: `24068` + // Minimum execution time: 98_554 nanoseconds. + Weight::from_ref_time(102_272_000) + .saturating_add(Weight::from_proof_size(24068)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_revoke_delegation() -> Weight { - // Minimum execution time: 40_021 nanoseconds. - Weight::from_ref_time(42_441_000) + // Proof Size summary in bytes: + // Measured: `750` + // Estimated: `6450` + // Minimum execution time: 31_271 nanoseconds. + Weight::from_ref_time(32_627_000) + .saturating_add(Weight::from_proof_size(6450)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_delegator_bond_less() -> Weight { - // Minimum execution time: 63_519 nanoseconds. - Weight::from_ref_time(67_751_000) + // Proof Size summary in bytes: + // Measured: `816` + // Estimated: `6582` + // Minimum execution time: 43_163 nanoseconds. + Weight::from_ref_time(45_558_000) + .saturating_add(Weight::from_proof_size(6582)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking Round (r:1 w:1) - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking Staked (r:1 w:2) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Storage: BridgeTransfer ExternalBalances (r:1 w:0) - // Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - // Storage: ParachainStaking CollatorCommission (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:0) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:8 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:8 w:0) - // Storage: ParachainStaking TopDelegations (r:8 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:8 w:0) - // Storage: ParachainStaking Total (r:1 w:0) - // Storage: ParachainStaking AwardedPts (r:2 w:1) - // Storage: ParachainStaking AtStake (r:1 w:9) - // Storage: System Account (r:1001 w:1001) - // Storage: ParachainStaking SelectedCandidates (r:0 w:1) - // Storage: ParachainStaking DelayedPayouts (r:0 w:1) + /// Storage: ParachainStaking Round (r:1 w:1) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Staked (r:1 w:2) + /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:0) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:0) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CollatorCommission (r:1 w:0) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:0) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:99 w:0) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:99 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:0) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AwardedPts (r:2 w:1) + /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:1 w:100) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) + /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) /// The range of component `x` is `[8, 100]`. /// The range of component `y` is `[0, 5000]`. fn round_transition_on_initialize(x: u32, y: u32, ) -> Weight { - // Minimum execution time: 1_331_316 nanoseconds. - Weight::from_ref_time(3_624_163_883) - // Standard Error: 75_970 - .saturating_add(Weight::from_ref_time(12_882).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(212)) + // Proof Size summary in bytes: + // Measured: `4120 + x * (328 ±0) + y * (47 ±0)` + // Estimated: `1374617 + y * (828 ±0) + x * (9552 ±51)` + // Minimum execution time: 1_081_426 nanoseconds. + Weight::from_ref_time(4_139_558_406) + .saturating_add(Weight::from_proof_size(1374617)) + .saturating_add(T::DbWeight::get().reads(211)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(206)) - } - // Storage: ParachainStaking DelayedPayouts (r:1 w:0) - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking AwardedPts (r:2 w:1) - // Storage: ParachainStaking AtStake (r:1 w:1) - // Storage: System Account (r:1 w:1) + .saturating_add(Weight::from_proof_size(828).saturating_mul(y.into())) + .saturating_add(Weight::from_proof_size(9552).saturating_mul(x.into())) + } + /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AwardedPts (r:2 w:1) + /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:1 w:1) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1001 w:1001) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `y` is `[0, 1000]`. fn pay_one_collator_reward(y: u32, ) -> Weight { - // Minimum execution time: 58_857 nanoseconds. - Weight::from_ref_time(59_615_000) - // Standard Error: 63_184 - .saturating_add(Weight::from_ref_time(17_375_450).saturating_mul(y.into())) + // Proof Size summary in bytes: + // Measured: `424 + y * (217 ±0)` + // Estimated: `17014 + y * (3471 ±0)` + // Minimum execution time: 51_917 nanoseconds. + Weight::from_ref_time(53_361_000) + .saturating_add(Weight::from_proof_size(17014)) + // Standard Error: 24_390 + .saturating_add(Weight::from_ref_time(20_089_727).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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into()))) + .saturating_add(Weight::from_proof_size(3471).saturating_mul(y.into())) } - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn base_on_initialize() -> Weight { - // Minimum execution time: 7_113 nanoseconds. - Weight::from_ref_time(7_523_000) + // Proof Size summary in bytes: + // Measured: `414` + // Estimated: `909` + // Minimum execution time: 7_106 nanoseconds. + Weight::from_ref_time(7_516_000) + .saturating_add(Weight::from_proof_size(909)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + /// 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, 1000]`. /// The range of component `y` is `[0, 100]`. - fn set_auto_compound(x: u32, _y: u32, ) -> Weight { - // Minimum execution time: 68_324 nanoseconds. - Weight::from_ref_time(89_689_210) - // Standard Error: 2_171 - .saturating_add(Weight::from_ref_time(136_208).saturating_mul(x.into())) + fn set_auto_compound(x: u32, y: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1303 + x * (33 ±0) + y * (48 ±0)` + // Estimated: `7216 + x * (68 ±0) + y * (98 ±0)` + // Minimum execution time: 40_171 nanoseconds. + Weight::from_ref_time(48_276_924) + .saturating_add(Weight::from_proof_size(7216)) + // Standard Error: 1_832 + .saturating_add(Weight::from_ref_time(105_505).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) + .saturating_add(Weight::from_proof_size(68).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(98).saturating_mul(y.into())) + } + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (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) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// 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) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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 `[0, 1200]`. /// The range of component `y` is `[0, 1200]`. /// The range of component `z` is `[0, 100]`. - fn delegate_with_auto_compound(x: u32, y: u32, _z: u32, ) -> Weight { - // Minimum execution time: 127_213 nanoseconds. - Weight::from_ref_time(130_450_000) - // Standard Error: 2_889 - .saturating_add(Weight::from_ref_time(95_570).saturating_mul(x.into())) - // Standard Error: 2_889 - .saturating_add(Weight::from_ref_time(92_525).saturating_mul(y.into())) + fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + x * (81 ±0) + y * (33 ±0) + z * (55 ±0)` + // Estimated: `81864 + x * (212 ±0) + y * (163 ±0) + z * (32 ±0)` + // Minimum execution time: 108_868 nanoseconds. + Weight::from_ref_time(110_157_000) + .saturating_add(Weight::from_proof_size(81864)) + // Standard Error: 2_716 + .saturating_add(Weight::from_ref_time(64_442).saturating_mul(x.into())) + // Standard Error: 2_716 + .saturating_add(Weight::from_ref_time(80_492).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_proof_size(212).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(163).saturating_mul(y.into())) + .saturating_add(Weight::from_proof_size(32).saturating_mul(z.into())) } } diff --git a/runtime/litentry/src/weights/pallet_preimage.rs b/runtime/litentry/src/weights/pallet_preimage.rs index 53104acbad..996790d7e7 100644 --- a/runtime/litentry/src/weights/pallet_preimage.rs +++ b/runtime/litentry/src/weights/pallet_preimage.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,102 +48,168 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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_preimage(s: u32, ) -> Weight { - // Minimum execution time: 42_790 nanoseconds. - Weight::from_ref_time(43_641_000) + // Proof Size summary in bytes: + // Measured: `175` + // Estimated: `2566` + // Minimum execution time: 36_822 nanoseconds. + Weight::from_ref_time(37_362_000) + .saturating_add(Weight::from_proof_size(2566)) // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_958).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(3_434).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 30_584 nanoseconds. - Weight::from_ref_time(31_275_000) - // Standard Error: 15 - .saturating_add(Weight::from_ref_time(4_096).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 22_263 nanoseconds. + Weight::from_ref_time(23_177_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(3_404).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 28_176 nanoseconds. - Weight::from_ref_time(29_184_000) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(3_973).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 21_356 nanoseconds. + Weight::from_ref_time(22_127_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_407).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_preimage() -> Weight { - // Minimum execution time: 88_098 nanoseconds. - Weight::from_ref_time(94_536_000) + // Proof Size summary in bytes: + // Measured: `353` + // Estimated: `2566` + // Minimum execution time: 58_133 nanoseconds. + Weight::from_ref_time(62_699_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_no_deposit_preimage() -> Weight { - // Minimum execution time: 68_711 nanoseconds. - Weight::from_ref_time(75_624_000) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 40_682 nanoseconds. + Weight::from_ref_time(44_683_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { - // Minimum execution time: 66_625 nanoseconds. - Weight::from_ref_time(71_425_000) + // Proof Size summary in bytes: + // Measured: `220` + // Estimated: `2566` + // Minimum execution time: 37_463 nanoseconds. + Weight::from_ref_time(40_211_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_no_deposit_preimage() -> Weight { - // Minimum execution time: 40_143 nanoseconds. - Weight::from_ref_time(44_318_000) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 25_166 nanoseconds. + Weight::from_ref_time(28_596_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_unnoted_preimage() -> Weight { - // Minimum execution time: 47_012 nanoseconds. - Weight::from_ref_time(49_915_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `2566` + // Minimum execution time: 26_420 nanoseconds. + Weight::from_ref_time(30_292_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_requested_preimage() -> Weight { - // Minimum execution time: 16_412 nanoseconds. - Weight::from_ref_time(17_175_000) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 15_083 nanoseconds. + Weight::from_ref_time(16_993_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unrequest_preimage() -> Weight { - // Minimum execution time: 63_618 nanoseconds. - Weight::from_ref_time(68_992_000) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 39_809 nanoseconds. + Weight::from_ref_time(43_414_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_unnoted_preimage() -> Weight { - // Minimum execution time: 15_793 nanoseconds. - Weight::from_ref_time(16_947_000) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 13_602 nanoseconds. + Weight::from_ref_time(15_182_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_multi_referenced_preimage() -> Weight { - // Minimum execution time: 15_409 nanoseconds. - Weight::from_ref_time(16_094_000) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 13_989 nanoseconds. + Weight::from_ref_time(15_219_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/pallet_proxy.rs b/runtime/litentry/src/weights/pallet_proxy.rs index 7236178d44..cc70151167 100644 --- a/runtime/litentry/src/weights/pallet_proxy.rs +++ b/runtime/litentry/src/weights/pallet_proxy.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,117 +48,172 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - // Storage: Proxy Proxies (r:1 w:0) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 28_376 nanoseconds. - Weight::from_ref_time(29_632_866) - // Standard Error: 2_536 - .saturating_add(Weight::from_ref_time(71_489).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `122 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 19_117 nanoseconds. + Weight::from_ref_time(20_405_600) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_555 + .saturating_add(Weight::from_ref_time(48_971).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: Proxy Proxies (r:1 w:0) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 53_507 nanoseconds. - Weight::from_ref_time(56_025_574) - // Standard Error: 9_582 - .saturating_add(Weight::from_ref_time(238_014).saturating_mul(a.into())) - // Standard Error: 9_908 - .saturating_add(Weight::from_ref_time(26_690).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `476 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 44_591 nanoseconds. + Weight::from_ref_time(46_999_525) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 2_934 + .saturating_add(Weight::from_ref_time(234_551).saturating_mul(a.into())) + // Standard Error: 3_033 + .saturating_add(Weight::from_ref_time(14_086).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) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { - // Minimum execution time: 36_815 nanoseconds. - Weight::from_ref_time(43_353_002) - // Standard Error: 10_341 - .saturating_add(Weight::from_ref_time(193_909).saturating_mul(a.into())) + // Proof Size summary in bytes: + // Measured: `359 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 27_611 nanoseconds. + Weight::from_ref_time(30_009_367) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 1_698 + .saturating_add(Weight::from_ref_time(219_360).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 37_074 nanoseconds. - Weight::from_ref_time(39_320_588) - // Standard Error: 3_186 - .saturating_add(Weight::from_ref_time(179_143).saturating_mul(a.into())) + // Proof Size summary in bytes: + // Measured: `359 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 27_181 nanoseconds. + Weight::from_ref_time(29_174_066) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 2_021 + .saturating_add(Weight::from_ref_time(237_336).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) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 47_171 nanoseconds. - Weight::from_ref_time(51_525_961) - // Standard Error: 5_207 - .saturating_add(Weight::from_ref_time(187_797).saturating_mul(a.into())) - // Standard Error: 5_384 - .saturating_add(Weight::from_ref_time(5_007).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `408 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 40_409 nanoseconds. + Weight::from_ref_time(41_855_794) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 2_392 + .saturating_add(Weight::from_ref_time(214_846).saturating_mul(a.into())) + // Standard Error: 2_474 + .saturating_add(Weight::from_ref_time(45_472).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 40_332 nanoseconds. - Weight::from_ref_time(41_632_690) - // Standard Error: 4_538 - .saturating_add(Weight::from_ref_time(125_468).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `122 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 29_651 nanoseconds. + Weight::from_ref_time(30_830_480) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_863 + .saturating_add(Weight::from_ref_time(86_629).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 39_277 nanoseconds. - Weight::from_ref_time(42_203_419) - // Standard Error: 7_006 - .saturating_add(Weight::from_ref_time(103_600).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `122 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 29_215 nanoseconds. + Weight::from_ref_time(30_764_189) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 2_452 + .saturating_add(Weight::from_ref_time(105_318).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 34_349 nanoseconds. - Weight::from_ref_time(36_255_822) - // Standard Error: 2_917 - .saturating_add(Weight::from_ref_time(52_287).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `122 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 23_300 nanoseconds. + Weight::from_ref_time(24_514_767) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_443 + .saturating_add(Weight::from_ref_time(49_032).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - // Storage: Proxy Proxies (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 42_658 nanoseconds. - Weight::from_ref_time(44_120_132) - // Standard Error: 2_530 - .saturating_add(Weight::from_ref_time(50_321).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `102` + // Estimated: `3716` + // Minimum execution time: 32_045 nanoseconds. + Weight::from_ref_time(33_802_977) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_963 + .saturating_add(Weight::from_ref_time(7_054).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - // Minimum execution time: 36_004 nanoseconds. - Weight::from_ref_time(37_650_930) - // Standard Error: 3_145 - .saturating_add(Weight::from_ref_time(89_443).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `159 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 24_700 nanoseconds. + Weight::from_ref_time(25_679_217) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_840 + .saturating_add(Weight::from_ref_time(51_851).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litentry/src/weights/pallet_scheduler.rs b/runtime/litentry/src/weights/pallet_scheduler.rs index 135fd9d794..3b1127abb6 100644 --- a/runtime/litentry/src/weights/pallet_scheduler.rs +++ b/runtime/litentry/src/weights/pallet_scheduler.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,96 +48,157 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler IncompleteSince (r:1 w:1) + /// Storage: Scheduler IncompleteSince (r:1 w:1) + /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn service_agendas_base() -> Weight { - // Minimum execution time: 5_446 nanoseconds. - Weight::from_ref_time(5_601_000) + // Proof Size summary in bytes: + // Measured: `31` + // Estimated: `499` + // Minimum execution time: 4_604 nanoseconds. + Weight::from_ref_time(4_840_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 4_843 nanoseconds. - Weight::from_ref_time(8_125_252) - // Standard Error: 3_047 - .saturating_add(Weight::from_ref_time(1_028_151).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 3_946 nanoseconds. + Weight::from_ref_time(8_412_327) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 3_595 + .saturating_add(Weight::from_ref_time(1_102_807).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { - // Minimum execution time: 13_549 nanoseconds. - Weight::from_ref_time(13_910_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_568 nanoseconds. + Weight::from_ref_time(7_978_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) + /// 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 { - // Minimum execution time: 30_449 nanoseconds. - Weight::from_ref_time(30_723_000) - // Standard Error: 9 - .saturating_add(Weight::from_ref_time(2_290).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `211 + s * (1 ±0)` + // Estimated: `5251 + s * (1 ±0)` + // Minimum execution time: 27_866 nanoseconds. + Weight::from_ref_time(28_410_000) + .saturating_add(Weight::from_proof_size(5251)) + // Standard Error: 19 + .saturating_add(Weight::from_ref_time(1_908).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(s.into())) } - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn service_task_named() -> Weight { - // Minimum execution time: 15_322 nanoseconds. - Weight::from_ref_time(16_122_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_688 nanoseconds. + Weight::from_ref_time(10_103_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 13_584 nanoseconds. - Weight::from_ref_time(14_592_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_625 nanoseconds. + Weight::from_ref_time(7_904_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 5_858 nanoseconds. - Weight::from_ref_time(6_069_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_288 nanoseconds. + Weight::from_ref_time(3_435_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 5_822 nanoseconds. - Weight::from_ref_time(6_061_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_256 nanoseconds. + Weight::from_ref_time(3_348_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 24_431 nanoseconds. - Weight::from_ref_time(31_905_230) - // Standard Error: 10_504 - .saturating_add(Weight::from_ref_time(1_048_195).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 17_234 nanoseconds. + Weight::from_ref_time(21_988_714) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 4_449 + .saturating_add(Weight::from_ref_time(1_133_902).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) - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 29_694 nanoseconds. - Weight::from_ref_time(31_874_225) - // Standard Error: 10_043 - .saturating_add(Weight::from_ref_time(1_786_001).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 24_388 nanoseconds. + Weight::from_ref_time(23_787_336) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 3_380 + .saturating_add(Weight::from_ref_time(1_935_582).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 28_095 nanoseconds. - Weight::from_ref_time(33_432_230) - // Standard Error: 11_630 - .saturating_add(Weight::from_ref_time(1_258_262).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `262 + s * (186 ±0)` + // Estimated: `43961` + // Minimum execution time: 21_417 nanoseconds. + Weight::from_ref_time(27_717_041) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 5_559 + .saturating_add(Weight::from_ref_time(1_172_326).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 31_972 nanoseconds. - Weight::from_ref_time(37_033_101) - // Standard Error: 15_385 - .saturating_add(Weight::from_ref_time(1_713_374).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `314 + s * (185 ±0)` + // Estimated: `43961` + // Minimum execution time: 26_105 nanoseconds. + Weight::from_ref_time(25_961_690) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 3_901 + .saturating_add(Weight::from_ref_time(1_987_362).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litentry/src/weights/pallet_session.rs b/runtime/litentry/src/weights/pallet_session.rs index 2a10e27b8e..570bec94d5 100644 --- a/runtime/litentry/src/weights/pallet_session.rs +++ b/runtime/litentry/src/weights/pallet_session.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,19 +48,31 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:1 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:1 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { - // Minimum execution time: 30_267 nanoseconds. - Weight::from_ref_time(31_390_000) + // Proof Size summary in bytes: + // Measured: `270` + // Estimated: `5490` + // Minimum execution time: 22_823 nanoseconds. + Weight::from_ref_time(23_769_000) + .saturating_add(Weight::from_proof_size(5490)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:0 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:0 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { - // Minimum execution time: 24_621 nanoseconds. - Weight::from_ref_time(25_305_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2959` + // Minimum execution time: 16_723 nanoseconds. + Weight::from_ref_time(17_540_000) + .saturating_add(Weight::from_proof_size(2959)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litentry/src/weights/pallet_timestamp.rs b/runtime/litentry/src/weights/pallet_timestamp.rs index 98be056220..fb7af3ac12 100644 --- a/runtime/litentry/src/weights/pallet_timestamp.rs +++ b/runtime/litentry/src/weights/pallet_timestamp.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -47,15 +48,24 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:1) + /// Storage: Timestamp Now (r:1 w:1) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { - // Minimum execution time: 10_360 nanoseconds. - Weight::from_ref_time(10_687_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `503` + // Minimum execution time: 9_333 nanoseconds. + Weight::from_ref_time(9_642_000) + .saturating_add(Weight::from_proof_size(503)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - // Minimum execution time: 5_630 nanoseconds. - Weight::from_ref_time(5_809_000) + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 6_164 nanoseconds. + Weight::from_ref_time(6_507_000) + .saturating_add(Weight::from_proof_size(0)) } } diff --git a/runtime/litentry/src/weights/pallet_treasury.rs b/runtime/litentry/src/weights/pallet_treasury.rs index 1bcc49df21..1138d24bbb 100644 --- a/runtime/litentry/src/weights/pallet_treasury.rs +++ b/runtime/litentry/src/weights/pallet_treasury.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -48,57 +49,94 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - // Minimum execution time: 200 nanoseconds. - Weight::from_ref_time(248_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 302 nanoseconds. + Weight::from_ref_time(342_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Treasury ProposalCount (r:1 w:1) - // Storage: Treasury Proposals (r:0 w:1) + /// Storage: Treasury ProposalCount (r:1 w:1) + /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:0 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { - // Minimum execution time: 39_258 nanoseconds. - Weight::from_ref_time(40_334_000) + // Proof Size summary in bytes: + // Measured: `213` + // Estimated: `499` + // Minimum execution time: 33_455 nanoseconds. + Weight::from_ref_time(34_908_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Treasury Proposals (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Treasury Proposals (r:1 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { - // Minimum execution time: 56_381 nanoseconds. - Weight::from_ref_time(57_699_000) + // Proof Size summary in bytes: + // Measured: `538` + // Estimated: `7789` + // Minimum execution time: 51_635 nanoseconds. + Weight::from_ref_time(53_614_000) + .saturating_add(Weight::from_proof_size(7789)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Treasury Proposals (r:1 w:0) - // Storage: Treasury Approvals (r:1 w:1) + /// 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 { - // Minimum execution time: 15_332 nanoseconds. - Weight::from_ref_time(18_791_408) - // Standard Error: 4_184 - .saturating_add(Weight::from_ref_time(200_558).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `517 + p * (9 ±0)` + // Estimated: `3480` + // Minimum execution time: 13_999 nanoseconds. + Weight::from_ref_time(17_922_472) + .saturating_add(Weight::from_proof_size(3480)) + // Standard Error: 1_689 + .saturating_add(Weight::from_ref_time(87_033).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) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn remove_approval() -> Weight { - // Minimum execution time: 12_968 nanoseconds. - Weight::from_ref_time(13_422_000) + // Proof Size summary in bytes: + // Measured: `165` + // Estimated: `897` + // Minimum execution time: 10_940 nanoseconds. + Weight::from_ref_time(11_316_000) + .saturating_add(Weight::from_proof_size(897)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:0) - // Storage: Treasury Deactivated (r:1 w:1) - // Storage: Balances InactiveIssuance (r:1 w:1) - // Storage: Treasury Approvals (r:1 w:1) - // Storage: Treasury Proposals (r:5 w:5) + /// Storage: System Account (r:201 w:201) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Treasury Deactivated (r:1 w:1) + /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:1) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:100 w:100) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - // Minimum execution time: 47_202 nanoseconds. - Weight::from_ref_time(76_478_704) - // Standard Error: 444_035 - .saturating_add(Weight::from_ref_time(38_780_498).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `129 + p * (315 ±0)` + // Estimated: `4522 + p * (7789 ±0)` + // Minimum execution time: 40_484 nanoseconds. + Weight::from_ref_time(43_249_059) + .saturating_add(Weight::from_proof_size(4522)) + // Standard Error: 31_007 + .saturating_add(Weight::from_ref_time(47_397_350).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7789).saturating_mul(p.into())) } } diff --git a/runtime/litentry/src/weights/pallet_utility.rs b/runtime/litentry/src/weights/pallet_utility.rs index 5845aba250..96cdb30be9 100644 --- a/runtime/litentry/src/weights/pallet_utility.rs +++ b/runtime/litentry/src/weights/pallet_utility.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 @@ -49,31 +50,51 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - // Minimum execution time: 16_819 nanoseconds. - Weight::from_ref_time(17_054_000) - // Standard Error: 20_545 - .saturating_add(Weight::from_ref_time(5_887_169).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_710 nanoseconds. + Weight::from_ref_time(30_523_428) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_637 + .saturating_add(Weight::from_ref_time(6_477_644).saturating_mul(c.into())) } fn as_derivative() -> Weight { - // Minimum execution time: 8_228 nanoseconds. - Weight::from_ref_time(8_599_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_498 nanoseconds. + Weight::from_ref_time(6_673_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 17_284 nanoseconds. - Weight::from_ref_time(136_159_208) - // Standard Error: 47_363 - .saturating_add(Weight::from_ref_time(5_797_959).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_782 nanoseconds. + Weight::from_ref_time(5_229_877) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_023 + .saturating_add(Weight::from_ref_time(6_959_201).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - // Minimum execution time: 19_451 nanoseconds. - Weight::from_ref_time(20_093_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_849 nanoseconds. + Weight::from_ref_time(12_298_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 16_570 nanoseconds. - Weight::from_ref_time(17_281_000) - // Standard Error: 24_730 - .saturating_add(Weight::from_ref_time(5_964_967).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_847 nanoseconds. + Weight::from_ref_time(7_572_255) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_783 + .saturating_add(Weight::from_ref_time(6_498_101).saturating_mul(c.into())) } } diff --git a/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs index 693b7dd839..efedb00569 100644 --- a/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/litmus/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,17 +48,27 @@ use sp_std::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - // Storage: XcmpQueue QueueConfig (r:1 w: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_u32() -> Weight { - // Minimum execution time: 9_219 nanoseconds. - Weight::from_ref_time(9_631_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 7_641 nanoseconds. + Weight::from_ref_time(8_230_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: XcmpQueue QueueConfig (r:1 w: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 { - // Minimum execution time: 9_155 nanoseconds. - Weight::from_ref_time(9_622_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 8_148 nanoseconds. + Weight::from_ref_time(8_392_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/frame_system.rs b/runtime/litmus/src/weights/frame_system.rs index aa162e1b43..e38976d956 100644 --- a/runtime/litmus/src/weights/frame_system.rs +++ b/runtime/litmus/src/weights/frame_system.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -49,51 +50,82 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - // Minimum execution time: 5_266 nanoseconds. - Weight::from_ref_time(5_359_000) - // Standard Error: 1 - .saturating_add(Weight::from_ref_time(766).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_329 nanoseconds. + Weight::from_ref_time(2_398_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(521).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 19_288 nanoseconds. - Weight::from_ref_time(19_464_000) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(2_853).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_398 nanoseconds. + Weight::from_ref_time(9_924_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(2_475).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: System Digest (r:1 w:1) + /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) + /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 11_073 nanoseconds. - Weight::from_ref_time(11_536_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `495` + // Minimum execution time: 4_539 nanoseconds. + Weight::from_ref_time(4_773_000) + .saturating_add(Weight::from_proof_size(495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 5_259 nanoseconds. - Weight::from_ref_time(5_387_000) - // Standard Error: 3_529 - .saturating_add(Weight::from_ref_time(992_048).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_349 nanoseconds. + Weight::from_ref_time(2_404_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_834 + .saturating_add(Weight::from_ref_time(1_008_912).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 5_293 nanoseconds. - Weight::from_ref_time(5_429_000) - // Standard Error: 3_698 - .saturating_add(Weight::from_ref_time(730_562).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_443 nanoseconds. + Weight::from_ref_time(2_522_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_228 + .saturating_add(Weight::from_ref_time(725_275).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 7_458 nanoseconds. - Weight::from_ref_time(7_920_000) - // Standard Error: 8_117 - .saturating_add(Weight::from_ref_time(1_623_327).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `91 + p * (69 ±0)` + // Estimated: `109 + p * (70 ±0)` + // Minimum execution time: 4_984 nanoseconds. + Weight::from_ref_time(5_081_000) + .saturating_add(Weight::from_proof_size(109)) + // Standard Error: 1_847 + .saturating_add(Weight::from_ref_time(1_539_640).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(70).saturating_mul(p.into())) } } diff --git a/runtime/litmus/src/weights/pallet_asset_manager.rs b/runtime/litmus/src/weights/pallet_asset_manager.rs index d17a70d47d..bd56b8a808 100644 --- a/runtime/litmus/src/weights/pallet_asset_manager.rs +++ b/runtime/litmus/src/weights/pallet_asset_manager.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_asset_manager` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,45 +48,77 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_asset_manager`. pub struct WeightInfo(PhantomData); impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager ForeignAssetTracker (r:1 w:1) + /// Proof Skipped: AssetManager ForeignAssetTracker (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn register_foreign_asset_type() -> Weight { - // Minimum execution time: 39_612 nanoseconds. - Weight::from_ref_time(40_772_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `3538` + // Minimum execution time: 32_464 nanoseconds. + Weight::from_ref_time(34_266_000) + .saturating_add(Weight::from_proof_size(3538)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn update_foreign_asset_metadata() -> Weight { - // Minimum execution time: 26_906 nanoseconds. - Weight::from_ref_time(27_308_000) + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3079` + // Minimum execution time: 20_179 nanoseconds. + Weight::from_ref_time(21_290_000) + .saturating_add(Weight::from_proof_size(3079)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdUnitsPerSecond (max_values: None, max_size: None, mode: Measured) fn set_asset_units_per_second() -> Weight { - // Minimum execution time: 25_920 nanoseconds. - Weight::from_ref_time(26_566_000) + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3079` + // Minimum execution time: 18_723 nanoseconds. + Weight::from_ref_time(19_675_000) + .saturating_add(Weight::from_proof_size(3079)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) fn add_asset_type() -> Weight { - // Minimum execution time: 31_731 nanoseconds. - Weight::from_ref_time(32_243_000) + // Proof Size summary in bytes: + // Measured: `325` + // Estimated: `5600` + // Minimum execution time: 24_789 nanoseconds. + Weight::from_ref_time(25_979_000) + .saturating_add(Weight::from_proof_size(5600)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:2 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) fn remove_asset_type() -> Weight { - // Minimum execution time: 37_705 nanoseconds. - Weight::from_ref_time(38_469_000) + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `5914` + // Minimum execution time: 31_764 nanoseconds. + Weight::from_ref_time(33_205_000) + .saturating_add(Weight::from_proof_size(5914)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litmus/src/weights/pallet_balances.rs b/runtime/litmus/src/weights/pallet_balances.rs index b7dff112d1..f1391062dd 100644 --- a/runtime/litmus/src/weights/pallet_balances.rs +++ b/runtime/litmus/src/weights/pallet_balances.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,52 +48,87 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 61_420 nanoseconds. - Weight::from_ref_time(62_535_000) + // Proof Size summary in bytes: + // Measured: `1451` + // Estimated: `2603` + // Minimum execution time: 75_510 nanoseconds. + Weight::from_ref_time(78_504_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 44_169 nanoseconds. - Weight::from_ref_time(45_560_000) + // Proof Size summary in bytes: + // Measured: `1297` + // Estimated: `2603` + // Minimum execution time: 54_698 nanoseconds. + Weight::from_ref_time(56_685_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { - // Minimum execution time: 34_541 nanoseconds. - Weight::from_ref_time(35_334_000) + // Proof Size summary in bytes: + // Measured: `1451` + // Estimated: `2603` + // Minimum execution time: 40_306 nanoseconds. + Weight::from_ref_time(42_023_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { - // Minimum execution time: 39_455 nanoseconds. - Weight::from_ref_time(40_396_000) + // Proof Size summary in bytes: + // Measured: `1451` + // Estimated: `2603` + // Minimum execution time: 47_134 nanoseconds. + Weight::from_ref_time(47_921_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:2 w:2) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { - // Minimum execution time: 59_192 nanoseconds. - Weight::from_ref_time(60_526_000) + // Proof Size summary in bytes: + // Measured: `1447` + // Estimated: `5206` + // Minimum execution time: 73_230 nanoseconds. + Weight::from_ref_time(75_992_000) + .saturating_add(Weight::from_proof_size(5206)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { - // Minimum execution time: 51_731 nanoseconds. - Weight::from_ref_time(52_855_000) + // Proof Size summary in bytes: + // Measured: `1297` + // Estimated: `2603` + // Minimum execution time: 63_589 nanoseconds. + Weight::from_ref_time(66_473_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { - // Minimum execution time: 28_403 nanoseconds. - Weight::from_ref_time(28_893_000) + // Proof Size summary in bytes: + // Measured: `1297` + // Estimated: `2603` + // Minimum execution time: 33_622 nanoseconds. + Weight::from_ref_time(35_165_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_bridge.rs b/runtime/litmus/src/weights/pallet_bridge.rs index 7b3565d83c..6cf920f9f7 100644 --- a/runtime/litmus/src/weights/pallet_bridge.rs +++ b/runtime/litmus/src/weights/pallet_bridge.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,83 +48,147 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge`. pub struct WeightInfo(PhantomData); impl pallet_bridge::WeightInfo for WeightInfo { - // Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) fn set_threshold() -> Weight { - // Minimum execution time: 17_701 nanoseconds. - Weight::from_ref_time(18_249_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_212 nanoseconds. + Weight::from_ref_time(10_669_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn set_resource() -> Weight { - // Minimum execution time: 7_143 nanoseconds. - Weight::from_ref_time(7_351_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_894 nanoseconds. + Weight::from_ref_time(5_165_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn remove_resource() -> Weight { - // Minimum execution time: 6_636 nanoseconds. - Weight::from_ref_time(6_918_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_387 nanoseconds. + Weight::from_ref_time(4_570_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge ChainNonces (r:1 w:1) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) fn whitelist_chain() -> Weight { - // Minimum execution time: 22_011 nanoseconds. - Weight::from_ref_time(22_528_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 15_987 nanoseconds. + Weight::from_ref_time(16_488_000) + .saturating_add(Weight::from_proof_size(2617)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn add_relayer() -> Weight { - // Minimum execution time: 24_895 nanoseconds. - Weight::from_ref_time(25_430_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `3254` + // Minimum execution time: 19_048 nanoseconds. + Weight::from_ref_time(19_584_000) + .saturating_add(Weight::from_proof_size(3254)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn remove_relayer() -> Weight { - // Minimum execution time: 27_273 nanoseconds. - Weight::from_ref_time(28_138_000) + // Proof Size summary in bytes: + // Measured: `223` + // Estimated: `3416` + // Minimum execution time: 21_321 nanoseconds. + Weight::from_ref_time(22_183_000) + .saturating_add(Weight::from_proof_size(3416)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge BridgeFee (r:0 w:1) + /// Storage: ChainBridge BridgeFee (r:0 w:1) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) fn update_fee() -> Weight { - // Minimum execution time: 18_914 nanoseconds. - Weight::from_ref_time(19_575_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_568 nanoseconds. + Weight::from_ref_time(12_064_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn acknowledge_proposal() -> Weight { - // Minimum execution time: 56_670 nanoseconds. - Weight::from_ref_time(57_665_000) + // Proof Size summary in bytes: + // Measured: `340` + // Estimated: `12930` + // Minimum execution time: 55_423 nanoseconds. + Weight::from_ref_time(57_783_000) + .saturating_add(Weight::from_proof_size(12930)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn reject_proposal() -> Weight { - // Minimum execution time: 49_715 nanoseconds. - Weight::from_ref_time(50_478_000) + // Proof Size summary in bytes: + // Measured: `340` + // Estimated: `12930` + // Minimum execution time: 46_859 nanoseconds. + Weight::from_ref_time(47_966_000) + .saturating_add(Weight::from_proof_size(12930)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn eval_vote_state() -> Weight { - // Minimum execution time: 24_474 nanoseconds. - Weight::from_ref_time(25_049_000) + // Proof Size summary in bytes: + // Measured: `515` + // Estimated: `5010` + // Minimum execution time: 20_465 nanoseconds. + Weight::from_ref_time(21_275_000) + .saturating_add(Weight::from_proof_size(5010)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_bridge_transfer.rs b/runtime/litmus/src/weights/pallet_bridge_transfer.rs index 6c0a6155dd..c887c6bcb5 100644 --- a/runtime/litmus/src/weights/pallet_bridge_transfer.rs +++ b/runtime/litmus/src/weights/pallet_bridge_transfer.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge_transfer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,37 +48,63 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge_transfer`. pub struct WeightInfo(PhantomData); impl pallet_bridge_transfer::WeightInfo for WeightInfo { - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: ChainBridge ChainNonces (r:1 w:1) - // Storage: ChainBridge BridgeFee (r:1 w:0) - // Storage: System Account (r:2 w:2) - // Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge BridgeFee (r:1 w:0) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Proof Skipped: ChainBridge BridgeEvents (max_values: Some(1), max_size: None, mode: Measured) fn transfer_native() -> Weight { - // Minimum execution time: 81_120 nanoseconds. - Weight::from_ref_time(82_575_000) + // Proof Size summary in bytes: + // Measured: `631` + // Estimated: `13670` + // Minimum execution time: 75_527 nanoseconds. + Weight::from_ref_time(76_479_000) + .saturating_add(Weight::from_proof_size(13670)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:0) - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:0) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 46_716 nanoseconds. - Weight::from_ref_time(47_779_000) + // Proof Size summary in bytes: + // Measured: `244` + // Estimated: `4081` + // Minimum execution time: 36_272 nanoseconds. + Weight::from_ref_time(37_725_000) + .saturating_add(Weight::from_proof_size(4081)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) fn set_maximum_issuance() -> Weight { - // Minimum execution time: 21_902 nanoseconds. - Weight::from_ref_time(22_250_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 15_077 nanoseconds. + Weight::from_ref_time(15_799_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) fn set_external_balances() -> Weight { - // Minimum execution time: 6_181 nanoseconds. - Weight::from_ref_time(6_480_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_640 nanoseconds. + Weight::from_ref_time(3_860_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/litmus/src/weights/pallet_collective.rs b/runtime/litmus/src/weights/pallet_collective.rs index 95599c0730..d87e670eee 100644 --- a/runtime/litmus/src/weights/pallet_collective.rs +++ b/runtime/litmus/src/weights/pallet_collective.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,161 +48,256 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Council Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Prime (r:0 w:1) - // Storage: Council Voting (r:100 w:100) + /// Storage: Council Members (r:1 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:100 w:100) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - // Minimum execution time: 24_800 nanoseconds. - Weight::from_ref_time(25_195_000) - // Standard Error: 106_428 - .saturating_add(Weight::from_ref_time(8_239_360).saturating_mul(m.into())) - // Standard Error: 106_428 - .saturating_add(Weight::from_ref_time(11_357_426).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` + // Estimated: `33287 + m * (7730 ±23) + p * (10156 ±23)` + // Minimum execution time: 24_646 nanoseconds. + Weight::from_ref_time(24_987_000) + .saturating_add(Weight::from_proof_size(33287)) + // Standard Error: 116_711 + .saturating_add(Weight::from_ref_time(8_482_397).saturating_mul(m.into())) + // Standard Error: 116_711 + .saturating_add(Weight::from_ref_time(12_549_116).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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7730).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(10156).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council 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 { - // Minimum execution time: 28_920 nanoseconds. - Weight::from_ref_time(30_007_844) - // Standard Error: 335 - .saturating_add(Weight::from_ref_time(2_809).saturating_mul(b.into())) - // Standard Error: 3_452 - .saturating_add(Weight::from_ref_time(15_170).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `135 + m * (32 ±0)` + // Estimated: `630 + m * (32 ±0)` + // Minimum execution time: 22_923 nanoseconds. + Weight::from_ref_time(22_536_232) + .saturating_add(Weight::from_proof_size(630)) + // Standard Error: 57 + .saturating_add(Weight::from_ref_time(2_064).saturating_mul(b.into())) + // Standard Error: 593 + .saturating_add(Weight::from_ref_time(19_066).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:0) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - // Minimum execution time: 31_842 nanoseconds. - Weight::from_ref_time(32_510_447) - // Standard Error: 196 - .saturating_add(Weight::from_ref_time(1_821).saturating_mul(b.into())) - // Standard Error: 2_023 - .saturating_add(Weight::from_ref_time(26_397).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `135 + m * (32 ±0)` + // Estimated: `3240 + m * (64 ±0)` + // Minimum execution time: 26_154 nanoseconds. + Weight::from_ref_time(25_412_577) + .saturating_add(Weight::from_proof_size(3240)) + // Standard Error: 43 + .saturating_add(Weight::from_ref_time(2_131).saturating_mul(b.into())) + // Standard Error: 443 + .saturating_add(Weight::from_ref_time(31_432).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalCount (r:1 w:1) - // Storage: Council Voting (r:0 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalCount (r:1 w:1) + /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 39_692 nanoseconds. - Weight::from_ref_time(32_058_855) - // Standard Error: 483 - .saturating_add(Weight::from_ref_time(6_820).saturating_mul(b.into())) - // Standard Error: 5_022 - .saturating_add(Weight::from_ref_time(81_354).saturating_mul(m.into())) - // Standard Error: 4_972 - .saturating_add(Weight::from_ref_time(325_211).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `527 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `6020 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 35_942 nanoseconds. + Weight::from_ref_time(38_149_674) + .saturating_add(Weight::from_proof_size(6020)) + // Standard Error: 158 + .saturating_add(Weight::from_ref_time(4_274).saturating_mul(b.into())) + // Standard Error: 1_647 + .saturating_add(Weight::from_ref_time(24_941).saturating_mul(m.into())) + // Standard Error: 1_631 + .saturating_add(Weight::from_ref_time(216_330).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council Voting (r:1 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - // Minimum execution time: 47_762 nanoseconds. - Weight::from_ref_time(53_767_788) - // Standard Error: 6_141 - .saturating_add(Weight::from_ref_time(55_707).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `906 + m * (64 ±0)` + // Estimated: `4782 + m * (128 ±0)` + // Minimum execution time: 35_304 nanoseconds. + Weight::from_ref_time(36_666_342) + .saturating_add(Weight::from_proof_size(4782)) + // Standard Error: 1_117 + .saturating_add(Weight::from_ref_time(74_277).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 44_383 nanoseconds. - Weight::from_ref_time(43_032_025) - // Standard Error: 8_499 - .saturating_add(Weight::from_ref_time(110_920).saturating_mul(m.into())) - // Standard Error: 8_222 - .saturating_add(Weight::from_ref_time(246_251).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `565 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `5413 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 41_448 nanoseconds. + Weight::from_ref_time(42_690_607) + .saturating_add(Weight::from_proof_size(5413)) + // Standard Error: 1_131 + .saturating_add(Weight::from_ref_time(28_911).saturating_mul(m.into())) + // Standard Error: 1_094 + .saturating_add(Weight::from_ref_time(213_232).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 58_090 nanoseconds. - Weight::from_ref_time(52_957_509) - // Standard Error: 389 - .saturating_add(Weight::from_ref_time(6_313).saturating_mul(b.into())) - // Standard Error: 4_140 - .saturating_add(Weight::from_ref_time(70_398).saturating_mul(m.into())) - // Standard Error: 4_005 - .saturating_add(Weight::from_ref_time(314_236).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `908 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `9032 + b * (4 ±0) + m * (260 ±0) + p * (160 ±0)` + // Minimum execution time: 55_977 nanoseconds. + Weight::from_ref_time(53_411_951) + .saturating_add(Weight::from_proof_size(9032)) + // Standard Error: 298 + .saturating_add(Weight::from_ref_time(6_833).saturating_mul(b.into())) + // Standard Error: 3_168 + .saturating_add(Weight::from_ref_time(31_361).saturating_mul(m.into())) + // Standard Error: 3_066 + .saturating_add(Weight::from_ref_time(300_141).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(160).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 48_518 nanoseconds. - Weight::from_ref_time(51_828_889) - // Standard Error: 5_505 - .saturating_add(Weight::from_ref_time(63_492).saturating_mul(m.into())) - // Standard Error: 5_326 - .saturating_add(Weight::from_ref_time(207_049).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `585 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `6495 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 43_538 nanoseconds. + Weight::from_ref_time(45_361_333) + .saturating_add(Weight::from_proof_size(6495)) + // Standard Error: 1_750 + .saturating_add(Weight::from_ref_time(40_570).saturating_mul(m.into())) + // Standard Error: 1_693 + .saturating_add(Weight::from_ref_time(210_843).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. - fn close_approved(b: u32, _m: u32, p: u32, ) -> Weight { - // Minimum execution time: 66_538 nanoseconds. - Weight::from_ref_time(75_605_176) - // Standard Error: 755 - .saturating_add(Weight::from_ref_time(4_514).saturating_mul(b.into())) - // Standard Error: 7_764 - .saturating_add(Weight::from_ref_time(253_697).saturating_mul(p.into())) + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `928 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `10400 + b * (5 ±0) + m * (325 ±0) + p * (200 ±0)` + // Minimum execution time: 62_400 nanoseconds. + Weight::from_ref_time(61_267_735) + .saturating_add(Weight::from_proof_size(10400)) + // Standard Error: 252 + .saturating_add(Weight::from_ref_time(4_229).saturating_mul(b.into())) + // Standard Error: 2_686 + .saturating_add(Weight::from_ref_time(22_783).saturating_mul(m.into())) + // Standard Error: 2_599 + .saturating_add(Weight::from_ref_time(291_579).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(200).saturating_mul(p.into())) } - // Storage: Council Proposals (r:1 w:1) - // Storage: Council Voting (r:0 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - // Minimum execution time: 27_646 nanoseconds. - Weight::from_ref_time(35_990_304) - // Standard Error: 4_697 - .saturating_add(Weight::from_ref_time(172_122).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `291 + p * (32 ±0)` + // Estimated: `1371 + p * (96 ±0)` + // Minimum execution time: 22_621 nanoseconds. + Weight::from_ref_time(25_855_707) + .saturating_add(Weight::from_proof_size(1371)) + // Standard Error: 1_445 + .saturating_add(Weight::from_ref_time(202_349).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into())) } } diff --git a/runtime/litmus/src/weights/pallet_democracy.rs b/runtime/litmus/src/weights/pallet_democracy.rs index 0419a05012..c0005c7af7 100644 --- a/runtime/litmus/src/weights/pallet_democracy.rs +++ b/runtime/litmus/src/weights/pallet_democracy.rs @@ -17,20 +17,22 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-20, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=litmus-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_democracy // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -58,8 +60,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4797` // Estimated: `23409` - // Minimum execution time: 53_100 nanoseconds. - Weight::from_ref_time(56_000_000) + // Minimum execution time: 55_353 nanoseconds. + Weight::from_ref_time(58_400_000) .saturating_add(Weight::from_proof_size(23409)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +72,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3553` // Estimated: `5705` - // Minimum execution time: 47_500 nanoseconds. - Weight::from_ref_time(50_100_000) + // Minimum execution time: 49_833 nanoseconds. + Weight::from_ref_time(51_731_000) .saturating_add(Weight::from_proof_size(5705)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +88,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3460` // Estimated: `12720` - // Minimum execution time: 63_000 nanoseconds. - Weight::from_ref_time(69_600_000) + // Minimum execution time: 66_482 nanoseconds. + Weight::from_ref_time(69_584_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +104,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3482` // Estimated: `12720` - // Minimum execution time: 63_200 nanoseconds. - Weight::from_ref_time(66_400_000) + // Minimum execution time: 66_145 nanoseconds. + Weight::from_ref_time(69_243_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -118,8 +120,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331` // Estimated: `7712` - // Minimum execution time: 38_100 nanoseconds. - Weight::from_ref_time(39_600_000) + // Minimum execution time: 36_349 nanoseconds. + Weight::from_ref_time(37_866_000) .saturating_add(Weight::from_proof_size(7712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -142,8 +144,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6340` // Estimated: `38995` - // Minimum execution time: 138_200 nanoseconds. - Weight::from_ref_time(142_400_000) + // Minimum execution time: 140_321 nanoseconds. + Weight::from_ref_time(145_725_000) .saturating_add(Weight::from_proof_size(38995)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -156,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3381` // Estimated: `6340` - // Minimum execution time: 18_100 nanoseconds. - Weight::from_ref_time(18_600_000) + // Minimum execution time: 17_826 nanoseconds. + Weight::from_ref_time(18_764_000) .saturating_add(Weight::from_proof_size(6340)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -168,8 +170,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(5_200_000) + // Minimum execution time: 4_086 nanoseconds. + Weight::from_ref_time(4_298_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +181,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_900 nanoseconds. - Weight::from_ref_time(5_500_000) + // Minimum execution time: 4_066 nanoseconds. + Weight::from_ref_time(4_195_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,8 +198,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3654` - // Minimum execution time: 40_500 nanoseconds. - Weight::from_ref_time(42_300_000) + // Minimum execution time: 37_894 nanoseconds. + Weight::from_ref_time(39_555_000) .saturating_add(Weight::from_proof_size(3654)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -212,8 +214,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3484` // Estimated: `8868` - // Minimum execution time: 43_400 nanoseconds. - Weight::from_ref_time(45_400_000) + // Minimum execution time: 43_285 nanoseconds. + Weight::from_ref_time(44_918_000) .saturating_add(Weight::from_proof_size(8868)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -230,8 +232,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6219` // Estimated: `30636` - // Minimum execution time: 112_700 nanoseconds. - Weight::from_ref_time(117_400_000) + // Minimum execution time: 114_481 nanoseconds. + Weight::from_ref_time(119_338_000) .saturating_add(Weight::from_proof_size(30636)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -244,8 +246,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `2528` - // Minimum execution time: 28_000 nanoseconds. - Weight::from_ref_time(28_700_000) + // Minimum execution time: 27_105 nanoseconds. + Weight::from_ref_time(27_804_000) .saturating_add(Weight::from_proof_size(2528)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -261,11 +263,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 9_800 nanoseconds. - Weight::from_ref_time(11_549_894) + // Minimum execution time: 9_520 nanoseconds. + Weight::from_ref_time(11_857_472) .saturating_add(Weight::from_proof_size(998)) - // Standard Error: 9_750 - .saturating_add(Weight::from_ref_time(3_978_058).saturating_mul(r.into())) + // Standard Error: 8_852 + .saturating_add(Weight::from_ref_time(4_044_826).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)) @@ -288,11 +290,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 13_500 nanoseconds. - Weight::from_ref_time(14_945_730) + // Minimum execution time: 12_999 nanoseconds. + Weight::from_ref_time(16_212_990) .saturating_add(Weight::from_proof_size(19318)) - // Standard Error: 8_649 - .saturating_add(Weight::from_ref_time(4_014_985).saturating_mul(r.into())) + // Standard Error: 10_230 + .saturating_add(Weight::from_ref_time(4_060_134).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)) @@ -309,11 +311,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854 + r * (139 ±0)` // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 52_300 nanoseconds. - Weight::from_ref_time(60_078_269) + // Minimum execution time: 51_512 nanoseconds. + Weight::from_ref_time(54_725_214) .saturating_add(Weight::from_proof_size(22584)) - // Standard Error: 14_388 - .saturating_add(Weight::from_ref_time(5_775_903).saturating_mul(r.into())) + // Standard Error: 14_240 + .saturating_add(Weight::from_ref_time(5_884_922).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)) @@ -329,11 +331,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488 + r * (139 ±0)` // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 29_200 nanoseconds. - Weight::from_ref_time(29_021_834) + // Minimum execution time: 29_272 nanoseconds. + Weight::from_ref_time(33_315_574) .saturating_add(Weight::from_proof_size(12540)) - // Standard Error: 13_802 - .saturating_add(Weight::from_ref_time(5_779_398).saturating_mul(r.into())) + // Standard Error: 15_225 + .saturating_add(Weight::from_ref_time(5_595_044).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)) @@ -346,8 +348,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_900 nanoseconds. - Weight::from_ref_time(5_200_000) + // Minimum execution time: 4_105 nanoseconds. + Weight::from_ref_time(4_411_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -362,11 +364,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485` // Estimated: `12647` - // Minimum execution time: 28_300 nanoseconds. - Weight::from_ref_time(36_171_089) + // Minimum execution time: 26_525 nanoseconds. + Weight::from_ref_time(36_661_908) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 2_778 - .saturating_add(Weight::from_ref_time(79_590).saturating_mul(r.into())) + // Standard Error: 3_548 + .saturating_add(Weight::from_ref_time(95_658).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +383,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `12647` - // Minimum execution time: 35_200 nanoseconds. - Weight::from_ref_time(36_515_010) + // Minimum execution time: 34_337 nanoseconds. + Weight::from_ref_time(37_163_342) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 1_472 - .saturating_add(Weight::from_ref_time(101_509).saturating_mul(r.into())) + // Standard Error: 2_577 + .saturating_add(Weight::from_ref_time(166_992).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -398,11 +400,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 22_000 nanoseconds. - Weight::from_ref_time(25_840_717) + // Minimum execution time: 23_287 nanoseconds. + Weight::from_ref_time(27_027_427) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 2_343 - .saturating_add(Weight::from_ref_time(112_354).saturating_mul(r.into())) + // Standard Error: 2_361 + .saturating_add(Weight::from_ref_time(175_057).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -415,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 22_600 nanoseconds. - Weight::from_ref_time(26_039_317) + // Minimum execution time: 22_029 nanoseconds. + Weight::from_ref_time(27_365_798) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 2_237 - .saturating_add(Weight::from_ref_time(117_353).saturating_mul(r.into())) + // Standard Error: 2_798 + .saturating_add(Weight::from_ref_time(153_847).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -433,8 +435,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3193` - // Minimum execution time: 25_000 nanoseconds. - Weight::from_ref_time(25_700_000) + // Minimum execution time: 25_708 nanoseconds. + Weight::from_ref_time(26_858_000) .saturating_add(Weight::from_proof_size(3193)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -447,8 +449,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3155` - // Minimum execution time: 23_100 nanoseconds. - Weight::from_ref_time(24_500_000) + // Minimum execution time: 24_995 nanoseconds. + Weight::from_ref_time(26_087_000) .saturating_add(Weight::from_proof_size(3155)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -463,8 +465,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4886` // Estimated: `19763` - // Minimum execution time: 52_300 nanoseconds. - Weight::from_ref_time(57_600_000) + // Minimum execution time: 54_582 nanoseconds. + Weight::from_ref_time(57_208_000) .saturating_add(Weight::from_proof_size(19763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -477,8 +479,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4786` // Estimated: `19725` - // Minimum execution time: 48_700 nanoseconds. - Weight::from_ref_time(51_700_000) + // Minimum execution time: 51_613 nanoseconds. + Weight::from_ref_time(53_622_000) .saturating_add(Weight::from_proof_size(19725)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -491,8 +493,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `2566` - // Minimum execution time: 21_200 nanoseconds. - Weight::from_ref_time(22_100_000) + // Minimum execution time: 21_419 nanoseconds. + Weight::from_ref_time(22_193_000) .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -505,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `5204` - // Minimum execution time: 25_900 nanoseconds. - Weight::from_ref_time(26_300_000) + // Minimum execution time: 27_231 nanoseconds. + Weight::from_ref_time(28_010_000) .saturating_add(Weight::from_proof_size(5204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/litmus/src/weights/pallet_drop3.rs b/runtime/litmus/src/weights/pallet_drop3.rs index f1a96bbc35..0dde1f804d 100644 --- a/runtime/litmus/src/weights/pallet_drop3.rs +++ b/runtime/litmus/src/weights/pallet_drop3.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,73 +48,126 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_drop3`. pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { - // Storage: Drop3 Admin (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:1) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn set_admin() -> Weight { - // Minimum execution time: 21_765 nanoseconds. - Weight::from_ref_time(22_401_000) + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `499` + // Minimum execution time: 12_725 nanoseconds. + Weight::from_ref_time(13_426_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) fn approve_reward_pool() -> Weight { - // Minimum execution time: 30_974 nanoseconds. - Weight::from_ref_time(32_292_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 23_208 nanoseconds. + Weight::from_ref_time(23_922_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn reject_reward_pool() -> Weight { - // Minimum execution time: 72_941 nanoseconds. - Weight::from_ref_time(74_343_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 66_554 nanoseconds. + Weight::from_ref_time(68_863_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn start_reward_pool() -> Weight { - // Minimum execution time: 31_321 nanoseconds. - Weight::from_ref_time(32_112_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 22_237 nanoseconds. + Weight::from_ref_time(23_125_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn stop_reward_pool() -> Weight { - // Minimum execution time: 32_771 nanoseconds. - Weight::from_ref_time(34_037_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 23_023 nanoseconds. + Weight::from_ref_time(23_411_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn close_reward_pool() -> Weight { - // Minimum execution time: 52_217 nanoseconds. - Weight::from_ref_time(53_150_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 41_235 nanoseconds. + Weight::from_ref_time(43_068_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: System Account (r:1 w:1) - // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) - // Storage: Drop3 RewardPools (r:0 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 CurrentMaxPoolId (r:1 w:1) + /// Proof Skipped: Drop3 CurrentMaxPoolId (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:0 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 16]`. fn propose_reward_pool(_n: u32, ) -> Weight { - // Minimum execution time: 43_442 nanoseconds. - Weight::from_ref_time(46_229_573) + // Proof Size summary in bytes: + // Measured: `137` + // Estimated: `3509` + // Minimum execution time: 36_860 nanoseconds. + Weight::from_ref_time(39_520_306) + .saturating_add(Weight::from_proof_size(3509)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn send_reward() -> Weight { - // Minimum execution time: 54_191 nanoseconds. - Weight::from_ref_time(55_241_000) + // Proof Size summary in bytes: + // Measured: `545` + // Estimated: `8226` + // Minimum execution time: 43_193 nanoseconds. + Weight::from_ref_time(44_765_000) + .saturating_add(Weight::from_proof_size(8226)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/litmus/src/weights/pallet_extrinsic_filter.rs b/runtime/litmus/src/weights/pallet_extrinsic_filter.rs index 25516c4433..086fa71f10 100644 --- a/runtime/litmus/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/litmus/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,30 +48,42 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn block_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 28_976 nanoseconds. - Weight::from_ref_time(26_443_340) - // Standard Error: 63 - .saturating_add(Weight::from_ref_time(4_107).saturating_mul(p.into())) - // Standard Error: 63 - .saturating_add(Weight::from_ref_time(4_147).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 21_559 nanoseconds. + Weight::from_ref_time(20_063_638) + .saturating_add(Weight::from_proof_size(2617)) + // Standard Error: 45 + .saturating_add(Weight::from_ref_time(3_162).saturating_mul(p.into())) + // Standard Error: 45 + .saturating_add(Weight::from_ref_time(3_404).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 44_516 nanoseconds. - Weight::from_ref_time(28_775_327) - // Standard Error: 75 - .saturating_add(Weight::from_ref_time(17_210).saturating_mul(p.into())) - // Standard Error: 75 - .saturating_add(Weight::from_ref_time(17_209).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `178 + p * (1 ±0) + f * (1 ±0)` + // Estimated: `2654 + p * (1 ±0) + f * (1 ±0)` + // Minimum execution time: 40_520 nanoseconds. + Weight::from_ref_time(21_933_366) + .saturating_add(Weight::from_proof_size(2654)) + // Standard Error: 46 + .saturating_add(Weight::from_ref_time(19_729).saturating_mul(p.into())) + // Standard Error: 46 + .saturating_add(Weight::from_ref_time(20_023).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(p.into())) + .saturating_add(Weight::from_proof_size(1).saturating_mul(f.into())) } } diff --git a/runtime/litmus/src/weights/pallet_identity_management.rs b/runtime/litmus/src/weights/pallet_identity_management.rs index 18c06dd533..1155092d12 100644 --- a/runtime/litmus/src/weights/pallet_identity_management.rs +++ b/runtime/litmus/src/weights/pallet_identity_management.rs @@ -17,19 +17,22 @@ //! Autogenerated weights for `pallet_identity_management` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-16, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=litmus-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_identity_management // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -45,61 +48,126 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_identity_management`. pub struct WeightInfo(PhantomData); impl pallet_identity_management::WeightInfo for WeightInfo { - // Storage: IdentityManagement Delegatee (r:0 w:1) + /// Storage: IdentityManagement Delegatee (r:0 w:1) + /// Proof: IdentityManagement Delegatee (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn add_delegatee() -> Weight { - // Minimum execution time: 18_500 nanoseconds. - Weight::from_ref_time(19_300_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_690 nanoseconds. + Weight::from_ref_time(12_984_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: IdentityManagement Delegatee (r:1 w:1) + /// Storage: IdentityManagement Delegatee (r:1 w:1) + /// Proof: IdentityManagement Delegatee (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn remove_delegatee() -> Weight { - // Minimum execution time: 22_400 nanoseconds. - Weight::from_ref_time(22_900_000) + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `2523` + // Minimum execution time: 19_507 nanoseconds. + Weight::from_ref_time(19_949_000) + .saturating_add(Weight::from_proof_size(2523)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn create_identity() -> Weight { - // Minimum execution time: 20_600 nanoseconds. - Weight::from_ref_time(21_400_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `571` + // Minimum execution time: 17_476 nanoseconds. + Weight::from_ref_time(18_238_000) + .saturating_add(Weight::from_proof_size(571)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn remove_identity() -> Weight { - // Minimum execution time: 19_600 nanoseconds. - Weight::from_ref_time(20_600_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `571` + // Minimum execution time: 15_342 nanoseconds. + Weight::from_ref_time(16_201_000) + .saturating_add(Weight::from_proof_size(571)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn verify_identity() -> Weight { - // Minimum execution time: 20_500 nanoseconds. - Weight::from_ref_time(21_700_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `571` + // Minimum execution time: 16_615 nanoseconds. + Weight::from_ref_time(17_362_000) + .saturating_add(Weight::from_proof_size(571)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn set_user_shielding_key() -> Weight { - // Minimum execution time: 19_700 nanoseconds. - Weight::from_ref_time(20_300_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `571` + // Minimum execution time: 15_945 nanoseconds. + Weight::from_ref_time(16_362_000) + .saturating_add(Weight::from_proof_size(571)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn user_shielding_key_set() -> Weight { - // Minimum execution time: 16_500 nanoseconds. - Weight::from_ref_time(17_000_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 19_631 nanoseconds. + Weight::from_ref_time(20_680_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_created() -> Weight { - // Minimum execution time: 16_900 nanoseconds. - Weight::from_ref_time(17_400_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 19_954 nanoseconds. + Weight::from_ref_time(21_057_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_removed() -> Weight { - // Minimum execution time: 17_300 nanoseconds. - Weight::from_ref_time(17_900_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 19_978 nanoseconds. + Weight::from_ref_time(20_896_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_verified() -> Weight { - // Minimum execution time: 17_500 nanoseconds. - Weight::from_ref_time(18_000_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 20_589 nanoseconds. + Weight::from_ref_time(21_088_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn some_error() -> Weight { - // Minimum execution time: 16_200 nanoseconds. - Weight::from_ref_time(17_600_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 19_780 nanoseconds. + Weight::from_ref_time(20_495_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/litmus/src/weights/pallet_membership.rs b/runtime/litmus/src/weights/pallet_membership.rs index 27f6c800ff..b19ccd3a51 100644 --- a/runtime/litmus/src/weights/pallet_membership.rs +++ b/runtime/litmus/src/weights/pallet_membership.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,95 +48,158 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - // Minimum execution time: 30_138 nanoseconds. - Weight::from_ref_time(31_191_845) - // Standard Error: 654 - .saturating_add(Weight::from_ref_time(55_500).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `275 + m * (64 ±0)` + // Estimated: `5017 + m * (192 ±0)` + // Minimum execution time: 23_758 nanoseconds. + Weight::from_ref_time(25_430_879) + .saturating_add(Weight::from_proof_size(5017)) + // Standard Error: 529 + .saturating_add(Weight::from_ref_time(46_136).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - // Minimum execution time: 35_076 nanoseconds. - Weight::from_ref_time(35_914_402) - // Standard Error: 633 - .saturating_add(Weight::from_ref_time(46_323).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `380 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 27_156 nanoseconds. + Weight::from_ref_time(28_904_971) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 636 + .saturating_add(Weight::from_ref_time(45_741).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - // Minimum execution time: 34_646 nanoseconds. - Weight::from_ref_time(35_583_378) - // Standard Error: 811 - .saturating_add(Weight::from_ref_time(73_452).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `380 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 27_434 nanoseconds. + Weight::from_ref_time(29_017_489) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 789 + .saturating_add(Weight::from_ref_time(69_152).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - // Minimum execution time: 33_596 nanoseconds. - Weight::from_ref_time(35_858_882) - // Standard Error: 1_764 - .saturating_add(Weight::from_ref_time(238_030).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `379 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 27_109 nanoseconds. + Weight::from_ref_time(29_559_818) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 1_047 + .saturating_add(Weight::from_ref_time(223_360).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:1) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - // Minimum execution time: 35_126 nanoseconds. - Weight::from_ref_time(36_718_785) - // Standard Error: 688 - .saturating_add(Weight::from_ref_time(62_733).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `379 + m * (64 ±0)` + // Estimated: `5856 + m * (192 ±0)` + // Minimum execution time: 28_018 nanoseconds. + Weight::from_ref_time(30_042_469) + .saturating_add(Weight::from_proof_size(5856)) + // Standard Error: 664 + .saturating_add(Weight::from_ref_time(66_675).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:0) - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:0) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - // Minimum execution time: 13_310 nanoseconds. - Weight::from_ref_time(13_892_529) - // Standard Error: 303 - .saturating_add(Weight::from_ref_time(11_032).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `139 + m * (32 ±0)` + // Estimated: `3837 + m * (32 ±0)` + // Minimum execution time: 12_045 nanoseconds. + Weight::from_ref_time(12_666_282) + .saturating_add(Weight::from_proof_size(3837)) + // Standard Error: 266 + .saturating_add(Weight::from_ref_time(14_372).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { - // Minimum execution time: 7_158 nanoseconds. - Weight::from_ref_time(7_715_320) - // Standard Error: 329 - .saturating_add(Weight::from_ref_time(1_191).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_280 nanoseconds. + Weight::from_ref_time(4_621_158) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 157 + .saturating_add(Weight::from_ref_time(1_412).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/litmus/src/weights/pallet_multisig.rs b/runtime/litmus/src/weights/pallet_multisig.rs index b8e85585d2..0c3138a015 100644 --- a/runtime/litmus/src/weights/pallet_multisig.rs +++ b/runtime/litmus/src/weights/pallet_multisig.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -49,80 +50,113 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - // Minimum execution time: 23_579 nanoseconds. - Weight::from_ref_time(24_391_283) - // Standard Error: 31 - .saturating_add(Weight::from_ref_time(1_458).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_483 nanoseconds. + Weight::from_ref_time(19_983_024) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(762).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 65_586 nanoseconds. - Weight::from_ref_time(58_896_174) - // Standard Error: 6_950 - .saturating_add(Weight::from_ref_time(122_645).saturating_mul(s.into())) - // Standard Error: 68 - .saturating_add(Weight::from_ref_time(2_424).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `330 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 59_028 nanoseconds. + Weight::from_ref_time(44_911_098) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_962 + .saturating_add(Weight::from_ref_time(156_228).saturating_mul(s.into())) + // Standard Error: 19 + .saturating_add(Weight::from_ref_time(2_202).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 51_615 nanoseconds. - Weight::from_ref_time(32_290_223) - // Standard Error: 3_321 - .saturating_add(Weight::from_ref_time(235_319).saturating_mul(s.into())) - // Standard Error: 32 - .saturating_add(Weight::from_ref_time(2_668).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 44_932 nanoseconds. + Weight::from_ref_time(32_718_558) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_682 + .saturating_add(Weight::from_ref_time(138_624).saturating_mul(s.into())) + // Standard Error: 16 + .saturating_add(Weight::from_ref_time(1_950).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) - // Storage: System Account (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 75_772 nanoseconds. - Weight::from_ref_time(48_804_288) - // Standard Error: 14_705 - .saturating_add(Weight::from_ref_time(353_069).saturating_mul(s.into())) - // Standard Error: 144 - .saturating_add(Weight::from_ref_time(2_991).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `484 + s * (33 ±0)` + // Estimated: `8424` + // Minimum execution time: 63_704 nanoseconds. + Weight::from_ref_time(46_056_692) + .saturating_add(Weight::from_proof_size(8424)) + // Standard Error: 2_257 + .saturating_add(Weight::from_ref_time(198_490).saturating_mul(s.into())) + // Standard Error: 22 + .saturating_add(Weight::from_ref_time(2_590).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) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 44_632 nanoseconds. - Weight::from_ref_time(46_136_764) - // Standard Error: 5_361 - .saturating_add(Weight::from_ref_time(266_162).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `340 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 39_480 nanoseconds. + Weight::from_ref_time(42_025_164) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_113 + .saturating_add(Weight::from_ref_time(148_027).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 32_484 nanoseconds. - Weight::from_ref_time(34_968_024) - // Standard Error: 4_332 - .saturating_add(Weight::from_ref_time(232_288).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 25_834 nanoseconds. + Weight::from_ref_time(27_778_395) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 768 + .saturating_add(Weight::from_ref_time(136_456).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 48_420 nanoseconds. - Weight::from_ref_time(52_866_177) - // Standard Error: 6_176 - .saturating_add(Weight::from_ref_time(177_988).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `549 + s * (1 ±0)` + // Estimated: `5821` + // Minimum execution time: 40_986 nanoseconds. + Weight::from_ref_time(43_556_610) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 809 + .saturating_add(Weight::from_ref_time(153_951).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_preimage.rs b/runtime/litmus/src/weights/pallet_preimage.rs index f8e6e2cdf6..6d817231ca 100644 --- a/runtime/litmus/src/weights/pallet_preimage.rs +++ b/runtime/litmus/src/weights/pallet_preimage.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,102 +48,168 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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_preimage(s: u32, ) -> Weight { - // Minimum execution time: 42_309 nanoseconds. - Weight::from_ref_time(44_735_000) - // Standard Error: 12 - .saturating_add(Weight::from_ref_time(4_045).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `209` + // Estimated: `2566` + // Minimum execution time: 37_078 nanoseconds. + Weight::from_ref_time(37_754_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(3_532).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 30_495 nanoseconds. - Weight::from_ref_time(30_911_000) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(3_998).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 22_905 nanoseconds. + Weight::from_ref_time(24_654_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(3_429).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 28_508 nanoseconds. - Weight::from_ref_time(29_241_000) - // Standard Error: 12 - .saturating_add(Weight::from_ref_time(4_102).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 21_608 nanoseconds. + Weight::from_ref_time(21_948_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 3 + .saturating_add(Weight::from_ref_time(3_423).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_preimage() -> Weight { - // Minimum execution time: 91_767 nanoseconds. - Weight::from_ref_time(96_925_000) + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `2566` + // Minimum execution time: 56_805 nanoseconds. + Weight::from_ref_time(60_227_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_no_deposit_preimage() -> Weight { - // Minimum execution time: 68_897 nanoseconds. - Weight::from_ref_time(74_718_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 38_632 nanoseconds. + Weight::from_ref_time(43_049_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { - // Minimum execution time: 68_870 nanoseconds. - Weight::from_ref_time(73_030_000) + // Proof Size summary in bytes: + // Measured: `254` + // Estimated: `2566` + // Minimum execution time: 35_323 nanoseconds. + Weight::from_ref_time(39_391_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_no_deposit_preimage() -> Weight { - // Minimum execution time: 41_543 nanoseconds. - Weight::from_ref_time(46_136_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 24_393 nanoseconds. + Weight::from_ref_time(28_142_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_unnoted_preimage() -> Weight { - // Minimum execution time: 46_259 nanoseconds. - Weight::from_ref_time(49_511_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `2566` + // Minimum execution time: 28_679 nanoseconds. + Weight::from_ref_time(32_456_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_requested_preimage() -> Weight { - // Minimum execution time: 17_101 nanoseconds. - Weight::from_ref_time(18_551_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 14_204 nanoseconds. + Weight::from_ref_time(15_649_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unrequest_preimage() -> Weight { - // Minimum execution time: 67_546 nanoseconds. - Weight::from_ref_time(72_001_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 40_750 nanoseconds. + Weight::from_ref_time(44_123_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_unnoted_preimage() -> Weight { - // Minimum execution time: 16_794 nanoseconds. - Weight::from_ref_time(18_636_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 15_074 nanoseconds. + Weight::from_ref_time(16_632_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_multi_referenced_preimage() -> Weight { - // Minimum execution time: 16_169 nanoseconds. - Weight::from_ref_time(17_611_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 15_803 nanoseconds. + Weight::from_ref_time(16_832_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_proxy.rs b/runtime/litmus/src/weights/pallet_proxy.rs index 11e828f7ea..ae87a00a2e 100644 --- a/runtime/litmus/src/weights/pallet_proxy.rs +++ b/runtime/litmus/src/weights/pallet_proxy.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,117 +48,172 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - // Storage: Proxy Proxies (r:1 w:0) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 29_886 nanoseconds. - Weight::from_ref_time(30_866_928) - // Standard Error: 3_602 - .saturating_add(Weight::from_ref_time(105_791).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `193 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 20_995 nanoseconds. + Weight::from_ref_time(21_912_677) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_215 + .saturating_add(Weight::from_ref_time(54_796).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: Proxy Proxies (r:1 w:0) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 55_901 nanoseconds. - Weight::from_ref_time(56_067_786) - // Standard Error: 6_622 - .saturating_add(Weight::from_ref_time(200_489).saturating_mul(a.into())) - // Standard Error: 6_847 - .saturating_add(Weight::from_ref_time(95_735).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `547 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 48_424 nanoseconds. + Weight::from_ref_time(48_999_019) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 2_587 + .saturating_add(Weight::from_ref_time(230_848).saturating_mul(a.into())) + // Standard Error: 2_675 + .saturating_add(Weight::from_ref_time(45_700).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) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { - // Minimum execution time: 38_334 nanoseconds. - Weight::from_ref_time(43_462_092) - // Standard Error: 6_327 - .saturating_add(Weight::from_ref_time(154_145).saturating_mul(a.into())) + // Proof Size summary in bytes: + // Measured: `430 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 29_410 nanoseconds. + Weight::from_ref_time(31_759_783) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 2_122 + .saturating_add(Weight::from_ref_time(195_586).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 38_717 nanoseconds. - Weight::from_ref_time(43_523_973) - // Standard Error: 10_718 - .saturating_add(Weight::from_ref_time(118_970).saturating_mul(a.into())) - // Standard Error: 11_082 - .saturating_add(Weight::from_ref_time(10_101).saturating_mul(p.into())) + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `430 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 28_592 nanoseconds. + Weight::from_ref_time(31_096_229) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 2_174 + .saturating_add(Weight::from_ref_time(221_101).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) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 50_311 nanoseconds. - Weight::from_ref_time(54_025_604) - // Standard Error: 8_993 - .saturating_add(Weight::from_ref_time(186_141).saturating_mul(a.into())) - // Standard Error: 9_298 - .saturating_add(Weight::from_ref_time(18_781).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `479 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 40_577 nanoseconds. + Weight::from_ref_time(43_042_263) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 3_002 + .saturating_add(Weight::from_ref_time(253_539).saturating_mul(a.into())) + // Standard Error: 3_104 + .saturating_add(Weight::from_ref_time(27_914).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 43_275 nanoseconds. - Weight::from_ref_time(45_010_002) - // Standard Error: 15_739 - .saturating_add(Weight::from_ref_time(160_193).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `193 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 31_689 nanoseconds. + Weight::from_ref_time(33_260_760) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_867 + .saturating_add(Weight::from_ref_time(76_045).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 42_808 nanoseconds. - Weight::from_ref_time(45_065_969) - // Standard Error: 8_744 - .saturating_add(Weight::from_ref_time(163_363).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `193 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 31_184 nanoseconds. + Weight::from_ref_time(32_620_855) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 2_337 + .saturating_add(Weight::from_ref_time(108_142).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 36_884 nanoseconds. - Weight::from_ref_time(38_459_810) - // Standard Error: 5_378 - .saturating_add(Weight::from_ref_time(112_580).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `193 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 24_711 nanoseconds. + Weight::from_ref_time(26_219_376) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_522 + .saturating_add(Weight::from_ref_time(44_660).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - // Storage: Proxy Proxies (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 45_043 nanoseconds. - Weight::from_ref_time(47_444_739) - // Standard Error: 15_952 - .saturating_add(Weight::from_ref_time(174_049).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `3716` + // Minimum execution time: 34_070 nanoseconds. + Weight::from_ref_time(35_869_636) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_964 + .saturating_add(Weight::from_ref_time(28_639).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[0, 30]`. - fn kill_pure(_p: u32, ) -> Weight { - // Minimum execution time: 38_540 nanoseconds. - Weight::from_ref_time(43_453_460) + fn kill_pure(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `230 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 26_622 nanoseconds. + Weight::from_ref_time(27_879_810) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_559 + .saturating_add(Weight::from_ref_time(39_870).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_scheduler.rs b/runtime/litmus/src/weights/pallet_scheduler.rs index b17b5c3393..da19a648b9 100644 --- a/runtime/litmus/src/weights/pallet_scheduler.rs +++ b/runtime/litmus/src/weights/pallet_scheduler.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,96 +48,157 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler IncompleteSince (r:1 w:1) + /// Storage: Scheduler IncompleteSince (r:1 w:1) + /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn service_agendas_base() -> Weight { - // Minimum execution time: 5_656 nanoseconds. - Weight::from_ref_time(5_818_000) + // Proof Size summary in bytes: + // Measured: `31` + // Estimated: `499` + // Minimum execution time: 4_423 nanoseconds. + Weight::from_ref_time(4_565_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 4_720 nanoseconds. - Weight::from_ref_time(7_449_140) - // Standard Error: 4_236 - .saturating_add(Weight::from_ref_time(1_064_918).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 4_113 nanoseconds. + Weight::from_ref_time(8_699_371) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 3_647 + .saturating_add(Weight::from_ref_time(1_096_342).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { - // Minimum execution time: 13_880 nanoseconds. - Weight::from_ref_time(14_434_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_894 nanoseconds. + Weight::from_ref_time(8_210_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) + /// 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 { - // Minimum execution time: 31_307 nanoseconds. - Weight::from_ref_time(32_028_000) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(2_269).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `245 + s * (1 ±0)` + // Estimated: `5285 + s * (1 ±0)` + // Minimum execution time: 28_776 nanoseconds. + Weight::from_ref_time(29_599_000) + .saturating_add(Weight::from_proof_size(5285)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_750).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(s.into())) } - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn service_task_named() -> Weight { - // Minimum execution time: 15_825 nanoseconds. - Weight::from_ref_time(16_276_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_903 nanoseconds. + Weight::from_ref_time(10_235_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 13_894 nanoseconds. - Weight::from_ref_time(14_463_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_920 nanoseconds. + Weight::from_ref_time(8_230_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 6_030 nanoseconds. - Weight::from_ref_time(6_261_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_189 nanoseconds. + Weight::from_ref_time(3_301_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 5_952 nanoseconds. - Weight::from_ref_time(6_165_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_988 nanoseconds. + Weight::from_ref_time(3_230_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 24_818 nanoseconds. - Weight::from_ref_time(28_948_623) - // Standard Error: 16_189 - .saturating_add(Weight::from_ref_time(1_208_046).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 17_013 nanoseconds. + Weight::from_ref_time(22_564_332) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 4_542 + .saturating_add(Weight::from_ref_time(1_122_114).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) - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 30_291 nanoseconds. - Weight::from_ref_time(30_373_983) - // Standard Error: 8_093 - .saturating_add(Weight::from_ref_time(1_843_830).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 24_096 nanoseconds. + Weight::from_ref_time(23_921_670) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 2_597 + .saturating_add(Weight::from_ref_time(1_954_863).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 28_164 nanoseconds. - Weight::from_ref_time(33_827_727) - // Standard Error: 14_585 - .saturating_add(Weight::from_ref_time(1_247_425).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `262 + s * (186 ±0)` + // Estimated: `43961` + // Minimum execution time: 21_881 nanoseconds. + Weight::from_ref_time(27_660_029) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 5_151 + .saturating_add(Weight::from_ref_time(1_208_132).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 32_012 nanoseconds. - Weight::from_ref_time(32_751_049) - // Standard Error: 9_257 - .saturating_add(Weight::from_ref_time(1_892_050).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `314 + s * (185 ±0)` + // Estimated: `43961` + // Minimum execution time: 27_005 nanoseconds. + Weight::from_ref_time(27_724_298) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 3_465 + .saturating_add(Weight::from_ref_time(1_975_095).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litmus/src/weights/pallet_session.rs b/runtime/litmus/src/weights/pallet_session.rs index d690646dc6..6caff33212 100644 --- a/runtime/litmus/src/weights/pallet_session.rs +++ b/runtime/litmus/src/weights/pallet_session.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,19 +48,31 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:1 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:1 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { - // Minimum execution time: 30_850 nanoseconds. - Weight::from_ref_time(31_663_000) + // Proof Size summary in bytes: + // Measured: `270` + // Estimated: `5490` + // Minimum execution time: 21_676 nanoseconds. + Weight::from_ref_time(22_447_000) + .saturating_add(Weight::from_proof_size(5490)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:0 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:0 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { - // Minimum execution time: 25_690 nanoseconds. - Weight::from_ref_time(26_474_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2959` + // Minimum execution time: 15_756 nanoseconds. + Weight::from_ref_time(16_257_000) + .saturating_add(Weight::from_proof_size(2959)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/litmus/src/weights/pallet_sidechain.rs b/runtime/litmus/src/weights/pallet_sidechain.rs index eb59e3b638..cd564bfc6d 100644 --- a/runtime/litmus/src/weights/pallet_sidechain.rs +++ b/runtime/litmus/src/weights/pallet_sidechain.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_sidechain` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,14 +48,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_sidechain`. pub struct WeightInfo(PhantomData); impl pallet_sidechain::WeightInfo for WeightInfo { - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Sidechain SidechainBlockFinalizationCandidate (r:1 w:1) - // Storage: Sidechain WorkerForShard (r:0 w:1) - // Storage: Sidechain LatestSidechainBlockConfirmation (r:0 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain SidechainBlockFinalizationCandidate (r:1 w:1) + /// Proof Skipped: Sidechain SidechainBlockFinalizationCandidate (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain WorkerForShard (r:0 w:1) + /// Proof Skipped: Sidechain WorkerForShard (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain LatestSidechainBlockConfirmation (r:0 w:1) + /// Proof Skipped: Sidechain LatestSidechainBlockConfirmation (max_values: None, max_size: None, mode: Measured) fn confirm_imported_sidechain_block() -> Weight { - // Minimum execution time: 40_158 nanoseconds. - Weight::from_ref_time(41_064_000) + // Proof Size summary in bytes: + // Measured: `371` + // Estimated: `9280` + // Minimum execution time: 36_023 nanoseconds. + Weight::from_ref_time(37_812_000) + .saturating_add(Weight::from_proof_size(9280)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/litmus/src/weights/pallet_teeracle.rs b/runtime/litmus/src/weights/pallet_teeracle.rs index b7842e2a8a..7fba9026a5 100644 --- a/runtime/litmus/src/weights/pallet_teeracle.rs +++ b/runtime/litmus/src/weights/pallet_teeracle.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_teeracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,37 +48,63 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_teeracle`. pub struct WeightInfo(PhantomData); impl pallet_teeracle::WeightInfo for WeightInfo { - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Teeracle Whitelists (r:1 w:0) - // Storage: Teeracle ExchangeRates (r:1 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle Whitelists (r:1 w:0) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle ExchangeRates (r:1 w:1) + /// Proof Skipped: Teeracle ExchangeRates (max_values: None, max_size: None, mode: Measured) fn update_exchange_rate() -> Weight { - // Minimum execution time: 52_687 nanoseconds. - Weight::from_ref_time(54_176_000) + // Proof Size summary in bytes: + // Measured: `3465` + // Estimated: `23760` + // Minimum execution time: 46_307 nanoseconds. + Weight::from_ref_time(48_311_000) + .saturating_add(Weight::from_proof_size(23760)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Teeracle Whitelists (r:1 w:0) - // Storage: Teeracle OracleData (r:0 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle Whitelists (r:1 w:0) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle OracleData (r:0 w:1) + /// Proof Skipped: Teeracle OracleData (max_values: None, max_size: None, mode: Measured) fn update_oracle() -> Weight { - // Minimum execution time: 47_025 nanoseconds. - Weight::from_ref_time(49_342_000) + // Proof Size summary in bytes: + // Measured: `3456` + // Estimated: `21249` + // Minimum execution time: 41_295 nanoseconds. + Weight::from_ref_time(42_958_000) + .saturating_add(Weight::from_proof_size(21249)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teeracle Whitelists (r:1 w:1) + /// Storage: Teeracle Whitelists (r:1 w:1) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) fn add_to_whitelist() -> Weight { - // Minimum execution time: 24_617 nanoseconds. - Weight::from_ref_time(25_303_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 19_275 nanoseconds. + Weight::from_ref_time(19_805_000) + .saturating_add(Weight::from_proof_size(2617)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teeracle Whitelists (r:1 w:1) + /// Storage: Teeracle Whitelists (r:1 w:1) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) fn remove_from_whitelist() -> Weight { - // Minimum execution time: 27_080 nanoseconds. - Weight::from_ref_time(27_618_000) + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `2751` + // Minimum execution time: 21_267 nanoseconds. + Weight::from_ref_time(22_162_000) + .saturating_add(Weight::from_proof_size(2751)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/litmus/src/weights/pallet_teerex.rs b/runtime/litmus/src/weights/pallet_teerex.rs index 826b5d9f56..099361f0d1 100644 --- a/runtime/litmus/src/weights/pallet_teerex.rs +++ b/runtime/litmus/src/weights/pallet_teerex.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_teerex` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,54 +48,89 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_teerex`. pub struct WeightInfo(PhantomData); impl pallet_teerex::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:0) - // Storage: Teerex AllowSGXDebugMode (r:1 w:0) - // Storage: Teerex ScheduledEnclave (r:2 w:0) - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:0 w:1) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Teerex AllowSGXDebugMode (r:1 w:0) + /// Proof Skipped: Teerex AllowSGXDebugMode (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex ScheduledEnclave (r:2 w:0) + /// Proof Skipped: Teerex ScheduledEnclave (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:0 w:1) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn register_enclave() -> Weight { - // Minimum execution time: 1_909_585 nanoseconds. - Weight::from_ref_time(1_925_254_000) + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `10227` + // Minimum execution time: 2_068_974 nanoseconds. + Weight::from_ref_time(2_151_921_000) + .saturating_add(Weight::from_proof_size(10227)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:2) - // Storage: Teerex EnclaveCount (r:1 w:1) - // Storage: Teerex EnclaveRegistry (r:1 w:2) + /// Storage: Teerex EnclaveIndex (r:1 w:2) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveCount (r:1 w:1) + /// Proof Skipped: Teerex EnclaveCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:2) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn unregister_enclave() -> Weight { - // Minimum execution time: 47_497 nanoseconds. - Weight::from_ref_time(48_558_000) + // Proof Size summary in bytes: + // Measured: `509` + // Estimated: `6972` + // Minimum execution time: 41_070 nanoseconds. + Weight::from_ref_time(42_851_000) + .saturating_add(Weight::from_proof_size(6972)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } fn call_worker() -> Weight { - // Minimum execution time: 21_980 nanoseconds. - Weight::from_ref_time(22_505_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_248 nanoseconds. + Weight::from_ref_time(13_616_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:1) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn confirm_processed_parentchain_block() -> Weight { - // Minimum execution time: 43_081 nanoseconds. - Weight::from_ref_time(44_325_000) + // Proof Size summary in bytes: + // Measured: `409` + // Estimated: `6271` + // Minimum execution time: 38_036 nanoseconds. + Weight::from_ref_time(38_899_000) + .saturating_add(Weight::from_proof_size(6271)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: System EventTopics (r:6 w:6) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: System EventTopics (r:6 w:6) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `l` is `[0, 100]`. /// The range of component `t` is `[1, 5]`. fn publish_hash(l: u32, t: u32, ) -> Weight { - // Minimum execution time: 38_366 nanoseconds. - Weight::from_ref_time(37_708_736) - // Standard Error: 519 - .saturating_add(Weight::from_ref_time(120).saturating_mul(l.into())) - // Standard Error: 11_588 - .saturating_add(Weight::from_ref_time(2_301_869).saturating_mul(t.into())) + // Proof Size summary in bytes: + // Measured: `367` + // Estimated: `8526 + t * (2475 ±0)` + // Minimum execution time: 32_751 nanoseconds. + Weight::from_ref_time(31_187_960) + .saturating_add(Weight::from_proof_size(8526)) + // Standard Error: 482 + .saturating_add(Weight::from_ref_time(3_334).saturating_mul(l.into())) + // Standard Error: 10_769 + .saturating_add(Weight::from_ref_time(2_695_560).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(2475).saturating_mul(t.into())) } } diff --git a/runtime/litmus/src/weights/pallet_timestamp.rs b/runtime/litmus/src/weights/pallet_timestamp.rs index b70106357d..ad377f5752 100644 --- a/runtime/litmus/src/weights/pallet_timestamp.rs +++ b/runtime/litmus/src/weights/pallet_timestamp.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -47,17 +48,28 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:1) - // Storage: Teerex HeartbeatTimeout (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Storage: Timestamp Now (r:1 w:1) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Teerex HeartbeatTimeout (r:1 w:0) + /// Proof Skipped: Teerex HeartbeatTimeout (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn set() -> Weight { - // Minimum execution time: 17_866 nanoseconds. - Weight::from_ref_time(18_266_000) + // Proof Size summary in bytes: + // Measured: `183` + // Estimated: `3839` + // Minimum execution time: 17_422 nanoseconds. + Weight::from_ref_time(18_380_000) + .saturating_add(Weight::from_proof_size(3839)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - // Minimum execution time: 5_725 nanoseconds. - Weight::from_ref_time(5_901_000) + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 6_346 nanoseconds. + Weight::from_ref_time(6_592_000) + .saturating_add(Weight::from_proof_size(0)) } } diff --git a/runtime/litmus/src/weights/pallet_treasury.rs b/runtime/litmus/src/weights/pallet_treasury.rs index 5d6d5bb5c3..29b6b189c5 100644 --- a/runtime/litmus/src/weights/pallet_treasury.rs +++ b/runtime/litmus/src/weights/pallet_treasury.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -48,57 +49,94 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - // Minimum execution time: 176 nanoseconds. - Weight::from_ref_time(212_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 303 nanoseconds. + Weight::from_ref_time(334_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Treasury ProposalCount (r:1 w:1) - // Storage: Treasury Proposals (r:0 w:1) + /// Storage: Treasury ProposalCount (r:1 w:1) + /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:0 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { - // Minimum execution time: 40_924 nanoseconds. - Weight::from_ref_time(41_623_000) + // Proof Size summary in bytes: + // Measured: `213` + // Estimated: `499` + // Minimum execution time: 34_373 nanoseconds. + Weight::from_ref_time(35_828_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Treasury Proposals (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Treasury Proposals (r:1 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { - // Minimum execution time: 58_577 nanoseconds. - Weight::from_ref_time(59_570_000) + // Proof Size summary in bytes: + // Measured: `538` + // Estimated: `7789` + // Minimum execution time: 53_843 nanoseconds. + Weight::from_ref_time(55_878_000) + .saturating_add(Weight::from_proof_size(7789)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Treasury Proposals (r:1 w:0) - // Storage: Treasury Approvals (r:1 w:1) + /// 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 { - // Minimum execution time: 16_041 nanoseconds. - Weight::from_ref_time(21_005_759) - // Standard Error: 4_510 - .saturating_add(Weight::from_ref_time(156_629).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `517 + p * (9 ±0)` + // Estimated: `3480` + // Minimum execution time: 14_083 nanoseconds. + Weight::from_ref_time(18_130_919) + .saturating_add(Weight::from_proof_size(3480)) + // Standard Error: 1_844 + .saturating_add(Weight::from_ref_time(84_684).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) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn remove_approval() -> Weight { - // Minimum execution time: 13_090 nanoseconds. - Weight::from_ref_time(13_594_000) + // Proof Size summary in bytes: + // Measured: `165` + // Estimated: `897` + // Minimum execution time: 10_989 nanoseconds. + Weight::from_ref_time(11_219_000) + .saturating_add(Weight::from_proof_size(897)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:0) - // Storage: Treasury Deactivated (r:1 w:1) - // Storage: Balances InactiveIssuance (r:1 w:1) - // Storage: Treasury Approvals (r:1 w:1) - // Storage: Treasury Proposals (r:5 w:5) + /// Storage: System Account (r:201 w:201) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Treasury Deactivated (r:1 w:1) + /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:1) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:100 w:100) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - // Minimum execution time: 49_492 nanoseconds. - Weight::from_ref_time(76_048_674) - // Standard Error: 108_346 - .saturating_add(Weight::from_ref_time(39_390_538).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `129 + p * (315 ±0)` + // Estimated: `4522 + p * (7789 ±0)` + // Minimum execution time: 42_689 nanoseconds. + Weight::from_ref_time(29_605_789) + .saturating_add(Weight::from_proof_size(4522)) + // Standard Error: 67_249 + .saturating_add(Weight::from_ref_time(49_648_832).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7789).saturating_mul(p.into())) } } diff --git a/runtime/litmus/src/weights/pallet_utility.rs b/runtime/litmus/src/weights/pallet_utility.rs index ef3adeac4c..9ab751e7ef 100644 --- a/runtime/litmus/src/weights/pallet_utility.rs +++ b/runtime/litmus/src/weights/pallet_utility.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 @@ -49,31 +50,51 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - // Minimum execution time: 17_171 nanoseconds. - Weight::from_ref_time(17_425_000) - // Standard Error: 35_710 - .saturating_add(Weight::from_ref_time(6_225_062).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_655 nanoseconds. + Weight::from_ref_time(1_962_079) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_563 + .saturating_add(Weight::from_ref_time(6_992_489).saturating_mul(c.into())) } fn as_derivative() -> Weight { - // Minimum execution time: 8_479 nanoseconds. - Weight::from_ref_time(8_861_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_368 nanoseconds. + Weight::from_ref_time(6_603_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 16_740 nanoseconds. - Weight::from_ref_time(17_113_000) - // Standard Error: 84_312 - .saturating_add(Weight::from_ref_time(7_287_557).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_924 nanoseconds. + Weight::from_ref_time(7_792_263) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 4_270 + .saturating_add(Weight::from_ref_time(7_387_792).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - // Minimum execution time: 19_854 nanoseconds. - Weight::from_ref_time(20_652_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_812 nanoseconds. + Weight::from_ref_time(12_574_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 17_018 nanoseconds. - Weight::from_ref_time(17_389_000) - // Standard Error: 58_574 - .saturating_add(Weight::from_ref_time(6_372_693).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_851 nanoseconds. + Weight::from_ref_time(45_445_484) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 4_802 + .saturating_add(Weight::from_ref_time(6_869_757).saturating_mul(c.into())) } } diff --git a/runtime/litmus/src/weights/pallet_vc_management.rs b/runtime/litmus/src/weights/pallet_vc_management.rs index 2b85590744..669ee25293 100644 --- a/runtime/litmus/src/weights/pallet_vc_management.rs +++ b/runtime/litmus/src/weights/pallet_vc_management.rs @@ -17,19 +17,22 @@ //! Autogenerated weights for `pallet_vc_management` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-16, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 1024 +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litmus-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=litmus-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_vc_management // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -45,104 +48,185 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_vc_management`. pub struct WeightInfo(PhantomData); impl pallet_vc_management::WeightInfo for WeightInfo { - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn request_vc() -> Weight { - // Minimum execution time: 19_200 nanoseconds. - Weight::from_ref_time(19_800_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 14_014 nanoseconds. + Weight::from_ref_time(14_569_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn disable_vc() -> Weight { - // Minimum execution time: 24_700 nanoseconds. - Weight::from_ref_time(25_500_000) + // Proof Size summary in bytes: + // Measured: `221` + // Estimated: `3503` + // Minimum execution time: 22_651 nanoseconds. + Weight::from_ref_time(23_284_000) + .saturating_add(Weight::from_proof_size(3503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn revoke_vc() -> Weight { - // Minimum execution time: 25_300 nanoseconds. - Weight::from_ref_time(25_900_000) + // Proof Size summary in bytes: + // Measured: `221` + // Estimated: `3503` + // Minimum execution time: 22_929 nanoseconds. + Weight::from_ref_time(23_814_000) + .saturating_add(Weight::from_proof_size(3503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn vc_issued() -> Weight { - // Minimum execution time: 23_100 nanoseconds. - Weight::from_ref_time(23_500_000) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `248` + // Estimated: `5510` + // Minimum execution time: 26_300 nanoseconds. + Weight::from_ref_time(27_592_000) + .saturating_add(Weight::from_proof_size(5510)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn some_error() -> Weight { - // Minimum execution time: 16_600 nanoseconds. - Weight::from_ref_time(17_000_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2717` + // Minimum execution time: 19_678 nanoseconds. + Weight::from_ref_time(20_172_000) + .saturating_add(Weight::from_proof_size(2717)) + .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: VCManagement Admin (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:1) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) fn set_admin() -> Weight { - // Minimum execution time: 20_600 nanoseconds. - Weight::from_ref_time(21_200_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `527` + // Minimum execution time: 15_484 nanoseconds. + Weight::from_ref_time(16_033_000) + .saturating_add(Weight::from_proof_size(527)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistryIndex (r:1 w:1) - // Storage: VCManagement SchemaRegistry (r:0 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistryIndex (r:1 w:1) + /// Proof: VCManagement SchemaRegistryIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:0 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn add_schema() -> Weight { - // Minimum execution time: 24_500 nanoseconds. - Weight::from_ref_time(25_200_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `1030` + // Minimum execution time: 20_449 nanoseconds. + Weight::from_ref_time(21_047_000) + .saturating_add(Weight::from_proof_size(1030)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn disable_schema() -> Weight { - // Minimum execution time: 25_400 nanoseconds. - Weight::from_ref_time(26_300_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 21_021 nanoseconds. + Weight::from_ref_time(21_639_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn activate_schema() -> Weight { - // Minimum execution time: 24_600 nanoseconds. - Weight::from_ref_time(26_200_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 20_807 nanoseconds. + Weight::from_ref_time(21_705_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn revoke_schema() -> Weight { - // Minimum execution time: 25_400 nanoseconds. - Weight::from_ref_time(26_300_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 21_142 nanoseconds. + Weight::from_ref_time(21_774_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn add_vc_registry_item() -> Weight { - // Minimum execution time: 24_400 nanoseconds. - Weight::from_ref_time(25_500_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `3314` + // Minimum execution time: 20_266 nanoseconds. + Weight::from_ref_time(21_012_000) + .saturating_add(Weight::from_proof_size(3314)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn remove_vc_registry_item() -> Weight { - // Minimum execution time: 25_200 nanoseconds. - Weight::from_ref_time(26_400_000) + // Proof Size summary in bytes: + // Measured: `231` + // Estimated: `3314` + // Minimum execution time: 21_195 nanoseconds. + Weight::from_ref_time(21_872_000) + .saturating_add(Weight::from_proof_size(3314)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:0 w:5) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:100 w:100) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) /// The range of component `x` is `[0, 100]`. fn clear_vc_registry(x: u32, ) -> Weight { - // Minimum execution time: 22_800 nanoseconds. - Weight::from_ref_time(24_798_888) - // Standard Error: 3_450 - .saturating_add(Weight::from_ref_time(1_010_369).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `91 + x * (85 ±0)` + // Estimated: `527 + x * (2787 ±0)` + // Minimum execution time: 16_934 nanoseconds. + Weight::from_ref_time(19_385_276) + .saturating_add(Weight::from_proof_size(527)) + // Standard Error: 2_152 + .saturating_add(Weight::from_ref_time(1_342_315).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(2787).saturating_mul(x.into())) } } diff --git a/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs index 15e22f29ab..fcfdc17050 100644 --- a/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/rococo/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,17 +48,27 @@ use sp_std::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - // Storage: XcmpQueue QueueConfig (r:1 w: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_u32() -> Weight { - // Minimum execution time: 9_361 nanoseconds. - Weight::from_ref_time(9_580_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 7_844 nanoseconds. + Weight::from_ref_time(8_222_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: XcmpQueue QueueConfig (r:1 w: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 { - // Minimum execution time: 9_244 nanoseconds. - Weight::from_ref_time(9_643_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 8_080 nanoseconds. + Weight::from_ref_time(8_360_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index f8cfe039e4..f5cdfaa865 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -49,51 +50,82 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - // Minimum execution time: 4_886 nanoseconds. - Weight::from_ref_time(5_023_000) - // Standard Error: 1 - .saturating_add(Weight::from_ref_time(604).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_467 nanoseconds. + Weight::from_ref_time(2_519_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(593).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 17_670 nanoseconds. - Weight::from_ref_time(17_983_000) - // Standard Error: 34 - .saturating_add(Weight::from_ref_time(3_001).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_452 nanoseconds. + Weight::from_ref_time(19_928_377) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(2_508).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: System Digest (r:1 w:1) + /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) + /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 10_839 nanoseconds. - Weight::from_ref_time(11_558_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `495` + // Minimum execution time: 4_830 nanoseconds. + Weight::from_ref_time(5_121_000) + .saturating_add(Weight::from_proof_size(495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_925 nanoseconds. - Weight::from_ref_time(5_025_000) - // Standard Error: 5_795 - .saturating_add(Weight::from_ref_time(984_795).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_332 nanoseconds. + Weight::from_ref_time(2_483_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_970 + .saturating_add(Weight::from_ref_time(999_088).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 5_105 nanoseconds. - Weight::from_ref_time(5_168_000) - // Standard Error: 6_744 - .saturating_add(Weight::from_ref_time(773_739).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_379 nanoseconds. + Weight::from_ref_time(2_441_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_043 + .saturating_add(Weight::from_ref_time(704_746).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// 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 { - // Minimum execution time: 7_040 nanoseconds. - Weight::from_ref_time(7_297_000) - // Standard Error: 8_901 - .saturating_add(Weight::from_ref_time(1_592_667).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `123 + p * (69 ±0)` + // Estimated: `106 + p * (70 ±0)` + // Minimum execution time: 4_768 nanoseconds. + Weight::from_ref_time(4_864_000) + .saturating_add(Weight::from_proof_size(106)) + // Standard Error: 1_725 + .saturating_add(Weight::from_ref_time(1_525_243).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(70).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_asset_manager.rs b/runtime/rococo/src/weights/pallet_asset_manager.rs index ad70fecd4f..6c15c03bb7 100644 --- a/runtime/rococo/src/weights/pallet_asset_manager.rs +++ b/runtime/rococo/src/weights/pallet_asset_manager.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_asset_manager` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,45 +48,77 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_asset_manager`. pub struct WeightInfo(PhantomData); impl pallet_asset_manager::WeightInfo for WeightInfo { - // Storage: AssetManager AssetTypeId (r:1 w:1) - // Storage: AssetManager ForeignAssetTracker (r:1 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager ForeignAssetTracker (r:1 w:1) + /// Proof Skipped: AssetManager ForeignAssetTracker (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn register_foreign_asset_type() -> Weight { - // Minimum execution time: 37_550 nanoseconds. - Weight::from_ref_time(38_381_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `3538` + // Minimum execution time: 35_046 nanoseconds. + Weight::from_ref_time(36_410_000) + .saturating_add(Weight::from_proof_size(3538)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdMetadata (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) fn update_foreign_asset_metadata() -> Weight { - // Minimum execution time: 26_231 nanoseconds. - Weight::from_ref_time(26_873_000) + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3079` + // Minimum execution time: 21_094 nanoseconds. + Weight::from_ref_time(21_774_000) + .saturating_add(Weight::from_proof_size(3079)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:0) - // Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:0) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdUnitsPerSecond (max_values: None, max_size: None, mode: Measured) fn set_asset_units_per_second() -> Weight { - // Minimum execution time: 25_330 nanoseconds. - Weight::from_ref_time(26_012_000) + // Proof Size summary in bytes: + // Measured: `302` + // Estimated: `3079` + // Minimum execution time: 19_825 nanoseconds. + Weight::from_ref_time(20_483_000) + .saturating_add(Weight::from_proof_size(3079)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: AssetManager AssetIdType (r:1 w:1) - // Storage: AssetManager AssetTypeId (r:1 w:1) + /// Storage: AssetManager AssetIdType (r:1 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetTypeId (r:1 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) fn add_asset_type() -> Weight { - // Minimum execution time: 30_491 nanoseconds. - Weight::from_ref_time(31_127_000) + // Proof Size summary in bytes: + // Measured: `325` + // Estimated: `5600` + // Minimum execution time: 26_173 nanoseconds. + Weight::from_ref_time(27_222_000) + .saturating_add(Weight::from_proof_size(5600)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: AssetManager AssetTypeId (r:2 w:1) - // Storage: AssetManager AssetIdType (r:0 w:1) + /// Storage: AssetManager AssetTypeId (r:2 w:1) + /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: AssetManager AssetIdType (r:0 w:1) + /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) fn remove_asset_type() -> Weight { - // Minimum execution time: 36_589 nanoseconds. - Weight::from_ref_time(38_210_000) + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `5914` + // Minimum execution time: 33_200 nanoseconds. + Weight::from_ref_time(34_464_000) + .saturating_add(Weight::from_proof_size(5914)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_balances.rs b/runtime/rococo/src/weights/pallet_balances.rs index d6e6bf7ad2..27d1c44713 100644 --- a/runtime/rococo/src/weights/pallet_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,52 +48,87 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 62_522 nanoseconds. - Weight::from_ref_time(64_132_000) + // Proof Size summary in bytes: + // Measured: `1488` + // Estimated: `2603` + // Minimum execution time: 76_203 nanoseconds. + Weight::from_ref_time(77_938_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 45_619 nanoseconds. - Weight::from_ref_time(46_788_000) + // Proof Size summary in bytes: + // Measured: `1334` + // Estimated: `2603` + // Minimum execution time: 55_260 nanoseconds. + Weight::from_ref_time(56_321_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { - // Minimum execution time: 34_408 nanoseconds. - Weight::from_ref_time(35_668_000) + // Proof Size summary in bytes: + // Measured: `1488` + // Estimated: `2603` + // Minimum execution time: 41_207 nanoseconds. + Weight::from_ref_time(42_592_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { - // Minimum execution time: 38_819 nanoseconds. - Weight::from_ref_time(40_616_000) + // Proof Size summary in bytes: + // Measured: `1488` + // Estimated: `2603` + // Minimum execution time: 46_924 nanoseconds. + Weight::from_ref_time(47_849_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:2 w:2) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { - // Minimum execution time: 59_094 nanoseconds. - Weight::from_ref_time(62_218_000) + // Proof Size summary in bytes: + // Measured: `1484` + // Estimated: `5206` + // Minimum execution time: 74_271 nanoseconds. + Weight::from_ref_time(76_807_000) + .saturating_add(Weight::from_proof_size(5206)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { - // Minimum execution time: 53_078 nanoseconds. - Weight::from_ref_time(54_029_000) + // Proof Size summary in bytes: + // Measured: `1334` + // Estimated: `2603` + // Minimum execution time: 64_514 nanoseconds. + Weight::from_ref_time(65_740_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { - // Minimum execution time: 29_251 nanoseconds. - Weight::from_ref_time(29_986_000) + // Proof Size summary in bytes: + // Measured: `1334` + // Estimated: `2603` + // Minimum execution time: 34_392 nanoseconds. + Weight::from_ref_time(35_065_000) + .saturating_add(Weight::from_proof_size(2603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_bridge.rs b/runtime/rococo/src/weights/pallet_bridge.rs index b84f060b76..3c9748481f 100644 --- a/runtime/rococo/src/weights/pallet_bridge.rs +++ b/runtime/rococo/src/weights/pallet_bridge.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,83 +48,147 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge`. pub struct WeightInfo(PhantomData); impl pallet_bridge::WeightInfo for WeightInfo { - // Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Storage: ChainBridge RelayerThreshold (r:0 w:1) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) fn set_threshold() -> Weight { - // Minimum execution time: 18_083 nanoseconds. - Weight::from_ref_time(18_827_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_486 nanoseconds. + Weight::from_ref_time(11_220_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn set_resource() -> Weight { - // Minimum execution time: 7_304 nanoseconds. - Weight::from_ref_time(7_757_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_104 nanoseconds. + Weight::from_ref_time(5_273_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Resources (r:0 w:1) + /// Storage: ChainBridge Resources (r:0 w:1) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) fn remove_resource() -> Weight { - // Minimum execution time: 6_845 nanoseconds. - Weight::from_ref_time(7_093_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_330 nanoseconds. + Weight::from_ref_time(4_567_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge ChainNonces (r:1 w:1) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) fn whitelist_chain() -> Weight { - // Minimum execution time: 22_140 nanoseconds. - Weight::from_ref_time(23_045_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 16_064 nanoseconds. + Weight::from_ref_time(16_726_000) + .saturating_add(Weight::from_proof_size(2617)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn add_relayer() -> Weight { - // Minimum execution time: 25_188 nanoseconds. - Weight::from_ref_time(25_788_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `3254` + // Minimum execution time: 19_278 nanoseconds. + Weight::from_ref_time(20_113_000) + .saturating_add(Weight::from_proof_size(3254)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge Relayers (r:1 w:1) - // Storage: ChainBridge RelayerCount (r:1 w:1) + /// Storage: ChainBridge Relayers (r:1 w:1) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:1) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn remove_relayer() -> Weight { - // Minimum execution time: 27_497 nanoseconds. - Weight::from_ref_time(28_104_000) + // Proof Size summary in bytes: + // Measured: `223` + // Estimated: `3416` + // Minimum execution time: 21_205 nanoseconds. + Weight::from_ref_time(22_446_000) + .saturating_add(Weight::from_proof_size(3416)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ChainBridge BridgeFee (r:0 w:1) + /// Storage: ChainBridge BridgeFee (r:0 w:1) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) fn update_fee() -> Weight { - // Minimum execution time: 19_179 nanoseconds. - Weight::from_ref_time(20_011_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_891 nanoseconds. + Weight::from_ref_time(12_509_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn acknowledge_proposal() -> Weight { - // Minimum execution time: 54_835 nanoseconds. - Weight::from_ref_time(57_362_000) + // Proof Size summary in bytes: + // Measured: `340` + // Estimated: `12930` + // Minimum execution time: 56_690 nanoseconds. + Weight::from_ref_time(58_848_000) + .saturating_add(Weight::from_proof_size(12930)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Relayers (r:1 w:0) - // Storage: ChainBridge ChainNonces (r:1 w:0) - // Storage: ChainBridge Resources (r:1 w:0) - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Relayers (r:1 w:0) + /// Proof Skipped: ChainBridge Relayers (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:0) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Resources (r:1 w:0) + /// Proof Skipped: ChainBridge Resources (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn reject_proposal() -> Weight { - // Minimum execution time: 49_768 nanoseconds. - Weight::from_ref_time(50_640_000) + // Proof Size summary in bytes: + // Measured: `340` + // Estimated: `12930` + // Minimum execution time: 47_649 nanoseconds. + Weight::from_ref_time(49_642_000) + .saturating_add(Weight::from_proof_size(12930)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ChainBridge Votes (r:1 w:1) - // Storage: ChainBridge RelayerThreshold (r:1 w:0) - // Storage: ChainBridge RelayerCount (r:1 w:0) + /// Storage: ChainBridge Votes (r:1 w:1) + /// Proof Skipped: ChainBridge Votes (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerThreshold (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerThreshold (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge RelayerCount (r:1 w:0) + /// Proof Skipped: ChainBridge RelayerCount (max_values: Some(1), max_size: None, mode: Measured) fn eval_vote_state() -> Weight { - // Minimum execution time: 24_108 nanoseconds. - Weight::from_ref_time(25_186_000) + // Proof Size summary in bytes: + // Measured: `515` + // Estimated: `5010` + // Minimum execution time: 20_485 nanoseconds. + Weight::from_ref_time(21_389_000) + .saturating_add(Weight::from_proof_size(5010)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_bridge_transfer.rs b/runtime/rococo/src/weights/pallet_bridge_transfer.rs index c2a98a3a25..875ab69a90 100644 --- a/runtime/rococo/src/weights/pallet_bridge_transfer.rs +++ b/runtime/rococo/src/weights/pallet_bridge_transfer.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_bridge_transfer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,37 +48,63 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bridge_transfer`. pub struct WeightInfo(PhantomData); impl pallet_bridge_transfer::WeightInfo for WeightInfo { - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: ChainBridge ChainNonces (r:1 w:1) - // Storage: ChainBridge BridgeFee (r:1 w:0) - // Storage: System Account (r:2 w:2) - // Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ChainBridge ChainNonces (r:1 w:1) + /// Proof Skipped: ChainBridge ChainNonces (max_values: None, max_size: None, mode: Measured) + /// Storage: ChainBridge BridgeFee (r:1 w:0) + /// Proof Skipped: ChainBridge BridgeFee (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ChainBridge BridgeEvents (r:1 w:1) + /// Proof Skipped: ChainBridge BridgeEvents (max_values: Some(1), max_size: None, mode: Measured) fn transfer_native() -> Weight { - // Minimum execution time: 81_877 nanoseconds. - Weight::from_ref_time(83_082_000) + // Proof Size summary in bytes: + // Measured: `631` + // Estimated: `13670` + // Minimum execution time: 74_105 nanoseconds. + Weight::from_ref_time(77_112_000) + .saturating_add(Weight::from_proof_size(13670)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:0) - // Storage: BridgeTransfer ExternalBalances (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:0) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 47_735 nanoseconds. - Weight::from_ref_time(48_419_000) + // Proof Size summary in bytes: + // Measured: `244` + // Estimated: `4081` + // Minimum execution time: 36_466 nanoseconds. + Weight::from_ref_time(38_211_000) + .saturating_add(Weight::from_proof_size(4081)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Storage: BridgeTransfer MaximumIssuance (r:1 w:1) + /// Proof Skipped: BridgeTransfer MaximumIssuance (max_values: Some(1), max_size: None, mode: Measured) fn set_maximum_issuance() -> Weight { - // Minimum execution time: 21_842 nanoseconds. - Weight::from_ref_time(22_477_000) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 15_444 nanoseconds. + Weight::from_ref_time(16_030_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Storage: BridgeTransfer ExternalBalances (r:0 w:1) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) fn set_external_balances() -> Weight { - // Minimum execution time: 6_332 nanoseconds. - Weight::from_ref_time(6_525_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_408 nanoseconds. + Weight::from_ref_time(3_591_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/rococo/src/weights/pallet_collective.rs b/runtime/rococo/src/weights/pallet_collective.rs index 38017a42c3..7a73b43b70 100644 --- a/runtime/rococo/src/weights/pallet_collective.rs +++ b/runtime/rococo/src/weights/pallet_collective.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,163 +48,252 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Council Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Prime (r:0 w:1) - // Storage: Council Voting (r:100 w:100) + /// Storage: Council Members (r:1 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:100 w:100) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - // Minimum execution time: 24_999 nanoseconds. - Weight::from_ref_time(25_259_000) - // Standard Error: 104_980 - .saturating_add(Weight::from_ref_time(7_993_472).saturating_mul(m.into())) - // Standard Error: 104_980 - .saturating_add(Weight::from_ref_time(11_300_196).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` + // Estimated: `33419 + m * (7730 ±23) + p * (10156 ±23)` + // Minimum execution time: 24_452 nanoseconds. + Weight::from_ref_time(24_838_000) + .saturating_add(Weight::from_proof_size(33419)) + // Standard Error: 114_718 + .saturating_add(Weight::from_ref_time(8_873_249).saturating_mul(m.into())) + // Standard Error: 114_718 + .saturating_add(Weight::from_ref_time(12_353_417).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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7730).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(10156).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council 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 { - // Minimum execution time: 29_460 nanoseconds. - Weight::from_ref_time(27_776_540) - // Standard Error: 328 - .saturating_add(Weight::from_ref_time(2_438).saturating_mul(b.into())) - // Standard Error: 3_378 - .saturating_add(Weight::from_ref_time(40_468).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `168 + m * (32 ±0)` + // Estimated: `663 + m * (32 ±0)` + // Minimum execution time: 22_908 nanoseconds. + Weight::from_ref_time(22_352_184) + .saturating_add(Weight::from_proof_size(663)) + // Standard Error: 90 + .saturating_add(Weight::from_ref_time(2_295).saturating_mul(b.into())) + // Standard Error: 932 + .saturating_add(Weight::from_ref_time(21_156).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:0) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:0) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - // Minimum execution time: 31_548 nanoseconds. - Weight::from_ref_time(30_944_618) - // Standard Error: 64 - .saturating_add(Weight::from_ref_time(2_535).saturating_mul(b.into())) - // Standard Error: 659 - .saturating_add(Weight::from_ref_time(29_925).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `168 + m * (32 ±0)` + // Estimated: `3306 + m * (64 ±0)` + // Minimum execution time: 26_523 nanoseconds. + Weight::from_ref_time(24_956_649) + .saturating_add(Weight::from_proof_size(3306)) + // Standard Error: 44 + .saturating_add(Weight::from_ref_time(2_690).saturating_mul(b.into())) + // Standard Error: 460 + .saturating_add(Weight::from_ref_time(32_902).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalCount (r:1 w:1) - // Storage: Council Voting (r:0 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalCount (r:1 w:1) + /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council 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, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 40_662 nanoseconds. - Weight::from_ref_time(34_126_316) - // Standard Error: 450 - .saturating_add(Weight::from_ref_time(7_780).saturating_mul(b.into())) - // Standard Error: 4_672 - .saturating_add(Weight::from_ref_time(73_854).saturating_mul(m.into())) - // Standard Error: 4_626 - .saturating_add(Weight::from_ref_time(305_083).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `560 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `6185 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 34_802 nanoseconds. + Weight::from_ref_time(35_731_797) + .saturating_add(Weight::from_proof_size(6185)) + // Standard Error: 183 + .saturating_add(Weight::from_ref_time(4_754).saturating_mul(b.into())) + // Standard Error: 1_908 + .saturating_add(Weight::from_ref_time(30_351).saturating_mul(m.into())) + // Standard Error: 1_889 + .saturating_add(Weight::from_ref_time(238_761).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(165).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Members (r:1 w:0) - // Storage: Council Voting (r:1 w:1) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - // Minimum execution time: 49_106 nanoseconds. - Weight::from_ref_time(53_410_363) - // Standard Error: 5_996 - .saturating_add(Weight::from_ref_time(62_690).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `939 + m * (64 ±0)` + // Estimated: `4848 + m * (128 ±0)` + // Minimum execution time: 36_013 nanoseconds. + Weight::from_ref_time(39_371_456) + .saturating_add(Weight::from_proof_size(4848)) + // Standard Error: 1_482 + .saturating_add(Weight::from_ref_time(36_760).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 45_553 nanoseconds. - Weight::from_ref_time(48_494_250) - // Standard Error: 3_123 - .saturating_add(Weight::from_ref_time(36_732).saturating_mul(m.into())) - // Standard Error: 3_021 - .saturating_add(Weight::from_ref_time(223_371).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `598 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `5545 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 39_068 nanoseconds. + Weight::from_ref_time(41_070_896) + .saturating_add(Weight::from_proof_size(5545)) + // Standard Error: 1_549 + .saturating_add(Weight::from_ref_time(41_435).saturating_mul(m.into())) + // Standard Error: 1_498 + .saturating_add(Weight::from_ref_time(215_281).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 59_937 nanoseconds. - Weight::from_ref_time(50_068_247) - // Standard Error: 745 - .saturating_add(Weight::from_ref_time(13_351).saturating_mul(b.into())) - // Standard Error: 7_919 - .saturating_add(Weight::from_ref_time(78_960).saturating_mul(m.into())) - // Standard Error: 7_662 - .saturating_add(Weight::from_ref_time(303_310).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `941 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `9164 + b * (4 ±0) + m * (260 ±0) + p * (160 ±0)` + // Minimum execution time: 55_661 nanoseconds. + Weight::from_ref_time(59_241_222) + .saturating_add(Weight::from_proof_size(9164)) + // Standard Error: 330 + .saturating_add(Weight::from_ref_time(3_890).saturating_mul(b.into())) + // Standard Error: 3_396 + .saturating_add(Weight::from_ref_time(297_668).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(160).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Minimum execution time: 48_927 nanoseconds. - Weight::from_ref_time(50_810_270) - // Standard Error: 3_896 - .saturating_add(Weight::from_ref_time(47_572).saturating_mul(m.into())) - // Standard Error: 3_769 - .saturating_add(Weight::from_ref_time(231_177).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `618 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `6660 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 43_140 nanoseconds. + Weight::from_ref_time(46_007_625) + .saturating_add(Weight::from_proof_size(6660)) + // Standard Error: 1_488 + .saturating_add(Weight::from_ref_time(39_423).saturating_mul(m.into())) + // Standard Error: 1_439 + .saturating_add(Weight::from_ref_time(212_258).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + /// Storage: Council Voting (r:1 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Members (r:1 w:0) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:1 w:0) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:1 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council 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, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - // Minimum execution time: 63_416 nanoseconds. - Weight::from_ref_time(67_054_903) - // Standard Error: 559 - .saturating_add(Weight::from_ref_time(1_855).saturating_mul(b.into())) - // Standard Error: 5_949 - .saturating_add(Weight::from_ref_time(23_847).saturating_mul(m.into())) - // Standard Error: 5_756 - .saturating_add(Weight::from_ref_time(288_135).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `961 + m * (64 ±0) + p * (39 ±0)` + // Estimated: `10565 + b * (5 ±0) + m * (325 ±0) + p * (200 ±0)` + // Minimum execution time: 59_300 nanoseconds. + Weight::from_ref_time(66_639_055) + .saturating_add(Weight::from_proof_size(10565)) + // Standard Error: 299 + .saturating_add(Weight::from_ref_time(1_150).saturating_mul(b.into())) + // Standard Error: 3_076 + .saturating_add(Weight::from_ref_time(280_933).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(200).saturating_mul(p.into())) } - // Storage: Council Proposals (r:1 w:1) - // Storage: Council Voting (r:0 w:1) - // Storage: Council ProposalOf (r:0 w:1) + /// Storage: Council Proposals (r:1 w:1) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Voting (r:0 w:1) + /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: Council ProposalOf (r:0 w:1) + /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - // Minimum execution time: 28_532 nanoseconds. - Weight::from_ref_time(31_757_247) - // Standard Error: 3_626 - .saturating_add(Weight::from_ref_time(278_140).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `324 + p * (32 ±0)` + // Estimated: `1470 + p * (96 ±0)` + // Minimum execution time: 21_620 nanoseconds. + Weight::from_ref_time(24_961_260) + .saturating_add(Weight::from_proof_size(1470)) + // Standard Error: 1_631 + .saturating_add(Weight::from_ref_time(210_843).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index 3122c04462..5904e8f6cf 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -17,20 +17,22 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-20, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=rococo-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_democracy // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -58,8 +60,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4797` // Estimated: `23409` - // Minimum execution time: 52_700 nanoseconds. - Weight::from_ref_time(56_000_000) + // Minimum execution time: 55_690 nanoseconds. + Weight::from_ref_time(57_223_000) .saturating_add(Weight::from_proof_size(23409)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +72,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3553` // Estimated: `5705` - // Minimum execution time: 48_100 nanoseconds. - Weight::from_ref_time(52_100_000) + // Minimum execution time: 51_764 nanoseconds. + Weight::from_ref_time(53_754_000) .saturating_add(Weight::from_proof_size(5705)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +88,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3460` // Estimated: `12720` - // Minimum execution time: 62_800 nanoseconds. - Weight::from_ref_time(65_800_000) + // Minimum execution time: 68_206 nanoseconds. + Weight::from_ref_time(69_617_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +104,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3482` // Estimated: `12720` - // Minimum execution time: 62_400 nanoseconds. - Weight::from_ref_time(65_100_000) + // Minimum execution time: 67_392 nanoseconds. + Weight::from_ref_time(69_709_000) .saturating_add(Weight::from_proof_size(12720)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -118,8 +120,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331` // Estimated: `7712` - // Minimum execution time: 36_900 nanoseconds. - Weight::from_ref_time(37_800_000) + // Minimum execution time: 37_983 nanoseconds. + Weight::from_ref_time(39_005_000) .saturating_add(Weight::from_proof_size(7712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -142,8 +144,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6340` // Estimated: `38995` - // Minimum execution time: 138_700 nanoseconds. - Weight::from_ref_time(146_700_000) + // Minimum execution time: 143_322 nanoseconds. + Weight::from_ref_time(148_596_000) .saturating_add(Weight::from_proof_size(38995)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -156,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3381` // Estimated: `6340` - // Minimum execution time: 17_700 nanoseconds. - Weight::from_ref_time(18_400_000) + // Minimum execution time: 18_375 nanoseconds. + Weight::from_ref_time(19_032_000) .saturating_add(Weight::from_proof_size(6340)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -168,8 +170,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_600 nanoseconds. - Weight::from_ref_time(4_900_000) + // Minimum execution time: 4_480 nanoseconds. + Weight::from_ref_time(4_808_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +181,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_700 nanoseconds. - Weight::from_ref_time(5_000_000) + // Minimum execution time: 4_577 nanoseconds. + Weight::from_ref_time(4_853_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,8 +198,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3654` - // Minimum execution time: 39_700 nanoseconds. - Weight::from_ref_time(40_700_000) + // Minimum execution time: 39_992 nanoseconds. + Weight::from_ref_time(41_499_000) .saturating_add(Weight::from_proof_size(3654)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -212,8 +214,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3484` // Estimated: `8868` - // Minimum execution time: 42_700 nanoseconds. - Weight::from_ref_time(43_800_000) + // Minimum execution time: 45_733 nanoseconds. + Weight::from_ref_time(47_909_000) .saturating_add(Weight::from_proof_size(8868)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -230,8 +232,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6219` // Estimated: `30636` - // Minimum execution time: 112_200 nanoseconds. - Weight::from_ref_time(117_800_000) + // Minimum execution time: 118_518 nanoseconds. + Weight::from_ref_time(120_059_000) .saturating_add(Weight::from_proof_size(30636)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -244,8 +246,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `2528` - // Minimum execution time: 28_400 nanoseconds. - Weight::from_ref_time(29_200_000) + // Minimum execution time: 28_978 nanoseconds. + Weight::from_ref_time(29_677_000) .saturating_add(Weight::from_proof_size(2528)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -261,11 +263,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 9_600 nanoseconds. - Weight::from_ref_time(11_946_743) + // Minimum execution time: 9_445 nanoseconds. + Weight::from_ref_time(12_405_308) .saturating_add(Weight::from_proof_size(998)) - // Standard Error: 7_771 - .saturating_add(Weight::from_ref_time(3_986_795).saturating_mul(r.into())) + // Standard Error: 7_941 + .saturating_add(Weight::from_ref_time(4_072_866).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)) @@ -288,11 +290,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176 + r * (117 ±0)` // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 13_400 nanoseconds. - Weight::from_ref_time(14_632_048) + // Minimum execution time: 13_100 nanoseconds. + Weight::from_ref_time(15_805_710) .saturating_add(Weight::from_proof_size(19318)) - // Standard Error: 9_180 - .saturating_add(Weight::from_ref_time(4_043_140).saturating_mul(r.into())) + // Standard Error: 9_660 + .saturating_add(Weight::from_ref_time(4_089_549).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)) @@ -309,11 +311,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854 + r * (139 ±0)` // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 53_100 nanoseconds. - Weight::from_ref_time(58_306_177) + // Minimum execution time: 52_723 nanoseconds. + Weight::from_ref_time(60_036_487) .saturating_add(Weight::from_proof_size(22584)) - // Standard Error: 12_712 - .saturating_add(Weight::from_ref_time(5_768_171).saturating_mul(r.into())) + // Standard Error: 12_435 + .saturating_add(Weight::from_ref_time(5_850_715).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)) @@ -329,11 +331,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488 + r * (139 ±0)` // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 29_400 nanoseconds. - Weight::from_ref_time(29_488_411) + // Minimum execution time: 30_564 nanoseconds. + Weight::from_ref_time(33_970_874) .saturating_add(Weight::from_proof_size(12540)) - // Standard Error: 12_605 - .saturating_add(Weight::from_ref_time(5_770_427).saturating_mul(r.into())) + // Standard Error: 10_002 + .saturating_add(Weight::from_ref_time(5_721_425).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)) @@ -346,8 +348,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_700 nanoseconds. - Weight::from_ref_time(4_900_000) + // Minimum execution time: 4_358 nanoseconds. + Weight::from_ref_time(4_590_000) .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -362,11 +364,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485` // Estimated: `12647` - // Minimum execution time: 27_200 nanoseconds. - Weight::from_ref_time(36_132_648) + // Minimum execution time: 26_662 nanoseconds. + Weight::from_ref_time(37_018_786) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 3_119 - .saturating_add(Weight::from_ref_time(74_826).saturating_mul(r.into())) + // Standard Error: 3_629 + .saturating_add(Weight::from_ref_time(79_047).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +383,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `12647` - // Minimum execution time: 34_300 nanoseconds. - Weight::from_ref_time(36_479_072) + // Minimum execution time: 35_179 nanoseconds. + Weight::from_ref_time(37_707_336) .saturating_add(Weight::from_proof_size(12647)) - // Standard Error: 1_681 - .saturating_add(Weight::from_ref_time(95_666).saturating_mul(r.into())) + // Standard Error: 1_500 + .saturating_add(Weight::from_ref_time(121_750).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -398,11 +400,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 22_200 nanoseconds. - Weight::from_ref_time(25_544_057) + // Minimum execution time: 22_876 nanoseconds. + Weight::from_ref_time(27_611_871) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 2_088 - .saturating_add(Weight::from_ref_time(118_896).saturating_mul(r.into())) + // Standard Error: 2_087 + .saturating_add(Weight::from_ref_time(140_357).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -415,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701 + r * (27 ±0)` // Estimated: `8946` - // Minimum execution time: 22_300 nanoseconds. - Weight::from_ref_time(25_792_000) + // Minimum execution time: 22_823 nanoseconds. + Weight::from_ref_time(27_550_531) .saturating_add(Weight::from_proof_size(8946)) - // Standard Error: 1_703 - .saturating_add(Weight::from_ref_time(117_042).saturating_mul(r.into())) + // Standard Error: 2_271 + .saturating_add(Weight::from_ref_time(143_097).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -433,8 +435,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3193` - // Minimum execution time: 24_900 nanoseconds. - Weight::from_ref_time(25_600_000) + // Minimum execution time: 26_666 nanoseconds. + Weight::from_ref_time(27_825_000) .saturating_add(Weight::from_proof_size(3193)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -447,8 +449,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3155` - // Minimum execution time: 22_900 nanoseconds. - Weight::from_ref_time(23_400_000) + // Minimum execution time: 24_241 nanoseconds. + Weight::from_ref_time(25_035_000) .saturating_add(Weight::from_proof_size(3155)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -463,8 +465,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4886` // Estimated: `19763` - // Minimum execution time: 52_500 nanoseconds. - Weight::from_ref_time(54_800_000) + // Minimum execution time: 52_547 nanoseconds. + Weight::from_ref_time(53_640_000) .saturating_add(Weight::from_proof_size(19763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -477,8 +479,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4786` // Estimated: `19725` - // Minimum execution time: 49_300 nanoseconds. - Weight::from_ref_time(52_900_000) + // Minimum execution time: 48_893 nanoseconds. + Weight::from_ref_time(50_531_000) .saturating_add(Weight::from_proof_size(19725)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -491,8 +493,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `2566` - // Minimum execution time: 20_600 nanoseconds. - Weight::from_ref_time(21_300_000) + // Minimum execution time: 21_328 nanoseconds. + Weight::from_ref_time(22_081_000) .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -505,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `5204` - // Minimum execution time: 25_600 nanoseconds. - Weight::from_ref_time(26_200_000) + // Minimum execution time: 26_808 nanoseconds. + Weight::from_ref_time(27_516_000) .saturating_add(Weight::from_proof_size(5204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/rococo/src/weights/pallet_drop3.rs b/runtime/rococo/src/weights/pallet_drop3.rs index b64d4f8f99..9d33e73f07 100644 --- a/runtime/rococo/src/weights/pallet_drop3.rs +++ b/runtime/rococo/src/weights/pallet_drop3.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,73 +48,126 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_drop3`. pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { - // Storage: Drop3 Admin (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:1) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn set_admin() -> Weight { - // Minimum execution time: 22_060 nanoseconds. - Weight::from_ref_time(22_727_000) + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `499` + // Minimum execution time: 13_322 nanoseconds. + Weight::from_ref_time(13_875_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) fn approve_reward_pool() -> Weight { - // Minimum execution time: 31_039 nanoseconds. - Weight::from_ref_time(31_587_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 23_035 nanoseconds. + Weight::from_ref_time(24_025_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 Admin (r:1 w:0) - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn reject_reward_pool() -> Weight { - // Minimum execution time: 73_112 nanoseconds. - Weight::from_ref_time(74_527_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 67_524 nanoseconds. + Weight::from_ref_time(70_237_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn start_reward_pool() -> Weight { - // Minimum execution time: 30_442 nanoseconds. - Weight::from_ref_time(31_935_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 23_066 nanoseconds. + Weight::from_ref_time(24_059_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) fn stop_reward_pool() -> Weight { - // Minimum execution time: 32_255 nanoseconds. - Weight::from_ref_time(33_056_000) + // Proof Size summary in bytes: + // Measured: `296` + // Estimated: `3562` + // Minimum execution time: 22_772 nanoseconds. + Weight::from_ref_time(24_031_000) + .saturating_add(Weight::from_proof_size(3562)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: Drop3 Admin (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 Admin (r:1 w:0) + /// Proof Skipped: Drop3 Admin (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) fn close_reward_pool() -> Weight { - // Minimum execution time: 51_517 nanoseconds. - Weight::from_ref_time(52_414_000) + // Proof Size summary in bytes: + // Measured: `429` + // Estimated: `6860` + // Minimum execution time: 43_269 nanoseconds. + Weight::from_ref_time(44_342_000) + .saturating_add(Weight::from_proof_size(6860)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: System Account (r:1 w:1) - // Storage: Drop3 CurrentMaxPoolId (r:1 w:1) - // Storage: Drop3 RewardPoolOwners (r:0 w:1) - // Storage: Drop3 RewardPools (r:0 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Drop3 CurrentMaxPoolId (r:1 w:1) + /// Proof Skipped: Drop3 CurrentMaxPoolId (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Drop3 RewardPoolOwners (r:0 w:1) + /// Proof Skipped: Drop3 RewardPoolOwners (max_values: None, max_size: None, mode: Measured) + /// Storage: Drop3 RewardPools (r:0 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 16]`. fn propose_reward_pool(_n: u32, ) -> Weight { - // Minimum execution time: 43_233 nanoseconds. - Weight::from_ref_time(45_779_077) + // Proof Size summary in bytes: + // Measured: `137` + // Estimated: `3509` + // Minimum execution time: 37_781 nanoseconds. + Weight::from_ref_time(40_533_620) + .saturating_add(Weight::from_proof_size(3509)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: Drop3 RewardPools (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Drop3 RewardPools (r:1 w:1) + /// Proof Skipped: Drop3 RewardPools (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn send_reward() -> Weight { - // Minimum execution time: 52_741 nanoseconds. - Weight::from_ref_time(55_412_000) + // Proof Size summary in bytes: + // Measured: `545` + // Estimated: `8226` + // Minimum execution time: 43_710 nanoseconds. + Weight::from_ref_time(45_679_000) + .saturating_add(Weight::from_proof_size(8226)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/rococo/src/weights/pallet_extrinsic_filter.rs b/runtime/rococo/src/weights/pallet_extrinsic_filter.rs index 2edc184f80..675145a462 100644 --- a/runtime/rococo/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/rococo/src/weights/pallet_extrinsic_filter.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,30 +48,42 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn block_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 28_664 nanoseconds. - Weight::from_ref_time(26_913_392) - // Standard Error: 58 - .saturating_add(Weight::from_ref_time(3_911).saturating_mul(p.into())) - // Standard Error: 58 - .saturating_add(Weight::from_ref_time(4_097).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 22_551 nanoseconds. + Weight::from_ref_time(20_705_032) + .saturating_add(Weight::from_proof_size(2617)) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(3_262).saturating_mul(p.into())) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(3_751).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) + /// Proof Skipped: ExtrinsicFilter BlockedExtrinsics (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 1024]`. /// The range of component `f` is `[1, 1024]`. fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - // Minimum execution time: 45_069 nanoseconds. - Weight::from_ref_time(29_366_888) - // Standard Error: 65 - .saturating_add(Weight::from_ref_time(16_886).saturating_mul(p.into())) - // Standard Error: 65 - .saturating_add(Weight::from_ref_time(17_244).saturating_mul(f.into())) + // Proof Size summary in bytes: + // Measured: `178 + p * (1 ±0) + f * (1 ±0)` + // Estimated: `2654 + p * (1 ±0) + f * (1 ±0)` + // Minimum execution time: 40_487 nanoseconds. + Weight::from_ref_time(21_112_772) + .saturating_add(Weight::from_proof_size(2654)) + // Standard Error: 86 + .saturating_add(Weight::from_ref_time(20_188).saturating_mul(p.into())) + // Standard Error: 86 + .saturating_add(Weight::from_ref_time(20_677).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(p.into())) + .saturating_add(Weight::from_proof_size(1).saturating_mul(f.into())) } } diff --git a/runtime/rococo/src/weights/pallet_identity_management.rs b/runtime/rococo/src/weights/pallet_identity_management.rs index 53f05147e2..f29dc9731f 100644 --- a/runtime/rococo/src/weights/pallet_identity_management.rs +++ b/runtime/rococo/src/weights/pallet_identity_management.rs @@ -17,19 +17,22 @@ //! Autogenerated weights for `pallet_identity_management` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-16, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=rococo-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_identity_management // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -45,61 +48,126 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_identity_management`. pub struct WeightInfo(PhantomData); impl pallet_identity_management::WeightInfo for WeightInfo { - // Storage: IdentityManagement Delegatee (r:0 w:1) + /// Storage: IdentityManagement Delegatee (r:0 w:1) + /// Proof: IdentityManagement Delegatee (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn add_delegatee() -> Weight { - // Minimum execution time: 18_600 nanoseconds. - Weight::from_ref_time(19_400_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_457 nanoseconds. + Weight::from_ref_time(12_976_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: IdentityManagement Delegatee (r:1 w:1) + /// Storage: IdentityManagement Delegatee (r:1 w:1) + /// Proof: IdentityManagement Delegatee (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn remove_delegatee() -> Weight { - // Minimum execution time: 23_400 nanoseconds. - Weight::from_ref_time(24_200_000) + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `2523` + // Minimum execution time: 19_097 nanoseconds. + Weight::from_ref_time(19_904_000) + .saturating_add(Weight::from_proof_size(2523)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn create_identity() -> Weight { - // Minimum execution time: 21_100 nanoseconds. - Weight::from_ref_time(21_600_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 18_116 nanoseconds. + Weight::from_ref_time(18_493_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn remove_identity() -> Weight { - // Minimum execution time: 20_800 nanoseconds. - Weight::from_ref_time(21_500_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 15_709 nanoseconds. + Weight::from_ref_time(16_562_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn verify_identity() -> Weight { - // Minimum execution time: 21_300 nanoseconds. - Weight::from_ref_time(21_900_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 17_203 nanoseconds. + Weight::from_ref_time(18_048_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: IMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: IMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn set_user_shielding_key() -> Weight { - // Minimum execution time: 20_400 nanoseconds. - Weight::from_ref_time(21_900_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 15_696 nanoseconds. + Weight::from_ref_time(16_319_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn user_shielding_key_set() -> Weight { - // Minimum execution time: 17_500 nanoseconds. - Weight::from_ref_time(18_000_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 19_697 nanoseconds. + Weight::from_ref_time(20_547_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_created() -> Weight { - // Minimum execution time: 17_700 nanoseconds. - Weight::from_ref_time(18_400_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 20_017 nanoseconds. + Weight::from_ref_time(20_863_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_removed() -> Weight { - // Minimum execution time: 17_300 nanoseconds. - Weight::from_ref_time(17_900_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 19_939 nanoseconds. + Weight::from_ref_time(20_832_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn identity_verified() -> Weight { - // Minimum execution time: 17_300 nanoseconds. - Weight::from_ref_time(18_000_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 19_795 nanoseconds. + Weight::from_ref_time(20_606_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn some_error() -> Weight { - // Minimum execution time: 17_700 nanoseconds. - Weight::from_ref_time(18_200_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 19_803 nanoseconds. + Weight::from_ref_time(21_014_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index ea7b42cea3..fa930114c7 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,95 +48,158 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - // Minimum execution time: 30_195 nanoseconds. - Weight::from_ref_time(32_017_428) - // Standard Error: 608 - .saturating_add(Weight::from_ref_time(56_999).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `308 + m * (64 ±0)` + // Estimated: `5116 + m * (192 ±0)` + // Minimum execution time: 24_326 nanoseconds. + Weight::from_ref_time(25_416_742) + .saturating_add(Weight::from_proof_size(5116)) + // Standard Error: 653 + .saturating_add(Weight::from_ref_time(52_718).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - // Minimum execution time: 34_138 nanoseconds. - Weight::from_ref_time(36_347_081) - // Standard Error: 1_503 - .saturating_add(Weight::from_ref_time(63_242).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `413 + m * (64 ±0)` + // Estimated: `5955 + m * (192 ±0)` + // Minimum execution time: 28_100 nanoseconds. + Weight::from_ref_time(29_371_997) + .saturating_add(Weight::from_proof_size(5955)) + // Standard Error: 673 + .saturating_add(Weight::from_ref_time(51_470).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - // Minimum execution time: 35_254 nanoseconds. - Weight::from_ref_time(37_029_777) - // Standard Error: 943 - .saturating_add(Weight::from_ref_time(68_218).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `413 + m * (64 ±0)` + // Estimated: `5955 + m * (192 ±0)` + // Minimum execution time: 28_354 nanoseconds. + Weight::from_ref_time(29_790_184) + .saturating_add(Weight::from_proof_size(5955)) + // Standard Error: 751 + .saturating_add(Weight::from_ref_time(70_252).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:0) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:0) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - // Minimum execution time: 34_682 nanoseconds. - Weight::from_ref_time(36_268_498) - // Standard Error: 833 - .saturating_add(Weight::from_ref_time(230_906).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `412 + m * (64 ±0)` + // Estimated: `5955 + m * (192 ±0)` + // Minimum execution time: 27_614 nanoseconds. + Weight::from_ref_time(29_676_801) + .saturating_add(Weight::from_proof_size(5955)) + // Standard Error: 1_183 + .saturating_add(Weight::from_ref_time(231_445).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: CouncilMembership Prime (r:1 w:1) - // Storage: Council Members (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:1) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: Council Proposals (r:1 w:0) + /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: CouncilMembership Prime (r:1 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Members (r:0 w:1) + /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - // Minimum execution time: 35_156 nanoseconds. - Weight::from_ref_time(37_304_877) - // Standard Error: 904 - .saturating_add(Weight::from_ref_time(69_383).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `412 + m * (64 ±0)` + // Estimated: `5955 + m * (192 ±0)` + // Minimum execution time: 28_761 nanoseconds. + Weight::from_ref_time(30_357_698) + .saturating_add(Weight::from_proof_size(5955)) + // Standard Error: 806 + .saturating_add(Weight::from_ref_time(66_248).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: CouncilMembership Members (r:1 w:0) - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Members (r:1 w:0) + /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - // Minimum execution time: 13_545 nanoseconds. - Weight::from_ref_time(14_226_965) - // Standard Error: 343 - .saturating_add(Weight::from_ref_time(13_577).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `139 + m * (32 ±0)` + // Estimated: `3837 + m * (32 ±0)` + // Minimum execution time: 11_747 nanoseconds. + Weight::from_ref_time(12_498_860) + .saturating_add(Weight::from_proof_size(3837)) + // Standard Error: 321 + .saturating_add(Weight::from_ref_time(15_991).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: CouncilMembership Prime (r:0 w:1) - // Storage: Council Prime (r:0 w:1) + /// Storage: CouncilMembership Prime (r:0 w:1) + /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Council Prime (r:0 w:1) + /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { - // Minimum execution time: 7_245 nanoseconds. - Weight::from_ref_time(7_739_943) - // Standard Error: 185 - .saturating_add(Weight::from_ref_time(956).saturating_mul(m.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_392 nanoseconds. + Weight::from_ref_time(4_671_363) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 125 + .saturating_add(Weight::from_ref_time(1_810).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index b8a81843dc..9817c72372 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -49,80 +50,113 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - // Minimum execution time: 23_050 nanoseconds. - Weight::from_ref_time(24_092_696) - // Standard Error: 23 - .saturating_add(Weight::from_ref_time(1_110).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_651 nanoseconds. + Weight::from_ref_time(19_781_488) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(902).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 64_294 nanoseconds. - Weight::from_ref_time(50_501_624) - // Standard Error: 3_276 - .saturating_add(Weight::from_ref_time(178_737).saturating_mul(s.into())) - // Standard Error: 32 - .saturating_add(Weight::from_ref_time(2_319).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `330 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 56_402 nanoseconds. + Weight::from_ref_time(44_665_623) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_448 + .saturating_add(Weight::from_ref_time(142_161).saturating_mul(s.into())) + // Standard Error: 14 + .saturating_add(Weight::from_ref_time(2_345).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, 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 { - // Minimum execution time: 53_207 nanoseconds. - Weight::from_ref_time(38_164_703) - // Standard Error: 1_958 - .saturating_add(Weight::from_ref_time(180_971).saturating_mul(s.into())) - // Standard Error: 19 - .saturating_add(Weight::from_ref_time(2_066).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 42_310 nanoseconds. + Weight::from_ref_time(29_004_436) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(153_093).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_ref_time(2_318).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) - // Storage: System Account (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 73_235 nanoseconds. - Weight::from_ref_time(42_912_263) - // Standard Error: 11_003 - .saturating_add(Weight::from_ref_time(347_170).saturating_mul(s.into())) - // Standard Error: 108 - .saturating_add(Weight::from_ref_time(3_511).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `484 + s * (33 ±0)` + // Estimated: `8424` + // Minimum execution time: 65_350 nanoseconds. + Weight::from_ref_time(49_365_046) + .saturating_add(Weight::from_proof_size(8424)) + // Standard Error: 1_714 + .saturating_add(Weight::from_ref_time(185_838).saturating_mul(s.into())) + // Standard Error: 16 + .saturating_add(Weight::from_ref_time(2_349).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) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 44_102 nanoseconds. - Weight::from_ref_time(47_116_433) - // Standard Error: 1_873 - .saturating_add(Weight::from_ref_time(189_299).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `340 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 40_368 nanoseconds. + Weight::from_ref_time(42_312_540) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 1_058 + .saturating_add(Weight::from_ref_time(153_501).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 32_370 nanoseconds. - Weight::from_ref_time(33_454_166) - // Standard Error: 2_597 - .saturating_add(Weight::from_ref_time(197_388).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `346` + // Estimated: `5821` + // Minimum execution time: 26_392 nanoseconds. + Weight::from_ref_time(27_887_435) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 976 + .saturating_add(Weight::from_ref_time(147_469).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) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 46_719 nanoseconds. - Weight::from_ref_time(50_197_099) - // Standard Error: 4_205 - .saturating_add(Weight::from_ref_time(205_295).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `549 + s * (1 ±0)` + // Estimated: `5821` + // Minimum execution time: 42_282 nanoseconds. + Weight::from_ref_time(44_615_615) + .saturating_add(Weight::from_proof_size(5821)) + // Standard Error: 972 + .saturating_add(Weight::from_ref_time(143_482).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_parachain_staking.rs b/runtime/rococo/src/weights/pallet_parachain_staking.rs index 29b89f2989..05f2d180b1 100644 --- a/runtime/rococo/src/weights/pallet_parachain_staking.rs +++ b/runtime/rococo/src/weights/pallet_parachain_staking.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_parachain_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `25`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `25`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,387 +48,670 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_parachain_staking`. pub struct WeightInfo(PhantomData); impl pallet_parachain_staking::WeightInfo for WeightInfo { - // Storage: ParachainStaking Candidates (r:1 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:1) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `x` is `[1, 100]`. fn add_candidates_whitelist(x: u32, ) -> Weight { - // Minimum execution time: 24_187 nanoseconds. - Weight::from_ref_time(30_614_151) - // Standard Error: 12_673 - .saturating_add(Weight::from_ref_time(294_915).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `402 + x * (32 ±0)` + // Estimated: `901 + x * (32 ±0)` + // Minimum execution time: 19_434 nanoseconds. + Weight::from_ref_time(23_131_672) + .saturating_add(Weight::from_proof_size(901)) + // Standard Error: 2_374 + .saturating_add(Weight::from_ref_time(97_622).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(x.into())) } - // Storage: ParachainStaking Candidates (r:1 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:1) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `x` is `[1, 100]`. fn remove_candidates_whitelist(x: u32, ) -> Weight { - // Minimum execution time: 24_150 nanoseconds. - Weight::from_ref_time(28_982_869) - // Standard Error: 9_330 - .saturating_add(Weight::from_ref_time(289_211).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `434 + x * (32 ±0)` + // Estimated: `934 + x * (32 ±0)` + // Minimum execution time: 18_480 nanoseconds. + Weight::from_ref_time(22_740_903) + .saturating_add(Weight::from_proof_size(934)) + // Standard Error: 2_480 + .saturating_add(Weight::from_ref_time(84_522).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(x.into())) } - // Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_staking_expectations() -> Weight { - // Minimum execution time: 25_311 nanoseconds. - Weight::from_ref_time(26_147_000) + // Proof Size summary in bytes: + // Measured: `530` + // Estimated: `1025` + // Minimum execution time: 20_660 nanoseconds. + Weight::from_ref_time(21_653_000) + .saturating_add(Weight::from_proof_size(1025)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking InflationConfig (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn set_inflation() -> Weight { - // Minimum execution time: 79_907 nanoseconds. - Weight::from_ref_time(81_481_000) + // Proof Size summary in bytes: + // Measured: `566` + // Estimated: `2122` + // Minimum execution time: 72_940 nanoseconds. + Weight::from_ref_time(74_130_000) + .saturating_add(Weight::from_proof_size(2122)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_account() -> Weight { - // Minimum execution time: 25_416 nanoseconds. - Weight::from_ref_time(26_311_000) + // Proof Size summary in bytes: + // Measured: `498` + // Estimated: `993` + // Minimum execution time: 19_942 nanoseconds. + Weight::from_ref_time(20_758_000) + .saturating_add(Weight::from_proof_size(993)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_reserve_percent() -> Weight { - // Minimum execution time: 25_063 nanoseconds. - Weight::from_ref_time(26_148_000) + // Proof Size summary in bytes: + // Measured: `498` + // Estimated: `993` + // Minimum execution time: 19_400 nanoseconds. + Weight::from_ref_time(20_576_000) + .saturating_add(Weight::from_proof_size(993)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking TotalSelected (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking TotalSelected (r:1 w:1) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn set_total_selected() -> Weight { - // Minimum execution time: 25_970 nanoseconds. - Weight::from_ref_time(27_192_000) + // Proof Size summary in bytes: + // Measured: `475` + // Estimated: `1940` + // Minimum execution time: 20_620 nanoseconds. + Weight::from_ref_time(21_502_000) + .saturating_add(Weight::from_proof_size(1940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking CollatorCommission (r:1 w:1) + /// Storage: ParachainStaking CollatorCommission (r:1 w:1) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) fn set_collator_commission() -> Weight { - // Minimum execution time: 23_148 nanoseconds. - Weight::from_ref_time(24_070_000) + // Proof Size summary in bytes: + // Measured: `438` + // Estimated: `933` + // Minimum execution time: 17_612 nanoseconds. + Weight::from_ref_time(18_716_000) + .saturating_add(Weight::from_proof_size(933)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking Round (r:1 w:1) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Storage: ParachainStaking Round (r:1 w:1) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_blocks_per_round() -> Weight { - // Minimum execution time: 33_887 nanoseconds. - Weight::from_ref_time(34_514_000) + // Proof Size summary in bytes: + // Measured: `594` + // Estimated: `3267` + // Minimum execution time: 29_517 nanoseconds. + Weight::from_ref_time(30_129_000) + .saturating_add(Weight::from_proof_size(3267)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking Candidates (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:0 w:1) - // Storage: ParachainStaking BottomDelegations (r:0 w:1) + /// Storage: ParachainStaking Candidates (r:1 w:0) + /// Proof Skipped: ParachainStaking Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegatorState (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:0 w:1) + /// 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 { - // Minimum execution time: 65_280 nanoseconds. - Weight::from_ref_time(75_460_139) - // Standard Error: 2_451 - .saturating_add(Weight::from_ref_time(268_863).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1640 + x * (80 ±0)` + // Estimated: `19384 + x * (567 ±0)` + // Minimum execution time: 63_467 nanoseconds. + Weight::from_ref_time(60_426_932) + .saturating_add(Weight::from_proof_size(19384)) + // Standard Error: 2_149 + .saturating_add(Weight::from_ref_time(215_087).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + .saturating_add(Weight::from_proof_size(567).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 Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), 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 { - // Minimum execution time: 41_939 nanoseconds. - Weight::from_ref_time(48_950_480) - // Standard Error: 2_315 - .saturating_add(Weight::from_ref_time(203_085).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1423 + x * (48 ±0)` + // Estimated: `7431 + x * (147 ±0)` + // Minimum execution time: 35_014 nanoseconds. + Weight::from_ref_time(31_823_413) + .saturating_add(Weight::from_proof_size(7431)) + // Standard Error: 2_434 + .saturating_add(Weight::from_ref_time(152_399).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + .saturating_add(Weight::from_proof_size(147).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 Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1200 w:1200) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1199 w:1199) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (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) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// 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, 1200]`. fn execute_leave_candidates(x: u32, ) -> Weight { - // Minimum execution time: 118_763 nanoseconds. - Weight::from_ref_time(121_487_000) - // Standard Error: 771_470 - .saturating_add(Weight::from_ref_time(61_740_690).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `560 + x * (511 ±0)` + // Estimated: `21571 + x * (9159 ±0)` + // Minimum execution time: 115_013 nanoseconds. + Weight::from_ref_time(115_829_000) + .saturating_add(Weight::from_proof_size(21571)) + // Standard Error: 769_655 + .saturating_add(Weight::from_ref_time(68_584_667).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(9159).saturating_mul(x.into())) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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 { - // Minimum execution time: 39_156 nanoseconds. - Weight::from_ref_time(53_419_121) - // Standard Error: 2_529 - .saturating_add(Weight::from_ref_time(199_678).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `1343 + x * (48 ±0)` + // Estimated: `5454 + x * (98 ±0)` + // Minimum execution time: 30_921 nanoseconds. + Weight::from_ref_time(24_787_917) + .saturating_add(Weight::from_proof_size(5454)) + // Standard Error: 2_615 + .saturating_add(Weight::from_ref_time(170_344).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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) fn go_offline() -> Weight { - // Minimum execution time: 37_081 nanoseconds. - Weight::from_ref_time(37_757_000) + // Proof Size summary in bytes: + // Measured: `782` + // Estimated: `4534` + // Minimum execution time: 30_553 nanoseconds. + Weight::from_ref_time(32_243_000) + .saturating_add(Weight::from_proof_size(4534)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// 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) fn go_online() -> Weight { - // Minimum execution time: 36_564 nanoseconds. - Weight::from_ref_time(37_164_000) + // Proof Size summary in bytes: + // Measured: `733` + // Estimated: `4436` + // Minimum execution time: 30_185 nanoseconds. + Weight::from_ref_time(34_111_000) + .saturating_add(Weight::from_proof_size(4436)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), 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) fn candidate_bond_more() -> Weight { - // Minimum execution time: 57_424 nanoseconds. - Weight::from_ref_time(61_670_000) + // Proof Size summary in bytes: + // Measured: `957` + // Estimated: `8939` + // Minimum execution time: 53_148 nanoseconds. + Weight::from_ref_time(56_182_000) + .saturating_add(Weight::from_proof_size(8939)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_candidate_bond_less() -> Weight { - // Minimum execution time: 33_962 nanoseconds. - Weight::from_ref_time(34_541_000) + // Proof Size summary in bytes: + // Measured: `663` + // Estimated: `4296` + // Minimum execution time: 28_026 nanoseconds. + Weight::from_ref_time(28_651_000) + .saturating_add(Weight::from_proof_size(4296)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), 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) fn execute_candidate_bond_less() -> Weight { - // Minimum execution time: 72_308 nanoseconds. - Weight::from_ref_time(75_013_000) + // Proof Size summary in bytes: + // Measured: `1046` + // Estimated: `10747` + // Minimum execution time: 67_309 nanoseconds. + Weight::from_ref_time(69_905_000) + .saturating_add(Weight::from_proof_size(10747)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) fn cancel_candidate_bond_less() -> Weight { - // Minimum execution time: 31_086 nanoseconds. - Weight::from_ref_time(32_220_000) + // Proof Size summary in bytes: + // Measured: `647` + // Estimated: `3122` + // Minimum execution time: 24_413 nanoseconds. + Weight::from_ref_time(24_906_000) + .saturating_add(Weight::from_proof_size(3122)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn schedule_leave_delegators() -> Weight { - // Minimum execution time: 39_425 nanoseconds. - Weight::from_ref_time(39_948_000) + // Proof Size summary in bytes: + // Measured: `660` + // Estimated: `7425` + // Minimum execution time: 33_975 nanoseconds. + Weight::from_ref_time(36_167_000) + .saturating_add(Weight::from_proof_size(7425)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:99 w:99) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:99 w:99) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:99 w:99) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) /// The range of component `x` is `[2, 100]`. fn execute_leave_delegators(x: u32, ) -> Weight { - // Minimum execution time: 103_777 nanoseconds. - Weight::from_ref_time(106_508_000) - // Standard Error: 228_451 - .saturating_add(Weight::from_ref_time(37_404_645).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `874 + x * (554 ±0)` + // Estimated: `26243 + x * (14004 ±0)` + // Minimum execution time: 101_782 nanoseconds. + Weight::from_ref_time(104_851_000) + .saturating_add(Weight::from_proof_size(26243)) + // Standard Error: 136_995 + .saturating_add(Weight::from_ref_time(46_969_685).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(1)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(14004).saturating_mul(x.into())) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_leave_delegators() -> Weight { - // Minimum execution time: 42_475 nanoseconds. - Weight::from_ref_time(48_567_000) + // Proof Size summary in bytes: + // Measured: `816` + // Estimated: `6582` + // Minimum execution time: 35_590 nanoseconds. + Weight::from_ref_time(38_117_000) + .saturating_add(Weight::from_proof_size(6582)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_revoke_delegation() -> Weight { - // Minimum execution time: 40_275 nanoseconds. - Weight::from_ref_time(45_012_000) + // Proof Size summary in bytes: + // Measured: `660` + // Estimated: `7425` + // Minimum execution time: 36_463 nanoseconds. + Weight::from_ref_time(36_773_000) + .saturating_add(Weight::from_proof_size(7425)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn delegator_bond_more() -> Weight { - // Minimum execution time: 80_619 nanoseconds. - Weight::from_ref_time(88_847_000) + // Proof Size summary in bytes: + // Measured: `1409` + // Estimated: `21947` + // Minimum execution time: 84_600 nanoseconds. + Weight::from_ref_time(87_677_000) + .saturating_add(Weight::from_proof_size(21947)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn schedule_delegator_bond_less() -> Weight { - // Minimum execution time: 39_383 nanoseconds. - Weight::from_ref_time(47_117_000) + // Proof Size summary in bytes: + // Measured: `660` + // Estimated: `7425` + // Minimum execution time: 33_661 nanoseconds. + Weight::from_ref_time(36_586_000) + .saturating_add(Weight::from_proof_size(7425)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_revoke_delegation() -> Weight { - // Minimum execution time: 104_927 nanoseconds. - Weight::from_ref_time(109_528_000) + // Proof Size summary in bytes: + // Measured: `1653` + // Estimated: `29687` + // Minimum execution time: 105_305 nanoseconds. + Weight::from_ref_time(109_056_000) + .saturating_add(Weight::from_proof_size(29687)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_delegator_bond_less() -> Weight { - // Minimum execution time: 102_450 nanoseconds. - Weight::from_ref_time(122_112_000) + // Proof Size summary in bytes: + // Measured: `1598` + // Estimated: `25174` + // Minimum execution time: 93_103 nanoseconds. + Weight::from_ref_time(96_611_000) + .saturating_add(Weight::from_proof_size(25174)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_revoke_delegation() -> Weight { - // Minimum execution time: 39_851 nanoseconds. - Weight::from_ref_time(40_721_000) + // Proof Size summary in bytes: + // Measured: `816` + // Estimated: `6582` + // Minimum execution time: 34_878 nanoseconds. + Weight::from_ref_time(36_714_000) + .saturating_add(Weight::from_proof_size(6582)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_delegator_bond_less() -> Weight { - // Minimum execution time: 53_177 nanoseconds. - Weight::from_ref_time(60_512_000) + // Proof Size summary in bytes: + // Measured: `849` + // Estimated: `6648` + // Minimum execution time: 39_161 nanoseconds. + Weight::from_ref_time(40_470_000) + .saturating_add(Weight::from_proof_size(6648)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: ParachainStaking Round (r:1 w:1) - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking Staked (r:1 w:2) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Storage: BridgeTransfer ExternalBalances (r:1 w:0) - // Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - // Storage: ParachainStaking CollatorCommission (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:0) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:9 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:9 w:0) - // Storage: ParachainStaking TopDelegations (r:9 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:9 w:0) - // Storage: ParachainStaking Total (r:1 w:0) - // Storage: ParachainStaking AwardedPts (r:2 w:1) - // Storage: ParachainStaking AtStake (r:1 w:10) - // Storage: System Account (r:1001 w:1001) - // Storage: ParachainStaking SelectedCandidates (r:0 w:1) - // Storage: ParachainStaking DelayedPayouts (r:0 w:1) + /// Storage: ParachainStaking Round (r:1 w:1) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Staked (r:1 w:2) + /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:0) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: BridgeTransfer ExternalBalances (r:1 w:0) + /// Proof Skipped: BridgeTransfer ExternalBalances (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CollatorCommission (r:1 w:0) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:0) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:99 w:0) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:99 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:0) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AwardedPts (r:2 w:1) + /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:1 w:100) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) + /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) /// The range of component `x` is `[8, 100]`. /// The range of component `y` is `[0, 5000]`. fn round_transition_on_initialize(x: u32, y: u32, ) -> Weight { - // Minimum execution time: 1_298_415 nanoseconds. - Weight::from_ref_time(3_640_323_182) - // Standard Error: 76_424 - .saturating_add(Weight::from_ref_time(13_579).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(215)) + // Proof Size summary in bytes: + // Measured: `4533 + x * (329 ±0) + y * (47 ±0)` + // Estimated: `1388835 + y * (828 ±0) + x * (9452 ±51)` + // Minimum execution time: 1_104_024 nanoseconds. + Weight::from_ref_time(4_543_187_502) + .saturating_add(Weight::from_proof_size(1388835)) + .saturating_add(T::DbWeight::get().reads(214)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(207)) - } - // Storage: ParachainStaking DelayedPayouts (r:1 w:0) - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking AwardedPts (r:2 w:1) - // Storage: ParachainStaking AtStake (r:1 w:1) - // Storage: System Account (r:1 w:1) + .saturating_add(Weight::from_proof_size(828).saturating_mul(y.into())) + .saturating_add(Weight::from_proof_size(9452).saturating_mul(x.into())) + } + /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AwardedPts (r:2 w:1) + /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:1 w:1) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1001 w:1001) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `y` is `[0, 1000]`. fn pay_one_collator_reward(y: u32, ) -> Weight { - // Minimum execution time: 62_867 nanoseconds. - Weight::from_ref_time(49_058_536) - // Standard Error: 132_839 - .saturating_add(Weight::from_ref_time(17_455_481).saturating_mul(y.into())) + // Proof Size summary in bytes: + // Measured: `528 + y * (217 ±0)` + // Estimated: `17430 + y * (3471 ±0)` + // Minimum execution time: 57_769 nanoseconds. + Weight::from_ref_time(58_794_000) + .saturating_add(Weight::from_proof_size(17430)) + // Standard Error: 23_284 + .saturating_add(Weight::from_ref_time(22_224_347).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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into()))) + .saturating_add(Weight::from_proof_size(3471).saturating_mul(y.into())) } - // Storage: ParachainStaking Round (r:1 w:0) + /// Storage: ParachainStaking Round (r:1 w:0) + /// Proof Skipped: ParachainStaking Round (max_values: Some(1), max_size: None, mode: Measured) fn base_on_initialize() -> Weight { - // Minimum execution time: 7_698 nanoseconds. - Weight::from_ref_time(10_540_000) + // Proof Size summary in bytes: + // Measured: `480` + // Estimated: `975` + // Minimum execution time: 7_405 nanoseconds. + Weight::from_ref_time(7_787_000) + .saturating_add(Weight::from_proof_size(975)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + /// 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, 1000]`. /// The range of component `y` is `[0, 100]`. - fn set_auto_compound(x: u32, _y: u32, ) -> Weight { - // Minimum execution time: 70_168 nanoseconds. - Weight::from_ref_time(96_971_036) - // Standard Error: 2_241 - .saturating_add(Weight::from_ref_time(131_562).saturating_mul(x.into())) + fn set_auto_compound(x: u32, y: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1369 + x * (33 ±0) + y * (48 ±0)` + // Estimated: `7348 + x * (68 ±0) + y * (98 ±0)` + // Minimum execution time: 45_670 nanoseconds. + Weight::from_ref_time(61_665_980) + .saturating_add(Weight::from_proof_size(7348)) + // Standard Error: 2_018 + .saturating_add(Weight::from_ref_time(106_254).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) + .saturating_add(Weight::from_proof_size(68).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(98).saturating_mul(y.into())) + } + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (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) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// 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) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (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 `[0, 1200]`. /// The range of component `y` is `[0, 1200]`. /// The range of component `z` is `[0, 100]`. - fn delegate_with_auto_compound(x: u32, y: u32, _z: u32, ) -> Weight { - // Minimum execution time: 126_209 nanoseconds. - Weight::from_ref_time(130_338_000) - // Standard Error: 2_898 - .saturating_add(Weight::from_ref_time(96_072).saturating_mul(x.into())) - // Standard Error: 2_898 - .saturating_add(Weight::from_ref_time(94_717).saturating_mul(y.into())) + fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + x * (81 ±0) + y * (33 ±0) + z * (55 ±0)` + // Estimated: `82571 + x * (212 ±0) + y * (163 ±0) + z * (31 ±0)` + // Minimum execution time: 115_282 nanoseconds. + Weight::from_ref_time(115_692_000) + .saturating_add(Weight::from_proof_size(82571)) + // Standard Error: 2_267 + .saturating_add(Weight::from_ref_time(65_559).saturating_mul(x.into())) + // Standard Error: 2_267 + .saturating_add(Weight::from_ref_time(68_589).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_proof_size(212).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(163).saturating_mul(y.into())) + .saturating_add(Weight::from_proof_size(31).saturating_mul(z.into())) } } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index bcd0d52277..926da3516c 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,102 +48,168 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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_preimage(s: u32, ) -> Weight { - // Minimum execution time: 42_455 nanoseconds. - Weight::from_ref_time(43_527_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_856).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `209` + // Estimated: `2566` + // Minimum execution time: 37_814 nanoseconds. + Weight::from_ref_time(39_230_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 9 + .saturating_add(Weight::from_ref_time(3_619).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 29_694 nanoseconds. - Weight::from_ref_time(34_025_000) - // Standard Error: 15 - .saturating_add(Weight::from_ref_time(3_895).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 25_252 nanoseconds. + Weight::from_ref_time(26_087_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_698).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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 { - // Minimum execution time: 27_998 nanoseconds. - Weight::from_ref_time(28_607_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_798).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 23_030 nanoseconds. + Weight::from_ref_time(23_720_000) + .saturating_add(Weight::from_proof_size(2566)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(3_630).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) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_preimage() -> Weight { - // Minimum execution time: 94_616 nanoseconds. - Weight::from_ref_time(101_156_000) + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `2566` + // Minimum execution time: 60_097 nanoseconds. + Weight::from_ref_time(65_105_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unnote_no_deposit_preimage() -> Weight { - // Minimum execution time: 73_592 nanoseconds. - Weight::from_ref_time(79_126_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 44_726 nanoseconds. + Weight::from_ref_time(47_667_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { - // Minimum execution time: 69_662 nanoseconds. - Weight::from_ref_time(74_619_000) + // Proof Size summary in bytes: + // Measured: `254` + // Estimated: `2566` + // Minimum execution time: 40_564 nanoseconds. + Weight::from_ref_time(43_366_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_no_deposit_preimage() -> Weight { - // Minimum execution time: 42_701 nanoseconds. - Weight::from_ref_time(46_474_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 25_333 nanoseconds. + Weight::from_ref_time(27_593_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_unnoted_preimage() -> Weight { - // Minimum execution time: 45_369 nanoseconds. - Weight::from_ref_time(47_792_000) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `2566` + // Minimum execution time: 29_756 nanoseconds. + Weight::from_ref_time(33_725_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_requested_preimage() -> Weight { - // Minimum execution time: 15_706 nanoseconds. - Weight::from_ref_time(16_947_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 16_387 nanoseconds. + Weight::from_ref_time(17_187_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// 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) fn unrequest_preimage() -> Weight { - // Minimum execution time: 73_649 nanoseconds. - Weight::from_ref_time(79_021_000) + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `2566` + // Minimum execution time: 44_769 nanoseconds. + Weight::from_ref_time(46_988_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_unnoted_preimage() -> Weight { - // Minimum execution time: 15_726 nanoseconds. - Weight::from_ref_time(17_304_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 16_735 nanoseconds. + Weight::from_ref_time(18_494_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_multi_referenced_preimage() -> Weight { - // Minimum execution time: 15_973 nanoseconds. - Weight::from_ref_time(17_354_000) + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `2566` + // Minimum execution time: 15_773 nanoseconds. + Weight::from_ref_time(17_255_000) + .saturating_add(Weight::from_proof_size(2566)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index 2d13ff84f9..c3f458d4bd 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,117 +48,172 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - // Storage: Proxy Proxies (r:1 w:0) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 28_323 nanoseconds. - Weight::from_ref_time(29_858_791) - // Standard Error: 2_161 - .saturating_add(Weight::from_ref_time(76_188).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `159 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 20_789 nanoseconds. + Weight::from_ref_time(21_790_114) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_870 + .saturating_add(Weight::from_ref_time(58_520).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: Proxy Proxies (r:1 w:0) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, _p: u32, ) -> Weight { - // Minimum execution time: 53_445 nanoseconds. - Weight::from_ref_time(58_724_325) - // Standard Error: 8_245 - .saturating_add(Weight::from_ref_time(166_779).saturating_mul(a.into())) + fn proxy_announced(a: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `513 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 47_284 nanoseconds. + Weight::from_ref_time(48_406_589) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 3_344 + .saturating_add(Weight::from_ref_time(247_164).saturating_mul(a.into())) + // Standard Error: 3_457 + .saturating_add(Weight::from_ref_time(48_848).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) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 36_125 nanoseconds. - Weight::from_ref_time(38_583_292) - // Standard Error: 4_368 - .saturating_add(Weight::from_ref_time(187_041).saturating_mul(a.into())) - // Standard Error: 4_516 - .saturating_add(Weight::from_ref_time(25_996).saturating_mul(p.into())) + fn remove_announcement(a: u32, _p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `396 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 28_652 nanoseconds. + Weight::from_ref_time(30_648_874) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 2_035 + .saturating_add(Weight::from_ref_time(238_425).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 { - // Minimum execution time: 37_016 nanoseconds. - Weight::from_ref_time(38_738_481) - // Standard Error: 4_590 - .saturating_add(Weight::from_ref_time(205_926).saturating_mul(a.into())) + // Proof Size summary in bytes: + // Measured: `396 + a * (68 ±0)` + // Estimated: `7311` + // Minimum execution time: 28_483 nanoseconds. + Weight::from_ref_time(30_775_725) + .saturating_add(Weight::from_proof_size(7311)) + // Standard Error: 2_293 + .saturating_add(Weight::from_ref_time(231_398).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) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 46_110 nanoseconds. - Weight::from_ref_time(51_273_998) - // Standard Error: 4_443 - .saturating_add(Weight::from_ref_time(171_807).saturating_mul(a.into())) - // Standard Error: 4_594 - .saturating_add(Weight::from_ref_time(14_128).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `445 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `11027` + // Minimum execution time: 41_343 nanoseconds. + Weight::from_ref_time(43_292_115) + .saturating_add(Weight::from_proof_size(11027)) + // Standard Error: 2_884 + .saturating_add(Weight::from_ref_time(247_190).saturating_mul(a.into())) + // Standard Error: 2_982 + .saturating_add(Weight::from_ref_time(50_237).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 39_376 nanoseconds. - Weight::from_ref_time(41_536_896) - // Standard Error: 2_770 - .saturating_add(Weight::from_ref_time(122_313).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `159 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 32_022 nanoseconds. + Weight::from_ref_time(33_672_455) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 2_408 + .saturating_add(Weight::from_ref_time(67_766).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 39_413 nanoseconds. - Weight::from_ref_time(41_862_421) - // Standard Error: 3_341 - .saturating_add(Weight::from_ref_time(126_898).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `159 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 31_372 nanoseconds. + Weight::from_ref_time(32_995_943) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 2_922 + .saturating_add(Weight::from_ref_time(114_062).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 34_285 nanoseconds. - Weight::from_ref_time(35_724_178) - // Standard Error: 2_509 - .saturating_add(Weight::from_ref_time(72_924).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `159 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 24_640 nanoseconds. + Weight::from_ref_time(25_960_170) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_943 + .saturating_add(Weight::from_ref_time(39_209).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - // Storage: Proxy Proxies (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 42_967 nanoseconds. - Weight::from_ref_time(44_384_341) - // Standard Error: 2_110 - .saturating_add(Weight::from_ref_time(51_761).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `139` + // Estimated: `3716` + // Minimum execution time: 34_349 nanoseconds. + Weight::from_ref_time(35_707_305) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 2_495 + .saturating_add(Weight::from_ref_time(14_693).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) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - // Minimum execution time: 36_232 nanoseconds. - Weight::from_ref_time(37_675_448) - // Standard Error: 2_068 - .saturating_add(Weight::from_ref_time(86_588).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `196 + p * (37 ±0)` + // Estimated: `3716` + // Minimum execution time: 26_120 nanoseconds. + Weight::from_ref_time(27_198_675) + .saturating_add(Weight::from_proof_size(3716)) + // Standard Error: 1_960 + .saturating_add(Weight::from_ref_time(53_951).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index 12bc3bacd3..22c9975c2e 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,96 +48,157 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler IncompleteSince (r:1 w:1) + /// Storage: Scheduler IncompleteSince (r:1 w:1) + /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn service_agendas_base() -> Weight { - // Minimum execution time: 5_484 nanoseconds. - Weight::from_ref_time(5_681_000) + // Proof Size summary in bytes: + // Measured: `31` + // Estimated: `499` + // Minimum execution time: 4_465 nanoseconds. + Weight::from_ref_time(4_625_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 4_769 nanoseconds. - Weight::from_ref_time(7_553_850) - // Standard Error: 3_107 - .saturating_add(Weight::from_ref_time(1_041_219).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 4_053 nanoseconds. + Weight::from_ref_time(8_341_679) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 3_947 + .saturating_add(Weight::from_ref_time(1_367_257).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { - // Minimum execution time: 13_582 nanoseconds. - Weight::from_ref_time(14_137_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_134 nanoseconds. + Weight::from_ref_time(8_446_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) + /// 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 { - // Minimum execution time: 30_234 nanoseconds. - Weight::from_ref_time(30_830_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(2_035).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `245 + s * (1 ±0)` + // Estimated: `5285 + s * (1 ±0)` + // Minimum execution time: 29_148 nanoseconds. + Weight::from_ref_time(29_799_000) + .saturating_add(Weight::from_proof_size(5285)) + // Standard Error: 17 + .saturating_add(Weight::from_ref_time(2_082).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(s.into())) } - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn service_task_named() -> Weight { - // Minimum execution time: 15_639 nanoseconds. - Weight::from_ref_time(16_427_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_380 nanoseconds. + Weight::from_ref_time(10_796_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 13_698 nanoseconds. - Weight::from_ref_time(14_053_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_083 nanoseconds. + Weight::from_ref_time(8_459_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 6_021 nanoseconds. - Weight::from_ref_time(6_268_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_282 nanoseconds. + Weight::from_ref_time(3_492_000) + .saturating_add(Weight::from_proof_size(0)) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 5_979 nanoseconds. - Weight::from_ref_time(6_174_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_250 nanoseconds. + Weight::from_ref_time(3_378_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 24_677 nanoseconds. - Weight::from_ref_time(30_963_763) - // Standard Error: 8_538 - .saturating_add(Weight::from_ref_time(1_020_497).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 17_507 nanoseconds. + Weight::from_ref_time(22_076_780) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 4_057 + .saturating_add(Weight::from_ref_time(1_427_952).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) - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 30_188 nanoseconds. - Weight::from_ref_time(29_505_503) - // Standard Error: 5_951 - .saturating_add(Weight::from_ref_time(1_797_533).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `110 + s * (177 ±0)` + // Estimated: `41438` + // Minimum execution time: 24_772 nanoseconds. + Weight::from_ref_time(23_977_161) + .saturating_add(Weight::from_proof_size(41438)) + // Standard Error: 4_444 + .saturating_add(Weight::from_ref_time(2_477_096).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 28_389 nanoseconds. - Weight::from_ref_time(34_022_854) - // Standard Error: 10_251 - .saturating_add(Weight::from_ref_time(1_192_797).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `262 + s * (186 ±0)` + // Estimated: `43961` + // Minimum execution time: 21_855 nanoseconds. + Weight::from_ref_time(27_868_787) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 5_664 + .saturating_add(Weight::from_ref_time(1_480_050).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) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 32_039 nanoseconds. - Weight::from_ref_time(32_654_839) - // Standard Error: 5_401 - .saturating_add(Weight::from_ref_time(1_814_300).saturating_mul(s.into())) + // Proof Size summary in bytes: + // Measured: `314 + s * (185 ±0)` + // Estimated: `43961` + // Minimum execution time: 26_711 nanoseconds. + Weight::from_ref_time(26_467_997) + .saturating_add(Weight::from_proof_size(43961)) + // Standard Error: 3_527 + .saturating_add(Weight::from_ref_time(2_548_586).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_session.rs b/runtime/rococo/src/weights/pallet_session.rs index 4b4bee2f42..83409368fd 100644 --- a/runtime/rococo/src/weights/pallet_session.rs +++ b/runtime/rococo/src/weights/pallet_session.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,19 +48,31 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:1 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:1 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { - // Minimum execution time: 29_657 nanoseconds. - Weight::from_ref_time(31_031_000) + // Proof Size summary in bytes: + // Measured: `270` + // Estimated: `5490` + // Minimum execution time: 22_094 nanoseconds. + Weight::from_ref_time(22_590_000) + .saturating_add(Weight::from_proof_size(5490)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Session NextKeys (r:1 w:1) - // Storage: Session KeyOwner (r:0 w:1) + /// Storage: Session NextKeys (r:1 w:1) + /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) + /// Storage: Session KeyOwner (r:0 w:1) + /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { - // Minimum execution time: 25_373 nanoseconds. - Weight::from_ref_time(26_802_000) + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `2959` + // Minimum execution time: 15_823 nanoseconds. + Weight::from_ref_time(16_570_000) + .saturating_add(Weight::from_proof_size(2959)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_sidechain.rs b/runtime/rococo/src/weights/pallet_sidechain.rs index d6e38b7acc..430ce85844 100644 --- a/runtime/rococo/src/weights/pallet_sidechain.rs +++ b/runtime/rococo/src/weights/pallet_sidechain.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_sidechain` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,14 +48,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_sidechain`. pub struct WeightInfo(PhantomData); impl pallet_sidechain::WeightInfo for WeightInfo { - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Sidechain SidechainBlockFinalizationCandidate (r:1 w:1) - // Storage: Sidechain WorkerForShard (r:0 w:1) - // Storage: Sidechain LatestSidechainBlockConfirmation (r:0 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain SidechainBlockFinalizationCandidate (r:1 w:1) + /// Proof Skipped: Sidechain SidechainBlockFinalizationCandidate (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain WorkerForShard (r:0 w:1) + /// Proof Skipped: Sidechain WorkerForShard (max_values: None, max_size: None, mode: Measured) + /// Storage: Sidechain LatestSidechainBlockConfirmation (r:0 w:1) + /// Proof Skipped: Sidechain LatestSidechainBlockConfirmation (max_values: None, max_size: None, mode: Measured) fn confirm_imported_sidechain_block() -> Weight { - // Minimum execution time: 40_824 nanoseconds. - Weight::from_ref_time(44_929_000) + // Proof Size summary in bytes: + // Measured: `385` + // Estimated: `9350` + // Minimum execution time: 35_646 nanoseconds. + Weight::from_ref_time(37_667_000) + .saturating_add(Weight::from_proof_size(9350)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/rococo/src/weights/pallet_teeracle.rs b/runtime/rococo/src/weights/pallet_teeracle.rs index 60286f8b19..445f17e16e 100644 --- a/runtime/rococo/src/weights/pallet_teeracle.rs +++ b/runtime/rococo/src/weights/pallet_teeracle.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_teeracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,37 +48,63 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_teeracle`. pub struct WeightInfo(PhantomData); impl pallet_teeracle::WeightInfo for WeightInfo { - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Teeracle Whitelists (r:1 w:0) - // Storage: Teeracle ExchangeRates (r:1 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle Whitelists (r:1 w:0) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle ExchangeRates (r:1 w:1) + /// Proof Skipped: Teeracle ExchangeRates (max_values: None, max_size: None, mode: Measured) fn update_exchange_rate() -> Weight { - // Minimum execution time: 51_964 nanoseconds. - Weight::from_ref_time(53_611_000) + // Proof Size summary in bytes: + // Measured: `3465` + // Estimated: `23760` + // Minimum execution time: 46_113 nanoseconds. + Weight::from_ref_time(47_820_000) + .saturating_add(Weight::from_proof_size(23760)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: Teeracle Whitelists (r:1 w:0) - // Storage: Teeracle OracleData (r:0 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle Whitelists (r:1 w:0) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: Teeracle OracleData (r:0 w:1) + /// Proof Skipped: Teeracle OracleData (max_values: None, max_size: None, mode: Measured) fn update_oracle() -> Weight { - // Minimum execution time: 50_700 nanoseconds. - Weight::from_ref_time(59_106_000) + // Proof Size summary in bytes: + // Measured: `3456` + // Estimated: `21249` + // Minimum execution time: 40_945 nanoseconds. + Weight::from_ref_time(41_957_000) + .saturating_add(Weight::from_proof_size(21249)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teeracle Whitelists (r:1 w:1) + /// Storage: Teeracle Whitelists (r:1 w:1) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) fn add_to_whitelist() -> Weight { - // Minimum execution time: 24_839 nanoseconds. - Weight::from_ref_time(27_485_000) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `2617` + // Minimum execution time: 19_126 nanoseconds. + Weight::from_ref_time(19_948_000) + .saturating_add(Weight::from_proof_size(2617)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teeracle Whitelists (r:1 w:1) + /// Storage: Teeracle Whitelists (r:1 w:1) + /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) fn remove_from_whitelist() -> Weight { - // Minimum execution time: 27_560 nanoseconds. - Weight::from_ref_time(30_589_000) + // Proof Size summary in bytes: + // Measured: `276` + // Estimated: `2751` + // Minimum execution time: 20_852 nanoseconds. + Weight::from_ref_time(21_800_000) + .saturating_add(Weight::from_proof_size(2751)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_teerex.rs b/runtime/rococo/src/weights/pallet_teerex.rs index 3f523ee2c3..ddf50fb180 100644 --- a/runtime/rococo/src/weights/pallet_teerex.rs +++ b/runtime/rococo/src/weights/pallet_teerex.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_teerex` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,52 +48,89 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_teerex`. pub struct WeightInfo(PhantomData); impl pallet_teerex::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:0) - // Storage: Teerex AllowSGXDebugMode (r:1 w:0) - // Storage: Teerex ScheduledEnclave (r:2 w:0) - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:0 w:1) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Teerex AllowSGXDebugMode (r:1 w:0) + /// Proof Skipped: Teerex AllowSGXDebugMode (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex ScheduledEnclave (r:2 w:0) + /// Proof Skipped: Teerex ScheduledEnclave (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:0 w:1) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn register_enclave() -> Weight { - // Minimum execution time: 2_156_922 nanoseconds. - Weight::from_ref_time(2_258_652_000) + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `10227` + // Minimum execution time: 2_094_667 nanoseconds. + Weight::from_ref_time(2_145_931_000) + .saturating_add(Weight::from_proof_size(10227)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:2) - // Storage: Teerex EnclaveCount (r:1 w:1) - // Storage: Teerex EnclaveRegistry (r:1 w:2) + /// Storage: Teerex EnclaveIndex (r:1 w:2) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveCount (r:1 w:1) + /// Proof Skipped: Teerex EnclaveCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:2) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn unregister_enclave() -> Weight { - // Minimum execution time: 46_583 nanoseconds. - Weight::from_ref_time(47_434_000) + // Proof Size summary in bytes: + // Measured: `523` + // Estimated: `7014` + // Minimum execution time: 40_442 nanoseconds. + Weight::from_ref_time(41_753_000) + .saturating_add(Weight::from_proof_size(7014)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } fn call_worker() -> Weight { - // Minimum execution time: 21_361 nanoseconds. - Weight::from_ref_time(21_897_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_967 nanoseconds. + Weight::from_ref_time(14_513_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:1) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn confirm_processed_parentchain_block() -> Weight { - // Minimum execution time: 42_554 nanoseconds. - Weight::from_ref_time(43_388_000) + // Proof Size summary in bytes: + // Measured: `423` + // Estimated: `6299` + // Minimum execution time: 37_530 nanoseconds. + Weight::from_ref_time(39_056_000) + .saturating_add(Weight::from_proof_size(6299)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Teerex EnclaveIndex (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) - // Storage: System EventTopics (r:6 w:6) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) + /// Storage: System EventTopics (r:6 w:6) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `l` is `[0, 100]`. /// The range of component `t` is `[1, 5]`. - fn publish_hash(_l: u32, t: u32, ) -> Weight { - // Minimum execution time: 38_736 nanoseconds. - Weight::from_ref_time(37_625_585) - // Standard Error: 12_595 - .saturating_add(Weight::from_ref_time(2_291_975).saturating_mul(t.into())) + fn publish_hash(l: u32, t: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `381` + // Estimated: `8568 + t * (2475 ±0)` + // Minimum execution time: 32_870 nanoseconds. + Weight::from_ref_time(31_196_106) + .saturating_add(Weight::from_proof_size(8568)) + // Standard Error: 721 + .saturating_add(Weight::from_ref_time(2_910).saturating_mul(l.into())) + // Standard Error: 16_111 + .saturating_add(Weight::from_ref_time(2_618_035).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(2475).saturating_mul(t.into())) } } diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index 49735be7b6..c7bcd8ef7c 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -47,17 +48,28 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:1) - // Storage: Teerex HeartbeatTimeout (r:1 w:0) - // Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Storage: Timestamp Now (r:1 w:1) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Teerex HeartbeatTimeout (r:1 w:0) + /// Proof Skipped: Teerex HeartbeatTimeout (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Teerex EnclaveRegistry (r:1 w:0) + /// Proof Skipped: Teerex EnclaveRegistry (max_values: None, max_size: None, mode: Measured) fn set() -> Weight { - // Minimum execution time: 18_259 nanoseconds. - Weight::from_ref_time(18_790_000) + // Proof Size summary in bytes: + // Measured: `197` + // Estimated: `3867` + // Minimum execution time: 16_841 nanoseconds. + Weight::from_ref_time(17_650_000) + .saturating_add(Weight::from_proof_size(3867)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - // Minimum execution time: 5_695 nanoseconds. - Weight::from_ref_time(5_859_000) + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 6_170 nanoseconds. + Weight::from_ref_time(6_490_000) + .saturating_add(Weight::from_proof_size(0)) } } diff --git a/runtime/rococo/src/weights/pallet_treasury.rs b/runtime/rococo/src/weights/pallet_treasury.rs index d426bda86e..1eebcb2f15 100644 --- a/runtime/rococo/src/weights/pallet_treasury.rs +++ b/runtime/rococo/src/weights/pallet_treasury.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -48,58 +49,96 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - // Minimum execution time: 223 nanoseconds. - Weight::from_ref_time(243_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 252 nanoseconds. + Weight::from_ref_time(295_000) + .saturating_add(Weight::from_proof_size(0)) } - // Storage: Treasury ProposalCount (r:1 w:1) - // Storage: Treasury Proposals (r:0 w:1) + /// Storage: Treasury ProposalCount (r:1 w:1) + /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:0 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { - // Minimum execution time: 40_057 nanoseconds. - Weight::from_ref_time(41_817_000) + // Proof Size summary in bytes: + // Measured: `213` + // Estimated: `499` + // Minimum execution time: 35_286 nanoseconds. + Weight::from_ref_time(36_564_000) + .saturating_add(Weight::from_proof_size(499)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Treasury Proposals (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Treasury Proposals (r:1 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { - // Minimum execution time: 58_734 nanoseconds. - Weight::from_ref_time(59_652_000) + // Proof Size summary in bytes: + // Measured: `538` + // Estimated: `7789` + // Minimum execution time: 55_837 nanoseconds. + Weight::from_ref_time(56_971_000) + .saturating_add(Weight::from_proof_size(7789)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Treasury Proposals (r:1 w:0) - // Storage: Treasury Approvals (r:1 w:1) + /// 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 { - // Minimum execution time: 15_600 nanoseconds. - Weight::from_ref_time(19_887_077) - // Standard Error: 2_989 - .saturating_add(Weight::from_ref_time(160_782).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `517 + p * (9 ±0)` + // Estimated: `3480` + // Minimum execution time: 14_155 nanoseconds. + Weight::from_ref_time(18_609_602) + .saturating_add(Weight::from_proof_size(3480)) + // Standard Error: 1_829 + .saturating_add(Weight::from_ref_time(81_193).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) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn remove_approval() -> Weight { - // Minimum execution time: 13_093 nanoseconds. - Weight::from_ref_time(13_505_000) + // Proof Size summary in bytes: + // Measured: `165` + // Estimated: `897` + // Minimum execution time: 11_265 nanoseconds. + Weight::from_ref_time(11_606_000) + .saturating_add(Weight::from_proof_size(897)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: System Account (r:1 w:0) - // Storage: Treasury Deactivated (r:1 w:1) - // Storage: Balances InactiveIssuance (r:1 w:1) - // Storage: Treasury Approvals (r:1 w:1) - // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Treasury Proposals (r:5 w:5) + /// Storage: System Account (r:201 w:201) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Treasury Deactivated (r:1 w:1) + /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:1) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:100 w:100) + /// 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 { - // Minimum execution time: 53_489 nanoseconds. - Weight::from_ref_time(69_461_268) - // Standard Error: 327_582 - .saturating_add(Weight::from_ref_time(41_573_804).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `238 + p * (315 ±0)` + // Estimated: `5419 + p * (7789 ±0)` + // Minimum execution time: 50_192 nanoseconds. + Weight::from_ref_time(61_799_682) + .saturating_add(Weight::from_proof_size(5419)) + // Standard Error: 20_677 + .saturating_add(Weight::from_ref_time(51_140_959).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)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_proof_size(7789).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index 3f116a5d54..524b2e1737 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -17,7 +17,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 @@ -49,31 +50,51 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - // Minimum execution time: 17_133 nanoseconds. - Weight::from_ref_time(16_179_413) - // Standard Error: 7_771 - .saturating_add(Weight::from_ref_time(5_538_528).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_370 nanoseconds. + Weight::from_ref_time(8_633_392) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_181 + .saturating_add(Weight::from_ref_time(7_591_542).saturating_mul(c.into())) } fn as_derivative() -> Weight { - // Minimum execution time: 8_532 nanoseconds. - Weight::from_ref_time(9_052_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_656 nanoseconds. + Weight::from_ref_time(6_910_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 16_931 nanoseconds. - Weight::from_ref_time(52_369_627) - // Standard Error: 17_677 - .saturating_add(Weight::from_ref_time(5_799_823).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_480 nanoseconds. + Weight::from_ref_time(1_957_977) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_413 + .saturating_add(Weight::from_ref_time(8_072_695).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - // Minimum execution time: 19_447 nanoseconds. - Weight::from_ref_time(20_178_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_551 nanoseconds. + Weight::from_ref_time(13_004_000) + .saturating_add(Weight::from_proof_size(0)) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 16_859 nanoseconds. - Weight::from_ref_time(17_283_000) - // Standard Error: 28_133 - .saturating_add(Weight::from_ref_time(5_839_589).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_519 nanoseconds. + Weight::from_ref_time(16_149_560) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_198 + .saturating_add(Weight::from_ref_time(7_612_972).saturating_mul(c.into())) } } diff --git a/runtime/rococo/src/weights/pallet_vc_management.rs b/runtime/rococo/src/weights/pallet_vc_management.rs index 15bb84ccb3..7a0370dbc7 100644 --- a/runtime/rococo/src/weights/pallet_vc_management.rs +++ b/runtime/rococo/src/weights/pallet_vc_management.rs @@ -17,19 +17,22 @@ //! Autogenerated weights for `pallet_vc_management` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-16, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `LAPTOP-2LGRO8PK`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 +//! DATE: 2023-05-02, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20 // Executed Command: -// ./target/release/litentry-collator +// ./litentry-collator // benchmark // pallet // --chain=rococo-dev // --execution=wasm +// --db-cache=20 // --wasm-execution=compiled // --pallet=pallet_vc_management // --extrinsic=* +// --heap-pages=4096 // --steps=20 // --repeat=50 // --header=./LICENSE_HEADER @@ -45,104 +48,185 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_vc_management`. pub struct WeightInfo(PhantomData); impl pallet_vc_management::WeightInfo for WeightInfo { - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) fn request_vc() -> Weight { - // Minimum execution time: 19_300 nanoseconds. - Weight::from_ref_time(19_800_000) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `537` + // Minimum execution time: 14_588 nanoseconds. + Weight::from_ref_time(15_239_000) + .saturating_add(Weight::from_proof_size(537)) .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn disable_vc() -> Weight { - // Minimum execution time: 26_000 nanoseconds. - Weight::from_ref_time(26_600_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3537` + // Minimum execution time: 23_099 nanoseconds. + Weight::from_ref_time(24_091_000) + .saturating_add(Weight::from_proof_size(3537)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0) + /// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn revoke_vc() -> Weight { - // Minimum execution time: 25_500 nanoseconds. - Weight::from_ref_time(26_300_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3537` + // Minimum execution time: 23_673 nanoseconds. + Weight::from_ref_time(24_661_000) + .saturating_add(Weight::from_proof_size(3537)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn vc_issued() -> Weight { - // Minimum execution time: 24_200 nanoseconds. - Weight::from_ref_time(25_300_000) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `298` + // Estimated: `5560` + // Minimum execution time: 27_117 nanoseconds. + Weight::from_ref_time(28_220_000) + .saturating_add(Weight::from_proof_size(5560)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: Teerex EnclaveIndex (r:1 w:0) + /// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured) fn some_error() -> Weight { - // Minimum execution time: 17_600 nanoseconds. - Weight::from_ref_time(18_200_000) + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `2730` + // Minimum execution time: 19_770 nanoseconds. + Weight::from_ref_time(20_620_000) + .saturating_add(Weight::from_proof_size(2730)) + .saturating_add(T::DbWeight::get().reads(1)) } - // Storage: VCManagement Admin (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:1) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) fn set_admin() -> Weight { - // Minimum execution time: 21_800 nanoseconds. - Weight::from_ref_time(22_400_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `527` + // Minimum execution time: 16_188 nanoseconds. + Weight::from_ref_time(17_013_000) + .saturating_add(Weight::from_proof_size(527)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistryIndex (r:1 w:1) - // Storage: VCManagement SchemaRegistry (r:0 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistryIndex (r:1 w:1) + /// Proof: VCManagement SchemaRegistryIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:0 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn add_schema() -> Weight { - // Minimum execution time: 25_500 nanoseconds. - Weight::from_ref_time(26_000_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `1030` + // Minimum execution time: 21_001 nanoseconds. + Weight::from_ref_time(22_113_000) + .saturating_add(Weight::from_proof_size(1030)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn disable_schema() -> Weight { - // Minimum execution time: 25_600 nanoseconds. - Weight::from_ref_time(26_800_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 21_899 nanoseconds. + Weight::from_ref_time(22_916_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn activate_schema() -> Weight { - // Minimum execution time: 26_700 nanoseconds. - Weight::from_ref_time(27_900_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 21_685 nanoseconds. + Weight::from_ref_time(22_536_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement SchemaRegistry (r:1 w:1) + /// Proof: VCManagement SchemaRegistry (max_values: None, max_size: Some(2621), added: 5096, mode: MaxEncodedLen) fn revoke_schema() -> Weight { - // Minimum execution time: 26_700 nanoseconds. - Weight::from_ref_time(27_400_000) + // Proof Size summary in bytes: + // Measured: `211` + // Estimated: `5623` + // Minimum execution time: 22_028 nanoseconds. + Weight::from_ref_time(23_131_000) + .saturating_add(Weight::from_proof_size(5623)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn add_vc_registry_item() -> Weight { - // Minimum execution time: 26_000 nanoseconds. - Weight::from_ref_time(27_000_000) + // Proof Size summary in bytes: + // Measured: `61` + // Estimated: `3314` + // Minimum execution time: 21_096 nanoseconds. + Weight::from_ref_time(21_521_000) + .saturating_add(Weight::from_proof_size(3314)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:1 w:1) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:1 w:1) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) fn remove_vc_registry_item() -> Weight { - // Minimum execution time: 25_500 nanoseconds. - Weight::from_ref_time(26_600_000) + // Proof Size summary in bytes: + // Measured: `231` + // Estimated: `3314` + // Minimum execution time: 22_046 nanoseconds. + Weight::from_ref_time(22_961_000) + .saturating_add(Weight::from_proof_size(3314)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VCManagement Admin (r:1 w:0) - // Storage: VCManagement VCRegistry (r:0 w:5) + /// Storage: VCManagement Admin (r:1 w:0) + /// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VCManagement VCRegistry (r:100 w:100) + /// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(312), added: 2787, mode: MaxEncodedLen) /// The range of component `x` is `[0, 100]`. fn clear_vc_registry(x: u32, ) -> Weight { - // Minimum execution time: 23_400 nanoseconds. - Weight::from_ref_time(24_170_400) - // Standard Error: 4_147 - .saturating_add(Weight::from_ref_time(1_051_955).saturating_mul(x.into())) + // Proof Size summary in bytes: + // Measured: `91 + x * (85 ±0)` + // Estimated: `527 + x * (2787 ±0)` + // Minimum execution time: 17_238 nanoseconds. + Weight::from_ref_time(20_836_637) + .saturating_add(Weight::from_proof_size(527)) + // Standard Error: 1_770 + .saturating_add(Weight::from_ref_time(1_337_571).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_proof_size(2787).saturating_mul(x.into())) } }