From 74232984dc9d6f7b5335734f69d67477fd70b9b1 Mon Sep 17 00:00:00 2001 From: Andrea Giacobino Date: Thu, 11 Apr 2024 16:06:07 +0200 Subject: [PATCH] Add benchmarks for runtime 2900 (#2744) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add benchmarks for runtime 2900 * Benchmarks secound run for commit 36e17c79c5b869f6ae23f2df258b4fd7d16ceca8 * update rust tests accounting for new benches * Enable Relay Data Verifier Precompile in Moonriver and Moonbeam (#2729) * add relay-storage-roots pallet to moonriver and moonbeam * add tests * Add relay-verifier precompile to moonriver and moonbeam runtimes * add pallet precompile-benchmarks to moonriver and moonbeam * set MaxStorageRoots to 30 * fix coverage * Update owner of s3 upload action (#2741) * Update owner of s3 upload action * Using v1.0.0 instead of master --------- Co-authored-by: timbrinded <79199034+timbrinded@users.noreply.github.com> * add codeowners (#2740) * add codeowners * add github tools scripts to codeowners github tools are used with github actions --------- Co-authored-by: timbrinded <79199034+timbrinded@users.noreply.github.com> * Improve release related content (#2743) * add Moonkit to the diff in the release page body * fix docker image tag in client release issu body * Add Storage Cleaner Precompile (#2725) * Add precompile to moonbase runtime * bump precompile-utils version to avoid conflict * update precompile * add typescript tests * update frontier pin * Fix typescirpt test * Update callable for precompile Co-authored-by: Éloïs * fix format --------- Co-authored-by: Éloïs * Fix benchmarks (#2733) * fix pallet_treasury benchmarks * fix parachain-staking benchmarks * update frontier (#2738) * Fix benchmarks (#2746) * fix pallet_identity benchmarks * removed unused moonbeam_xcm_benchmarks::weights::generic benchmarks * update benchmarks (take 3) * fix rust tests * update limits for rewards limits * increase refTime limt for block rewards distribution --------- Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Co-authored-by: Mario Sánchez García <66425016+mario-sangar@users.noreply.github.com> Co-authored-by: timbrinded <79199034+timbrinded@users.noreply.github.com> Co-authored-by: Éloïs Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> --- Cargo.lock | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 96 +- .../src/weights/pallet_asset_manager.rs | 146 +- runtime/common/src/weights/pallet_assets.rs | 321 ++-- .../src/weights/pallet_author_inherent.rs | 24 +- .../src/weights/pallet_author_mapping.rs | 60 +- .../src/weights/pallet_author_slot_filter.rs | 22 +- runtime/common/src/weights/pallet_balances.rs | 96 +- .../src/weights/pallet_conviction_voting.rs | 86 +- .../src/weights/pallet_crowdloan_rewards.rs | 81 +- runtime/common/src/weights/pallet_evm.rs | 33 +- runtime/common/src/weights/pallet_identity.rs | 356 +++-- .../pallet_moonbeam_lazy_migrations.rs | 38 +- .../src/weights/pallet_moonbeam_orbiters.rs | 111 +- runtime/common/src/weights/pallet_multisig.rs | 112 +- .../src/weights/pallet_parachain_staking.rs | 1297 ++++++++--------- .../weights/pallet_precompile_benchmarks.rs | 37 +- runtime/common/src/weights/pallet_preimage.rs | 146 +- runtime/common/src/weights/pallet_proxy.rs | 151 +- .../common/src/weights/pallet_randomness.rs | 80 +- .../common/src/weights/pallet_referenda.rs | 285 ++-- .../src/weights/pallet_relay_storage_roots.rs | 28 +- .../common/src/weights/pallet_scheduler.rs | 131 +- runtime/common/src/weights/pallet_sudo.rs | 47 +- .../common/src/weights/pallet_timestamp.rs | 33 +- runtime/common/src/weights/pallet_treasury.rs | 243 ++- runtime/common/src/weights/pallet_utility.rs | 60 +- .../common/src/weights/pallet_whitelist.rs | 57 +- .../src/weights/pallet_xcm_transactor.rs | 84 +- runtime/moonbase/tests/integration_test.rs | 20 +- runtime/moonbeam/tests/integration_test.rs | 8 +- runtime/moonriver/tests/integration_test.rs | 8 +- .../test-rewards-auto-compound-pov.ts | 15 +- 33 files changed, 2036 insertions(+), 2278 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4363132242..b503795059 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16817,7 +16817,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand 0.7.3", "static_assertions", ] diff --git a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs index 26abb12c14..fcc7db956f 100644 --- a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `cumulus_pallet_xcmp_queue`. +/// Weights for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) @@ -51,11 +52,10 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 4_825_000 picoseconds. - Weight::from_parts(5_093_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_599_000 picoseconds. + Weight::from_parts(4_823_000, 1627) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -66,16 +66,15 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: // Measured: `148` // Estimated: `3517` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) - .saturating_add(Weight::from_parts(0, 3517)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 11_813_000 picoseconds. + Weight::from_parts(12_241_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -83,11 +82,10 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 4_831_000 picoseconds. - Weight::from_parts(4_988_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 2_901_000 picoseconds. + Weight::from_parts(3_040_000, 1627) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -95,19 +93,17 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `177` // Estimated: `1662` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) - .saturating_add(Weight::from_parts(0, 1662)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_742_000 picoseconds. + Weight::from_parts(3_848_000, 1662) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 7_580_000 picoseconds. + Weight::from_parts(7_910_000, 0) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -122,29 +118,37 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65777` - // Estimated: `69242` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) - .saturating_add(Weight::from_parts(0, 69242)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `134385` + // Estimated: `137850` + // Minimum execution time: 190_319_000 picoseconds. + Weight::from_parts(193_537_000, 137850) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65776` - // Estimated: `69241` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) - .saturating_add(Weight::from_parts(0, 69241)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `65782` + // Estimated: `69247` + // Minimum execution time: 103_908_000 picoseconds. + Weight::from_parts(105_455_000, 69247) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } diff --git a/runtime/common/src/weights/pallet_asset_manager.rs b/runtime/common/src/weights/pallet_asset_manager.rs index f444e41a00..248c113bf1 100644 --- a/runtime/common/src/weights/pallet_asset_manager.rs +++ b/runtime/common/src/weights/pallet_asset_manager.rs @@ -13,16 +13,17 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_asset_manager` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/moonbeam +// ./target/production/moonbeam // benchmark // pallet // --chain=moonbase-dev @@ -32,117 +33,112 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_asset_manager`. +/// Weights for `pallet_asset_manager`. pub struct WeightInfo(PhantomData); impl pallet_asset_manager::WeightInfo for WeightInfo { - /// Storage: AssetManager AssetIdType (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetTypeId (r:0 w:1) - /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdType` (r:1 w:1) + /// Proof: `AssetManager::AssetIdType` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetTypeId` (r:0 w:1) + /// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_foreign_asset() -> Weight { // Proof Size summary in bytes: // Measured: `82` // Estimated: `3639` - // Minimum execution time: 18_671_000 picoseconds. - Weight::from_parts(19_426_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 29_830_000 picoseconds. + Weight::from_parts(30_736_000, 3639) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: AssetManager AssetTypeId (r:1 w:0) - /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:1) - /// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeUnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetTypeId` (r:1 w:0) + /// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::SupportedFeePaymentAssets` (r:1 w:1) + /// Proof: `AssetManager::SupportedFeePaymentAssets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeUnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::AssetTypeUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[5, 100]`. fn set_asset_units_per_second(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `611 + x * (9 ±0)` // Estimated: `4000 + x * (10 ±0)` - // Minimum execution time: 13_680_000 picoseconds. - Weight::from_parts(15_643_701, 0) - .saturating_add(Weight::from_parts(0, 4000)) - // Standard Error: 2_622 - .saturating_add(Weight::from_parts(274_621, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 19_988_000 picoseconds. + Weight::from_parts(19_458_970, 4000) + // Standard Error: 2_974 + .saturating_add(Weight::from_parts(773_359, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(x.into())) } - /// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:1) - /// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdType (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:2) - /// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeId (r:0 w:2) - /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::SupportedFeePaymentAssets` (r:1 w:1) + /// Proof: `AssetManager::SupportedFeePaymentAssets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdType` (r:1 w:1) + /// Proof: `AssetManager::AssetIdType` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeUnitsPerSecond` (r:1 w:2) + /// Proof: `AssetManager::AssetTypeUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeId` (r:0 w:2) + /// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[5, 100]`. fn change_existing_asset_type(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `926 + x * (13 ±0)` // Estimated: `4309 + x * (15 ±0)` - // Minimum execution time: 19_784_000 picoseconds. - Weight::from_parts(23_095_890, 0) - .saturating_add(Weight::from_parts(0, 4309)) - // Standard Error: 4_344 - .saturating_add(Weight::from_parts(320_669, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 30_076_000 picoseconds. + Weight::from_parts(30_892_465, 4309) + // Standard Error: 4_039 + .saturating_add(Weight::from_parts(852_893, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 15).saturating_mul(x.into())) } - /// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:1) - /// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeUnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::SupportedFeePaymentAssets` (r:1 w:1) + /// Proof: `AssetManager::SupportedFeePaymentAssets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeUnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::AssetTypeUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[5, 100]`. fn remove_supported_asset(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `196 + x * (5 ±0)` // Estimated: `1678 + x * (5 ±0)` - // Minimum execution time: 10_369_000 picoseconds. - Weight::from_parts(11_485_853, 0) - .saturating_add(Weight::from_parts(0, 1678)) - // Standard Error: 2_255 - .saturating_add(Weight::from_parts(259_454, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 15_396_000 picoseconds. + Weight::from_parts(13_998_856, 1678) + // Standard Error: 2_734 + .saturating_add(Weight::from_parts(706_945, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(x.into())) } - /// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:1) - /// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdType (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeUnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetTypeId (r:0 w:1) - /// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::SupportedFeePaymentAssets` (r:1 w:1) + /// Proof: `AssetManager::SupportedFeePaymentAssets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdType` (r:1 w:1) + /// Proof: `AssetManager::AssetIdType` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeUnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::AssetTypeUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetTypeId` (r:0 w:1) + /// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[5, 100]`. fn remove_existing_asset_type(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `482 + x * (10 ±0)` // Estimated: `3955 + x * (10 ±0)` - // Minimum execution time: 15_040_000 picoseconds. - Weight::from_parts(17_158_622, 0) - .saturating_add(Weight::from_parts(0, 3955)) - // Standard Error: 2_614 - .saturating_add(Weight::from_parts(275_195, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 21_743_000 picoseconds. + Weight::from_parts(21_130_966, 3955) + // Standard Error: 3_157 + .saturating_add(Weight::from_parts(727_255, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(x.into())) } } diff --git a/runtime/common/src/weights/pallet_assets.rs b/runtime/common/src/weights/pallet_assets.rs index 4371e146f3..1bc42148cd 100644 --- a/runtime/common/src/weights/pallet_assets.rs +++ b/runtime/common/src/weights/pallet_assets.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_assets`. +/// Weights for `pallet_assets`. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { fn create() -> Weight { @@ -51,7 +52,6 @@ impl pallet_assets::WeightInfo for WeightInfo { // Estimated: `0` // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) - .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -59,11 +59,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3639` - // Minimum execution time: 9_697_000 picoseconds. - Weight::from_parts(10_125_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_311_000 picoseconds. + Weight::from_parts(9_640_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -71,11 +70,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241` // Estimated: `3639` - // Minimum execution time: 11_488_000 picoseconds. - Weight::from_parts(11_795_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_710_000 picoseconds. + Weight::from_parts(11_184_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -86,16 +84,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 656]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377 + c * (183 ±0)` + // Measured: `1359 + c * (183 ±0)` // Estimated: `3639 + c * (2597 ±0)` - // Minimum execution time: 15_841_000 picoseconds. - Weight::from_parts(16_048_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - // Standard Error: 8_552 - .saturating_add(Weight::from_parts(16_135_212, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 15_240_000 picoseconds. + Weight::from_parts(15_481_000, 3639) + // Standard Error: 9_062 + .saturating_add(Weight::from_parts(15_791_127, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2597).saturating_mul(c.into())) } @@ -108,14 +105,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313 + a * (74 ±0)` // Estimated: `3639 + a * (2611 ±0)` - // Minimum execution time: 16_300_000 picoseconds. - Weight::from_parts(16_598_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - // Standard Error: 6_635 - .saturating_add(Weight::from_parts(8_265_035, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 16_051_000 picoseconds. + Weight::from_parts(16_294_000, 3639) + // Standard Error: 6_449 + .saturating_add(Weight::from_parts(8_360_355, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2611).saturating_mul(a.into())) } @@ -127,11 +123,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 11_891_000 picoseconds. - Weight::from_parts(12_316_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 11_619_000 picoseconds. + Weight::from_parts(11_886_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -141,11 +136,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 21_641_000 picoseconds. - Weight::from_parts(22_134_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_717_000 picoseconds. + Weight::from_parts(21_127_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -155,11 +149,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3639` - // Minimum execution time: 29_190_000 picoseconds. - Weight::from_parts(30_022_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 28_139_000 picoseconds. + Weight::from_parts(28_640_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -171,11 +164,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `6184` - // Minimum execution time: 41_170_000 picoseconds. - Weight::from_parts(41_824_000, 0) - .saturating_add(Weight::from_parts(0, 6184)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 40_122_000 picoseconds. + Weight::from_parts(40_528_000, 6184) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -187,11 +179,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `6184` - // Minimum execution time: 36_329_000 picoseconds. - Weight::from_parts(37_512_000, 0) - .saturating_add(Weight::from_parts(0, 6184)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 35_519_000 picoseconds. + Weight::from_parts(36_732_000, 6184) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -203,11 +194,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `6184` - // Minimum execution time: 41_342_000 picoseconds. - Weight::from_parts(41_743_000, 0) - .saturating_add(Weight::from_parts(0, 6184)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 39_819_000 picoseconds. + Weight::from_parts(40_611_000, 6184) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -217,11 +207,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3639` - // Minimum execution time: 14_899_000 picoseconds. - Weight::from_parts(15_258_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_292_000 picoseconds. + Weight::from_parts(14_764_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -231,11 +220,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3639` - // Minimum execution time: 14_938_000 picoseconds. - Weight::from_parts(15_253_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_173_000 picoseconds. + Weight::from_parts(14_628_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -243,11 +231,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241` // Estimated: `3639` - // Minimum execution time: 10_854_000 picoseconds. - Weight::from_parts(11_227_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_270_000 picoseconds. + Weight::from_parts(10_712_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -255,11 +242,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241` // Estimated: `3639` - // Minimum execution time: 10_801_000 picoseconds. - Weight::from_parts(11_147_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_229_000 picoseconds. + Weight::from_parts(10_596_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -269,11 +255,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 12_156_000 picoseconds. - Weight::from_parts(12_611_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_033_000 picoseconds. + Weight::from_parts(12_335_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -281,11 +266,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 10_910_000 picoseconds. - Weight::from_parts(11_134_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_454_000 picoseconds. + Weight::from_parts(10_743_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -293,17 +277,18 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 26_251_000 picoseconds. - Weight::from_parts(27_365_751, 0) - .saturating_add(Weight::from_parts(0, 3639)) - // Standard Error: 698 - .saturating_add(Weight::from_parts(2_971, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 25_352_000 picoseconds. + Weight::from_parts(26_355_659, 3639) + // Standard Error: 538 + .saturating_add(Weight::from_parts(955, 0).saturating_mul(n.into())) + // Standard Error: 538 + .saturating_add(Weight::from_parts(1_407, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -313,11 +298,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383` // Estimated: `3639` - // Minimum execution time: 27_478_000 picoseconds. - Weight::from_parts(28_124_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 26_449_000 picoseconds. + Weight::from_parts(26_877_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -329,15 +313,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `3639` - // Minimum execution time: 11_567_000 picoseconds. - Weight::from_parts(12_145_294, 0) - .saturating_add(Weight::from_parts(0, 3639)) - // Standard Error: 303 - .saturating_add(Weight::from_parts(735, 0).saturating_mul(n.into())) - // Standard Error: 303 - .saturating_add(Weight::from_parts(728, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_953_000 picoseconds. + Weight::from_parts(11_548_090, 3639) + // Standard Error: 283 + .saturating_add(Weight::from_parts(1_176, 0).saturating_mul(n.into())) + // Standard Error: 283 + .saturating_add(Weight::from_parts(586, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -347,11 +330,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383` // Estimated: `3639` - // Minimum execution time: 27_266_000 picoseconds. - Weight::from_parts(27_822_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 25_835_000 picoseconds. + Weight::from_parts(26_847_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -359,11 +341,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 10_252_000 picoseconds. - Weight::from_parts(10_685_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_865_000 picoseconds. + Weight::from_parts(10_151_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -373,11 +354,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241` // Estimated: `3639` - // Minimum execution time: 16_962_000 picoseconds. - Weight::from_parts(17_239_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 16_508_000 picoseconds. + Weight::from_parts(16_834_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -391,11 +371,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `513` // Estimated: `6184` - // Minimum execution time: 49_169_000 picoseconds. - Weight::from_parts(50_461_000, 0) - .saturating_add(Weight::from_parts(0, 6184)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 48_917_000 picoseconds. + Weight::from_parts(49_824_000, 6184) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -405,11 +384,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `399` // Estimated: `3639` - // Minimum execution time: 18_963_000 picoseconds. - Weight::from_parts(19_446_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 18_226_000 picoseconds. + Weight::from_parts(18_762_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -419,11 +397,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `399` // Estimated: `3639` - // Minimum execution time: 19_533_000 picoseconds. - Weight::from_parts(19_816_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 18_655_000 picoseconds. + Weight::from_parts(19_074_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -431,11 +408,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 11_369_000 picoseconds. - Weight::from_parts(11_724_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 11_033_000 picoseconds. + Weight::from_parts(11_236_000, 3639) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Assets::Account` (r:1 w:1) /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) @@ -447,11 +423,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `435` // Estimated: `3639` - // Minimum execution time: 31_635_000 picoseconds. - Weight::from_parts(32_474_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 30_611_000 picoseconds. + Weight::from_parts(31_492_000, 3639) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Assets::Account` (r:1 w:1) /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) @@ -461,11 +436,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3639` - // Minimum execution time: 29_231_000 picoseconds. - Weight::from_parts(30_289_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 28_482_000 picoseconds. + Weight::from_parts(29_498_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Account` (r:1 w:1) /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) @@ -477,11 +451,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `561` // Estimated: `3639` - // Minimum execution time: 30_524_000 picoseconds. - Weight::from_parts(31_360_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 30_261_000 picoseconds. + Weight::from_parts(31_050_000, 3639) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Assets::Account` (r:1 w:1) /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) @@ -491,11 +464,10 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3639` - // Minimum execution time: 28_593_000 picoseconds. - Weight::from_parts(29_825_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_945_000 picoseconds. + Weight::from_parts(28_808_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`) @@ -505,10 +477,9 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3639` - // Minimum execution time: 14_778_000 picoseconds. - Weight::from_parts(15_158_000, 0) - .saturating_add(Weight::from_parts(0, 3639)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_179_000 picoseconds. + Weight::from_parts(14_486_000, 3639) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_author_inherent.rs b/runtime/common/src/weights/pallet_author_inherent.rs index 4fbd065339..ab09ba8887 100644 --- a/runtime/common/src/weights/pallet_author_inherent.rs +++ b/runtime/common/src/weights/pallet_author_inherent.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_author_inherent` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_author_inherent`. +/// Weights for `pallet_author_inherent`. pub struct WeightInfo(PhantomData); impl pallet_author_inherent::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) @@ -61,10 +62,9 @@ impl pallet_author_inherent::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `1857` - // Minimum execution time: 17_504_000 picoseconds. - Weight::from_parts(18_163_000, 0) - .saturating_add(Weight::from_parts(0, 1857)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 17_417_000 picoseconds. + Weight::from_parts(17_809_000, 1857) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_author_mapping.rs b/runtime/common/src/weights/pallet_author_mapping.rs index b3530ce227..691b9bf618 100644 --- a/runtime/common/src/weights/pallet_author_mapping.rs +++ b/runtime/common/src/weights/pallet_author_mapping.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_author_mapping` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_author_mapping`. +/// Weights for `pallet_author_mapping`. pub struct WeightInfo(PhantomData); impl pallet_author_mapping::WeightInfo for WeightInfo { /// Storage: `AuthorMapping::MappingWithDeposit` (r:1 w:1) @@ -55,11 +56,10 @@ impl pallet_author_mapping::WeightInfo for WeightInfo pallet_author_mapping::WeightInfo for WeightInfo pallet_author_mapping::WeightInfo for WeightInfo pallet_author_mapping::WeightInfo for WeightInfo pallet_author_mapping::WeightInfo for WeightInfo. + //! Autogenerated weights for `pallet_author_slot_filter` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_author_slot_filter`. +/// Weights for `pallet_author_slot_filter`. pub struct WeightInfo(PhantomData); impl pallet_author_slot_filter::WeightInfo for WeightInfo { /// Storage: `AuthorFilter::EligibleCount` (r:0 w:1) @@ -51,9 +52,8 @@ impl pallet_author_slot_filter::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_229_000 picoseconds. - Weight::from_parts(5_407_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_543_000 picoseconds. + Weight::from_parts(4_833_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index afe11d96d2..711202502b 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_balances`. +/// Weights for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) @@ -51,11 +52,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `72` // Estimated: `3581` - // Minimum execution time: 43_156_000 picoseconds. - Weight::from_parts(44_345_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 41_684_000 picoseconds. + Weight::from_parts(42_289_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -63,11 +63,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `72` // Estimated: `3581` - // Minimum execution time: 42_199_000 picoseconds. - Weight::from_parts(43_623_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 40_145_000 picoseconds. + Weight::from_parts(40_934_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -75,11 +74,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 15_505_000 picoseconds. - Weight::from_parts(16_260_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_448_000 picoseconds. + Weight::from_parts(15_726_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -87,11 +85,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 16_446_000 picoseconds. - Weight::from_parts(17_200_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_390_000 picoseconds. + Weight::from_parts(16_702_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -99,11 +96,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267` // Estimated: `6172` - // Minimum execution time: 45_381_000 picoseconds. - Weight::from_parts(47_231_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 44_041_000 picoseconds. + Weight::from_parts(44_655_000, 6172) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -111,11 +107,10 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `72` // Estimated: `3581` - // Minimum execution time: 45_850_000 picoseconds. - Weight::from_parts(48_179_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 44_316_000 picoseconds. + Weight::from_parts(45_153_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -123,24 +118,22 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 19_092_000 picoseconds. - Weight::from_parts(19_539_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_223_000 picoseconds. + Weight::from_parts(18_633_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:999 w:999) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1131 + u * (123 ±0)` + // Measured: `1137 + u * (123 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 17_371_000 picoseconds. - Weight::from_parts(17_771_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 9_513 - .saturating_add(Weight::from_parts(14_344_521, 0).saturating_mul(u.into())) + // Minimum execution time: 16_981_000 picoseconds. + Weight::from_parts(17_151_000, 990) + // Standard Error: 10_657 + .saturating_add(Weight::from_parts(13_838_684, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2591).saturating_mul(u.into())) @@ -151,9 +144,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - .saturating_add(Weight::from_parts(0, 1501)) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 6_481_000 picoseconds. + Weight::from_parts(6_671_000, 1501) + .saturating_add(T::DbWeight::get().reads(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_conviction_voting.rs b/runtime/common/src/weights/pallet_conviction_voting.rs index 490c92d6db..b64f16db3a 100644 --- a/runtime/common/src/weights/pallet_conviction_voting.rs +++ b/runtime/common/src/weights/pallet_conviction_voting.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_conviction_voting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_conviction_voting`. +/// Weights for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); impl pallet_conviction_voting::WeightInfo for WeightInfo { /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) @@ -61,11 +62,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1961` // Estimated: `42428` - // Minimum execution time: 68_025_000 picoseconds. - Weight::from_parts(69_584_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 63_255_000 picoseconds. + Weight::from_parts(65_721_000, 42428) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -83,11 +83,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `2262` // Estimated: `83866` - // Minimum execution time: 106_147_000 picoseconds. - Weight::from_parts(107_537_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 83_134_000 picoseconds. + Weight::from_parts(85_859_000, 83866) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1152), added: 3627, mode: `MaxEncodedLen`) @@ -99,11 +98,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1840` // Estimated: `83866` - // Minimum execution time: 74_610_000 picoseconds. - Weight::from_parts(76_721_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 55_539_000 picoseconds. + Weight::from_parts(57_196_000, 83866) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1152), added: 3627, mode: `MaxEncodedLen`) @@ -113,11 +111,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1384` // Estimated: `4617` - // Minimum execution time: 21_382_000 picoseconds. - Weight::from_parts(22_374_000, 0) - .saturating_add(Weight::from_parts(0, 4617)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_722_000 picoseconds. + Weight::from_parts(21_199_000, 4617) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1152), added: 3627, mode: `MaxEncodedLen`) @@ -136,14 +133,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1620 + r * (248 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 49_385_000 picoseconds. - Weight::from_parts(50_275_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 227_821 - .saturating_add(Weight::from_parts(39_807_280, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Minimum execution time: 44_300_000 picoseconds. + Weight::from_parts(39_609_524, 83866) + // Standard Error: 80_179 + .saturating_add(Weight::from_parts(24_498_559, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3387).saturating_mul(r.into())) } @@ -158,14 +154,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1339 + r * (248 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 21_190_000 picoseconds. - Weight::from_parts(21_677_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 230_665 - .saturating_add(Weight::from_parts(39_520_760, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 20_213_000 picoseconds. + Weight::from_parts(11_563_375, 83866) + // Standard Error: 81_737 + .saturating_add(Weight::from_parts(24_404_856, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3387).saturating_mul(r.into())) } @@ -181,10 +176,9 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1228` // Estimated: `4752` - // Minimum execution time: 50_789_000 picoseconds. - Weight::from_parts(53_206_000, 0) - .saturating_add(Weight::from_parts(0, 4752)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 47_709_000 picoseconds. + Weight::from_parts(48_634_000, 4752) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/common/src/weights/pallet_crowdloan_rewards.rs b/runtime/common/src/weights/pallet_crowdloan_rewards.rs index 58b18ca03d..de7fec9462 100644 --- a/runtime/common/src/weights/pallet_crowdloan_rewards.rs +++ b/runtime/common/src/weights/pallet_crowdloan_rewards.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_crowdloan_rewards` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_crowdloan_rewards`. +/// Weights for `pallet_crowdloan_rewards`. pub struct WeightInfo(PhantomData); impl pallet_crowdloan_rewards::WeightInfo for WeightInfo { /// Storage: `CrowdloanRewards::Initialized` (r:1 w:0) @@ -62,16 +63,15 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf /// The range of component `x` is `[1, 500]`. fn initialize_reward_vec(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `75964 + x * (659 ±0)` - // Estimated: `66115 + x * (3161 ±5)` - // Minimum execution time: 130_984_000 picoseconds. - Weight::from_parts(65_596_280, 0) - .saturating_add(Weight::from_parts(0, 66115)) - // Standard Error: 22_628 - .saturating_add(Weight::from_parts(58_722_512, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `75971 + x * (659 ±0)` + // Estimated: `66133 + x * (3161 ±5)` + // Minimum execution time: 110_884_000 picoseconds. + Weight::from_parts(147_336_064, 66133) + // Standard Error: 40_142 + .saturating_add(Weight::from_parts(54_050_188, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3161).saturating_mul(x.into())) } @@ -91,11 +91,10 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `579` // Estimated: `3581` - // Minimum execution time: 15_295_000 picoseconds. - Weight::from_parts(15_823_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 15_351_000 picoseconds. + Weight::from_parts(15_735_000, 3581) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `CrowdloanRewards::Initialized` (r:1 w:0) /// Proof: `CrowdloanRewards::Initialized` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -113,11 +112,10 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1100` // Estimated: `6172` - // Minimum execution time: 65_014_000 picoseconds. - Weight::from_parts(66_385_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 62_595_000 picoseconds. + Weight::from_parts(63_760_000, 6172) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `CrowdloanRewards::AccountsPayable` (r:2 w:2) /// Proof: `CrowdloanRewards::AccountsPayable` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -125,11 +123,10 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `397` // Estimated: `6337` - // Minimum execution time: 18_997_000 picoseconds. - Weight::from_parts(19_312_000, 0) - .saturating_add(Weight::from_parts(0, 6337)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 17_926_000 picoseconds. + Weight::from_parts(18_219_000, 6337) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `CrowdloanRewards::UnassociatedContributions` (r:1 w:1) /// Proof: `CrowdloanRewards::UnassociatedContributions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -143,11 +140,10 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `934` // Estimated: `6172` - // Minimum execution time: 126_721_000 picoseconds. - Weight::from_parts(128_450_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 122_312_000 picoseconds. + Weight::from_parts(124_403_000, 6172) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `CrowdloanRewards::AccountsPayable` (r:2 w:2) /// Proof: `CrowdloanRewards::AccountsPayable` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -156,13 +152,12 @@ impl pallet_crowdloan_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `366 + x * (32 ±0)` // Estimated: `6306 + x * (32 ±0)` - // Minimum execution time: 78_370_000 picoseconds. - Weight::from_parts(78_998_000, 0) - .saturating_add(Weight::from_parts(0, 6306)) - // Standard Error: 11_079 - .saturating_add(Weight::from_parts(57_377_498, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 76_926_000 picoseconds. + Weight::from_parts(77_278_000, 6306) + // Standard Error: 11_622 + .saturating_add(Weight::from_parts(57_377_263, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(x.into())) } } diff --git a/runtime/common/src/weights/pallet_evm.rs b/runtime/common/src/weights/pallet_evm.rs index a958133397..5a506cbd52 100644 --- a/runtime/common/src/weights/pallet_evm.rs +++ b/runtime/common/src/weights/pallet_evm.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_evm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_evm`. +/// Weights for `pallet_evm`. pub struct WeightInfo(PhantomData); impl pallet_evm::WeightInfo for WeightInfo { /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) @@ -60,20 +61,18 @@ impl pallet_evm::WeightInfo for WeightInfo { /// The range of component `x` is `[1, 10000000]`. fn runner_execute(_x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1536` - // Estimated: `7476` - // Minimum execution time: 24_694_460_000 picoseconds. - Weight::from_parts(24_865_513_855, 0) - .saturating_add(Weight::from_parts(0, 7476)) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `1574` + // Estimated: `7514` + // Minimum execution time: 25_094_983_000 picoseconds. + Weight::from_parts(25_279_087_568, 7514) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_967_000 picoseconds. - Weight::from_parts(2_084_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 1_878_000 picoseconds. + Weight::from_parts(2_005_000, 0) } } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index cf46431bb3..66abc43033 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_identity`. +/// Weights for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { /// Storage: `Identity::Registrars` (r:1 w:1) @@ -52,32 +53,29 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 8_943_000 picoseconds. - Weight::from_parts(9_593_622, 0) - .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_459 - .saturating_add(Weight::from_parts(99_156, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_498_000 picoseconds. + Weight::from_parts(9_024_352, 2386) + // Standard Error: 1_263 + .saturating_add(Weight::from_parts(86_602, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + r * (5 ±0)` - // Estimated: `10991` - // Minimum execution time: 32_324_000 picoseconds. - Weight::from_parts(30_424_080, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_785 - .saturating_add(Weight::from_parts(150_588, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `6966 + r * (5 ±0)` + // Estimated: `11025` + // Minimum execution time: 112_680_000 picoseconds. + Weight::from_parts(115_285_152, 11025) + // Standard Error: 5_277 + .saturating_add(Weight::from_parts(190_684, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:100 w:100) @@ -86,20 +84,19 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` - // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 9_515_000 picoseconds. - Weight::from_parts(23_106_874, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 4_246 - .saturating_add(Weight::from_parts(3_589_907, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `11025 + s * (2565 ±0)` + // Minimum execution time: 9_044_000 picoseconds. + Weight::from_parts(22_565_890, 11025) + // Standard Error: 4_822 + .saturating_add(Weight::from_parts(3_282_830, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2565).saturating_mul(s.into())) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:0 w:100) @@ -108,73 +105,66 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` - // Estimated: `10991` - // Minimum execution time: 9_420_000 picoseconds. - Weight::from_parts(23_856_903, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_447 - .saturating_add(Weight::from_parts(1_497_213, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Estimated: `11025` + // Minimum execution time: 9_038_000 picoseconds. + Weight::from_parts(22_528_876, 11025) + // Standard Error: 3_237 + .saturating_add(Weight::from_parts(1_326_320, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:0 w:100) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `10991` - // Minimum execution time: 59_657_000 picoseconds. - Weight::from_parts(29_331_865, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 7_077 - .saturating_add(Weight::from_parts(275_001, 0).saturating_mul(r.into())) - // Standard Error: 1_382 - .saturating_add(Weight::from_parts(1_492_955, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `7046 + r * (5 ±0) + s * (20 ±0)` + // Estimated: `11025` + // Minimum execution time: 57_176_000 picoseconds. + Weight::from_parts(57_333_594, 11025) + // Standard Error: 7_257 + .saturating_add(Weight::from_parts(195_450, 0).saturating_mul(r.into())) + // Standard Error: 1_416 + .saturating_add(Weight::from_parts(1_326_826, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: `Identity::Registrars` (r:1 w:0) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `355 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `10991` - // Minimum execution time: 32_035_000 picoseconds. - Weight::from_parts(31_277_555, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_421 - .saturating_add(Weight::from_parts(109_577, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `6956 + r * (45 ±0)` + // Estimated: `11025` + // Minimum execution time: 78_701_000 picoseconds. + Weight::from_parts(80_440_545, 11025) + // Standard Error: 3_857 + .saturating_add(Weight::from_parts(129_413, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `386 + x * (66 ±0)` - // Estimated: `10991` - // Minimum execution time: 29_698_000 picoseconds. - Weight::from_parts(28_787_784, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_232 - .saturating_add(Weight::from_parts(84_735, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `6987` + // Estimated: `11025` + // Minimum execution time: 76_445_000 picoseconds. + Weight::from_parts(77_426_259, 11025) + // Standard Error: 3_373 + .saturating_add(Weight::from_parts(127_374, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) @@ -183,13 +173,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_433_000 picoseconds. - Weight::from_parts(6_763_771, 0) - .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_060 - .saturating_add(Weight::from_parts(76_031, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_225_000 picoseconds. + Weight::from_parts(6_559_852, 2386) + // Standard Error: 923 + .saturating_add(Weight::from_parts(70_556, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) @@ -198,13 +187,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_530_000 picoseconds. - Weight::from_parts(6_764_139, 0) - .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 829 - .saturating_add(Weight::from_parts(75_980, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_252_000 picoseconds. + Weight::from_parts(6_559_957, 2386) + // Standard Error: 855 + .saturating_add(Weight::from_parts(69_177, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) @@ -213,60 +201,55 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_422_000 picoseconds. - Weight::from_parts(6_845_806, 0) - .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 913 - .saturating_add(Weight::from_parts(69_740, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_183_000 picoseconds. + Weight::from_parts(6_528_283, 2386) + // Standard Error: 732 + .saturating_add(Weight::from_parts(65_415, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:0) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `421 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `10991` - // Minimum execution time: 21_684_000 picoseconds. - Weight::from_parts(21_175_027, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 4_037 - .saturating_add(Weight::from_parts(77_912, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `7022 + r * (45 ±0)` + // Estimated: `11025` + // Minimum execution time: 99_700_000 picoseconds. + Weight::from_parts(101_176_078, 11025) + // Standard Error: 4_582 + .saturating_add(Weight::from_parts(114_818, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:0 w:100) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `712 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `10991` - // Minimum execution time: 82_142_000 picoseconds. - Weight::from_parts(52_763_268, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 7_326 - .saturating_add(Weight::from_parts(283_613, 0).saturating_mul(r.into())) - // Standard Error: 1_430 - .saturating_add(Weight::from_parts(1_493_205, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `7313 + r * (5 ±0) + s * (20 ±0)` + // Estimated: `11025` + // Minimum execution time: 77_872_000 picoseconds. + Weight::from_parts(77_876_810, 11025) + // Standard Error: 8_973 + .saturating_add(Weight::from_parts(244_712, 0).saturating_mul(r.into())) + // Standard Error: 1_751 + .saturating_add(Weight::from_parts(1_336_482, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) @@ -275,34 +258,32 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` - // Estimated: `10991` - // Minimum execution time: 28_438_000 picoseconds. - Weight::from_parts(32_896_151, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_176 - .saturating_add(Weight::from_parts(74_450, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `11025` + // Minimum execution time: 26_168_000 picoseconds. + Weight::from_parts(30_873_268, 11025) + // Standard Error: 1_061 + .saturating_add(Weight::from_parts(70_656, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` - // Estimated: `10991` - // Minimum execution time: 13_006_000 picoseconds. - Weight::from_parts(16_462_133, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_374 - .saturating_add(Weight::from_parts(58_282, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Estimated: `11025` + // Minimum execution time: 12_535_000 picoseconds. + Weight::from_parts(15_886_319, 11025) + // Standard Error: 1_341 + .saturating_add(Weight::from_parts(60_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7560), added: 10035, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) @@ -311,14 +292,13 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` - // Estimated: `10991` - // Minimum execution time: 31_845_000 picoseconds. - Weight::from_parts(36_646_202, 0) - .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_281 - .saturating_add(Weight::from_parts(89_740, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `11025` + // Minimum execution time: 29_877_000 picoseconds. + Weight::from_parts(34_605_810, 11025) + // Standard Error: 1_261 + .saturating_add(Weight::from_parts(87_624, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -331,13 +311,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `620 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 23_322_000 picoseconds. - Weight::from_parts(25_422_652, 0) - .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(111_345, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_763_000 picoseconds. + Weight::from_parts(24_456_476, 5511) + // Standard Error: 1_256 + .saturating_add(Weight::from_parts(103_277, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -345,10 +324,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_045_000 picoseconds. + Weight::from_parts(6_504_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -356,11 +334,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `67` // Estimated: `3505` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) - .saturating_add(Weight::from_parts(0, 3505)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_372_000 picoseconds. + Weight::from_parts(9_591_000, 3505) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -374,11 +351,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `67` // Estimated: `11025` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) - .saturating_add(Weight::from_parts(0, 11025)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 69_326_000 picoseconds. + Weight::from_parts(70_625_000, 11025) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Identity::PendingUsernames` (r:1 w:1) /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) @@ -390,11 +366,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `11025` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 11025)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 20_230_000 picoseconds. + Weight::from_parts(20_655_000, 11025) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Identity::PendingUsernames` (r:1 w:1) /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) @@ -402,11 +377,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `3538` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) - .saturating_add(Weight::from_parts(0, 3538)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 13_416_000 picoseconds. + Weight::from_parts(13_914_000, 3538) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::AccountOfUsername` (r:1 w:0) /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) @@ -416,11 +390,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `232` // Estimated: `11025` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) - .saturating_add(Weight::from_parts(0, 11025)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_426_000 picoseconds. + Weight::from_parts(16_697_000, 11025) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::AccountOfUsername` (r:1 w:1) /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) @@ -430,10 +403,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `86` // Estimated: `11025` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) - .saturating_add(Weight::from_parts(0, 11025)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 11_743_000 picoseconds. + Weight::from_parts(12_016_000, 11025) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/common/src/weights/pallet_moonbeam_lazy_migrations.rs b/runtime/common/src/weights/pallet_moonbeam_lazy_migrations.rs index 0716a0cf90..7be5b3c49f 100644 --- a/runtime/common/src/weights/pallet_moonbeam_lazy_migrations.rs +++ b/runtime/common/src/weights/pallet_moonbeam_lazy_migrations.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_moonbeam_lazy_migrations` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_moonbeam_lazy_migrations`. +/// Weights for `pallet_moonbeam_lazy_migrations`. pub struct WeightInfo(PhantomData); impl pallet_moonbeam_lazy_migrations::WeightInfo for WeightInfo { /// Storage: `EVM::Suicided` (r:100 w:0) @@ -57,21 +58,20 @@ impl pallet_moonbeam_lazy_migrations::WeightInfo for We /// The range of component `l` is `[1, 1000]`. fn clear_suicided_storage(a: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4121 + a * (11 ±0) + l * (84 ±0)` - // Estimated: `37701 + a * (2227 ±19) + l * (2536 ±1)` - // Minimum execution time: 48_051_000 picoseconds. - Weight::from_parts(49_117_000, 0) - .saturating_add(Weight::from_parts(0, 37701)) - // Standard Error: 2_635_042 - .saturating_add(Weight::from_parts(43_035_070, 0).saturating_mul(a.into())) - // Standard Error: 263_223 - .saturating_add(Weight::from_parts(27_540_363, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `4155 + a * (11 ±0) + l * (84 ±0)` + // Estimated: `37723 + a * (2228 ±19) + l * (2536 ±1)` + // Minimum execution time: 47_583_000 picoseconds. + Weight::from_parts(47_755_000, 37723) + // Standard Error: 2_582_851 + .saturating_add(Weight::from_parts(42_961_979, 0).saturating_mul(a.into())) + // Standard Error: 258_009 + .saturating_add(Weight::from_parts(27_276_989, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) - .saturating_add(T::DbWeight::get().writes(41)) + .saturating_add(T::DbWeight::get().writes(41_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(l.into()))) - .saturating_add(Weight::from_parts(0, 2227).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2228).saturating_mul(a.into())) .saturating_add(Weight::from_parts(0, 2536).saturating_mul(l.into())) } } diff --git a/runtime/common/src/weights/pallet_moonbeam_orbiters.rs b/runtime/common/src/weights/pallet_moonbeam_orbiters.rs index fd4a99cc46..dc60e4b44f 100644 --- a/runtime/common/src/weights/pallet_moonbeam_orbiters.rs +++ b/runtime/common/src/weights/pallet_moonbeam_orbiters.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_moonbeam_orbiters` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_moonbeam_orbiters`. +/// Weights for `pallet_moonbeam_orbiters`. pub struct WeightInfo(PhantomData); impl pallet_moonbeam_orbiters::WeightInfo for WeightInfo { /// Storage: `MoonbeamOrbiters::CollatorsPool` (r:1 w:1) @@ -53,11 +54,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `562` // Estimated: `4502` - // Minimum execution time: 20_952_000 picoseconds. - Weight::from_parts(21_713_000, 0) - .saturating_add(Weight::from_parts(0, 4502)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_069_000 picoseconds. + Weight::from_parts(20_744_000, 4502) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `MoonbeamOrbiters::CollatorsPool` (r:1 w:1) /// Proof: `MoonbeamOrbiters::CollatorsPool` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -65,11 +65,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `366` // Estimated: `3831` - // Minimum execution time: 16_938_000 picoseconds. - Weight::from_parts(17_578_000, 0) - .saturating_add(Weight::from_parts(0, 3831)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_654_000 picoseconds. + Weight::from_parts(16_327_000, 3831) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `MoonbeamOrbiters::CollatorsPool` (r:1 w:1) /// Proof: `MoonbeamOrbiters::CollatorsPool` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -77,11 +76,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `366` // Estimated: `3831` - // Minimum execution time: 17_257_000 picoseconds. - Weight::from_parts(17_565_000, 0) - .saturating_add(Weight::from_parts(0, 3831)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_840_000 picoseconds. + Weight::from_parts(16_363_000, 3831) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `MoonbeamOrbiters::MinOrbiterDeposit` (r:1 w:0) /// Proof: `MoonbeamOrbiters::MinOrbiterDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -95,11 +93,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `282` // Estimated: `4502` - // Minimum execution time: 31_217_000 picoseconds. - Weight::from_parts(32_007_000, 0) - .saturating_add(Weight::from_parts(0, 4502)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 30_234_000 picoseconds. + Weight::from_parts(30_911_000, 4502) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `MoonbeamOrbiters::CounterForCollatorsPool` (r:1 w:0) /// Proof: `MoonbeamOrbiters::CounterForCollatorsPool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -116,14 +113,13 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `391 + n * (48 ±0)` // Estimated: `4502 + n * (2524 ±0)` - // Minimum execution time: 39_397_000 picoseconds. - Weight::from_parts(39_812_952, 0) - .saturating_add(Weight::from_parts(0, 4502)) - // Standard Error: 9_185 - .saturating_add(Weight::from_parts(7_271_451, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 37_436_000 picoseconds. + Weight::from_parts(37_712_989, 4502) + // Standard Error: 7_879 + .saturating_add(Weight::from_parts(7_381_630, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 2524).saturating_mul(n.into())) } /// Storage: `MoonbeamOrbiters::CollatorsPool` (r:1 w:1) @@ -134,11 +130,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `82` // Estimated: `3547` - // Minimum execution time: 11_227_000 picoseconds. - Weight::from_parts(11_428_000, 0) - .saturating_add(Weight::from_parts(0, 3547)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 11_002_000 picoseconds. + Weight::from_parts(11_373_000, 3547) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `MoonbeamOrbiters::CollatorsPool` (r:1 w:1) /// Proof: `MoonbeamOrbiters::CollatorsPool` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -150,11 +145,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `366` // Estimated: `3831` - // Minimum execution time: 23_410_000 picoseconds. - Weight::from_parts(24_220_000, 0) - .saturating_add(Weight::from_parts(0, 3831)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(11)) + // Minimum execution time: 23_018_000 picoseconds. + Weight::from_parts(23_690_000, 3831) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) } /// Storage: `MoonbeamOrbiters::CurrentRound` (r:1 w:0) /// Proof: `MoonbeamOrbiters::CurrentRound` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -165,12 +159,11 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `140 + x * (61 ±0)` // Estimated: `1624 + x * (2537 ±0)` - // Minimum execution time: 6_709_000 picoseconds. - Weight::from_parts(6_364_316, 0) - .saturating_add(Weight::from_parts(0, 1624)) - // Standard Error: 1_697 - .saturating_add(Weight::from_parts(874_402, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 6_769_000 picoseconds. + Weight::from_parts(6_649_109, 1624) + // Standard Error: 1_243 + .saturating_add(Weight::from_parts(860_679, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .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_parts(0, 2537).saturating_mul(x.into())) @@ -183,11 +176,10 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 22_137_000 picoseconds. - Weight::from_parts(22_649_000, 0) - .saturating_add(Weight::from_parts(0, 3763)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 21_346_000 picoseconds. + Weight::from_parts(21_697_000, 3763) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `MoonbeamOrbiters::ForceRotation` (r:1 w:1) /// Proof: `MoonbeamOrbiters::ForceRotation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -203,10 +195,9 @@ impl pallet_moonbeam_orbiters::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `256` // Estimated: `6196` - // Minimum execution time: 31_344_000 picoseconds. - Weight::from_parts(32_475_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(9)) + // Minimum execution time: 29_700_000 picoseconds. + Weight::from_parts(30_769_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } } diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index 443763035b..77c0b5d0ea 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_multisig`. +/// Weights for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) @@ -52,12 +53,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 16_161_000 picoseconds. - Weight::from_parts(17_161_034, 0) - .saturating_add(Weight::from_parts(0, 1527)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(522, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 15_050_000 picoseconds. + Weight::from_parts(15_716_040, 1527) + // Standard Error: 2 + .saturating_add(Weight::from_parts(508, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`) @@ -67,15 +67,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `304` // Estimated: `5587` - // Minimum execution time: 43_279_000 picoseconds. - Weight::from_parts(32_447_371, 0) - .saturating_add(Weight::from_parts(0, 5587)) - // Standard Error: 810 - .saturating_add(Weight::from_parts(123_629, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_495, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 41_040_000 picoseconds. + Weight::from_parts(31_041_570, 5587) + // Standard Error: 1_531 + .saturating_add(Weight::from_parts(111_181, 0).saturating_mul(s.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`) @@ -85,15 +84,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `5587` - // Minimum execution time: 27_544_000 picoseconds. - Weight::from_parts(17_727_948, 0) - .saturating_add(Weight::from_parts(0, 5587)) - // Standard Error: 465 - .saturating_add(Weight::from_parts(108_927, 0).saturating_mul(s.into())) + // Minimum execution time: 25_982_000 picoseconds. + Weight::from_parts(17_347_712, 5587) + // Standard Error: 413 + .saturating_add(Weight::from_parts(96_686, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(1_423, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`) @@ -107,15 +105,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `475 + s * (20 ±0)` // Estimated: `5587 + s * (20 ±0)` - // Minimum execution time: 51_602_000 picoseconds. - Weight::from_parts(38_665_804, 0) - .saturating_add(Weight::from_parts(0, 5587)) - // Standard Error: 1_763 - .saturating_add(Weight::from_parts(152_204, 0).saturating_mul(s.into())) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_517, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 49_756_000 picoseconds. + Weight::from_parts(37_536_364, 5587) + // Standard Error: 732 + .saturating_add(Weight::from_parts(134_613, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_463, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(s.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) @@ -125,13 +122,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `304` // Estimated: `5587` - // Minimum execution time: 29_730_000 picoseconds. - Weight::from_parts(30_978_811, 0) - .saturating_add(Weight::from_parts(0, 5587)) + // Minimum execution time: 29_297_000 picoseconds. + Weight::from_parts(30_042_055, 5587) // Standard Error: 758 - .saturating_add(Weight::from_parts(121_770, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(105_815, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`) @@ -140,13 +136,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `5587` - // Minimum execution time: 15_849_000 picoseconds. - Weight::from_parts(16_259_686, 0) - .saturating_add(Weight::from_parts(0, 5587)) - // Standard Error: 489 - .saturating_add(Weight::from_parts(108_993, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_306_000 picoseconds. + Weight::from_parts(15_795_893, 5587) + // Standard Error: 464 + .saturating_add(Weight::from_parts(95_884, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`) @@ -155,12 +150,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474` // Estimated: `5587` - // Minimum execution time: 30_901_000 picoseconds. - Weight::from_parts(32_143_107, 0) - .saturating_add(Weight::from_parts(0, 5587)) - // Standard Error: 689 - .saturating_add(Weight::from_parts(122_500, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 30_377_000 picoseconds. + Weight::from_parts(31_017_956, 5587) + // Standard Error: 645 + .saturating_add(Weight::from_parts(104_927, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_parachain_staking.rs b/runtime/common/src/weights/pallet_parachain_staking.rs index 1fa0874905..407880f75d 100644 --- a/runtime/common/src/weights/pallet_parachain_staking.rs +++ b/runtime/common/src/weights/pallet_parachain_staking.rs @@ -13,16 +13,17 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/moonbeam +// ./target/production/moonbeam // benchmark // pallet // --chain=moonbase-dev @@ -32,694 +33,663 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_parachain_staking`. +/// Weights for `pallet_parachain_staking`. pub struct WeightInfo(PhantomData); impl pallet_parachain_staking::WeightInfo for WeightInfo { - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 6_890_000 picoseconds. - Weight::from_parts(7_224_000, 0) - .saturating_add(Weight::from_parts(0, 1573)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + // Minimum execution time: 8_423_000 picoseconds. + Weight::from_parts(8_775_000, 1573) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 14_471_000 picoseconds. - Weight::from_parts(14_854_000, 0) - .saturating_add(Weight::from_parts(0, 1573)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + // Minimum execution time: 36_410_000 picoseconds. + Weight::from_parts(37_149_000, 1573) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: - // Measured: `6` - // Estimated: `1491` - // Minimum execution time: 5_456_000 picoseconds. - Weight::from_parts(5_699_000, 0) - .saturating_add(Weight::from_parts(0, 1491)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `7` + // Estimated: `1492` + // Minimum execution time: 7_299_000 picoseconds. + Weight::from_parts(7_659_000, 1492) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: - // Measured: `6` - // Estimated: `1491` - // Minimum execution time: 5_390_000 picoseconds. - Weight::from_parts(5_665_000, 0) - .saturating_add(Weight::from_parts(0, 1491)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `7` + // Estimated: `1492` + // Minimum execution time: 7_208_000 picoseconds. + Weight::from_parts(7_443_000, 1492) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:1) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:1) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: // Measured: `28` // Estimated: `1513` - // Minimum execution time: 6_141_000 picoseconds. - Weight::from_parts(6_387_000, 0) - .saturating_add(Weight::from_parts(0, 1513)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking CollatorCommission (r:1 w:1) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + // Minimum execution time: 7_838_000 picoseconds. + Weight::from_parts(8_123_000, 1513) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1512` - // Minimum execution time: 5_661_000 picoseconds. - Weight::from_parts(5_868_000, 0) - .saturating_add(Weight::from_parts(0, 1512)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + // Minimum execution time: 7_417_000 picoseconds. + Weight::from_parts(7_833_000, 1512) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `116` // Estimated: `1601` - // Minimum execution time: 16_971_000 picoseconds. - Weight::from_parts(17_437_000, 0) - .saturating_add(Weight::from_parts(0, 1601)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// 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(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, 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) + // Minimum execution time: 39_491_000 picoseconds. + Weight::from_parts(39_898_000, 1601) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `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(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 200]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1421 + x * (38 ±0)` + // Measured: `1417 + x * (38 ±0)` // Estimated: `4752 + x * (41 ±0)` - // Minimum execution time: 31_867_000 picoseconds. - Weight::from_parts(41_892_922, 0) - .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_749 - .saturating_add(Weight::from_parts(93_193, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 47_716_000 picoseconds. + Weight::from_parts(57_234_897, 4752) + // Standard Error: 1_674 + .saturating_add(Weight::from_parts(86_593, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 41).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 200]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `702 + x * (37 ±0)` - // Estimated: `4060 + x * (38 ±0)` - // Minimum execution time: 13_138_000 picoseconds. - Weight::from_parts(18_558_857, 0) - .saturating_add(Weight::from_parts(0, 4060)) - // Standard Error: 1_008 - .saturating_add(Weight::from_parts(66_693, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `665 + x * (37 ±0)` + // Estimated: `4023 + x * (38 ±0)` + // Minimum execution time: 16_081_000 picoseconds. + Weight::from_parts(21_529_015, 4023) + // Standard Error: 923 + .saturating_add(Weight::from_parts(62_703, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 38).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 AutoCompoundingDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (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 DelegatorState (r:349 w:349) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:350 w:350) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:350 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:350 w:350) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (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::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:349 w:349) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:350 w:350) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:350 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:350 w:350) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 350]`. fn execute_leave_candidates_worst_case(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1157 + x * (431 ±0)` - // Estimated: `4696 + x * (3762 ±0)` - // Minimum execution time: 65_656_000 picoseconds. - Weight::from_parts(66_996_000, 0) - .saturating_add(Weight::from_parts(0, 4696)) - // Standard Error: 107_183 - .saturating_add(Weight::from_parts(25_757_839, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `1562 + x * (431 ±0)` + // Estimated: `4842 + x * (3762 ±0)` + // Minimum execution time: 97_318_000 picoseconds. + Weight::from_parts(99_043_000, 4842) + // Standard Error: 74_692 + .saturating_add(Weight::from_parts(35_574_906, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3762).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 AutoCompoundingDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (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 DelegatorState (r:349 w:349) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:350 w:350) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:350 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:350 w:350) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (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::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:349 w:349) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:350 w:350) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:350 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:350 w:350) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 350]`. /// The range of component `y` is `[2, 350]`. fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1149 + x * (431 ±0)` - // Estimated: `4696 + x * (3762 ±0)` - // Minimum execution time: 61_023_000 picoseconds. - Weight::from_parts(61_779_000, 0) - .saturating_add(Weight::from_parts(0, 4696)) - // Standard Error: 49_414 - .saturating_add(Weight::from_parts(28_584_427, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `1556 + x * (431 ±0)` + // Estimated: `4808 + x * (3762 ±0)` + // Minimum execution time: 90_086_000 picoseconds. + Weight::from_parts(91_574_000, 4808) + // Standard Error: 30_540 + .saturating_add(Weight::from_parts(36_983_808, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 200]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `670 + x * (37 ±0)` - // Estimated: `4028 + x * (38 ±0)` - // Minimum execution time: 12_638_000 picoseconds. - Weight::from_parts(17_996_862, 0) - .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 993 - .saturating_add(Weight::from_parts(67_486, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `633 + x * (37 ±0)` + // Estimated: `3991 + x * (38 ±0)` + // Minimum execution time: 15_188_000 picoseconds. + Weight::from_parts(20_439_228, 3991) + // Standard Error: 855 + .saturating_add(Weight::from_parts(58_850, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 200]`. fn go_offline(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `567 + x * (38 ±0)` - // Estimated: `3968 + x * (39 ±0)` - // Minimum execution time: 12_169_000 picoseconds. - Weight::from_parts(17_084_623, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 1_057 - .saturating_add(Weight::from_parts(69_599, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `530 + x * (38 ±0)` + // Estimated: `3931 + x * (39 ±0)` + // Minimum execution time: 14_671_000 picoseconds. + Weight::from_parts(19_424_558, 3931) + // Standard Error: 931 + .saturating_add(Weight::from_parts(64_169, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 200]`. fn go_online(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + x * (38 ±0)` - // Estimated: `3932 + x * (39 ±0)` - // Minimum execution time: 11_837_000 picoseconds. - Weight::from_parts(16_851_802, 0) - .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 1_027 - .saturating_add(Weight::from_parts(72_062, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `494 + x * (38 ±0)` + // Estimated: `3895 + x * (39 ±0)` + // Minimum execution time: 14_489_000 picoseconds. + Weight::from_parts(19_202_303, 3895) + // Standard Error: 941 + .saturating_add(Weight::from_parts(63_608, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `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(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 200]`. fn candidate_bond_more(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1270 + x * (42 ±0)` + // Measured: `1233 + x * (42 ±0)` // Estimated: `4752 + x * (44 ±0)` - // Minimum execution time: 30_904_000 picoseconds. - Weight::from_parts(39_948_520, 0) - .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_831 - .saturating_add(Weight::from_parts(123_879, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 42_764_000 picoseconds. + Weight::from_parts(50_891_582, 4752) + // Standard Error: 1_584 + .saturating_add(Weight::from_parts(93_002, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 44).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::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `171` // Estimated: `3636` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(9_688_000, 0) - .saturating_add(Weight::from_parts(0, 3636)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + // Minimum execution time: 13_196_000 picoseconds. + Weight::from_parts(13_600_000, 3636) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 200]`. fn execute_candidate_bond_less(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1322 + x * (42 ±0)` // Estimated: `4752 + x * (43 ±0)` - // Minimum execution time: 35_024_000 picoseconds. - Weight::from_parts(42_699_127, 0) - .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_208 - .saturating_add(Weight::from_parts(105_143, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 46_535_000 picoseconds. + Weight::from_parts(54_211_512, 4752) + // Standard Error: 1_417 + .saturating_add(Weight::from_parts(68_025, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into())) } - /// 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 { - // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3656` - // Minimum execution time: 8_552_000 picoseconds. - Weight::from_parts(8_881_000, 0) - .saturating_add(Weight::from_parts(0, 3656)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `x` is `[1, 200]`. fn set_candidate_bond_to_zero(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1322 + x * (42 ±0)` + // Measured: `1302 + x * (42 ±0)` // Estimated: `4752 + x * (43 ±0)` - // Minimum execution time: 34_969_000 picoseconds. - Weight::from_parts(43_183_234, 0) - .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_377 - .saturating_add(Weight::from_parts(105_890, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 43_747_000 picoseconds. + Weight::from_parts(48_740_388, 4752) + // Standard Error: 1_109 + .saturating_add(Weight::from_parts(74_397, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into())) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, 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 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: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn cancel_candidate_bond_less() -> Weight { + // Proof Size summary in bytes: + // Measured: `191` + // Estimated: `3656` + // Minimum execution time: 11_711_000 picoseconds. + Weight::from_parts(12_297_000, 3656) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 100]`. /// The range of component `y` is `[2, 300]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2479 + x * (79 ±0) + y * (38 ±0)` - // Estimated: `5723 + x * (81 ±0) + y * (39 ±0)` - // Minimum execution time: 70_929_000 picoseconds. - Weight::from_parts(59_788_434, 0) - .saturating_add(Weight::from_parts(0, 5723)) - // Standard Error: 1_596 - .saturating_add(Weight::from_parts(166_733, 0).saturating_mul(x.into())) - // Standard Error: 523 - .saturating_add(Weight::from_parts(52_733, 0).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `2461 + x * (79 ±0) + y * (38 ±0)` + // Estimated: `5710 + x * (81 ±0) + y * (39 ±0)` + // Minimum execution time: 87_413_000 picoseconds. + Weight::from_parts(78_118_122, 5710) + // Standard Error: 2_180 + .saturating_add(Weight::from_parts(139_900, 0).saturating_mul(x.into())) + // Standard Error: 715 + .saturating_add(Weight::from_parts(44_970, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 81).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 39).saturating_mul(y.into())) } - /// 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::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 349]`. fn schedule_revoke_delegation(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `566 + x * (42 ±0)` - // Estimated: `4012 + x * (43 ±0)` - // Minimum execution time: 10_384_000 picoseconds. - Weight::from_parts(18_134_181, 0) - .saturating_add(Weight::from_parts(0, 4012)) - // Standard Error: 696 - .saturating_add(Weight::from_parts(69_714, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `567 + x * (42 ±0)` + // Estimated: `4013 + x * (43 ±0)` + // Minimum execution time: 15_923_000 picoseconds. + Weight::from_parts(22_402_960, 4013) + // Standard Error: 698 + .saturating_add(Weight::from_parts(68_223, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into())) } - /// 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:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// 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: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 349]`. fn delegator_bond_more(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1996 + x * (79 ±0)` - // Estimated: `5428 + x * (79 ±0)` - // Minimum execution time: 41_127_000 picoseconds. - Weight::from_parts(56_454_563, 0) - .saturating_add(Weight::from_parts(0, 5428)) - // Standard Error: 1_329 - .saturating_add(Weight::from_parts(155_463, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `2029 + x * (79 ±0)` + // Estimated: `5425 + x * (79 ±0)` + // Minimum execution time: 60_083_000 picoseconds. + Weight::from_parts(75_619_654, 5425) + // Standard Error: 1_349 + .saturating_add(Weight::from_parts(112_362, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 79).saturating_mul(x.into())) } - /// 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::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 349]`. fn schedule_delegator_bond_less(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `566 + x * (42 ±0)` - // Estimated: `4012 + x * (43 ±0)` - // Minimum execution time: 10_304_000 picoseconds. - Weight::from_parts(18_044_389, 0) - .saturating_add(Weight::from_parts(0, 4012)) - // Standard Error: 682 - .saturating_add(Weight::from_parts(69_747, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `567 + x * (42 ±0)` + // Estimated: `4013 + x * (43 ±0)` + // Minimum execution time: 16_270_000 picoseconds. + Weight::from_parts(22_794_243, 4013) + // Standard Error: 721 + .saturating_add(Weight::from_parts(71_247, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into())) } - /// 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: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:0) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `964` + // Measured: `998` // Estimated: `4752` - // Minimum execution time: 52_762_000 picoseconds. - Weight::from_parts(53_896_000, 0) - .saturating_add(Weight::from_parts(0, 4752)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) - } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - /// 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 BottomDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (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) + // Minimum execution time: 72_795_000 picoseconds. + Weight::from_parts(75_139_000, 4752) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_revoke_delegation_worst() -> Weight { // Proof Size summary in bytes: - // Measured: `37308` - // Estimated: `40773` - // Minimum execution time: 121_863_000 picoseconds. - Weight::from_parts(125_957_000, 0) - .saturating_add(Weight::from_parts(0, 40773)) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(10)) - } - /// 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 CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (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 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) + // Measured: `37342` + // Estimated: `40807` + // Minimum execution time: 135_013_000 picoseconds. + Weight::from_parts(138_816_000, 40807) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less_worst() -> Weight { // Proof Size summary in bytes: - // Measured: `29930` - // Estimated: `33395` - // Minimum execution time: 101_887_000 picoseconds. - Weight::from_parts(104_203_000, 0) - .saturating_add(Weight::from_parts(0, 33395)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(9)) - } - /// 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) + // Measured: `29964` + // Estimated: `33429` + // Minimum execution time: 115_091_000 picoseconds. + Weight::from_parts(120_774_000, 33429) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 349]`. fn cancel_delegation_request(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `663 + x * (42 ±0)` - // Estimated: `4092 + x * (43 ±0)` - // Minimum execution time: 13_580_000 picoseconds. - Weight::from_parts(20_161_730, 0) - .saturating_add(Weight::from_parts(0, 4092)) - // Standard Error: 748 - .saturating_add(Weight::from_parts(72_019, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `664 + x * (42 ±0)` + // Estimated: `4093 + x * (43 ±0)` + // Minimum execution time: 19_716_000 picoseconds. + Weight::from_parts(28_122_355, 4093) + // Standard Error: 844 + .saturating_add(Weight::from_parts(59_741, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into())) } - /// 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:1) - /// 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: ParachainStaking ParachainBondInfo (r:1 w:0) - /// Proof Skipped: ParachainStaking ParachainBondInfo (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(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking CollatorCommission (r:1 w:0) - /// Proof Skipped: ParachainStaking CollatorCommission (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) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) fn prepare_staking_payouts() -> Weight { // Proof Size summary in bytes: - // Measured: `380` - // Estimated: `3845` - // Minimum execution time: 21_509_000 picoseconds. - Weight::from_parts(22_210_000, 0) - .saturating_add(Weight::from_parts(0, 3845)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + // Measured: `3` + // Estimated: `3468` + // Minimum execution time: 3_034_000 picoseconds. + Weight::from_parts(3_101_000, 3468) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `y` is `[0, 100]`. fn get_rewardable_delegators(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `73 + y * (36 ±0)` // Estimated: `3537 + y * (36 ±0)` - // Minimum execution time: 4_225_000 picoseconds. - Weight::from_parts(5_236_159, 0) - .saturating_add(Weight::from_parts(0, 3537)) - // Standard Error: 565 - .saturating_add(Weight::from_parts(54_480, 0).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 6_387_000 picoseconds. + Weight::from_parts(7_916_133, 3537) + // Standard Error: 621 + .saturating_add(Weight::from_parts(53_996, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into())) } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (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 CandidateInfo (r:51 w:0) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:51 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:51 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AutoCompoundingDelegations (r:51 w:0) - /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:0 w:51) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:51 w:0) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:51 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:51 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:51 w:0) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:0 w:51) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 50]`. /// The range of component `y` is `[0, 100]`. fn select_top_candidates(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (3816 ±0) + y * (1800 ±0)` - // Estimated: `3730 + x * (3975 ±39) + y * (639 ±19)` - // Minimum execution time: 14_650_000 picoseconds. - Weight::from_parts(14_993_000, 0) - .saturating_add(Weight::from_parts(0, 3730)) - // Standard Error: 86_614 - .saturating_add(Weight::from_parts(11_368_523, 0).saturating_mul(x.into())) - // Standard Error: 43_192 - .saturating_add(Weight::from_parts(1_335_158, 0).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Estimated: `3693 + x * (3975 ±39) + y * (639 ±19)` + // Minimum execution time: 20_027_000 picoseconds. + Weight::from_parts(20_584_000, 3693) + // Standard Error: 78_348 + .saturating_add(Weight::from_parts(16_329_365, 0).saturating_mul(x.into())) + // Standard Error: 39_070 + .saturating_add(Weight::from_parts(1_389_236, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3975).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 639).saturating_mul(y.into())) } - /// Storage: System Account (r:349 w:349) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:349 w:349) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:349 w:349) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:349 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// 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: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), 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: `System::Account` (r:349 w:349) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:349 w:349) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:349 w:349) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:349 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 349]`. /// The range of component `y` is `[0, 349]`. /// The range of component `z` is `[0, 349]`. fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + x * (395 ±0) + y * (156 ±0) + z * (41 ±0)` - // Estimated: `125757 + x * (2591 ±1) + y * (2234 ±1) + z * (28 ±0)` - // Minimum execution time: 84_000 picoseconds. - Weight::from_parts(89_000, 0) - .saturating_add(Weight::from_parts(0, 125757)) - // Standard Error: 586_928 - .saturating_add(Weight::from_parts(37_021_750, 0).saturating_mul(x.into())) - // Standard Error: 586_928 - .saturating_add(Weight::from_parts(20_024_306, 0).saturating_mul(y.into())) + // Measured: `0 + x * (396 ±0) + y * (156 ±0) + z * (41 ±0)` + // Estimated: `126334 + x * (2591 ±1) + y * (2234 ±1) + z * (28 ±0)` + // Minimum execution time: 259_000 picoseconds. + Weight::from_parts(283_000, 126334) + // Standard Error: 505_065 + .saturating_add(Weight::from_parts(48_122_269, 0).saturating_mul(x.into())) + // Standard Error: 505_065 + .saturating_add(Weight::from_parts(29_215_314, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(y.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into()))) @@ -728,33 +698,32 @@ impl pallet_parachain_staking::WeightInfo for WeightInf .saturating_add(Weight::from_parts(0, 2234).saturating_mul(y.into())) .saturating_add(Weight::from_parts(0, 28).saturating_mul(z.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 AtStake (r:2 w:1) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:1 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0) - /// Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:301 w:301) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:2 w:1) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:1 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0) + /// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:301 w:301) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `y` is `[0, 300]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1208 + y * (160 ±0)` - // Estimated: `6978 + y * (2591 ±0)` - // Minimum execution time: 32_493_000 picoseconds. - Weight::from_parts(29_439_933, 0) - .saturating_add(Weight::from_parts(0, 6978)) - // Standard Error: 4_122 - .saturating_add(Weight::from_parts(9_113_953, 0).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `1632 + y * (161 ±0)` + // Estimated: `7342 + y * (2591 ±0)` + // Minimum execution time: 47_848_000 picoseconds. + Weight::from_parts(45_087_022, 7342) + // Standard Error: 4_616 + .saturating_add(Weight::from_parts(14_463_358, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .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(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into()))) .saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into())) } @@ -762,141 +731,133 @@ impl pallet_parachain_staking::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 646_000 picoseconds. - Weight::from_parts(696_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - } - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + // Minimum execution time: 792_000 picoseconds. + Weight::from_parts(840_000, 0) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 300]`. /// The range of component `y` is `[0, 100]`. fn set_auto_compound(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `671 + x * (22 ±0) + y * (36 ±0)` - // Estimated: `4027 + x * (23 ±0) + y * (36 ±0)` - // Minimum execution time: 19_844_000 picoseconds. - Weight::from_parts(18_132_368, 0) - .saturating_add(Weight::from_parts(0, 4027)) - // Standard Error: 390 - .saturating_add(Weight::from_parts(57_278, 0).saturating_mul(x.into())) - // Standard Error: 1_168 - .saturating_add(Weight::from_parts(51_455, 0).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `672 + x * (22 ±0) + y * (36 ±0)` + // Estimated: `4028 + x * (23 ±0) + y * (36 ±0)` + // Minimum execution time: 24_649_000 picoseconds. + Weight::from_parts(24_852_289, 4028) + // Standard Error: 395 + .saturating_add(Weight::from_parts(40_606, 0).saturating_mul(x.into())) + // Standard Error: 1_185 + .saturating_add(Weight::from_parts(41_268, 0).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into())) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, 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 TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (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 CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (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(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 350]`. /// The range of component `y` is `[0, 349]`. /// The range of component `z` is `[0, 99]`. fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (60 ±0) + y * (21 ±0) + z * (78 ±0)` - // Estimated: `26253 + x * (44 ±0) + y * (19 ±0) + z * (76 ±1)` - // Minimum execution time: 75_570_000 picoseconds. - Weight::from_parts(42_877_030, 0) - .saturating_add(Weight::from_parts(0, 26253)) - // Standard Error: 959 - .saturating_add(Weight::from_parts(145_930, 0).saturating_mul(x.into())) - // Standard Error: 962 - .saturating_add(Weight::from_parts(36_760, 0).saturating_mul(y.into())) - // Standard Error: 3_389 - .saturating_add(Weight::from_parts(236_052, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) + // Estimated: `26217 + x * (44 ±0) + y * (19 ±0) + z * (76 ±0)` + // Minimum execution time: 95_653_000 picoseconds. + Weight::from_parts(79_711_783, 26217) + // Standard Error: 1_052 + .saturating_add(Weight::from_parts(110_031, 0).saturating_mul(x.into())) + // Standard Error: 3_716 + .saturating_add(Weight::from_parts(184_852, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) .saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 19).saturating_mul(y.into())) .saturating_add(Weight::from_parts(0, 76).saturating_mul(z.into())) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:2 w:2) - /// 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 TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (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: Balances Locks (r:2 w:2) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:2 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (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) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:2 w:2) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:2 w:2) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:2 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegate_with_auto_compound_worst() -> Weight { // Proof Size summary in bytes: - // Measured: `48167` - // Estimated: `54107` - // Minimum execution time: 198_472_000 picoseconds. - Weight::from_parts(201_828_000, 0) - .saturating_add(Weight::from_parts(0, 54107)) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(13)) + // Measured: `48131` + // Estimated: `54071` + // Minimum execution time: 213_168_000 picoseconds. + Weight::from_parts(215_021_000, 54071) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn mint_collator_reward() -> Weight { // Proof Size summary in bytes: // Measured: `128` // Estimated: `3581` - // Minimum execution time: 10_327_000 picoseconds. - Weight::from_parts(10_581_000, 0) - .saturating_add(Weight::from_parts(0, 3581)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: ParachainStaking EnableMarkingOffline (r:1 w:0) - /// Proof Skipped: ParachainStaking EnableMarkingOffline (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 SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:2 w:0) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:0) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0) - /// Proof Skipped: MoonbeamOrbiters OrbiterPerRound (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 CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + // Minimum execution time: 16_105_000 picoseconds. + Weight::from_parts(16_522_000, 3581) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ParachainStaking::EnableMarkingOffline` (r:1 w:0) + /// Proof: `ParachainStaking::EnableMarkingOffline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:2 w:0) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:0) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0) + /// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_inactive_collator() -> Weight { // Proof Size summary in bytes: - // Measured: `11494` - // Estimated: `17434` - // Minimum execution time: 41_130_000 picoseconds. - Weight::from_parts(41_130_000, 0) - .saturating_add(Weight::from_parts(0, 17434)) + // Measured: `11566` + // Estimated: `17506` + // Minimum execution time: 69_389_000 picoseconds. + Weight::from_parts(70_737_000, 17506) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/common/src/weights/pallet_precompile_benchmarks.rs b/runtime/common/src/weights/pallet_precompile_benchmarks.rs index 1e8cfea7a8..96ec49fd60 100644 --- a/runtime/common/src/weights/pallet_precompile_benchmarks.rs +++ b/runtime/common/src/weights/pallet_precompile_benchmarks.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_precompile_benchmarks` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_precompile_benchmarks`. +/// Weights for `pallet_precompile_benchmarks`. pub struct WeightInfo(PhantomData); impl pallet_precompile_benchmarks::WeightInfo for WeightInfo { /// The range of component `x` is `[100, 2000]`. @@ -50,21 +51,19 @@ impl pallet_precompile_benchmarks::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 77_020_000 picoseconds. - Weight::from_parts(77_773_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_411 - .saturating_add(Weight::from_parts(670_586, 0).saturating_mul(x.into())) + // Minimum execution time: 75_902_000 picoseconds. + Weight::from_parts(76_529_000, 0) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(667_294, 0).saturating_mul(x.into())) } /// Storage: `RelayStorageRoots::RelayStorageRootKeys` (r:1 w:0) - /// Proof: `RelayStorageRoots::RelayStorageRootKeys` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`) + /// Proof: `RelayStorageRoots::RelayStorageRootKeys` (`max_values`: Some(1), `max_size`: Some(121), added: 616, mode: `MaxEncodedLen`) fn latest_relay_block() -> Weight { // Proof Size summary in bytes: - // Measured: `146` - // Estimated: `1526` - // Minimum execution time: 4_295_000 picoseconds. - Weight::from_parts(4_664_000, 0) - .saturating_add(Weight::from_parts(0, 1526)) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `227` + // Estimated: `1606` + // Minimum execution time: 4_691_000 picoseconds. + Weight::from_parts(4_871_000, 1606) + .saturating_add(T::DbWeight::get().reads(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index 78209f95ae..00d487817f 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_preimage`. +/// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::StatusFor` (r:1 w:0) @@ -58,13 +59,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 48_221_000 picoseconds. - Weight::from_parts(48_851_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_395, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 46_791_000 picoseconds. + Weight::from_parts(47_593_000, 3544) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_265, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -77,13 +77,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 16_074_000 picoseconds. - Weight::from_parts(16_345_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_394, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 15_130_000 picoseconds. + Weight::from_parts(15_406_000, 3544) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_230, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -96,13 +95,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_391_000 picoseconds. - Weight::from_parts(15_829_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_391, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 14_306_000 picoseconds. + Weight::from_parts(14_766_000, 3544) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_229, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -116,11 +114,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `220` // Estimated: `3544` - // Minimum execution time: 59_580_000 picoseconds. - Weight::from_parts(62_769_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 49_118_000 picoseconds. + Weight::from_parts(50_474_000, 3544) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -132,11 +129,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 30_323_000 picoseconds. - Weight::from_parts(34_296_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 21_773_000 picoseconds. + Weight::from_parts(22_501_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -146,11 +142,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 25_476_000 picoseconds. - Weight::from_parts(27_194_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 17_577_000 picoseconds. + Weight::from_parts(18_107_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -160,11 +155,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 18_991_000 picoseconds. - Weight::from_parts(21_123_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_826_000 picoseconds. + Weight::from_parts(13_152_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -174,11 +168,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 17_206_000 picoseconds. - Weight::from_parts(18_628_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_147_000 picoseconds. + Weight::from_parts(16_469_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -188,11 +181,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_459_000 picoseconds. - Weight::from_parts(12_009_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_434_000 picoseconds. + Weight::from_parts(10_732_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -204,11 +196,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 26_604_000 picoseconds. - Weight::from_parts(28_637_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 18_677_000 picoseconds. + Weight::from_parts(19_164_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -218,11 +209,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_331_000 picoseconds. - Weight::from_parts(11_776_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_197_000 picoseconds. + Weight::from_parts(10_613_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -232,11 +222,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_875_000 picoseconds. - Weight::from_parts(11_604_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_107_000 picoseconds. + Weight::from_parts(10_496_000, 3544) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1023 w:1023) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) @@ -249,13 +238,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1292 + n * (203 ±0)` + // Measured: `1325 + n * (203 ±0)` // Estimated: `990 + n * (2591 ±0)` - // Minimum execution time: 55_987_000 picoseconds. - Weight::from_parts(57_045_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 45_798 - .saturating_add(Weight::from_parts(56_349_823, 0).saturating_mul(n.into())) + // Minimum execution time: 54_379_000 picoseconds. + Weight::from_parts(55_099_000, 990) + // Standard Error: 28_761 + .saturating_add(Weight::from_parts(53_321_985, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2591).saturating_mul(n.into())) diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index 0070d024f1..1b9557f2a5 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_proxy`. +/// Weights for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -54,12 +55,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `191 + p * (25 ±0)` // Estimated: `4310 + p * (25 ±0)` - // Minimum execution time: 15_939_000 picoseconds. - Weight::from_parts(16_541_456, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_068 - .saturating_add(Weight::from_parts(29_118, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 14_996_000 picoseconds. + Weight::from_parts(15_655_775, 4310) + // Standard Error: 971 + .saturating_add(Weight::from_parts(32_864, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 25).saturating_mul(p.into())) // 1 DB read that happen when filtering the proxy call transaction .saturating_add(T::DbWeight::get().reads(1)) @@ -78,15 +78,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302 + a * (60 ±0) + p * (22 ±0)` - // Minimum execution time: 39_909_000 picoseconds. - Weight::from_parts(40_787_698, 0) - .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_365 - .saturating_add(Weight::from_parts(147_319, 0).saturating_mul(a.into())) - // Standard Error: 2_443 - .saturating_add(Weight::from_parts(11_236, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 38_376_000 picoseconds. + Weight::from_parts(38_873_739, 5302) + // Standard Error: 2_130 + .saturating_add(Weight::from_parts(148_768, 0).saturating_mul(a.into())) + // Standard Error: 2_201 + .saturating_add(Weight::from_parts(18_553, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(a.into())) .saturating_add(Weight::from_parts(0, 22).saturating_mul(p.into())) } @@ -100,13 +99,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 23_186_000 picoseconds. - Weight::from_parts(24_682_780, 0) - .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_986 - .saturating_add(Weight::from_parts(168_805, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_494_000 picoseconds. + Weight::from_parts(23_762_783, 5302) + // Standard Error: 4_665 + .saturating_add(Weight::from_parts(172_490, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, mode: `MaxEncodedLen`) @@ -118,13 +116,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 23_340_000 picoseconds. - Weight::from_parts(24_867_304, 0) - .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_956 - .saturating_add(Weight::from_parts(160_959, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_352_000 picoseconds. + Weight::from_parts(23_872_044, 5302) + // Standard Error: 4_564 + .saturating_add(Weight::from_parts(171_997, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -138,15 +135,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 31_142_000 picoseconds. - Weight::from_parts(33_453_242, 0) - .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_216 - .saturating_add(Weight::from_parts(171_609, 0).saturating_mul(a.into())) - // Standard Error: 2_289 - .saturating_add(Weight::from_parts(21_281, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 29_508_000 picoseconds. + Weight::from_parts(32_411_876, 5302) + // Standard Error: 2_224 + .saturating_add(Weight::from_parts(161_492, 0).saturating_mul(a.into())) + // Standard Error: 2_298 + .saturating_add(Weight::from_parts(19_882, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -155,13 +151,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_027_000 picoseconds. - Weight::from_parts(23_771_068, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_276 - .saturating_add(Weight::from_parts(42_599, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 22_057_000 picoseconds. + Weight::from_parts(22_782_046, 4310) + // Standard Error: 1_051 + .saturating_add(Weight::from_parts(35_662, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -170,13 +165,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_134_000 picoseconds. - Weight::from_parts(24_345_303, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_768 - .saturating_add(Weight::from_parts(31_049, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 21_604_000 picoseconds. + Weight::from_parts(22_877_238, 4310) + // Standard Error: 1_680 + .saturating_add(Weight::from_parts(31_231, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -185,13 +179,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 21_791_000 picoseconds. - Weight::from_parts(22_943_249, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_274 - .saturating_add(Weight::from_parts(30_215, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 21_184_000 picoseconds. + Weight::from_parts(22_024_457, 4310) + // Standard Error: 1_120 + .saturating_add(Weight::from_parts(34_085, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -200,13 +193,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 24_280_000 picoseconds. - Weight::from_parts(25_255_463, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_243 - .saturating_add(Weight::from_parts(11_365, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 23_011_000 picoseconds. + Weight::from_parts(24_057_173, 4310) + // Standard Error: 1_110 + .saturating_add(Weight::from_parts(11_499, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -215,12 +207,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 22_691_000 picoseconds. - Weight::from_parts(23_654_957, 0) - .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_031 - .saturating_add(Weight::from_parts(28_090, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 21_882_000 picoseconds. + Weight::from_parts(22_687_947, 4310) + // Standard Error: 938 + .saturating_add(Weight::from_parts(30_922, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_randomness.rs b/runtime/common/src/weights/pallet_randomness.rs index bd88b45d53..d2f4d60b1b 100644 --- a/runtime/common/src/weights/pallet_randomness.rs +++ b/runtime/common/src/weights/pallet_randomness.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_randomness` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_randomness`. +/// Weights for `pallet_randomness`. pub struct WeightInfo(PhantomData); impl pallet_randomness::WeightInfo for WeightInfo { /// Storage: `Randomness::RelayEpoch` (r:1 w:1) @@ -59,11 +60,10 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `297` // Estimated: `3762` - // Minimum execution time: 13_045_000 picoseconds. - Weight::from_parts(13_380_000, 0) - .saturating_add(Weight::from_parts(0, 3762)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 13_127_000 picoseconds. + Weight::from_parts(13_446_000, 3762) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Randomness::NotFirstBlock` (r:1 w:0) /// Proof: `Randomness::NotFirstBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,11 +79,10 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `719` // Estimated: `4184` - // Minimum execution time: 1_286_095_000 picoseconds. - Weight::from_parts(1_321_687_000, 0) - .saturating_add(Weight::from_parts(0, 4184)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 512_629_000 picoseconds. + Weight::from_parts(514_922_000, 4184) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Randomness::RequestCount` (r:1 w:1) /// Proof: `Randomness::RequestCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -97,11 +96,10 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `6172` - // Minimum execution time: 54_727_000 picoseconds. - Weight::from_parts(55_686_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 54_291_000 picoseconds. + Weight::from_parts(55_178_000, 6172) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Randomness::Requests` (r:1 w:0) /// Proof: `Randomness::Requests` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -112,12 +110,11 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 9_415_000 picoseconds. - Weight::from_parts(9_844_461, 0) - .saturating_add(Weight::from_parts(0, 3877)) - // Standard Error: 294 - .saturating_add(Weight::from_parts(278_170, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(10_126_652, 3877) + // Standard Error: 301 + .saturating_add(Weight::from_parts(262_389, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) @@ -129,11 +126,10 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `739` // Estimated: `6172` - // Minimum execution time: 50_768_000 picoseconds. - Weight::from_parts(51_737_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 50_250_000 picoseconds. + Weight::from_parts(51_170_000, 6172) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Randomness::Requests` (r:1 w:1) /// Proof: `Randomness::Requests` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -143,11 +139,10 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `825` // Estimated: `6172` - // Minimum execution time: 47_639_000 picoseconds. - Weight::from_parts(48_662_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 46_960_000 picoseconds. + Weight::from_parts(47_761_000, 6172) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Randomness::Requests` (r:1 w:1) /// Proof: `Randomness::Requests` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -159,10 +154,9 @@ impl pallet_randomness::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `868` // Estimated: `6172` - // Minimum execution time: 54_975_000 picoseconds. - Weight::from_parts(56_073_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 54_447_000 picoseconds. + Weight::from_parts(55_170_000, 6172) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } diff --git a/runtime/common/src/weights/pallet_referenda.rs b/runtime/common/src/weights/pallet_referenda.rs index 55183c2c85..4a0459b54d 100644 --- a/runtime/common/src/weights/pallet_referenda.rs +++ b/runtime/common/src/weights/pallet_referenda.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_referenda` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_referenda`. +/// Weights for `pallet_referenda`. pub struct WeightInfo(PhantomData); impl pallet_referenda::WeightInfo for WeightInfo { /// Storage: `Referenda::ReferendumCount` (r:1 w:1) @@ -55,11 +56,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `42428` - // Minimum execution time: 33_498_000 picoseconds. - Weight::from_parts(34_466_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 32_827_000 picoseconds. + Weight::from_parts(33_549_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -69,11 +69,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `510` // Estimated: `83866` - // Minimum execution time: 45_102_000 picoseconds. - Weight::from_parts(46_219_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 42_052_000 picoseconds. + Weight::from_parts(43_028_000, 83866) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -87,11 +86,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3303` // Estimated: `42428` - // Minimum execution time: 61_716_000 picoseconds. - Weight::from_parts(64_288_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 58_526_000 picoseconds. + Weight::from_parts(60_058_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -105,11 +103,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3323` // Estimated: `42428` - // Minimum execution time: 62_719_000 picoseconds. - Weight::from_parts(63_260_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 58_289_000 picoseconds. + Weight::from_parts(59_858_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -121,11 +118,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `510` // Estimated: `83866` - // Minimum execution time: 56_193_000 picoseconds. - Weight::from_parts(57_494_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 53_199_000 picoseconds. + Weight::from_parts(54_655_000, 83866) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -137,11 +133,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `510` // Estimated: `83866` - // Minimum execution time: 51_820_000 picoseconds. - Weight::from_parts(52_567_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 48_847_000 picoseconds. + Weight::from_parts(49_711_000, 83866) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -149,11 +144,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `453` // Estimated: `4377` - // Minimum execution time: 28_959_000 picoseconds. - Weight::from_parts(29_520_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 27_623_000 picoseconds. + Weight::from_parts(28_687_000, 4377) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -161,11 +155,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `378` // Estimated: `4377` - // Minimum execution time: 27_801_000 picoseconds. - Weight::from_parts(28_515_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 27_406_000 picoseconds. + Weight::from_parts(28_129_000, 4377) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -175,11 +168,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `285` // Estimated: `83866` - // Minimum execution time: 31_474_000 picoseconds. - Weight::from_parts(32_307_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 28_691_000 picoseconds. + Weight::from_parts(29_412_000, 83866) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -193,11 +185,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `884` // Estimated: `83866` - // Minimum execution time: 101_957_000 picoseconds. - Weight::from_parts(103_073_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 95_480_000 picoseconds. + Weight::from_parts(97_420_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::TrackQueue` (r:1 w:0) /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) @@ -207,11 +198,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `102` // Estimated: `5477` - // Minimum execution time: 9_518_000 picoseconds. - Weight::from_parts(9_804_000, 0) - .saturating_add(Weight::from_parts(0, 5477)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_372_000 picoseconds. + Weight::from_parts(9_658_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::TrackQueue` (r:1 w:1) /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) @@ -223,11 +213,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3090` // Estimated: `42428` - // Minimum execution time: 43_868_000 picoseconds. - Weight::from_parts(45_160_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 41_452_000 picoseconds. + Weight::from_parts(42_664_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::TrackQueue` (r:1 w:1) /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) @@ -239,11 +228,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3090` // Estimated: `42428` - // Minimum execution time: 45_973_000 picoseconds. - Weight::from_parts(46_911_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 43_157_000 picoseconds. + Weight::from_parts(44_712_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -253,11 +241,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2915` // Estimated: `5477` - // Minimum execution time: 24_324_000 picoseconds. - Weight::from_parts(25_566_000, 0) - .saturating_add(Weight::from_parts(0, 5477)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 23_193_000 picoseconds. + Weight::from_parts(24_048_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -267,11 +254,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2915` // Estimated: `5477` - // Minimum execution time: 24_759_000 picoseconds. - Weight::from_parts(25_935_000, 0) - .saturating_add(Weight::from_parts(0, 5477)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 22_963_000 picoseconds. + Weight::from_parts(23_854_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -283,11 +269,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2919` // Estimated: `5477` - // Minimum execution time: 28_751_000 picoseconds. - Weight::from_parts(30_058_000, 0) - .saturating_add(Weight::from_parts(0, 5477)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_080_000 picoseconds. + Weight::from_parts(27_852_000, 5477) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -299,11 +284,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2939` // Estimated: `5477` - // Minimum execution time: 28_888_000 picoseconds. - Weight::from_parts(30_081_000, 0) - .saturating_add(Weight::from_parts(0, 5477)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_082_000 picoseconds. + Weight::from_parts(27_867_000, 5477) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -313,11 +297,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `42428` - // Minimum execution time: 20_909_000 picoseconds. - Weight::from_parts(21_546_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 19_614_000 picoseconds. + Weight::from_parts(20_158_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -327,11 +310,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `285` // Estimated: `42428` - // Minimum execution time: 21_521_000 picoseconds. - Weight::from_parts(21_914_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_156_000 picoseconds. + Weight::from_parts(20_537_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -339,11 +321,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `194` // Estimated: `4377` - // Minimum execution time: 13_914_000 picoseconds. - Weight::from_parts(14_311_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_796_000 picoseconds. + Weight::from_parts(13_096_000, 4377) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -355,11 +336,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `285` // Estimated: `42428` - // Minimum execution time: 27_468_000 picoseconds. - Weight::from_parts(28_044_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 26_036_000 picoseconds. + Weight::from_parts(26_786_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -371,11 +351,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `285` // Estimated: `42428` - // Minimum execution time: 29_262_000 picoseconds. - Weight::from_parts(30_032_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 27_742_000 picoseconds. + Weight::from_parts(28_339_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -385,11 +364,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `338` // Estimated: `42428` - // Minimum execution time: 24_427_000 picoseconds. - Weight::from_parts(25_116_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_841_000 picoseconds. + Weight::from_parts(23_443_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -399,11 +377,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `321` // Estimated: `42428` - // Minimum execution time: 24_672_000 picoseconds. - Weight::from_parts(25_067_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 23_140_000 picoseconds. + Weight::from_parts(23_618_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -413,11 +390,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `338` // Estimated: `42428` - // Minimum execution time: 22_496_000 picoseconds. - Weight::from_parts(23_234_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 21_869_000 picoseconds. + Weight::from_parts(22_501_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -427,11 +403,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `42428` - // Minimum execution time: 23_033_000 picoseconds. - Weight::from_parts(23_422_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 21_447_000 picoseconds. + Weight::from_parts(21_862_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -443,11 +418,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `83866` - // Minimum execution time: 34_411_000 picoseconds. - Weight::from_parts(35_278_000, 0) - .saturating_add(Weight::from_parts(0, 83866)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 32_823_000 picoseconds. + Weight::from_parts(33_860_000, 83866) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -457,11 +431,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `338` // Estimated: `42428` - // Minimum execution time: 24_565_000 picoseconds. - Weight::from_parts(25_068_000, 0) - .saturating_add(Weight::from_parts(0, 42428)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_972_000 picoseconds. + Weight::from_parts(23_681_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -475,11 +448,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `338` // Estimated: `4377` - // Minimum execution time: 19_314_000 picoseconds. - Weight::from_parts(20_180_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_814_000 picoseconds. + Weight::from_parts(19_354_000, 4377) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) @@ -489,10 +461,9 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `271` // Estimated: `4377` - // Minimum execution time: 15_260_000 picoseconds. - Weight::from_parts(15_779_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_836_000 picoseconds. + Weight::from_parts(15_234_000, 4377) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_relay_storage_roots.rs b/runtime/common/src/weights/pallet_relay_storage_roots.rs index aa96532e09..c41982ae36 100644 --- a/runtime/common/src/weights/pallet_relay_storage_roots.rs +++ b/runtime/common/src/weights/pallet_relay_storage_roots.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_relay_storage_roots` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_relay_storage_roots`. +/// Weights for `pallet_relay_storage_roots`. pub struct WeightInfo(PhantomData); impl pallet_relay_storage_roots::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) @@ -50,15 +51,14 @@ impl pallet_relay_storage_roots::WeightInfo for WeightI /// Storage: `RelayStorageRoots::RelayStorageRoot` (r:1 w:2) /// Proof: `RelayStorageRoots::RelayStorageRoot` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `RelayStorageRoots::RelayStorageRootKeys` (r:1 w:1) - /// Proof: `RelayStorageRoots::RelayStorageRootKeys` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`) + /// Proof: `RelayStorageRoots::RelayStorageRootKeys` (`max_values`: Some(1), `max_size`: Some(121), added: 616, mode: `MaxEncodedLen`) fn set_relay_storage_root() -> Weight { // Proof Size summary in bytes: - // Measured: `594` + // Measured: `972` // Estimated: `3509` - // Minimum execution time: 16_052_000 picoseconds. - Weight::from_parts(16_756_000, 0) - .saturating_add(Weight::from_parts(0, 3509)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 17_372_000 picoseconds. + Weight::from_parts(17_813_000, 3509) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index 1e5a815db9..2863e3177f 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_scheduler`. +/// Weights for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) @@ -51,11 +52,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_828_000 picoseconds. - Weight::from_parts(3_109_000, 0) - .saturating_add(Weight::from_parts(0, 1489)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_104_000 picoseconds. + Weight::from_parts(3_295_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -64,21 +64,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_784_000 picoseconds. - Weight::from_parts(6_028_179, 0) - .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_488 - .saturating_add(Weight::from_parts(820_989, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_587_000 picoseconds. + Weight::from_parts(6_435_444, 42428) + // Standard Error: 1_351 + .saturating_add(Weight::from_parts(345_330, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_base() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_126_000 picoseconds. - Weight::from_parts(4_283_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_225_000 picoseconds. + Weight::from_parts(3_398_000, 0) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) @@ -91,13 +89,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 19_092_000 picoseconds. - Weight::from_parts(19_483_000, 0) - .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_268, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 17_780_000 picoseconds. + Weight::from_parts(18_049_000, 3644) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) @@ -106,18 +103,16 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_810_000 picoseconds. - Weight::from_parts(6_091_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_829_000 picoseconds. + Weight::from_parts(5_019_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_093_000 picoseconds. - Weight::from_parts(4_202_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_171_000 picoseconds. + Weight::from_parts(3_408_000, 0) } /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -125,18 +120,16 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 4_937_000 picoseconds. - Weight::from_parts(5_180_000, 0) - .saturating_add(Weight::from_parts(0, 1527)) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 4_346_000 picoseconds. + Weight::from_parts(4_595_000, 1527) + .saturating_add(T::DbWeight::get().reads(1_u64)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_704_000 picoseconds. - Weight::from_parts(2_833_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 2_129_000 picoseconds. + Weight::from_parts(2_298_000, 0) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -145,13 +138,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_513_000 picoseconds. - Weight::from_parts(13_684_677, 0) - .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_340 - .saturating_add(Weight::from_parts(837_742, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_293_000 picoseconds. + Weight::from_parts(12_886_613, 42428) + // Standard Error: 1_265 + .saturating_add(Weight::from_parts(373_933, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -162,13 +154,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 16_464_000 picoseconds. - Weight::from_parts(14_530_659, 0) - .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_796 - .saturating_add(Weight::from_parts(1_521_071, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 13_648_000 picoseconds. + Weight::from_parts(13_302_568, 42428) + // Standard Error: 911 + .saturating_add(Weight::from_parts(578_580, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -179,13 +170,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_935_000 picoseconds. - Weight::from_parts(17_881_261, 0) - .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_191 - .saturating_add(Weight::from_parts(866_677, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 13_612_000 picoseconds. + Weight::from_parts(16_943_772, 42428) + // Standard Error: 2_062 + .saturating_add(Weight::from_parts(406_396, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -196,12 +186,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 17_892_000 picoseconds. - Weight::from_parts(16_621_767, 0) - .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_838 - .saturating_add(Weight::from_parts(1_542_735, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 15_726_000 picoseconds. + Weight::from_parts(16_031_966, 42428) + // Standard Error: 1_907 + .saturating_add(Weight::from_parts(621_828, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_sudo.rs b/runtime/common/src/weights/pallet_sudo.rs index fce6e127cb..560d1f3db1 100644 --- a/runtime/common/src/weights/pallet_sudo.rs +++ b/runtime/common/src/weights/pallet_sudo.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_sudo` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_sudo`. +/// Weights for `pallet_sudo`. pub struct WeightInfo(PhantomData); impl pallet_sudo::WeightInfo for WeightInfo { /// Storage: `Sudo::Key` (r:1 w:1) @@ -51,11 +52,10 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `153` // Estimated: `1505` - // Minimum execution time: 9_395_000 picoseconds. - Weight::from_parts(9_799_000, 0) - .saturating_add(Weight::from_parts(0, 1505)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_134_000 picoseconds. + Weight::from_parts(9_369_000, 1505) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Sudo::Key` (r:1 w:0) /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) @@ -63,10 +63,9 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `153` // Estimated: `1505` - // Minimum execution time: 10_774_000 picoseconds. - Weight::from_parts(11_041_000, 0) - .saturating_add(Weight::from_parts(0, 1505)) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 9_886_000 picoseconds. + Weight::from_parts(10_411_000, 1505) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Sudo::Key` (r:1 w:0) /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) @@ -74,10 +73,9 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `153` // Estimated: `1505` - // Minimum execution time: 10_723_000 picoseconds. - Weight::from_parts(10_897_000, 0) - .saturating_add(Weight::from_parts(0, 1505)) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 9_917_000 picoseconds. + Weight::from_parts(10_293_000, 1505) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Sudo::Key` (r:1 w:1) /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) @@ -85,10 +83,9 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `153` // Estimated: `1505` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) - .saturating_add(Weight::from_parts(0, 1505)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_231_000 picoseconds. + Weight::from_parts(8_704_000, 1505) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index 462cd05808..5c4ece7327 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,37 +33,35 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_timestamp`. +/// Weights for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { /// 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 { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `6` // Estimated: `1493` - // Minimum execution time: 5_140_000 picoseconds. - Weight::from_parts(5_450_000, 0) - .saturating_add(Weight::from_parts(0, 1493)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_623_000 picoseconds. + Weight::from_parts(4_903_000, 1493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `94` + // Measured: `57` // Estimated: `0` - // Minimum execution time: 3_640_000 picoseconds. - Weight::from_parts(3_780_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_322_000 picoseconds. + Weight::from_parts(3_492_000, 0) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 4db967e886..5e350e5560 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -13,16 +13,17 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/moonbeam +// ./target/production/moonbeam // benchmark // pallet // --chain=moonbase-dev @@ -32,177 +33,155 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_treasury`. +/// Weights for `pallet_treasury`. pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, 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:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 80_000 picoseconds. - Weight::from_parts(90_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `147` + // Estimated: `1887` + // Minimum execution time: 11_763_000 picoseconds. + Weight::from_parts(12_162_000, 1887) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// 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(84), added: 2559, mode: MaxEncodedLen) + /// 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(84), added: 2559, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `342` + // Measured: `446` // Estimated: `1489` - // Minimum execution time: 16_677_000 picoseconds. - Weight::from_parts(17_224_000, 0) - .saturating_add(Weight::from_parts(0, 1489)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 25_433_000 picoseconds. + Weight::from_parts(26_250_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `516` + // Measured: `619` // Estimated: `6172` - // Minimum execution time: 28_249_000 picoseconds. - Weight::from_parts(28_825_000, 0) - .saturating_add(Weight::from_parts(0, 6172)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 47_079_000 picoseconds. + Weight::from_parts(48_432_000, 6172) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, 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:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `537 + p * (8 ±0)` + // Measured: `575 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 6_666_000 picoseconds. - Weight::from_parts(9_412_310, 0) - .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_172 - .saturating_add(Weight::from_parts(75_315, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_884_000 picoseconds. + Weight::from_parts(11_714_738, 3549) + // Standard Error: 1_462 + .saturating_add(Weight::from_parts(78_570, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// 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 { // Proof Size summary in bytes: - // Measured: `194` + // Measured: `232` // Estimated: `1887` - // Minimum execution time: 5_305_000 picoseconds. - Weight::from_parts(5_530_000, 0) - .saturating_add(Weight::from_parts(0, 1887)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 7_051_000 picoseconds. + Weight::from_parts(7_284_000, 1887) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:0) - /// Proof: Treasury Deactivated (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:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:0) + /// Proof: `Treasury::Deactivated` (`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:99 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `277 + p * (97 ±0)` + // Measured: `356 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 12_203_000 picoseconds. - Weight::from_parts(11_358_334, 0) - .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 5_943 - .saturating_add(Weight::from_parts(2_475_040, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 16_123_000 picoseconds. + Weight::from_parts(16_106_571, 3581) + // Standard Error: 6_320 + .saturating_add(Weight::from_parts(3_350_601, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2559).saturating_mul(p.into())) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, 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:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - fn spend_local() -> Weight { + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `1887` - // Minimum execution time: 177_000_000 picoseconds. - Weight::from_parts(191_000_000, 0) - .saturating_add(Weight::from_parts(0, 1887)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `147` + // Estimated: `1489` + // Minimum execution time: 10_468_000 picoseconds. + Weight::from_parts(11_009_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Spends (r:1 w:1) - /// Proof: Treasury Spends (max_values: None, max_size: Some(1848), added: 4323, mode: MaxEncodedLen) - /// Storage: XcmPallet QueryCounter (r:1 w:1) - /// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Configuration ActiveConfig (r:1 w:0) - /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) - /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) - /// Storage: XcmPallet SupportedVersion (r:1 w:0) - /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: XcmPallet SafeXcmVersion (r:1 w:0) - /// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Dmp DownwardMessageQueues (r:1 w:1) - /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) - /// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) - /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) - /// Storage: XcmPallet Queries (r:0 w:1) - /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `737` - // Estimated: `5313` - // Minimum execution time: 551_000_000 picoseconds. - Weight::from_parts(569_000_000, 0) - .saturating_add(Weight::from_parts(0, 5313)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `553` + // Estimated: `6172` + // Minimum execution time: 52_510_000 picoseconds. + Weight::from_parts(53_515_000, 6172) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Treasury Spends (r:1 w:1) - /// Proof: Treasury Spends (max_values: None, max_size: Some(1848), added: 4323, mode: MaxEncodedLen) - /// Storage: XcmPallet Queries (r:1 w:1) - /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `5313` - // Minimum execution time: 245_000_000 picoseconds. - Weight::from_parts(281_000_000, 0) - .saturating_add(Weight::from_parts(0, 5313)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `253` + // Estimated: `3522` + // Minimum execution time: 12_219_000 picoseconds. + Weight::from_parts(12_408_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Spends (r:1 w:1) - /// Proof: Treasury Spends (max_values: None, max_size: Some(1848), added: 4323, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `5313` - // Minimum execution time: 147_000_000 picoseconds. - Weight::from_parts(160_000_000, 0) - .saturating_add(Weight::from_parts(0, 5313)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `253` + // Estimated: `3522` + // Minimum execution time: 10_891_000 picoseconds. + Weight::from_parts(11_255_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index 6fa5a15b78..8bb2ed9b66 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_utility`. +/// Weights for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) @@ -52,12 +53,11 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 5_027_000 picoseconds. - Weight::from_parts(14_892_285, 0) - .saturating_add(Weight::from_parts(0, 1527)) - // Standard Error: 3_770 - .saturating_add(Weight::from_parts(4_766_945, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 4_486_000 picoseconds. + Weight::from_parts(6_860_468, 1527) + // Standard Error: 3_965 + .saturating_add(Weight::from_parts(4_026_122, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -65,10 +65,9 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 7_387_000 picoseconds. - Weight::from_parts(7_748_000, 0) - .saturating_add(Weight::from_parts(0, 1527)) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 6_909_000 picoseconds. + Weight::from_parts(7_328_000, 1527) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -77,20 +76,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 5_236_000 picoseconds. - Weight::from_parts(15_338_426, 0) - .saturating_add(Weight::from_parts(0, 1527)) - // Standard Error: 3_708 - .saturating_add(Weight::from_parts(5_094_447, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 4_548_000 picoseconds. + Weight::from_parts(4_273_693, 1527) + // Standard Error: 3_802 + .saturating_add(Weight::from_parts(4_263_522, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_642_000 picoseconds. - Weight::from_parts(7_799_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 6_579_000 picoseconds. + Weight::from_parts(6_808_000, 0) } /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0) /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -99,11 +96,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 5_137_000 picoseconds. - Weight::from_parts(11_708_204, 0) - .saturating_add(Weight::from_parts(0, 1527)) - // Standard Error: 3_327 - .saturating_add(Weight::from_parts(4_770_431, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 4_440_000 picoseconds. + Weight::from_parts(4_897_102, 1527) + // Standard Error: 4_345 + .saturating_add(Weight::from_parts(4_032_053, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_whitelist.rs b/runtime/common/src/weights/pallet_whitelist.rs index 1020cf4397..f3fd82aa5f 100644 --- a/runtime/common/src/weights/pallet_whitelist.rs +++ b/runtime/common/src/weights/pallet_whitelist.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_whitelist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_whitelist`. +/// Weights for `pallet_whitelist`. pub struct WeightInfo(PhantomData); impl pallet_whitelist::WeightInfo for WeightInfo { /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) @@ -55,11 +56,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `46` // Estimated: `3544` - // Minimum execution time: 17_837_000 picoseconds. - Weight::from_parts(18_085_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 16_848_000 picoseconds. + Weight::from_parts(17_387_000, 3544) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -71,11 +71,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `175` // Estimated: `3544` - // Minimum execution time: 17_176_000 picoseconds. - Weight::from_parts(17_574_000, 0) - .saturating_add(Weight::from_parts(0, 3544)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 16_154_000 picoseconds. + Weight::from_parts(16_777_000, 3544) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -90,13 +89,12 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `251 + n * (1 ±0)` // Estimated: `3715 + n * (1 ±0)` - // Minimum execution time: 28_552_000 picoseconds. - Weight::from_parts(29_093_000, 0) - .saturating_add(Weight::from_parts(0, 3715)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 27_084_000 picoseconds. + Weight::from_parts(27_353_000, 3715) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_230, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) @@ -110,12 +108,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `175` // Estimated: `3544` - // Minimum execution time: 21_340_000 picoseconds. - Weight::from_parts(22_057_812, 0) - .saturating_add(Weight::from_parts(0, 3544)) + // Minimum execution time: 20_164_000 picoseconds. + Weight::from_parts(20_913_813, 3544) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_410, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_xcm_transactor.rs b/runtime/common/src/weights/pallet_xcm_transactor.rs index 2343c48fa2..b357ce6474 100644 --- a/runtime/common/src/weights/pallet_xcm_transactor.rs +++ b/runtime/common/src/weights/pallet_xcm_transactor.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . + //! Autogenerated weights for `pallet_xcm_transactor` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("moonbase-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024 // Executed Command: // ./target/production/moonbeam @@ -32,17 +33,17 @@ // --extrinsic=* // --wasm-execution=compiled // --header=./file_header.txt +// --template=./benchmarking/frame-weight-template.hbs // --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_xcm_transactor`. +/// Weights for `pallet_xcm_transactor`. pub struct WeightInfo(PhantomData); impl pallet_xcm_transactor::WeightInfo for WeightInfo { /// Storage: `XcmTransactor::IndexToAccount` (r:1 w:1) @@ -51,11 +52,10 @@ impl pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo pallet_xcm_transactor::WeightInfo for WeightInfo { // Moves to the next payout block await jumpRounds(context, 2); @@ -93,19 +93,20 @@ describeSuite({ "proofSize is too low, probably missing payout in the block" ).to.be.at.least(100_000); - // block could support ~5_000_000 proofSize but we consider it safer to error when reaching - // 2_500_000 which is already high for a payout + // block could support ~5_000_000 bytes proofSize in total + // but we consider it safer to error when reaching 55% of the capacity + // of the block (~2_750_000) which is already high for a payout expect( weights.mandatory.proofSize.toNumber(), "proofSize is too high, this might lead to empty block" - ).to.be.at.most(2_600_000); + ).to.be.at.most(2_612_362); // block could support ~500ms refTime but we consider it safer to error when reaching - // over 200ms for the payout + // over 210ms for the payout. After Async Backing a block could support 2000ms. expect( weights.mandatory.refTime.toNumber(), - "refTime over 200ms, very high for a payout" - ).to.be.at.most(200_000_000_000); + "refTime over 210ms, very high for a payout" + ).to.be.at.most(210_000_000_000); expect( weights.mandatory.proofSize.toNumber(),