From 544ce028b12a369232552c18c21c03873438075f Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 7 Mar 2024 09:02:41 +0100 Subject: [PATCH] Release client v0.10.36, Centrifuge 1025 & Altair 1034 (#1749) * chore: reset FI on CFG * refactor: use PalletInfoAccess API * fix: bump FI storage version * chore: cleanup Dev migrations * chore: bump client version * fix: orderbook benches * fix: orderbook sync test & bench currency ids * chore: update weights * fix: breaking changes from weight updates * refactor: split PoolFees trait into *Mutate and *Inspect * fix: add default pool fees weights * chore: cleanup unused imports * fix: apply pool fees weights to txs --- Cargo.lock | 2 +- libs/traits/src/fee.rs | 13 +- node/Cargo.toml | 2 +- pallets/block-rewards/src/lib.rs | 4 +- pallets/block-rewards/src/weights.rs | 42 +- pallets/foreign-investments/src/lib.rs | 4 + pallets/oracle-collection/src/weights.rs | 5 - pallets/order-book/src/benchmarking.rs | 4 +- pallets/order-book/src/lib.rs | 2 +- pallets/order-book/src/mock.rs | 5 +- pallets/order-book/src/weights.rs | 4 +- pallets/pool-fees/src/benchmarking.rs | 2 +- pallets/pool-fees/src/lib.rs | 78 +-- pallets/pool-fees/src/mock.rs | 1 + pallets/pool-fees/src/tests.rs | 47 ++ pallets/pool-fees/src/weights.rs | 144 +++++ pallets/pool-registry/src/lib.rs | 46 +- pallets/pool-registry/src/mock.rs | 31 +- pallets/pool-registry/src/weights.rs | 20 +- pallets/pool-system/src/benchmarking.rs | 2 +- pallets/pool-system/src/impls.rs | 2 +- pallets/pool-system/src/lib.rs | 18 +- pallets/pool-system/src/mock.rs | 1 + pallets/token-mux/src/benchmarking.rs | 2 +- runtime/altair/src/lib.rs | 5 +- runtime/altair/src/migrations.rs | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 22 +- runtime/altair/src/weights/mod.rs | 2 + runtime/altair/src/weights/pallet_anchors.rs | 22 +- runtime/altair/src/weights/pallet_balances.rs | 46 +- .../src/weights/pallet_block_rewards.rs | 42 +- .../src/weights/pallet_collator_allowlist.rs | 18 +- .../src/weights/pallet_collator_selection.rs | 58 +- .../altair/src/weights/pallet_collective.rs | 128 ++--- .../src/weights/pallet_crowdloan_claim.rs | 42 +- .../src/weights/pallet_crowdloan_reward.rs | 18 +- .../altair/src/weights/pallet_democracy.rs | 194 +++---- .../src/weights/pallet_elections_phragmen.rs | 118 +++-- runtime/altair/src/weights/pallet_fees.rs | 6 +- runtime/altair/src/weights/pallet_identity.rs | 162 +++--- .../src/weights/pallet_interest_accrual.rs | 10 +- .../altair/src/weights/pallet_investments.rs | 42 +- runtime/altair/src/weights/pallet_keystore.rs | 22 +- .../src/weights/pallet_liquidity_rewards.rs | 54 +- runtime/altair/src/weights/pallet_loans.rs | 232 ++++---- runtime/altair/src/weights/pallet_multisig.rs | 80 +-- .../src/weights/pallet_oracle_collection.rs | 115 +++- .../altair/src/weights/pallet_oracle_feed.rs | 61 ++- .../altair/src/weights/pallet_order_book.rs | 113 ++-- .../altair/src/weights/pallet_permissions.rs | 26 +- .../altair/src/weights/pallet_pool_fees.rs | 154 ++++++ .../src/weights/pallet_pool_registry.rs | 98 ++-- .../altair/src/weights/pallet_pool_system.rs | 160 +++--- runtime/altair/src/weights/pallet_preimage.rs | 60 +-- runtime/altair/src/weights/pallet_proxy.rs | 110 ++-- runtime/altair/src/weights/pallet_remarks.rs | 16 +- .../src/weights/pallet_restricted_tokens.rs | 108 ++-- .../altair/src/weights/pallet_scheduler.rs | 68 +-- runtime/altair/src/weights/pallet_session.rs | 10 +- .../altair/src/weights/pallet_timestamp.rs | 14 +- .../altair/src/weights/pallet_token_mux.rs | 95 ++++ .../src/weights/pallet_transfer_allowlist.rs | 142 ++--- runtime/altair/src/weights/pallet_treasury.rs | 34 +- runtime/altair/src/weights/pallet_uniques.rs | 122 ++--- runtime/altair/src/weights/pallet_utility.rs | 34 +- runtime/altair/src/weights/pallet_vesting.rs | 98 ++-- runtime/altair/src/weights/pallet_xcm.rs | 110 ++-- runtime/centrifuge/src/lib.rs | 5 +- runtime/centrifuge/src/migrations.rs | 6 + .../src/weights/cumulus_pallet_xcmp_queue.rs | 22 +- runtime/centrifuge/src/weights/mod.rs | 2 + .../centrifuge/src/weights/pallet_anchors.rs | 22 +- .../centrifuge/src/weights/pallet_balances.rs | 46 +- .../src/weights/pallet_block_rewards.rs | 42 +- .../src/weights/pallet_collator_allowlist.rs | 18 +- .../src/weights/pallet_collator_selection.rs | 58 +- .../src/weights/pallet_collective.rs | 126 ++--- .../src/weights/pallet_crowdloan_claim.rs | 44 +- .../src/weights/pallet_crowdloan_reward.rs | 18 +- .../src/weights/pallet_democracy.rs | 194 +++---- .../src/weights/pallet_elections_phragmen.rs | 124 ++--- runtime/centrifuge/src/weights/pallet_fees.rs | 6 +- .../centrifuge/src/weights/pallet_identity.rs | 162 +++--- .../src/weights/pallet_interest_accrual.rs | 10 +- .../src/weights/pallet_investments.rs | 42 +- .../centrifuge/src/weights/pallet_keystore.rs | 22 +- .../src/weights/pallet_liquidity_rewards.rs | 52 +- .../centrifuge/src/weights/pallet_loans.rs | 240 +++++---- .../centrifuge/src/weights/pallet_multisig.rs | 78 +-- .../src/weights/pallet_oracle_collection.rs | 115 +++- .../src/weights/pallet_oracle_feed.rs | 61 ++- .../src/weights/pallet_order_book.rs | 113 ++-- .../src/weights/pallet_permissions.rs | 26 +- .../src/weights/pallet_pool_fees.rs | 154 ++++++ .../src/weights/pallet_pool_registry.rs | 98 ++-- .../src/weights/pallet_pool_system.rs | 150 ++++-- .../centrifuge/src/weights/pallet_preimage.rs | 62 +-- .../centrifuge/src/weights/pallet_proxy.rs | 110 ++-- .../centrifuge/src/weights/pallet_remarks.rs | 10 +- .../src/weights/pallet_restricted_tokens.rs | 108 ++-- .../src/weights/pallet_scheduler.rs | 74 +-- .../centrifuge/src/weights/pallet_session.rs | 10 +- .../src/weights/pallet_timestamp.rs | 14 +- .../src/weights/pallet_token_mux.rs | 95 ++++ .../src/weights/pallet_transfer_allowlist.rs | 142 ++--- .../centrifuge/src/weights/pallet_treasury.rs | 34 +- .../centrifuge/src/weights/pallet_uniques.rs | 120 ++--- .../centrifuge/src/weights/pallet_utility.rs | 34 +- .../centrifuge/src/weights/pallet_vesting.rs | 98 ++-- runtime/centrifuge/src/weights/pallet_xcm.rs | 98 ++-- .../common/src/migrations/epoch_execution.rs | 6 +- runtime/development/src/lib.rs | 5 +- runtime/development/src/migrations.rs | 19 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 22 +- runtime/development/src/weights/mod.rs | 2 + .../development/src/weights/pallet_anchors.rs | 22 +- .../src/weights/pallet_balances.rs | 46 +- .../src/weights/pallet_block_rewards.rs | 42 +- .../src/weights/pallet_collator_allowlist.rs | 18 +- .../src/weights/pallet_collator_selection.rs | 52 +- .../src/weights/pallet_collective.rs | 126 ++--- .../src/weights/pallet_crowdloan_claim.rs | 38 +- .../src/weights/pallet_crowdloan_reward.rs | 18 +- .../src/weights/pallet_democracy.rs | 194 +++---- .../src/weights/pallet_elections_phragmen.rs | 122 ++--- .../development/src/weights/pallet_fees.rs | 6 +- .../src/weights/pallet_identity.rs | 162 +++--- .../src/weights/pallet_interest_accrual.rs | 10 +- .../src/weights/pallet_investments.rs | 54 +- .../src/weights/pallet_keystore.rs | 22 +- .../src/weights/pallet_liquidity_pools.rs | 81 --- .../development/src/weights/pallet_loans.rs | 236 +++++---- .../src/weights/pallet_multisig.rs | 78 +-- .../src/weights/pallet_oracle_collection.rs | 115 +++- .../src/weights/pallet_oracle_feed.rs | 61 ++- .../src/weights/pallet_order_book.rs | 113 ++-- .../src/weights/pallet_permissions.rs | 26 +- .../src/weights/pallet_pool_fees.rs | 154 ++++++ .../src/weights/pallet_pool_registry.rs | 108 ++-- .../src/weights/pallet_pool_system.rs | 150 ++++-- .../src/weights/pallet_preimage.rs | 60 +-- .../development/src/weights/pallet_proxy.rs | 114 ++-- .../development/src/weights/pallet_remarks.rs | 10 +- .../src/weights/pallet_restricted_tokens.rs | 114 ++-- .../src/weights/pallet_scheduler.rs | 74 +-- .../development/src/weights/pallet_session.rs | 10 +- .../src/weights/pallet_timestamp.rs | 14 +- .../src/weights/pallet_token_mux.rs | 95 ++++ .../src/weights/pallet_transfer_allowlist.rs | 142 ++--- .../src/weights/pallet_treasury.rs | 34 +- .../development/src/weights/pallet_uniques.rs | 122 ++--- .../development/src/weights/pallet_utility.rs | 34 +- .../development/src/weights/pallet_vesting.rs | 98 ++-- runtime/development/src/weights/pallet_xcm.rs | 501 +++++++++--------- 154 files changed, 5881 insertions(+), 4268 deletions(-) create mode 100644 pallets/pool-fees/src/weights.rs create mode 100644 runtime/altair/src/weights/pallet_pool_fees.rs create mode 100644 runtime/altair/src/weights/pallet_token_mux.rs create mode 100644 runtime/centrifuge/src/weights/pallet_pool_fees.rs create mode 100644 runtime/centrifuge/src/weights/pallet_token_mux.rs delete mode 100644 runtime/development/src/weights/pallet_liquidity_pools.rs create mode 100644 runtime/development/src/weights/pallet_pool_fees.rs create mode 100644 runtime/development/src/weights/pallet_token_mux.rs diff --git a/Cargo.lock b/Cargo.lock index adf59b9c67..6ea182404e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -905,7 +905,7 @@ dependencies = [ [[package]] name = "centrifuge-chain" -version = "0.10.35" +version = "0.10.36" dependencies = [ "altair-runtime", "async-trait", diff --git a/libs/traits/src/fee.rs b/libs/traits/src/fee.rs index b53ffd6106..da2ebae8c7 100644 --- a/libs/traits/src/fee.rs +++ b/libs/traits/src/fee.rs @@ -29,7 +29,7 @@ pub enum PoolFeeBucket { } /// Trait to add fees to a pool -pub trait PoolFees { +pub trait PoolFeesMutate { type PoolId; type FeeInfo; @@ -37,11 +37,22 @@ pub trait PoolFees { /// /// NOTE: Assumes call permissions are separately checked beforehand. fn add_fee(pool_id: Self::PoolId, bucket: PoolFeeBucket, fee: Self::FeeInfo) -> DispatchResult; +} + +/// Trait to get pool fees counts +pub trait PoolFeesInspect { + type PoolId; + + /// Returns the maximum number of pool fees required for accurate weights + fn get_max_fee_count() -> u32; /// Returns the maximum number of pool fees per bucket required for accurate /// weights fn get_max_fees_per_bucket() -> u32; + /// Returns the current amount of active fees for the given pool + fn get_pool_fee_count(pool: Self::PoolId) -> u32; + /// Returns the current amount of active fees for the given pool and bucket /// pair fn get_pool_fee_bucket_count(pool: Self::PoolId, bucket: PoolFeeBucket) -> u32; diff --git a/node/Cargo.toml b/node/Cargo.toml index c64aa4f91e..1a806468ab 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -6,7 +6,7 @@ is-it-maintained-open-issues = { repository = "centrifuge/centrifuge-chain" } [package] name = "centrifuge-chain" -version = "0.10.35" +version = "0.10.36" description = "Centrifuge chain implementation in Rust." build = "build.rs" default-run = "centrifuge-chain" diff --git a/pallets/block-rewards/src/lib.rs b/pallets/block-rewards/src/lib.rs index acd9516c9f..ec9a232d6f 100644 --- a/pallets/block-rewards/src/lib.rs +++ b/pallets/block-rewards/src/lib.rs @@ -283,7 +283,7 @@ pub mod pallet { /// Admin method to set the reward amount for a collator used for the /// next sessions. Current session is not affected by this call. - #[pallet::weight(T::WeightInfo::set_collator_reward())] + #[pallet::weight(T::WeightInfo::set_collator_reward_per_session())] #[pallet::call_index(1)] pub fn set_collator_reward_per_session( origin: OriginFor, @@ -300,7 +300,7 @@ pub mod pallet { /// Admin method to set the treasury inflation rate for the next /// sessions. Current session is not affected by this call. - #[pallet::weight(T::WeightInfo::set_total_reward())] + #[pallet::weight(T::WeightInfo::set_annual_treasury_inflation_rate())] #[pallet::call_index(2)] pub fn set_annual_treasury_inflation_rate( origin: OriginFor, diff --git a/pallets/block-rewards/src/weights.rs b/pallets/block-rewards/src/weights.rs index bf9d239564..80e0b81b28 100644 --- a/pallets/block-rewards/src/weights.rs +++ b/pallets/block-rewards/src/weights.rs @@ -1,9 +1,11 @@ //! Autogenerated weights for pallet_block_rewards //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION -//! 4.0.0-dev DATE: 2023-02-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH -//! RANGE: `[]` EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: -//! Some("development"), DB CACHE: 1024 +//! 4.0.0-dev DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH +//! RANGE: `[]` WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: +//! Some("centrifuge-dev"), DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain @@ -32,8 +34,8 @@ use sp_std::marker::PhantomData; /// Weight functions needed for pallet_block_rewards. pub trait WeightInfo { fn claim_reward() -> Weight; - fn set_collator_reward() -> Weight; - fn set_total_reward() -> Weight; + fn set_collator_reward_per_session() -> Weight; + fn set_annual_treasury_inflation_rate() -> Weight; } /// Weights for pallet_block_rewards using the Substrate node and recommended @@ -41,20 +43,23 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { fn claim_reward() -> Weight { - Weight::from_parts(49_000_000, 0) + Weight::from_parts(90_960_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - fn set_collator_reward() -> Weight { - Weight::from_parts(8_000_000, 0) + fn set_collator_reward_per_session() -> Weight { + Weight::from_parts(9_327_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn set_total_reward() -> Weight { - Weight::from_parts(9_000_000, 0) - .saturating_add(T::DbWeight::get().reads(2)) + fn set_annual_treasury_inflation_rate() -> Weight { + Weight::from_parts(9_418_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } } @@ -62,20 +67,23 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { fn claim_reward() -> Weight { - Weight::from_parts(49_000_000, 0) + Weight::from_parts(90_960_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(RocksDbWeight::get().reads(5)) .saturating_add(RocksDbWeight::get().writes(3)) } - fn set_collator_reward() -> Weight { - Weight::from_parts(8_000_000, 0) + fn set_collator_reward_per_session() -> Weight { + Weight::from_parts(9_327_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } - fn set_total_reward() -> Weight { - Weight::from_parts(9_000_000, 0) - .saturating_add(RocksDbWeight::get().reads(2)) + fn set_annual_treasury_inflation_rate() -> Weight { + Weight::from_parts(9_418_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } } diff --git a/pallets/foreign-investments/src/lib.rs b/pallets/foreign-investments/src/lib.rs index 867322476e..a28801918c 100644 --- a/pallets/foreign-investments/src/lib.rs +++ b/pallets/foreign-investments/src/lib.rs @@ -105,7 +105,11 @@ pub mod pallet { use super::*; + /// The current storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + #[pallet::pallet] + #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); /// Configure the pallet by specifying the parameters and types on which it diff --git a/pallets/oracle-collection/src/weights.rs b/pallets/oracle-collection/src/weights.rs index 87738e7e7e..c1b4f6427a 100644 --- a/pallets/oracle-collection/src/weights.rs +++ b/pallets/oracle-collection/src/weights.rs @@ -17,7 +17,6 @@ pub trait WeightInfo { fn propose_update_collection_info(feeders: u32) -> Weight; fn apply_update_collection_info(feeders: u32) -> Weight; fn update_collection(feeders: u32, keys: u32) -> Weight; - fn set_collection_info() -> Weight; } impl WeightInfo for () { @@ -32,8 +31,4 @@ impl WeightInfo for () { fn update_collection(_: u32, _: u32) -> Weight { Weight::zero() } - - fn set_collection_info() -> Weight { - Weight::zero() - } } diff --git a/pallets/order-book/src/benchmarking.rs b/pallets/order-book/src/benchmarking.rs index 1cb72b2b07..a6c667c320 100644 --- a/pallets/order-book/src/benchmarking.rs +++ b/pallets/order-book/src/benchmarking.rs @@ -23,8 +23,8 @@ use sp_runtime::{traits::checked_pow, FixedPointNumber}; use super::*; -const CURRENCY_IN: u32 = 1; -const CURRENCY_OUT: u32 = 2; +const CURRENCY_IN: u32 = 1001; +const CURRENCY_OUT: u32 = 1002; const RATIO: u32 = 2; // x2 const FEEDER: u32 = 23; diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 997cacbfc7..047a9959e4 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -334,7 +334,7 @@ pub mod pallet { impl Pallet { /// Create an order with the default min fulfillment amount. #[pallet::call_index(0)] - #[pallet::weight(T::Weights::create_order())] + #[pallet::weight(T::Weights::place_order())] pub fn place_order( origin: OriginFor, currency_in: T::CurrencyId, diff --git a/pallets/order-book/src/mock.rs b/pallets/order-book/src/mock.rs index 9e445cad14..22e6abbd07 100644 --- a/pallets/order-book/src/mock.rs +++ b/pallets/order-book/src/mock.rs @@ -35,9 +35,8 @@ pub const FEEDER: u64 = 0x42; pub const INITIAL_A: Balance = token_a(1000); pub const INITIAL_B: Balance = token_b(1000); -pub const CURRENCY_A: CurrencyId = CurrencyId::ForeignAsset(1); -pub const CURRENCY_B: CurrencyId = CurrencyId::ForeignAsset(2); -pub const CURRENCY_X: CurrencyId = CurrencyId::ForeignAsset(3); +pub const CURRENCY_A: CurrencyId = CurrencyId::ForeignAsset(1001); +pub const CURRENCY_B: CurrencyId = CurrencyId::ForeignAsset(1002); pub const CURRENCY_A_DECIMALS: u32 = 9; pub const CURRENCY_B_DECIMALS: u32 = 12; diff --git a/pallets/order-book/src/weights.rs b/pallets/order-book/src/weights.rs index 1323bb7df2..55f4d03916 100644 --- a/pallets/order-book/src/weights.rs +++ b/pallets/order-book/src/weights.rs @@ -13,7 +13,7 @@ pub use frame_support::weights::Weight; pub trait WeightInfo { - fn create_order() -> Weight; + fn place_order() -> Weight; fn update_order() -> Weight; fn cancel_order() -> Weight; fn fill_order() -> Weight; @@ -21,7 +21,7 @@ pub trait WeightInfo { } impl WeightInfo for () { - fn create_order() -> Weight { + fn place_order() -> Weight { Weight::zero() } diff --git a/pallets/pool-fees/src/benchmarking.rs b/pallets/pool-fees/src/benchmarking.rs index 197885700f..4aef893183 100644 --- a/pallets/pool-fees/src/benchmarking.rs +++ b/pallets/pool-fees/src/benchmarking.rs @@ -14,7 +14,7 @@ use cfg_traits::{ benchmarking::{PoolBenchmarkHelper, PoolFeesBenchmarkHelper}, changes::ChangeGuard, - fee::{PoolFeeBucket, PoolFees as _}, + fee::{PoolFeeBucket, PoolFeesMutate as _}, }; use cfg_types::pools::PoolFeeEditor; use frame_benchmarking::v2::*; diff --git a/pallets/pool-fees/src/lib.rs b/pallets/pool-fees/src/lib.rs index b4a2a84dbc..a594777ac2 100644 --- a/pallets/pool-fees/src/lib.rs +++ b/pallets/pool-fees/src/lib.rs @@ -21,6 +21,8 @@ mod mock; #[cfg(test)] mod tests; pub mod types; +pub mod weights; +pub use weights::WeightInfo; #[frame_support::pallet] pub mod pallet { @@ -28,7 +30,7 @@ pub mod pallet { use cfg_traits::benchmarking::PoolFeesBenchmarkHelper; use cfg_traits::{ changes::ChangeGuard, - fee::{FeeAmountProration, PoolFeeBucket, PoolFees}, + fee::{FeeAmountProration, PoolFeeBucket, PoolFeesInspect, PoolFeesMutate}, EpochTransitionHook, PoolInspect, PoolNAV, PoolReserve, PreConditions, Seconds, TimeAsSecs, }; use cfg_types::{ @@ -46,7 +48,6 @@ pub mod pallet { tokens, tokens::Preservation, }, - weights::Weight, PalletId, }; use frame_system::pallet_prelude::*; @@ -155,8 +156,7 @@ pub mod pallet { /// Fetching method for the time of the current block type Time: TimeAsSecs; - // TODO: Enable after creating benchmarks - // type WeightInfo: WeightInfo; + type WeightInfo: WeightInfo; } /// Maps a pool to their corresponding fee ids with [PoolFeeBucket] @@ -316,7 +316,7 @@ pub mod pallet { /// /// Origin must be by pool admin. #[pallet::call_index(0)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::propose_new_fee())] pub fn propose_new_fee( origin: OriginFor, pool_id: T::PoolId, @@ -355,12 +355,12 @@ pub mod pallet { /// /// Origin unrestriced due to pre-check via proposal gate. #[pallet::call_index(1)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::apply_new_fee(T::MaxPoolFeesPerBucket::get()))] pub fn apply_new_fee( origin: OriginFor, pool_id: T::PoolId, change_id: T::Hash, - ) -> DispatchResult { + ) -> DispatchResultWithPostInfo { ensure_signed(origin)?; ensure!( @@ -370,16 +370,16 @@ pub mod pallet { let (fee_id, bucket, fee) = Self::get_released_change(pool_id, change_id) .map(|Change::AppendFee(id, bucket, fee)| (id, bucket, fee))?; - Self::add_fee_with_id(pool_id, fee_id, bucket, fee)?; + let fee_count = Self::add_fee_with_id(pool_id, fee_id, bucket, fee)?; - Ok(()) + Ok(Some(T::WeightInfo::apply_new_fee(fee_count)).into()) } /// Remove a fee. /// /// Origin must be the fee editor. #[pallet::call_index(2)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::remove_fee(T::MaxPoolFeesPerBucket::get()))] pub fn remove_fee(origin: OriginFor, fee_id: T::FeeId) -> DispatchResult { let who = ensure_signed(origin)?; @@ -397,17 +397,17 @@ pub mod pallet { /// /// Origin must be the fee destination. #[pallet::call_index(3)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::charge_fee(T::MaxPoolFeesPerBucket::get()))] pub fn charge_fee( origin: OriginFor, fee_id: T::FeeId, amount: T::Balance, - ) -> DispatchResult { + ) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; ensure!(!amount.is_zero(), Error::::NothingCharged); - let (pool_id, pending) = Self::mutate_active_fee(fee_id, |fee| { + let (pool_id, pending, fee_count) = Self::mutate_active_fee(fee_id, |fee| { ensure!( fee.destination == who, DispatchError::from(Error::::UnauthorizedCharge) @@ -429,24 +429,24 @@ pub mod pallet { pending, }); - Ok(()) + Ok(Some(T::WeightInfo::charge_fee(fee_count)).into()) } /// Cancel a charged fee. /// /// Origin must be the fee destination. #[pallet::call_index(4)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::uncharge_fee(T::MaxPoolFeesPerBucket::get()))] pub fn uncharge_fee( origin: OriginFor, fee_id: T::FeeId, amount: T::Balance, - ) -> DispatchResult { + ) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; ensure!(!amount.is_zero(), Error::::NothingUncharged); - let (pool_id, pending) = Self::mutate_active_fee(fee_id, |fee| { + let (pool_id, pending, fee_count) = Self::mutate_active_fee(fee_id, |fee| { ensure!( fee.destination == who, DispatchError::from(Error::::UnauthorizedCharge) @@ -468,7 +468,7 @@ pub mod pallet { pending, }); - Ok(()) + Ok(Some(T::WeightInfo::uncharge_fee(fee_count)).into()) } /// Update the negative portfolio valuation via pending amounts of the @@ -480,7 +480,7 @@ pub mod pallet { /// updated in the current timestamp. In the future, this coupling will /// be handled by an accounting pallet. #[pallet::call_index(5)] - #[pallet::weight(Weight::from_parts(10_000, 0))] + #[pallet::weight(T::WeightInfo::update_portfolio_valuation(T::MaxPoolFeesPerBucket::get()))] pub fn update_portfolio_valuation( origin: OriginFor, pool_id: T::PoolId, @@ -492,11 +492,10 @@ pub mod pallet { Error::::PoolNotFound ); - let (_, _count) = + let (_, count) = Self::update_portfolio_valuation_for_pool(pool_id, &mut T::Balance::zero())?; - // Ok(Some(T::WeightInfo::update_portfolio_valuation(count)).into()) - Ok(Some(T::DbWeight::get().reads(1)).into()) + Ok(Some(T::WeightInfo::update_portfolio_valuation(count)).into()) } } @@ -525,7 +524,7 @@ pub mod pallet { fn mutate_active_fee( fee_id: T::FeeId, mut f: impl FnMut(&mut PoolFeeOf) -> Result, - ) -> Result<(T::PoolId, T::Balance), DispatchError> { + ) -> Result<(T::PoolId, T::Balance, u32), DispatchError> { let (pool_id, bucket) = FeeIdsToPoolBucket::::get(fee_id).ok_or(Error::::FeeNotFound)?; @@ -536,9 +535,9 @@ pub mod pallet { .ok_or(Error::::FeeNotFound)?; if let Some(fee) = fees.get_mut(pos) { - Ok((pool_id, f(fee)?)) + Ok((pool_id, f(fee)?, fees.len().saturated_into())) } else { - Ok((pool_id, T::Balance::zero())) + Ok((pool_id, T::Balance::zero(), fees.len().saturated_into())) } }) } @@ -767,7 +766,7 @@ pub mod pallet { fee_id: T::FeeId, bucket: PoolFeeBucket, fee: PoolFeeInfoOf, - ) -> DispatchResult { + ) -> Result { ensure!( !FeeIdsToPoolBucket::::contains_key(fee_id), Error::::FeeIdAlreadyExists @@ -775,10 +774,11 @@ pub mod pallet { FeeIdsToPoolBucket::::insert(fee_id, (pool_id, bucket)); FeeIds::::mutate(pool_id, bucket, |list| list.try_push(fee_id)) .map_err(|_| Error::::MaxPoolFeesPerBucket)?; - ActiveFees::::mutate(pool_id, bucket, |list| { + let fee_count = ActiveFees::::mutate(pool_id, bucket, |list| { list.try_push(PoolFeeOf::::from_info(fee.clone(), fee_id)) - }) - .map_err(|_| Error::::MaxPoolFeesPerBucket)?; + .map_err(|_| Error::::MaxPoolFeesPerBucket)?; + Ok::>(list.len()) + })?; Self::deposit_event(Event::::Added { pool_id, @@ -787,7 +787,7 @@ pub mod pallet { fee_id, }); - Ok(()) + Ok(fee_count.saturated_into()) } // Returns all fees of a pool divided by the buckets @@ -803,7 +803,7 @@ pub mod pallet { } } - impl PoolFees for Pallet { + impl PoolFeesMutate for Pallet { type FeeInfo = PoolFeeInfoOf; type PoolId = T::PoolId; @@ -813,7 +813,15 @@ pub mod pallet { fee: Self::FeeInfo, ) -> Result<(), DispatchError> { let fee_id = Self::generate_fee_id()?; - Self::add_fee_with_id(pool_id, fee_id, bucket, fee) + Self::add_fee_with_id(pool_id, fee_id, bucket, fee).map(|_| ()) + } + } + + impl PoolFeesInspect for Pallet { + type PoolId = T::PoolId; + + fn get_max_fee_count() -> u32 { + T::MaxFeesPerPool::get() } fn get_max_fees_per_bucket() -> u32 { @@ -823,6 +831,12 @@ pub mod pallet { fn get_pool_fee_bucket_count(pool: Self::PoolId, bucket: PoolFeeBucket) -> u32 { ActiveFees::::get(pool, bucket).len().saturated_into() } + + fn get_pool_fee_count(pool: Self::PoolId) -> u32 { + PoolFeeBucket::iter().fold(0u32, |count, bucket| { + count.saturating_add(Self::get_pool_fee_bucket_count(pool, bucket)) + }) + } } impl EpochTransitionHook for Pallet { diff --git a/pallets/pool-fees/src/mock.rs b/pallets/pool-fees/src/mock.rs index 003000ae22..ab95b638ef 100644 --- a/pallets/pool-fees/src/mock.rs +++ b/pallets/pool-fees/src/mock.rs @@ -219,6 +219,7 @@ impl pallet_pool_fees::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Time = MockTime; type Tokens = OrmlTokens; + type WeightInfo = (); } pub fn new_fee(amount: PoolFeeType) -> PoolFeeInfoOf { diff --git a/pallets/pool-fees/src/tests.rs b/pallets/pool-fees/src/tests.rs index a7040cc315..06285e0a4e 100644 --- a/pallets/pool-fees/src/tests.rs +++ b/pallets/pool-fees/src/tests.rs @@ -1365,3 +1365,50 @@ mod disbursements { } } } + +mod inspect { + use cfg_traits::fee::PoolFeesInspect; + + use super::*; + use crate::mock::{default_chargeable_fee, NAV}; + + #[test] + fn max_fee_count() { + ExtBuilder::default().set_aum(NAV).build().execute_with(|| { + assert_eq!( + PoolFees::get_max_fee_count(), + ::MaxFeesPerPool::get() + ); + }) + } + + #[test] + fn max_pool_fees_per_bucket() { + ExtBuilder::default().set_aum(NAV).build().execute_with(|| { + assert_eq!( + PoolFees::get_max_fees_per_bucket(), + ::MaxPoolFeesPerBucket::get() + ); + }) + } + + #[test] + fn pool_fee_count() { + ExtBuilder::default().set_aum(NAV).build().execute_with(|| { + assert_eq!(PoolFees::get_pool_fee_count(POOL), 0u32); + + add_fees(vec![default_chargeable_fee()]); + assert_eq!(PoolFees::get_pool_fee_count(POOL), 1u32); + }) + } + + #[test] + fn bucket_pool_fee_count() { + ExtBuilder::default().set_aum(NAV).build().execute_with(|| { + assert_eq!(PoolFees::get_pool_fee_bucket_count(POOL, BUCKET), 0u32); + + add_fees(vec![default_chargeable_fee()]); + assert_eq!(PoolFees::get_pool_fee_bucket_count(POOL, BUCKET), 1u32); + }) + } +} diff --git a/pallets/pool-fees/src/weights.rs b/pallets/pool-fees/src/weights.rs new file mode 100644 index 0000000000..a13618f548 --- /dev/null +++ b/pallets/pool-fees/src/weights.rs @@ -0,0 +1,144 @@ +//! Autogenerated weights for pallet_pool_fees +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION +//! 4.0.0-dev DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH +//! RANGE: `[]` WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: +//! Some("centrifuge-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=development +// --steps=50 +// --repeat=20 +// --pallet=pallet-pool-fees +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=./scripts/frame-weight-template.hbs +// --output=./pallets/pool-fees/src/weights.rs + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; +use sp_std::marker::PhantomData; + +/// Weight functions needed for pallet_pool_fees. +pub trait WeightInfo { + fn propose_new_fee() -> Weight; + fn apply_new_fee(n: u32) -> Weight; + fn remove_fee(n: u32) -> Weight; + fn charge_fee(n: u32) -> Weight; + fn uncharge_fee(n: u32) -> Weight; + fn update_portfolio_valuation(n: u32) -> Weight; +} + +/// Weights for pallet_pool_fees using the Substrate node and recommended +/// hardware. +pub struct SubstrateWeight(PhantomData); +impl WeightInfo for SubstrateWeight { + fn propose_new_fee() -> Weight { + Weight::from_parts(43_301_000, 0) + .saturating_add(Weight::from_parts(0, 4278)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + + fn apply_new_fee(n: u32) -> Weight { + Weight::from_parts(55_397_177, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(289_076, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + + fn remove_fee(n: u32) -> Weight { + Weight::from_parts(38_370_638, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(411_219, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + + fn charge_fee(n: u32) -> Weight { + Weight::from_parts(27_231_143, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(259_721, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + + fn uncharge_fee(n: u32) -> Weight { + Weight::from_parts(26_250_765, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(260_625, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + + fn update_portfolio_valuation(n: u32) -> Weight { + Weight::from_parts(42_962_181, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(5_880_090, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} + +// For backwards compatibility and tests +impl WeightInfo for () { + fn propose_new_fee() -> Weight { + Weight::from_parts(43_301_000, 0) + .saturating_add(Weight::from_parts(0, 4278)) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(2)) + } + + fn apply_new_fee(n: u32) -> Weight { + Weight::from_parts(55_397_177, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(289_076, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(5)) + .saturating_add(RocksDbWeight::get().writes(4)) + } + + fn remove_fee(n: u32) -> Weight { + Weight::from_parts(38_370_638, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(411_219, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(3)) + .saturating_add(RocksDbWeight::get().writes(3)) + } + + fn charge_fee(n: u32) -> Weight { + Weight::from_parts(27_231_143, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(259_721, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(2)) + .saturating_add(RocksDbWeight::get().writes(1)) + } + + fn uncharge_fee(n: u32) -> Weight { + Weight::from_parts(26_250_765, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(260_625, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(2)) + .saturating_add(RocksDbWeight::get().writes(1)) + } + + fn update_portfolio_valuation(n: u32) -> Weight { + Weight::from_parts(42_962_181, 0) + .saturating_add(Weight::from_parts(0, 17508)) + .saturating_add(Weight::from_parts(5_880_090, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(5)) + .saturating_add(RocksDbWeight::get().writes(2)) + } +} diff --git a/pallets/pool-registry/src/lib.rs b/pallets/pool-registry/src/lib.rs index 751eb34565..c1e7e2e632 100644 --- a/pallets/pool-registry/src/lib.rs +++ b/pallets/pool-registry/src/lib.rs @@ -14,8 +14,9 @@ #![allow(clippy::too_many_arguments)] use cfg_traits::{ - fee::PoolFeeBucket, investments::TrancheCurrency, Permissions, PoolMutate, - PoolWriteOffPolicyMutate, UpdateState, + fee::{PoolFeeBucket, PoolFeesInspect}, + investments::TrancheCurrency, + Permissions, PoolMutate, PoolWriteOffPolicyMutate, UpdateState, }; use cfg_types::{ permissions::{PermissionScope, PoolRole, Role}, @@ -166,6 +167,9 @@ pub mod pallet { CustomMetadata = CustomMetadata, >; + /// The source of truth for the pool fees counters; + type PoolFeesInspect: PoolFeesInspect; + /// Weight Information type WeightInfo: WeightInfo; } @@ -239,7 +243,10 @@ pub mod pallet { /// Returns an error if the requested pool ID is already in /// use, or if the tranche configuration cannot be used. #[allow(clippy::too_many_arguments)] - #[pallet::weight(T::WeightInfo::register(tranche_inputs.len().try_into().unwrap_or(u32::MAX)))] + #[pallet::weight(T::WeightInfo::register( + tranche_inputs.len().try_into().unwrap_or(u32::MAX), + pool_fees.len().try_into().unwrap_or(u32::MAX)) + )] #[transactional] #[pallet::call_index(0)] pub fn register( @@ -308,7 +315,13 @@ pub mod pallet { /// /// The caller must have the `PoolAdmin` role in order to /// invoke this extrinsic. - #[pallet::weight(T::WeightInfo::update_no_execution(T::MaxTranches::get()).max(T::WeightInfo::update_and_execute(T::MaxTranches::get())))] + #[pallet::weight(T::WeightInfo::update_no_execution( + T::MaxTranches::get(), + T::PoolFeesInspect::get_max_fee_count()).max( + T::WeightInfo::update_and_execute(T::MaxTranches::get(), + T::PoolFeesInspect::get_max_fee_count() + )) + )] #[pallet::call_index(1)] pub fn update( origin: OriginFor, @@ -339,14 +352,20 @@ pub mod pallet { Self::deposit_event(Event::UpdateRegistered { pool_id }); let weight = match state { - UpdateState::NoExecution => T::WeightInfo::update_no_execution(0), + UpdateState::NoExecution => T::WeightInfo::update_no_execution(0, 0), UpdateState::Executed(num_tranches) => { Self::deposit_event(Event::UpdateExecuted { pool_id }); - T::WeightInfo::update_and_execute(num_tranches) + T::WeightInfo::update_and_execute( + num_tranches, + T::PoolFeesInspect::get_pool_fee_count(pool_id), + ) } UpdateState::Stored(num_tranches) => { Self::deposit_event(Event::UpdateStored { pool_id }); - T::WeightInfo::update_no_execution(num_tranches) + T::WeightInfo::update_no_execution( + num_tranches, + T::PoolFeesInspect::get_pool_fee_count(pool_id), + ) } }; Ok(Some(weight).into()) @@ -358,7 +377,10 @@ pub mod pallet { /// and, if required, if there are no outstanding /// redeem orders. If both apply, then the scheduled /// changes are applied. - #[pallet::weight(T::WeightInfo::execute_update(T::MaxTranches::get()))] + #[pallet::weight(T::WeightInfo::execute_update( + T::MaxTranches::get(), + T::PoolFeesInspect::get_max_fee_count() + ))] #[pallet::call_index(2)] pub fn execute_update( origin: OriginFor, @@ -367,14 +389,18 @@ pub mod pallet { ensure_signed(origin)?; let num_tranches = T::ModifyPool::execute_update(pool_id)?; - Ok(Some(T::WeightInfo::execute_update(num_tranches)).into()) + let num_fees = T::PoolFeesInspect::get_pool_fee_count(pool_id); + Ok(Some(T::WeightInfo::execute_update(num_tranches, num_fees)).into()) } /// Sets the IPFS hash for the pool metadata information. /// /// The caller must have the `PoolAdmin` role in order to /// invoke this extrinsic. - #[pallet::weight(T::WeightInfo::set_metadata(metadata.len().try_into().unwrap_or(u32::MAX)))] + #[pallet::weight(T::WeightInfo::set_metadata( + metadata.len().try_into().unwrap_or(u32::MAX), + T::PoolFeesInspect::get_max_fee_count() + ))] #[pallet::call_index(3)] pub fn set_metadata( origin: OriginFor, diff --git a/pallets/pool-registry/src/mock.rs b/pallets/pool-registry/src/mock.rs index fae60dce5f..a17826fe8f 100644 --- a/pallets/pool-registry/src/mock.rs +++ b/pallets/pool-registry/src/mock.rs @@ -19,8 +19,9 @@ use cfg_primitives::{ TrancheWeight, }; use cfg_traits::{ - fee::PoolFeeBucket, investments::OrderManager, Millis, PoolMutate, PoolUpdateGuard, - PreConditions, Seconds, UpdateState, + fee::{PoolFeeBucket, PoolFeesInspect}, + investments::OrderManager, + Millis, PoolMutate, PoolUpdateGuard, PreConditions, Seconds, UpdateState, }; use cfg_types::{ fixed_point::{Quantity, Rate}, @@ -212,6 +213,7 @@ impl pallet_pool_fees::Config for Test { type RuntimeEvent = RuntimeEvent; type Time = Timestamp; type Tokens = OrmlTokens; + type WeightInfo = (); } parameter_types! { @@ -251,7 +253,7 @@ where >; type PoolFeeInput = ( PoolFeeBucket, - <::PoolFees as cfg_traits::fee::PoolFees>::FeeInfo, + <::PoolFees as cfg_traits::fee::PoolFeesMutate>::FeeInfo, ); type TrancheInput = TrancheInput< ::Rate, @@ -297,6 +299,28 @@ impl PreConditions for Always { } } +/// NOTE: Amounts only used for weight determination +pub struct MockPoolFeesInspect; +impl PoolFeesInspect for MockPoolFeesInspect { + type PoolId = PoolId; + + fn get_max_fee_count() -> u32 { + 100 + } + + fn get_max_fees_per_bucket() -> u32 { + 100 + } + + fn get_pool_fee_count(_pool: Self::PoolId) -> u32 { + 100 + } + + fn get_pool_fee_bucket_count(_pool: Self::PoolId, _bucket: PoolFeeBucket) -> u32 { + 100 + } +} + impl Config for Test { type AssetRegistry = RegistryMock; type Balance = Balance; @@ -310,6 +334,7 @@ impl Config for Test { type ModifyWriteOffPolicy = MockWriteOffPolicy; type Permission = PermissionsMock; type PoolCreateOrigin = EnsureSigned; + type PoolFeesInspect = MockPoolFeesInspect; type PoolId = u64; type RuntimeEvent = RuntimeEvent; type TrancheCurrency = TrancheCurrency; diff --git a/pallets/pool-registry/src/weights.rs b/pallets/pool-registry/src/weights.rs index d751fd4074..17bc795844 100644 --- a/pallets/pool-registry/src/weights.rs +++ b/pallets/pool-registry/src/weights.rs @@ -14,31 +14,31 @@ use frame_support::weights::Weight; pub trait WeightInfo { - fn register(n: u32) -> Weight; - fn update_no_execution(n: u32) -> Weight; - fn update_and_execute(n: u32) -> Weight; - fn execute_update(n: u32) -> Weight; - fn set_metadata(n: u32) -> Weight; + fn register(n: u32, m: u32) -> Weight; + fn update_no_execution(n: u32, m: u32) -> Weight; + fn update_and_execute(n: u32, m: u32) -> Weight; + fn execute_update(n: u32, m: u32) -> Weight; + fn set_metadata(n: u32, m: u32) -> Weight; } impl WeightInfo for () { - fn register(_: u32) -> Weight { + fn register(_n: u32, _m: u32) -> Weight { Weight::zero() } - fn update_no_execution(_: u32) -> Weight { + fn update_no_execution(_n: u32, _m: u32) -> Weight { Weight::zero() } - fn update_and_execute(_: u32) -> Weight { + fn update_and_execute(_n: u32, _m: u32) -> Weight { Weight::zero() } - fn execute_update(_: u32) -> Weight { + fn execute_update(_n: u32, _m: u32) -> Weight { Weight::zero() } - fn set_metadata(_n: u32) -> Weight { + fn set_metadata(_n: u32, _m: u32) -> Weight { Weight::zero() } } diff --git a/pallets/pool-system/src/benchmarking.rs b/pallets/pool-system/src/benchmarking.rs index 0d6fc39a6f..8ee8df43a9 100644 --- a/pallets/pool-system/src/benchmarking.rs +++ b/pallets/pool-system/src/benchmarking.rs @@ -15,7 +15,7 @@ use cfg_primitives::PoolEpochId; use cfg_traits::{ benchmarking::PoolFeesBenchmarkHelper, - fee::{PoolFeeBucket, PoolFees}, + fee::{PoolFeeBucket, PoolFeesInspect}, investments::TrancheCurrency as _, UpdateState, }; diff --git a/pallets/pool-system/src/impls.rs b/pallets/pool-system/src/impls.rs index 984d2d53e5..b8ba8c2c1f 100644 --- a/pallets/pool-system/src/impls.rs +++ b/pallets/pool-system/src/impls.rs @@ -12,7 +12,7 @@ use cfg_traits::{ changes::ChangeGuard, - fee::{PoolFeeBucket, PoolFees}, + fee::{PoolFeeBucket, PoolFeesMutate}, investments::{InvestmentAccountant, TrancheCurrency}, CurrencyPair, PoolUpdateGuard, PriceValue, TrancheTokenPrice, UpdateState, }; diff --git a/pallets/pool-system/src/lib.rs b/pallets/pool-system/src/lib.rs index aacf7500a1..cc1a55b06b 100644 --- a/pallets/pool-system/src/lib.rs +++ b/pallets/pool-system/src/lib.rs @@ -177,7 +177,7 @@ impl Default for Release { #[frame_support::pallet] pub mod pallet { use cfg_traits::{ - fee::{PoolFeeBucket, PoolFees}, + fee::{PoolFeeBucket, PoolFeesInspect, PoolFeesMutate}, investments::{OrderManager, TrancheCurrency as TrancheCurrencyT}, EpochTransitionHook, PoolUpdateGuard, }; @@ -324,14 +324,14 @@ pub mod pallet { type Time: TimeAsSecs; /// Add pool fees - type PoolFees: PoolFees< - FeeInfo = PoolFeeInfo< - ::AccountId, - Self::Balance, - Self::Rate, - >, - PoolId = Self::PoolId, - >; + type PoolFees: PoolFeesMutate< + FeeInfo = PoolFeeInfo< + ::AccountId, + Self::Balance, + Self::Rate, + >, + PoolId = Self::PoolId, + > + PoolFeesInspect; /// Epoch transition hook required for Pool Fees type OnEpochTransition: EpochTransitionHook< diff --git a/pallets/pool-system/src/mock.rs b/pallets/pool-system/src/mock.rs index 3727096b59..93916bd1a2 100644 --- a/pallets/pool-system/src/mock.rs +++ b/pallets/pool-system/src/mock.rs @@ -401,6 +401,7 @@ impl pallet_pool_fees::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Time = Timestamp; type Tokens = Tokens; + type WeightInfo = (); } parameter_types! { diff --git a/pallets/token-mux/src/benchmarking.rs b/pallets/token-mux/src/benchmarking.rs index 8eb749ffae..c98f478575 100644 --- a/pallets/token-mux/src/benchmarking.rs +++ b/pallets/token-mux/src/benchmarking.rs @@ -211,7 +211,7 @@ mod benchmarks { } #[benchmark] - fn match_swap_to_local() -> Result<(), BenchmarkError> { + fn match_swap() -> Result<(), BenchmarkError> { #[cfg(test)] init_mocks(); diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 2ba3b06361..ab3e308fa0 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -1505,6 +1505,7 @@ impl pallet_pool_registry::Config for Runtime { type ModifyWriteOffPolicy = pallet_loans::Pallet; type Permission = Permissions; type PoolCreateOrigin = EnsureRoot; + type PoolFeesInspect = PoolFees; type PoolId = PoolId; type RuntimeEvent = RuntimeEvent; type TrancheCurrency = TrancheCurrency; @@ -1534,6 +1535,7 @@ impl pallet_pool_fees::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Time = Timestamp; type Tokens = Tokens; + type WeightInfo = weights::pallet_pool_fees::WeightInfo; } pub struct PoolCurrency; @@ -1816,8 +1818,7 @@ impl pallet_token_mux::Config for Runtime { type PalletId = TokenMuxPalletId; type RuntimeEvent = RuntimeEvent; type Tokens = OrmlTokens; - // TODO(william): Change to weights once they exist - type WeightInfo = (); + type WeightInfo = weights::pallet_token_mux::WeightInfo; } parameter_types! { diff --git a/runtime/altair/src/migrations.rs b/runtime/altair/src/migrations.rs index 79e60ab196..ef5a3bfc34 100644 --- a/runtime/altair/src/migrations.rs +++ b/runtime/altair/src/migrations.rs @@ -37,7 +37,7 @@ pub type UpgradeAltair1034 = ( runtime_common::migrations::nuke::ResetPallet, // At minimum, bumps storage version from 0 to 3 runtime_common::migrations::nuke::ResetPallet, - // At minimum, bumps storage version from 0 to 1 + // At minimum, bumps storage version from 0 to 2 runtime_common::migrations::nuke::ResetPallet, // At minimum, bumps storage version from 0 to 1 runtime_common::migrations::nuke::ResetPallet, diff --git a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs index a762ba3386..98adf2d4c1 100644 --- a/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/altair/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -36,11 +36,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 8_516_000 picoseconds. - Weight::from_parts(9_027_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 8_726_000 picoseconds. + Weight::from_parts(9_317_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -48,11 +48,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 8_436_000 picoseconds. - Weight::from_parts(8_787_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 8_666_000 picoseconds. + Weight::from_parts(9_016_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/mod.rs b/runtime/altair/src/weights/mod.rs index 1b23cbecaf..5f02a62635 100644 --- a/runtime/altair/src/weights/mod.rs +++ b/runtime/altair/src/weights/mod.rs @@ -33,6 +33,7 @@ pub mod pallet_oracle_collection; pub mod pallet_oracle_feed; pub mod pallet_order_book; pub mod pallet_permissions; +pub mod pallet_pool_fees; pub mod pallet_pool_registry; pub mod pallet_pool_system; pub mod pallet_preimage; @@ -42,6 +43,7 @@ pub mod pallet_restricted_tokens; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; +pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; pub mod pallet_treasury; pub mod pallet_uniques; diff --git a/runtime/altair/src/weights/pallet_anchors.rs b/runtime/altair/src/weights/pallet_anchors.rs index eff0b03882..3f76e00e8c 100644 --- a/runtime/altair/src/weights/pallet_anchors.rs +++ b/runtime/altair/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,10 +40,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn pre_commit() -> Weight { // Proof Size summary in bytes: - // Measured: `301` + // Measured: `334` // Estimated: `3581` - // Minimum execution time: 40_516_000 picoseconds. - Weight::from_parts(41_698_000, 0) + // Minimum execution time: 39_573_000 picoseconds. + Weight::from_parts(40_445_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `668` // Estimated: `3581` - // Minimum execution time: 70_522_000 picoseconds. - Weight::from_parts(72_225_000, 0) + // Minimum execution time: 70_332_000 picoseconds. + Weight::from_parts(71_053_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_122_828_000 picoseconds. - Weight::from_parts(2_149_347_000, 0) + // Minimum execution time: 2_141_176_000 picoseconds. + Weight::from_parts(2_160_262_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -504,10 +504,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18357` + // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 1_937_882_000 picoseconds. - Weight::from_parts(1_967_587_000, 0) + // Minimum execution time: 1_942_586_000 picoseconds. + Weight::from_parts(1_970_939_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/altair/src/weights/pallet_balances.rs b/runtime/altair/src/weights/pallet_balances.rs index 8d008a890b..d5dd2f25f9 100644 --- a/runtime/altair/src/weights/pallet_balances.rs +++ b/runtime/altair/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 83_116_000 picoseconds. - Weight::from_parts(84_969_000, 0) + // Minimum execution time: 84_377_000 picoseconds. + Weight::from_parts(86_001_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 63_118_000 picoseconds. - Weight::from_parts(64_100_000, 0) + // Minimum execution time: 63_528_000 picoseconds. + Weight::from_parts(66_343_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,10 +60,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 23_524_000 picoseconds. - Weight::from_parts(24_365_000, 0) + // Minimum execution time: 25_017_000 picoseconds. + Weight::from_parts(25_618_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 34_354_000 picoseconds. - Weight::from_parts(35_467_000, 0) + // Minimum execution time: 35_998_000 picoseconds. + Weight::from_parts(36_809_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 87_484_000 picoseconds. - Weight::from_parts(89_137_000, 0) + // Minimum execution time: 88_505_000 picoseconds. + Weight::from_parts(89_467_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 79_338_000 picoseconds. - Weight::from_parts(80_360_000, 0) + // Minimum execution time: 79_478_000 picoseconds. + Weight::from_parts(80_871_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,10 +108,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 27_772_000 picoseconds. - Weight::from_parts(28_583_000, 0) + // Minimum execution time: 29_144_000 picoseconds. + Weight::from_parts(29_986_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,13 +121,13 @@ impl pallet_balances::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145 + u * (136 ±0)` + // Measured: `176 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 26_750_000 picoseconds. - Weight::from_parts(27_221_000, 0) + // Minimum execution time: 26_740_000 picoseconds. + Weight::from_parts(27_652_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_703 - .saturating_add(Weight::from_parts(21_250_615, 0).saturating_mul(u.into())) + // Standard Error: 14_123 + .saturating_add(Weight::from_parts(21_488_072, 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, 2603).saturating_mul(u.into())) diff --git a/runtime/altair/src/weights/pallet_block_rewards.rs b/runtime/altair/src/weights/pallet_block_rewards.rs index b364a228a2..6c4745c4db 100644 --- a/runtime/altair/src/weights/pallet_block_rewards.rs +++ b/runtime/altair/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,38 +44,34 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `583` // Estimated: `6196` - // Minimum execution time: 86_001_000 picoseconds. - Weight::from_parts(88_175_000, 0) + // Minimum execution time: 87_664_000 picoseconds. + Weight::from_parts(89_066_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_collator_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `3574` - // Minimum execution time: 12_073_000 picoseconds. - Weight::from_parts(12_514_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 8_776_000 picoseconds. + Weight::from_parts(9_047_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_total_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `65` - // Estimated: `3574` - // Minimum execution time: 10_921_000 picoseconds. - Weight::from_parts(11_461_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 8_706_000 picoseconds. + Weight::from_parts(8_937_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/altair/src/weights/pallet_collator_allowlist.rs b/runtime/altair/src/weights/pallet_collator_allowlist.rs index a25b7f3930..454bc79499 100644 --- a/runtime/altair/src/weights/pallet_collator_allowlist.rs +++ b/runtime/altair/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,11 +38,11 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `491` - // Estimated: `3956` - // Minimum execution time: 25_318_000 picoseconds. - Weight::from_parts(25_979_000, 0) - .saturating_add(Weight::from_parts(0, 3956)) + // Measured: `524` + // Estimated: `3989` + // Minimum execution time: 24_856_000 picoseconds. + Weight::from_parts(25_497_000, 0) + .saturating_add(Weight::from_parts(0, 3989)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -50,10 +50,10 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `199` + // Measured: `232` // Estimated: `3497` - // Minimum execution time: 18_965_000 picoseconds. - Weight::from_parts(19_727_000, 0) + // Minimum execution time: 19_006_000 picoseconds. + Weight::from_parts(19_617_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_collator_selection.rs b/runtime/altair/src/weights/pallet_collator_selection.rs index 00b54ac17a..728c4ff030 100644 --- a/runtime/altair/src/weights/pallet_collator_selection.rs +++ b/runtime/altair/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -41,13 +41,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + b * (112 ±0)` - // Estimated: `1420 + b * (2588 ±0)` - // Minimum execution time: 24_886_000 picoseconds. - Weight::from_parts(21_711_594, 0) - .saturating_add(Weight::from_parts(0, 1420)) - // Standard Error: 6_369 - .saturating_add(Weight::from_parts(5_941_326, 0).saturating_mul(b.into())) + // Measured: `466 + b * (112 ±0)` + // Estimated: `1453 + b * (2588 ±0)` + // Minimum execution time: 25_167_000 picoseconds. + Weight::from_parts(21_344_671, 0) + .saturating_add(Weight::from_parts(0, 1453)) + // Standard Error: 5_308 + .saturating_add(Weight::from_parts(5_977_896, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -58,8 +58,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_986_000 picoseconds. - Weight::from_parts(14_568_000, 0) + // Minimum execution time: 13_606_000 picoseconds. + Weight::from_parts(14_337_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,8 +69,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_269_000 picoseconds. - Weight::from_parts(10_680_000, 0) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(10_851_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,13 +91,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `969 + c * (59 ±0)` + // Measured: `1035 + c * (59 ±0)` // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 65_022_000 picoseconds. - Weight::from_parts(66_948_233, 0) + // Minimum execution time: 65_763_000 picoseconds. + Weight::from_parts(67_205_936, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 10_010 - .saturating_add(Weight::from_parts(235_498, 0).saturating_mul(c.into())) + // Standard Error: 4_889 + .saturating_add(Weight::from_parts(266_792, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) @@ -107,15 +107,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[6, 20]`. - fn leave_intent(c: u32, ) -> Weight { + fn leave_intent(_c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `516 + c * (44 ±0)` + // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 45_525_000 picoseconds. - Weight::from_parts(46_437_007, 0) + // Minimum execution time: 45_805_000 picoseconds. + Weight::from_parts(49_827_491, 0) .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 5_765 - .saturating_add(Weight::from_parts(100_123, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -129,8 +127,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 69_640_000 picoseconds. - Weight::from_parts(70_622_000, 0) + // Minimum execution time: 70_552_000 picoseconds. + Weight::from_parts(71_864_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -149,13 +147,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `545 + c * (98 ±0) + r * (142 ±0)` + // Measured: `578 + c * (98 ±0) + r * (142 ±0)` // Estimated: `4687 + c * (2519 ±0) + r * (2259 ±17)` - // Minimum execution time: 24_356_000 picoseconds. - Weight::from_parts(25_037_000, 0) + // Minimum execution time: 23_945_000 picoseconds. + Weight::from_parts(24_766_000, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 437_042 - .saturating_add(Weight::from_parts(17_531_770, 0).saturating_mul(c.into())) + // Standard Error: 440_066 + .saturating_add(Weight::from_parts(17_696_788, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_collective.rs b/runtime/altair/src/weights/pallet_collective.rs index 91bcd368aa..6bf7955d73 100644 --- a/runtime/altair/src/weights/pallet_collective.rs +++ b/runtime/altair/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -46,14 +46,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 22_862_000 picoseconds. - Weight::from_parts(23_243_000, 0) + // Estimated: `15762 + m * (1967 ±24) + p * (4332 ±24)` + // Minimum execution time: 22_632_000 picoseconds. + Weight::from_parts(22_943_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 62_985 - .saturating_add(Weight::from_parts(4_744_577, 0).saturating_mul(m.into())) - // Standard Error: 62_985 - .saturating_add(Weight::from_parts(8_773_833, 0).saturating_mul(p.into())) + // Standard Error: 62_082 + .saturating_add(Weight::from_parts(4_739_522, 0).saturating_mul(m.into())) + // Standard Error: 62_082 + .saturating_add(Weight::from_parts(8_691_516, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 23_374_000 picoseconds. - Weight::from_parts(22_329_529, 0) + // Minimum execution time: 23_564_000 picoseconds. + Weight::from_parts(22_084_327, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 41 - .saturating_add(Weight::from_parts(1_786, 0).saturating_mul(b.into())) - // Standard Error: 432 - .saturating_add(Weight::from_parts(18_712, 0).saturating_mul(m.into())) + // Standard Error: 49 + .saturating_add(Weight::from_parts(2_131, 0).saturating_mul(b.into())) + // Standard Error: 506 + .saturating_add(Weight::from_parts(20_334, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 27_131_000 picoseconds. - Weight::from_parts(25_618_743, 0) + // Minimum execution time: 27_571_000 picoseconds. + Weight::from_parts(25_346_668, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 56 - .saturating_add(Weight::from_parts(2_367, 0).saturating_mul(b.into())) - // Standard Error: 584 - .saturating_add(Weight::from_parts(35_011, 0).saturating_mul(m.into())) + // Standard Error: 104 + .saturating_add(Weight::from_parts(2_955, 0).saturating_mul(b.into())) + // Standard Error: 1_072 + .saturating_add(Weight::from_parts(35_436, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 37_099_000 picoseconds. - Weight::from_parts(33_742_160, 0) + // Minimum execution time: 35_916_000 picoseconds. + Weight::from_parts(36_451_343, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 99 - .saturating_add(Weight::from_parts(3_693, 0).saturating_mul(b.into())) - // Standard Error: 1_040 - .saturating_add(Weight::from_parts(33_553, 0).saturating_mul(m.into())) - // Standard Error: 1_027 - .saturating_add(Weight::from_parts(248_100, 0).saturating_mul(p.into())) + // Standard Error: 149 + .saturating_add(Weight::from_parts(2_088, 0).saturating_mul(b.into())) + // Standard Error: 1_560 + .saturating_add(Weight::from_parts(24_913, 0).saturating_mul(m.into())) + // Standard Error: 1_541 + .saturating_add(Weight::from_parts(248_734, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 30_658_000 picoseconds. - Weight::from_parts(31_501_318, 0) + // Minimum execution time: 30_487_000 picoseconds. + Weight::from_parts(31_186_724, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 1_499 - .saturating_add(Weight::from_parts(51_420, 0).saturating_mul(m.into())) + // Standard Error: 901 + .saturating_add(Weight::from_parts(47_639, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 38_913_000 picoseconds. - Weight::from_parts(37_484_472, 0) + // Minimum execution time: 39_053_000 picoseconds. + Weight::from_parts(37_916_630, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 1_003 - .saturating_add(Weight::from_parts(42_410, 0).saturating_mul(m.into())) - // Standard Error: 978 - .saturating_add(Weight::from_parts(242_468, 0).saturating_mul(p.into())) + // Standard Error: 1_015 + .saturating_add(Weight::from_parts(41_963, 0).saturating_mul(m.into())) + // Standard Error: 990 + .saturating_add(Weight::from_parts(238_197, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 56_657_000 picoseconds. - Weight::from_parts(57_185_987, 0) + // Minimum execution time: 56_205_000 picoseconds. + Weight::from_parts(57_901_173, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 198 - .saturating_add(Weight::from_parts(1_914, 0).saturating_mul(b.into())) - // Standard Error: 2_098 - .saturating_add(Weight::from_parts(13_157, 0).saturating_mul(m.into())) - // Standard Error: 2_045 - .saturating_add(Weight::from_parts(286_092, 0).saturating_mul(p.into())) + // Standard Error: 207 + .saturating_add(Weight::from_parts(2_111, 0).saturating_mul(b.into())) + // Standard Error: 2_195 + .saturating_add(Weight::from_parts(3_399, 0).saturating_mul(m.into())) + // Standard Error: 2_140 + .saturating_add(Weight::from_parts(282_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 43_241_000 picoseconds. - Weight::from_parts(41_025_244, 0) + // Minimum execution time: 43_211_000 picoseconds. + Weight::from_parts(41_189_289, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 975 - .saturating_add(Weight::from_parts(46_148, 0).saturating_mul(m.into())) - // Standard Error: 951 - .saturating_add(Weight::from_parts(242_687, 0).saturating_mul(p.into())) + // Standard Error: 1_317 + .saturating_add(Weight::from_parts(45_314, 0).saturating_mul(m.into())) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(246_712, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 60_313_000 picoseconds. - Weight::from_parts(59_770_901, 0) + // Minimum execution time: 59_491_000 picoseconds. + Weight::from_parts(59_825_088, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 141 - .saturating_add(Weight::from_parts(1_805, 0).saturating_mul(b.into())) - // Standard Error: 1_490 - .saturating_add(Weight::from_parts(43_360, 0).saturating_mul(m.into())) - // Standard Error: 1_453 - .saturating_add(Weight::from_parts(282_453, 0).saturating_mul(p.into())) + // Standard Error: 149 + .saturating_add(Weight::from_parts(2_574, 0).saturating_mul(b.into())) + // Standard Error: 1_578 + .saturating_add(Weight::from_parts(39_976, 0).saturating_mul(m.into())) + // Standard Error: 1_538 + .saturating_add(Weight::from_parts(275_431, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_663_000 picoseconds. - Weight::from_parts(23_752_988, 0) + // Minimum execution time: 22_131_000 picoseconds. + Weight::from_parts(23_547_927, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 683 - .saturating_add(Weight::from_parts(227_706, 0).saturating_mul(p.into())) + // Standard Error: 961 + .saturating_add(Weight::from_parts(224_637, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/altair/src/weights/pallet_crowdloan_claim.rs b/runtime/altair/src/weights/pallet_crowdloan_claim.rs index f85dec4b03..fc2134043b 100644 --- a/runtime/altair/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/altair/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -58,10 +58,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_ed25519() -> Weight { // Proof Size summary in bytes: - // Measured: `606` + // Measured: `639` // Estimated: `6196` - // Minimum execution time: 257_763_000 picoseconds. - Weight::from_parts(259_697_000, 0) + // Minimum execution time: 258_603_000 picoseconds. + Weight::from_parts(262_099_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -92,10 +92,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_sr25519() -> Weight { // Proof Size summary in bytes: - // Measured: `762` + // Measured: `795` // Estimated: `6196` - // Minimum execution time: 260_048_000 picoseconds. - Weight::from_parts(263_404_000, 0) + // Minimum execution time: 262_250_000 picoseconds. + Weight::from_parts(264_855_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -126,10 +126,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_ecdsa() -> Weight { // Proof Size summary in bytes: - // Measured: `658` + // Measured: `691` // Estimated: `6196` - // Minimum execution time: 241_844_000 picoseconds. - Weight::from_parts(245_180_000, 0) + // Minimum execution time: 244_116_000 picoseconds. + Weight::from_parts(246_280_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 24_376_000 picoseconds. - Weight::from_parts(25_367_000, 0) + // Minimum execution time: 25_047_000 picoseconds. + Weight::from_parts(25_588_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_331_000 picoseconds. - Weight::from_parts(11_793_000, 0) + // Minimum execution time: 11_301_000 picoseconds. + Weight::from_parts(11_662_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_241_000 picoseconds. - Weight::from_parts(11_622_000, 0) + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(11_651_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_674_000 picoseconds. - Weight::from_parts(13_024_000, 0) + // Minimum execution time: 12_333_000 picoseconds. + Weight::from_parts(12_884_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_381_000 picoseconds. - Weight::from_parts(11_702_000, 0) + // Minimum execution time: 11_461_000 picoseconds. + Weight::from_parts(11_682_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -209,7 +209,7 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Measured: `0` // Estimated: `0` // Minimum execution time: 11_401_000 picoseconds. - Weight::from_parts(11_682_000, 0) + Weight::from_parts(11_662_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_crowdloan_reward.rs b/runtime/altair/src/weights/pallet_crowdloan_reward.rs index ce55dc36f3..cece9871af 100644 --- a/runtime/altair/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/altair/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_315_000 picoseconds. - Weight::from_parts(13_686_000, 0) + // Minimum execution time: 13_716_000 picoseconds. + Weight::from_parts(14_277_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_951_000 picoseconds. - Weight::from_parts(11_602_000, 0) + // Minimum execution time: 11_782_000 picoseconds. + Weight::from_parts(12_113_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_251_000 picoseconds. - Weight::from_parts(11_611_000, 0) + // Minimum execution time: 11_612_000 picoseconds. + Weight::from_parts(11_992_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_071_000 picoseconds. - Weight::from_parts(11_672_000, 0) + // Minimum execution time: 11_632_000 picoseconds. + Weight::from_parts(12_022_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_democracy.rs b/runtime/altair/src/weights/pallet_democracy.rs index 09a0b081bb..678e23038c 100644 --- a/runtime/altair/src/weights/pallet_democracy.rs +++ b/runtime/altair/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,10 +42,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4801` + // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 58_119_000 picoseconds. - Weight::from_parts(59_321_000, 0) + // Minimum execution time: 58_419_000 picoseconds. + Weight::from_parts(61_114_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -54,10 +54,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3556` + // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 51_817_000 picoseconds. - Weight::from_parts(53_691_000, 0) + // Minimum execution time: 52_207_000 picoseconds. + Weight::from_parts(53_901_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3433` + // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_635_000 picoseconds. - Weight::from_parts(68_369_000, 0) + // Minimum execution time: 66_113_000 picoseconds. + Weight::from_parts(68_718_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -90,10 +90,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3455` + // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 72_516_000 picoseconds. - Weight::from_parts(74_329_000, 0) + // Minimum execution time: 72_676_000 picoseconds. + Weight::from_parts(74_579_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,10 +106,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `333` // Estimated: `3666` - // Minimum execution time: 37_941_000 picoseconds. - Weight::from_parts(39_134_000, 0) + // Minimum execution time: 38_351_000 picoseconds. + Weight::from_parts(39_003_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,10 +130,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6282` + // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 148_428_000 picoseconds. - Weight::from_parts(150_783_000, 0) + // Minimum execution time: 148_978_000 picoseconds. + Weight::from_parts(151_513_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -144,10 +144,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3416` + // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 18_565_000 picoseconds. - Weight::from_parts(19_236_000, 0) + // Minimum execution time: 18_244_000 picoseconds. + Weight::from_parts(18_915_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_140_000 picoseconds. - Weight::from_parts(5_350_000, 0) + // Minimum execution time: 4_959_000 picoseconds. + Weight::from_parts(5_310_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_219_000 picoseconds. - Weight::from_parts(5_560_000, 0) + // Minimum execution time: 5_040_000 picoseconds. + Weight::from_parts(5_280_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -184,10 +184,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 39_033_000 picoseconds. - Weight::from_parts(39_465_000, 0) + // Minimum execution time: 39_634_000 picoseconds. + Weight::from_parts(40_205_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -200,10 +200,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3519` + // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 41_819_000 picoseconds. - Weight::from_parts(42_990_000, 0) + // Minimum execution time: 42_439_000 picoseconds. + Weight::from_parts(43_051_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -218,10 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `6193` + // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 121_748_000 picoseconds. - Weight::from_parts(123_591_000, 0) + // Minimum execution time: 122_889_000 picoseconds. + Weight::from_parts(124_803_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -232,10 +232,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `271` + // Measured: `238` // Estimated: `3518` - // Minimum execution time: 28_533_000 picoseconds. - Weight::from_parts(29_225_000, 0) + // Minimum execution time: 28_853_000 picoseconds. + Weight::from_parts(29_485_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -249,13 +249,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 9_919_000 picoseconds. - Weight::from_parts(12_518_458, 0) + // Minimum execution time: 10_049_000 picoseconds. + Weight::from_parts(13_517_271, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 6_845 - .saturating_add(Weight::from_parts(4_137_260, 0).saturating_mul(r.into())) + // Standard Error: 5_035 + .saturating_add(Weight::from_parts(4_070_284, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -276,13 +276,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_838_000 picoseconds. - Weight::from_parts(17_174_806, 0) + // Minimum execution time: 14_908_000 picoseconds. + Weight::from_parts(18_208_256, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 6_417 - .saturating_add(Weight::from_parts(4_136_341, 0).saturating_mul(r.into())) + // Standard Error: 5_804 + .saturating_add(Weight::from_parts(4_082_645, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -299,13 +299,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (108 ±0)` + // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 55_555_000 picoseconds. - Weight::from_parts(61_027_404, 0) + // Minimum execution time: 56_275_000 picoseconds. + Weight::from_parts(63_373_708, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_631 - .saturating_add(Weight::from_parts(5_098_351, 0).saturating_mul(r.into())) + // Standard Error: 6_499 + .saturating_add(Weight::from_parts(5_172_759, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -319,13 +319,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + r * (108 ±0)` + // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_814_000 picoseconds. - Weight::from_parts(27_991_730, 0) + // Minimum execution time: 28_323_000 picoseconds. + Weight::from_parts(29_550_866, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 5_773 - .saturating_add(Weight::from_parts(5_063_537, 0).saturating_mul(r.into())) + // Standard Error: 6_284 + .saturating_add(Weight::from_parts(5_136_337, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_190_000, 0) + // Minimum execution time: 5_010_000 picoseconds. + Weight::from_parts(5_260_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -354,13 +354,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `525` + // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_683_000 picoseconds. - Weight::from_parts(51_371_710, 0) + // Minimum execution time: 33_943_000 picoseconds. + Weight::from_parts(52_244_125, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_004 - .saturating_add(Weight::from_parts(75_059, 0).saturating_mul(r.into())) + // Standard Error: 4_191 + .saturating_add(Weight::from_parts(69_405, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -375,13 +375,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `526 + r * (22 ±0)` + // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_589_000 picoseconds. - Weight::from_parts(49_270_659, 0) + // Minimum execution time: 47_909_000 picoseconds. + Weight::from_parts(50_333_181, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(89_701, 0).saturating_mul(r.into())) + // Standard Error: 1_515 + .saturating_add(Weight::from_parts(87_706, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,13 +392,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_330_000 picoseconds. - Weight::from_parts(24_316_996, 0) + // Minimum execution time: 20_950_000 picoseconds. + Weight::from_parts(24_010_403, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_266 - .saturating_add(Weight::from_parts(91_796, 0).saturating_mul(r.into())) + // Standard Error: 1_347 + .saturating_add(Weight::from_parts(94_265, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -409,13 +409,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_471_000 picoseconds. - Weight::from_parts(24_820_754, 0) + // Minimum execution time: 21_430_000 picoseconds. + Weight::from_parts(24_439_550, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(88_304, 0).saturating_mul(r.into())) + // Standard Error: 1_282 + .saturating_add(Weight::from_parts(91_206, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -427,10 +427,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `390` + // Measured: `357` // Estimated: `3556` - // Minimum execution time: 26_389_000 picoseconds. - Weight::from_parts(26_981_000, 0) + // Minimum execution time: 26_168_000 picoseconds. + Weight::from_parts(27_040_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -441,10 +441,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_885_000 picoseconds. - Weight::from_parts(24_666_000, 0) + // Minimum execution time: 23_904_000 picoseconds. + Weight::from_parts(24_526_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -457,10 +457,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4922` + // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 55_664_000 picoseconds. - Weight::from_parts(56_516_000, 0) + // Minimum execution time: 54_291_000 picoseconds. + Weight::from_parts(55_334_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -471,10 +471,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4822` + // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 51_717_000 picoseconds. - Weight::from_parts(52_649_000, 0) + // Minimum execution time: 50_724_000 picoseconds. + Weight::from_parts(52_669_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(22_031_000, 0) + // Minimum execution time: 21_540_000 picoseconds. + Weight::from_parts(22_001_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -499,10 +499,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `302` + // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_319_000 picoseconds. - Weight::from_parts(27_351_000, 0) + // Minimum execution time: 26_700_000 picoseconds. + Weight::from_parts(27_592_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_elections_phragmen.rs b/runtime/altair/src/weights/pallet_elections_phragmen.rs index c21778359b..09d236ab15 100644 --- a/runtime/altair/src/weights/pallet_elections_phragmen.rs +++ b/runtime/altair/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + v * (80 ±0)` + // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 43_311_000 picoseconds. - Weight::from_parts(43_610_847, 0) + // Minimum execution time: 42_880_000 picoseconds. + Weight::from_parts(44_335_425, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_974 - .saturating_add(Weight::from_parts(716_418, 0).saturating_mul(v.into())) + // Standard Error: 11_100 + .saturating_add(Weight::from_parts(110_463, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -73,13 +73,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `399 + v * (80 ±0)` + // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_716_000 picoseconds. - Weight::from_parts(64_838_953, 0) + // Minimum execution time: 61_185_000 picoseconds. + Weight::from_parts(62_561_326, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 42_104 - .saturating_add(Weight::from_parts(176_128, 0).saturating_mul(v.into())) + // Standard Error: 15_990 + .saturating_add(Weight::from_parts(122_911, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -99,11 +99,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + v * (80 ±0)` + // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_645_000 picoseconds. - Weight::from_parts(66_675_573, 0) + // Minimum execution time: 61_104_000 picoseconds. + Weight::from_parts(62_248_281, 0) .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 16_823 + .saturating_add(Weight::from_parts(194_270, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -116,10 +118,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `601` + // Measured: `568` // Estimated: `4764` - // Minimum execution time: 64_932_000 picoseconds. - Weight::from_parts(65_823_000, 0) + // Minimum execution time: 64_280_000 picoseconds. + Weight::from_parts(64_961_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -133,13 +135,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508 + c * (48 ±0)` - // Estimated: `2993 + c * (48 ±0)` - // Minimum execution time: 46_707_000 picoseconds. - Weight::from_parts(48_140_995, 0) - .saturating_add(Weight::from_parts(0, 2993)) - // Standard Error: 2_436 - .saturating_add(Weight::from_parts(93_295, 0).saturating_mul(c.into())) + // Measured: `1475 + c * (48 ±0)` + // Estimated: `2960 + c * (48 ±0)` + // Minimum execution time: 46_096_000 picoseconds. + Weight::from_parts(47_421_484, 0) + .saturating_add(Weight::from_parts(0, 2960)) + // Standard Error: 3_299 + .saturating_add(Weight::from_parts(84_931, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -149,13 +151,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + c * (48 ±0)` - // Estimated: `1836 + c * (48 ±0)` - // Minimum execution time: 42_309_000 picoseconds. - Weight::from_parts(43_652_795, 0) - .saturating_add(Weight::from_parts(0, 1836)) - // Standard Error: 2_352 - .saturating_add(Weight::from_parts(89_204, 0).saturating_mul(c.into())) + // Measured: `318 + c * (48 ±0)` + // Estimated: `1803 + c * (48 ±0)` + // Minimum execution time: 41_838_000 picoseconds. + Weight::from_parts(43_191_759, 0) + .saturating_add(Weight::from_parts(0, 1803)) + // Standard Error: 2_606 + .saturating_add(Weight::from_parts(63_294, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -172,11 +174,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1688` - // Estimated: `3173` - // Minimum execution time: 60_474_000 picoseconds. - Weight::from_parts(61_626_000, 0) - .saturating_add(Weight::from_parts(0, 3173)) + // Measured: `1655` + // Estimated: `3140` + // Minimum execution time: 59_010_000 picoseconds. + Weight::from_parts(59_802_000, 0) + .saturating_add(Weight::from_parts(0, 3140)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -184,11 +186,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1056` - // Estimated: `2541` - // Minimum execution time: 43_922_000 picoseconds. - Weight::from_parts(44_403_000, 0) - .saturating_add(Weight::from_parts(0, 2541)) + // Measured: `1023` + // Estimated: `2508` + // Minimum execution time: 43_291_000 picoseconds. + Weight::from_parts(43_912_000, 0) + .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -216,10 +218,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1791` + // Measured: `1758` // Estimated: `6196` - // Minimum execution time: 91_291_000 picoseconds. - Weight::from_parts(92_383_000, 0) + // Minimum execution time: 90_538_000 picoseconds. + Weight::from_parts(91_501_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -244,11 +246,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1226 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_507_373_000 picoseconds. - Weight::from_parts(94_410_859, 0) + // Minimum execution time: 3_546_260_000 picoseconds. + Weight::from_parts(3_563_834_000, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 53_000 - .saturating_add(Weight::from_parts(69_345_483, 0).saturating_mul(v.into())) + // Standard Error: 282_378 + .saturating_add(Weight::from_parts(41_778_592, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -279,16 +281,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + e * (23 ±0) + v * (241 ±0)` - // Estimated: `9384 + c * (154 ±3) + e * (19 ±0) + v * (2526 ±2)` - // Minimum execution time: 308_779_000 picoseconds. - Weight::from_parts(310_843_000, 0) - .saturating_add(Weight::from_parts(0, 9384)) - // Standard Error: 642_635 - .saturating_add(Weight::from_parts(2_296_398, 0).saturating_mul(c.into())) - // Standard Error: 127_837 - .saturating_add(Weight::from_parts(7_466_307, 0).saturating_mul(v.into())) - // Standard Error: 27_762 - .saturating_add(Weight::from_parts(169_642, 0).saturating_mul(e.into())) + // Estimated: `9351 + c * (154 ±35) + e * (19 ±0) + v * (2526 ±2)` + // Minimum execution time: 312_173_000 picoseconds. + Weight::from_parts(313_886_000, 0) + .saturating_add(Weight::from_parts(0, 9351)) + // Standard Error: 683_000 + .saturating_add(Weight::from_parts(2_432_199, 0).saturating_mul(c.into())) + // Standard Error: 135_867 + .saturating_add(Weight::from_parts(7_641_196, 0).saturating_mul(v.into())) + // Standard Error: 29_505 + .saturating_add(Weight::from_parts(186_463, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/altair/src/weights/pallet_fees.rs b/runtime/altair/src/weights/pallet_fees.rs index 1afa58b95d..a8d02ceef7 100644 --- a/runtime/altair/src/weights/pallet_fees.rs +++ b/runtime/altair/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_353_000 picoseconds. - Weight::from_parts(12_824_000, 0) + // Minimum execution time: 11_863_000 picoseconds. + Weight::from_parts(12_243_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_identity.rs b/runtime/altair/src/weights/pallet_identity.rs index 2d3eb2f374..4687808556 100644 --- a/runtime/altair/src/weights/pallet_identity.rs +++ b/runtime/altair/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_293_000 picoseconds. - Weight::from_parts(18_708_377, 0) + // Minimum execution time: 17_222_000 picoseconds. + Weight::from_parts(18_262_370, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_571 - .saturating_add(Weight::from_parts(97_118, 0).saturating_mul(r.into())) + // Standard Error: 2_268 + .saturating_add(Weight::from_parts(101_954, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 47_168_000 picoseconds. - Weight::from_parts(46_991_351, 0) + // Minimum execution time: 45_976_000 picoseconds. + Weight::from_parts(45_222_385, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 7_400 - .saturating_add(Weight::from_parts(78_769, 0).saturating_mul(r.into())) - // Standard Error: 1_444 - .saturating_add(Weight::from_parts(787_684, 0).saturating_mul(x.into())) + // Standard Error: 4_660 + .saturating_add(Weight::from_parts(109_611, 0).saturating_mul(r.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(760_628, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_415_000 picoseconds. - Weight::from_parts(33_675_180, 0) + // Minimum execution time: 13_035_000 picoseconds. + Weight::from_parts(34_324_276, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_185 - .saturating_add(Weight::from_parts(4_779_415, 0).saturating_mul(s.into())) + // Standard Error: 6_069 + .saturating_add(Weight::from_parts(4_691_057, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 12_934_000 picoseconds. - Weight::from_parts(33_813_890, 0) + // Minimum execution time: 13_345_000 picoseconds. + Weight::from_parts(32_645_425, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_725 - .saturating_add(Weight::from_parts(1_891_791, 0).saturating_mul(p.into())) + // Standard Error: 4_452 + .saturating_add(Weight::from_parts(1_871_182, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 88_106_000 picoseconds. - Weight::from_parts(44_750_562, 0) + // Minimum execution time: 85_560_000 picoseconds. + Weight::from_parts(44_337_341, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 8_073 - .saturating_add(Weight::from_parts(205_073, 0).saturating_mul(r.into())) - // Standard Error: 1_576 - .saturating_add(Weight::from_parts(1_891_356, 0).saturating_mul(s.into())) - // Standard Error: 1_576 - .saturating_add(Weight::from_parts(434_065, 0).saturating_mul(x.into())) + // Standard Error: 9_376 + .saturating_add(Weight::from_parts(125_303, 0).saturating_mul(r.into())) + // Standard Error: 1_831 + .saturating_add(Weight::from_parts(1_851_480, 0).saturating_mul(s.into())) + // Standard Error: 1_831 + .saturating_add(Weight::from_parts(433_243, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 47_559_000 picoseconds. - Weight::from_parts(45_167_304, 0) + // Minimum execution time: 46_026_000 picoseconds. + Weight::from_parts(44_773_472, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 7_655 - .saturating_add(Weight::from_parts(151_439, 0).saturating_mul(r.into())) - // Standard Error: 1_493 - .saturating_add(Weight::from_parts(849_430, 0).saturating_mul(x.into())) + // Standard Error: 6_018 + .saturating_add(Weight::from_parts(125_658, 0).saturating_mul(r.into())) + // Standard Error: 1_174 + .saturating_add(Weight::from_parts(796_126, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 43_030_000 picoseconds. - Weight::from_parts(41_733_126, 0) + // Minimum execution time: 42_109_000 picoseconds. + Weight::from_parts(41_354_699, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_093 - .saturating_add(Weight::from_parts(123_753, 0).saturating_mul(r.into())) - // Standard Error: 993 - .saturating_add(Weight::from_parts(828_090, 0).saturating_mul(x.into())) + // Standard Error: 5_653 + .saturating_add(Weight::from_parts(81_780, 0).saturating_mul(r.into())) + // Standard Error: 1_103 + .saturating_add(Weight::from_parts(795_688, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_270_000 picoseconds. - Weight::from_parts(11_058_450, 0) + // Minimum execution time: 10_479_000 picoseconds. + Weight::from_parts(11_267_415, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_448 - .saturating_add(Weight::from_parts(87_839, 0).saturating_mul(r.into())) + // Standard Error: 1_847 + .saturating_add(Weight::from_parts(80_737, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_049_000 picoseconds. - Weight::from_parts(10_412_677, 0) + // Minimum execution time: 10_309_000 picoseconds. + Weight::from_parts(10_657_030, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_129 - .saturating_add(Weight::from_parts(74_649, 0).saturating_mul(r.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(69_053, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_959_000 picoseconds. - Weight::from_parts(10_307_610, 0) + // Minimum execution time: 9_879_000 picoseconds. + Weight::from_parts(10_169_035, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 994 - .saturating_add(Weight::from_parts(68_385, 0).saturating_mul(r.into())) + // Standard Error: 755 + .saturating_add(Weight::from_parts(74_088, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 32_832_000 picoseconds. - Weight::from_parts(32_044_361, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(30_738_392, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 7_638 - .saturating_add(Weight::from_parts(119_817, 0).saturating_mul(r.into())) - // Standard Error: 1_413 - .saturating_add(Weight::from_parts(1_292_723, 0).saturating_mul(x.into())) + // Standard Error: 6_630 + .saturating_add(Weight::from_parts(117_196, 0).saturating_mul(r.into())) + // Standard Error: 1_226 + .saturating_add(Weight::from_parts(1_244_886, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -251,15 +251,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `797 + r * (15 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 117_009_000 picoseconds. - Weight::from_parts(69_526_440, 0) + // Minimum execution time: 112_120_000 picoseconds. + Weight::from_parts(69_223_779, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 10_242 - .saturating_add(Weight::from_parts(298_356, 0).saturating_mul(r.into())) - // Standard Error: 2_000 - .saturating_add(Weight::from_parts(1_956_438, 0).saturating_mul(s.into())) - // Standard Error: 2_000 - .saturating_add(Weight::from_parts(453_091, 0).saturating_mul(x.into())) + // Standard Error: 9_575 + .saturating_add(Weight::from_parts(201_498, 0).saturating_mul(r.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(1_879_123, 0).saturating_mul(s.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(438_479, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -275,11 +275,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 43_722_000 picoseconds. - Weight::from_parts(48_459_274, 0) + // Minimum execution time: 41_187_000 picoseconds. + Weight::from_parts(46_717_899, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_145 - .saturating_add(Weight::from_parts(71_381, 0).saturating_mul(s.into())) + // Standard Error: 1_352 + .saturating_add(Weight::from_parts(70_294, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -292,11 +292,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 18_125_000 picoseconds. - Weight::from_parts(20_401_195, 0) + // Minimum execution time: 17_603_000 picoseconds. + Weight::from_parts(19_733_471, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 598 - .saturating_add(Weight::from_parts(24_474, 0).saturating_mul(s.into())) + // Standard Error: 568 + .saturating_add(Weight::from_parts(23_970, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -311,11 +311,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 47_278_000 picoseconds. - Weight::from_parts(50_036_991, 0) + // Minimum execution time: 45_315_000 picoseconds. + Weight::from_parts(48_617_347, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 863 - .saturating_add(Weight::from_parts(63_873, 0).saturating_mul(s.into())) + // Standard Error: 932 + .saturating_add(Weight::from_parts(58_477, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +330,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 35_386_000 picoseconds. - Weight::from_parts(37_194_161, 0) + // Minimum execution time: 34_043_000 picoseconds. + Weight::from_parts(36_065_633, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 661 - .saturating_add(Weight::from_parts(60_790, 0).saturating_mul(s.into())) + // Standard Error: 888 + .saturating_add(Weight::from_parts(66_065, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/altair/src/weights/pallet_interest_accrual.rs b/runtime/altair/src/weights/pallet_interest_accrual.rs index cffdf0d923..aebe9b784e 100644 --- a/runtime/altair/src/weights/pallet_interest_accrual.rs +++ b/runtime/altair/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 691_000 picoseconds. - Weight::from_parts(153_055, 0) + // Minimum execution time: 752_000 picoseconds. + Weight::from_parts(222_073, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 391 - .saturating_add(Weight::from_parts(603_613, 0).saturating_mul(n.into())) + // Standard Error: 230 + .saturating_add(Weight::from_parts(609_183, 0).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_investments.rs b/runtime/altair/src/weights/pallet_investments.rs index f01112581d..ff03f6c7b0 100644 --- a/runtime/altair/src/weights/pallet_investments.rs +++ b/runtime/altair/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2122` // Estimated: `6198` - // Minimum execution time: 100_227_000 picoseconds. - Weight::from_parts(101_310_000, 0) + // Minimum execution time: 98_664_000 picoseconds. + Weight::from_parts(100_347_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2018` // Estimated: `6198` - // Minimum execution time: 99_896_000 picoseconds. - Weight::from_parts(101_139_000, 0) + // Minimum execution time: 98_023_000 picoseconds. + Weight::from_parts(99_757_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -98,21 +98,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments InvestmentState (r:1 w:0) - /// Proof: ForeignInvestments InvestmentState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2358 + n * (44 ±0)` + // Measured: `2392 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 113_412_000 picoseconds. - Weight::from_parts(109_253_017, 0) + // Minimum execution time: 111_208_000 picoseconds. + Weight::from_parts(107_237_632, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 25_573 - .saturating_add(Weight::from_parts(5_124_247, 0).saturating_mul(n.into())) + // Standard Error: 31_193 + .saturating_add(Weight::from_parts(5_074_896, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:0) @@ -129,21 +129,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments RedemptionState (r:1 w:0) - /// Proof: ForeignInvestments RedemptionState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2395 + n * (44 ±0)` + // Measured: `2429 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 111_399_000 picoseconds. - Weight::from_parts(107_538_629, 0) + // Minimum execution time: 108_853_000 picoseconds. + Weight::from_parts(105_043_278, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 19_959 - .saturating_add(Weight::from_parts(5_120_124, 0).saturating_mul(n.into())) + // Standard Error: 23_021 + .saturating_add(Weight::from_parts(5_045_104, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_keystore.rs b/runtime/altair/src/weights/pallet_keystore.rs index f5877feaf4..38d3127099 100644 --- a/runtime/altair/src/weights/pallet_keystore.rs +++ b/runtime/altair/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 44_343_000 picoseconds. - Weight::from_parts(19_047_440, 0) + // Minimum execution time: 45_525_000 picoseconds. + Weight::from_parts(19_498_368, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 11_344 - .saturating_add(Weight::from_parts(26_918_772, 0).saturating_mul(n.into())) + // Standard Error: 9_798 + .saturating_add(Weight::from_parts(27_482_748, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 21_451_000 picoseconds. - Weight::from_parts(10_031_228, 0) + // Minimum execution time: 22_131_000 picoseconds. + Weight::from_parts(10_374_711, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 13_260 - .saturating_add(Weight::from_parts(12_965_191, 0).saturating_mul(n.into())) + // Standard Error: 12_701 + .saturating_add(Weight::from_parts(13_147_071, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_322_000 picoseconds. - Weight::from_parts(11_852_000, 0) + // Minimum execution time: 11_141_000 picoseconds. + Weight::from_parts(11_672_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_liquidity_rewards.rs b/runtime/altair/src/weights/pallet_liquidity_rewards.rs index 5b08813b86..e2ee7b9015 100644 --- a/runtime/altair/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/altair/src/weights/pallet_liquidity_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -39,19 +39,17 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// The range of component `x` is `[0, 20]`. /// The range of component `y` is `[0, 50]`. /// The range of component `z` is `[0, 50]`. - fn on_initialize(x: u32, y: u32, z: u32, ) -> Weight { + fn on_initialize(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295` // Estimated: `1493` - // Minimum execution time: 9_128_000 picoseconds. - Weight::from_parts(9_477_856, 0) + // Minimum execution time: 9_017_000 picoseconds. + Weight::from_parts(9_505_613, 0) .saturating_add(Weight::from_parts(0, 1493)) - // Standard Error: 784 - .saturating_add(Weight::from_parts(5_659, 0).saturating_mul(x.into())) - // Standard Error: 321 - .saturating_add(Weight::from_parts(1_649, 0).saturating_mul(y.into())) - // Standard Error: 321 - .saturating_add(Weight::from_parts(10_543, 0).saturating_mul(z.into())) + // Standard Error: 592 + .saturating_add(Weight::from_parts(653, 0).saturating_mul(x.into())) + // Standard Error: 242 + .saturating_add(Weight::from_parts(9_507, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: LiquidityRewardsBase Currency (r:1 w:1) @@ -68,8 +66,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `539` // Estimated: `4328` - // Minimum execution time: 40_245_000 picoseconds. - Weight::from_parts(41_858_000, 0) + // Minimum execution time: 39_524_000 picoseconds. + Weight::from_parts(40_296_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -84,8 +82,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 27_521_000 picoseconds. - Weight::from_parts(28_262_000, 0) + // Minimum execution time: 27_091_000 picoseconds. + Weight::from_parts(27_852_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +100,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 57_097_000 picoseconds. - Weight::from_parts(57_999_000, 0) + // Minimum execution time: 55_834_000 picoseconds. + Weight::from_parts(56_726_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -112,10 +110,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_distributed_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_666_000 picoseconds. - Weight::from_parts(9_037_000, 0) + // Minimum execution time: 8_687_000 picoseconds. + Weight::from_parts(9_087_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -124,10 +122,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_epoch_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_506_000 picoseconds. - Weight::from_parts(9_188_000, 0) + // Minimum execution time: 8_776_000 picoseconds. + Weight::from_parts(8_987_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,10 +134,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_group_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_107_000 picoseconds. - Weight::from_parts(9_438_000, 0) + // Minimum execution time: 8_997_000 picoseconds. + Weight::from_parts(9_238_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,10 +146,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_currency_group() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_107_000 picoseconds. - Weight::from_parts(12_904_000, 0) + // Minimum execution time: 9_217_000 picoseconds. + Weight::from_parts(9_538_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_loans.rs b/runtime/altair/src/weights/pallet_loans.rs index 613149733f..a8f6f84489 100644 --- a/runtime/altair/src/weights/pallet_loans.rs +++ b/runtime/altair/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -45,23 +45,23 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans LastLoanId (r:1 w:1) /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1196` + // Measured: `1195` // Estimated: `4278` - // Minimum execution time: 83_537_000 picoseconds. - Weight::from_parts(84_167_000, 0) + // Minimum execution time: 80_781_000 picoseconds. + Weight::from_parts(82_094_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -71,7 +71,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) @@ -84,12 +84,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `13046 + n * (340 ±0)` - // Estimated: `101291 + n * (340 ±0)` - // Minimum execution time: 192_330_000 picoseconds. - Weight::from_parts(196_048_493, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 23_666 - .saturating_add(Weight::from_parts(773_616, 0).saturating_mul(n.into())) + // Estimated: `115091 + n * (340 ±0)` + // Minimum execution time: 183_092_000 picoseconds. + Weight::from_parts(187_007_372, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 22_869 + .saturating_add(Weight::from_parts(565_198, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -97,7 +97,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -116,12 +116,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `13199 + n * (340 ±0)` - // Estimated: `101291 + n * (340 ±0)` - // Minimum execution time: 167_504_000 picoseconds. - Weight::from_parts(170_514_539, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 18_046 - .saturating_add(Weight::from_parts(571_046, 0).saturating_mul(n.into())) + // Estimated: `115091 + n * (340 ±0)` + // Minimum execution time: 159_899_000 picoseconds. + Weight::from_parts(161_791_860, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 19_241 + .saturating_add(Weight::from_parts(710_874, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -129,7 +129,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -142,12 +142,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15906 + n * (340 ±0)` - // Estimated: `101291` - // Minimum execution time: 259_507_000 picoseconds. - Weight::from_parts(263_279_069, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 22_186 - .saturating_add(Weight::from_parts(733_536, 0).saturating_mul(n.into())) + // Estimated: `115091` + // Minimum execution time: 249_296_000 picoseconds. + Weight::from_parts(255_236_620, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 42_964 + .saturating_add(Weight::from_parts(364_111, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,7 +156,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -169,44 +169,44 @@ impl pallet_loans::WeightInfo for WeightInfo { fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `16157 + n * (340 ±0)` - // Estimated: `101291` - // Minimum execution time: 274_774_000 picoseconds. - Weight::from_parts(280_686_651, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 25_836 - .saturating_add(Weight::from_parts(630_561, 0).saturating_mul(n.into())) + // Estimated: `115091` + // Minimum execution time: 267_920_000 picoseconds. + Weight::from_parts(271_975_826, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 31_380 + .saturating_add(Weight::from_parts(566_396, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `938 + n * (316 ±0)` - // Estimated: `101291` - // Minimum execution time: 47_289_000 picoseconds. - Weight::from_parts(48_738_445, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 11_107 - .saturating_add(Weight::from_parts(459_257, 0).saturating_mul(n.into())) + // Estimated: `115091` + // Minimum execution time: 43_882_000 picoseconds. + Weight::from_parts(44_577_524, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 5_933 + .saturating_add(Weight::from_parts(571_089, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -216,20 +216,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12243 + n * (340 ±0)` - // Estimated: `101291` - // Minimum execution time: 94_126_000 picoseconds. - Weight::from_parts(96_466_083, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 15_592 - .saturating_add(Weight::from_parts(579_892, 0).saturating_mul(n.into())) + // Measured: `12242 + n * (340 ±0)` + // Estimated: `115091` + // Minimum execution time: 88_976_000 picoseconds. + Weight::from_parts(89_968_234, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 10_038 + .saturating_add(Weight::from_parts(633_860, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -239,7 +239,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Uniques Asset (r:1 w:1) /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(264), added: 2739, mode: MaxEncodedLen) + /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) @@ -247,13 +247,13 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12069 + n * (373 ±0)` - // Estimated: `101291` - // Minimum execution time: 103_524_000 picoseconds. - Weight::from_parts(106_067_643, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 13_218 - .saturating_add(Weight::from_parts(686_571, 0).saturating_mul(n.into())) + // Measured: `12102 + n * (373 ±0)` + // Estimated: `115091` + // Minimum execution time: 98_454_000 picoseconds. + Weight::from_parts(100_170_475, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 12_592 + .saturating_add(Weight::from_parts(738_040, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,30 +264,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `512` + // Measured: `478` // Estimated: `4278` - // Minimum execution time: 105_848_000 picoseconds. - Weight::from_parts(106_509_000, 0) + // Minimum execution time: 102_100_000 picoseconds. + Weight::from_parts(103_984_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `4887` - // Estimated: `8649` - // Minimum execution time: 113_994_000 picoseconds. - Weight::from_parts(116_558_000, 0) - .saturating_add(Weight::from_parts(0, 8649)) + // Measured: `4854` + // Estimated: `9601` + // Minimum execution time: 113_452_000 picoseconds. + Weight::from_parts(115_064_000, 0) + .saturating_add(Weight::from_parts(0, 9601)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,10 +295,12 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) - /// Storage: PriceCollector Collection (r:1 w:0) - /// Proof: PriceCollector Collection (max_values: None, max_size: Some(11126), added: 13601, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:1 w:0) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:0 w:1) @@ -306,20 +308,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `11696 + n * (316 ±0)` - // Estimated: `101291` - // Minimum execution time: 78_487_000 picoseconds. - Weight::from_parts(71_413_633, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 13_011 - .saturating_add(Weight::from_parts(9_365_622, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `11791 + n * (353 ±0)` + // Estimated: `115091` + // Minimum execution time: 80_821_000 picoseconds. + Weight::from_parts(73_336_401, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 10_134 + .saturating_add(Weight::from_parts(9_816_446, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -327,30 +329,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `11909 + n * (340 ±0)` - // Estimated: `101291` - // Minimum execution time: 191_729_000 picoseconds. - Weight::from_parts(193_274_892, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 27_330 - .saturating_add(Weight::from_parts(1_223_402, 0).saturating_mul(n.into())) + // Estimated: `115091` + // Minimum execution time: 183_823_000 picoseconds. + Weight::from_parts(185_452_439, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 28_918 + .saturating_add(Weight::from_parts(1_126_373, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(97826), added: 100301, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -358,23 +360,43 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `12571 + n * (340 ±0)` - // Estimated: `101291` - // Minimum execution time: 200_095_000 picoseconds. - Weight::from_parts(202_119_702, 0) - .saturating_add(Weight::from_parts(0, 101291)) - // Standard Error: 29_607 - .saturating_add(Weight::from_parts(1_227_309, 0).saturating_mul(n.into())) + // Measured: `12570 + n * (340 ±0)` + // Estimated: `115091` + // Minimum execution time: 192_009_000 picoseconds. + Weight::from_parts(194_589_072, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 25_719 + .saturating_add(Weight::from_parts(983_934, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - - fn increase_debt(_: u32) -> Weight { - // Pending to generate - Weight::zero() + /// Storage: Loans CreatedLoan (r:1 w:1) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: InterestAccrual Rates (r:1 w:1) + /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(10802), added: 11297, mode: MaxEncodedLen) + /// Storage: InterestAccrual LastUpdated (r:1 w:0) + /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans PortfolioValuation (r:1 w:1) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Storage: Loans ActiveLoans (r:1 w:1) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(111626), added: 114101, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 9]`. + fn increase_debt(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `11569 + n * (340 ±0)` + // Estimated: `115091` + // Minimum execution time: 114_634_000 picoseconds. + Weight::from_parts(117_574_773, 0) + .saturating_add(Weight::from_parts(0, 115091)) + // Standard Error: 14_137 + .saturating_add(Weight::from_parts(696_651, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/altair/src/weights/pallet_multisig.rs b/runtime/altair/src/weights/pallet_multisig.rs index 278fa49d5a..6d436b904e 100644 --- a/runtime/altair/src/weights/pallet_multisig.rs +++ b/runtime/altair/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_461_000 picoseconds. - Weight::from_parts(17_502_450, 0) + // Minimum execution time: 16_741_000 picoseconds. + Weight::from_parts(17_448_880, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(475, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(471, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -49,15 +49,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 55_785_000 picoseconds. - Weight::from_parts(48_802_932, 0) + // Minimum execution time: 55_213_000 picoseconds. + Weight::from_parts(49_310_081, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 728 - .saturating_add(Weight::from_parts(90_818, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(z.into())) + // Standard Error: 1_126 + .saturating_add(Weight::from_parts(81_924, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_500, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,15 +67,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 34_594_000 picoseconds. - Weight::from_parts(27_112_244, 0) + // Minimum execution time: 34_214_000 picoseconds. + Weight::from_parts(28_772_451, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_467 - .saturating_add(Weight::from_parts(92_120, 0).saturating_mul(s.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_576, 0).saturating_mul(z.into())) + // Standard Error: 636 + .saturating_add(Weight::from_parts(72_591, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,15 +87,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `489 + s * (33 ±0)` + // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 64_050_000 picoseconds. - Weight::from_parts(53_344_284, 0) + // Minimum execution time: 63_499_000 picoseconds. + Weight::from_parts(53_659_557, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(121_755, 0).saturating_mul(s.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_609, 0).saturating_mul(z.into())) + // Standard Error: 943 + .saturating_add(Weight::from_parts(113_737, 0).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_560, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,13 +104,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 45_204_000 picoseconds. - Weight::from_parts(47_033_157, 0) + // Minimum execution time: 45_655_000 picoseconds. + Weight::from_parts(47_157_099, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 776 - .saturating_add(Weight::from_parts(85_351, 0).saturating_mul(s.into())) + // Standard Error: 728 + .saturating_add(Weight::from_parts(80_363, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,13 +119,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 25_508_000 picoseconds. - Weight::from_parts(26_419_039, 0) + // Minimum execution time: 25_207_000 picoseconds. + Weight::from_parts(26_149_263, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 657 - .saturating_add(Weight::from_parts(74_609, 0).saturating_mul(s.into())) + // Standard Error: 1_749 + .saturating_add(Weight::from_parts(75_702, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,13 +134,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `553 + s * (1 ±0)` + // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 46_407_000 picoseconds. - Weight::from_parts(47_849_550, 0) + // Minimum execution time: 45_936_000 picoseconds. + Weight::from_parts(47_420_356, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 726 - .saturating_add(Weight::from_parts(81_751, 0).saturating_mul(s.into())) + // Standard Error: 1_089 + .saturating_add(Weight::from_parts(75_987, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_oracle_collection.rs b/runtime/altair/src/weights/pallet_oracle_collection.rs index c72b294d8f..21bf90d5a5 100644 --- a/runtime/altair/src/weights/pallet_oracle_collection.rs +++ b/runtime/altair/src/weights/pallet_oracle_collection.rs @@ -1,24 +1,109 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_collection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=altair-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_collection +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/altair/src/weights/pallet_oracle_collection.rs -use frame_support::weights::Weight; +#![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; +/// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - fn propose_update_collection_info(_: u32) -> Weight { - Weight::zero() + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn propose_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `222` + // Estimated: `3693` + // Minimum execution time: 28_363_000 picoseconds. + Weight::from_parts(27_830_005, 0) + .saturating_add(Weight::from_parts(0, 3693)) + // Standard Error: 5_582 + .saturating_add(Weight::from_parts(1_624_328, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn apply_update_collection_info(_: u32) -> Weight { - Weight::zero() - } - - fn update_collection(_: u32, _: u32) -> Weight { - Weight::zero() + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn apply_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `658 + n * (34 ±0)` + // Estimated: `9601` + // Minimum execution time: 35_096_000 picoseconds. + Weight::from_parts(34_582_246, 0) + .saturating_add(Weight::from_parts(0, 9601)) + // Standard Error: 6_355 + .saturating_add(Weight::from_parts(1_674_784, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - - fn set_collection_info() -> Weight { - Weight::zero() + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(22542), added: 25017, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + /// The range of component `m` is `[1, 10]`. + fn update_collection(n: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (607 ±0) + n * (663 ±0)` + // Estimated: `32850 + m * (9227 ±7) + n * (9227 ±7)` + // Minimum execution time: 245_178_000 picoseconds. + Weight::from_parts(247_392_000, 0) + .saturating_add(Weight::from_parts(0, 32850)) + // Standard Error: 3_127_409 + .saturating_add(Weight::from_parts(94_348_001, 0).saturating_mul(n.into())) + // Standard Error: 3_127_409 + .saturating_add(Weight::from_parts(57_593_710, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_oracle_feed.rs b/runtime/altair/src/weights/pallet_oracle_feed.rs index d099cf8d3d..89d1da9a8e 100644 --- a/runtime/altair/src/weights/pallet_oracle_feed.rs +++ b/runtime/altair/src/weights/pallet_oracle_feed.rs @@ -1,16 +1,65 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_feed` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=altair-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_feed +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/altair/src/weights/pallet_oracle_feed.rs -use frame_support::weights::Weight; +#![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; + +/// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_with_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `354` + // Estimated: `4176` + // Minimum execution time: 65_012_000 picoseconds. + Weight::from_parts(66_424_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } - + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_without_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `380` + // Estimated: `4176` + // Minimum execution time: 22_873_000 picoseconds. + Weight::from_parts(23_454_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/altair/src/weights/pallet_order_book.rs b/runtime/altair/src/weights/pallet_order_book.rs index f5746a38d9..019ee8823e 100644 --- a/runtime/altair/src/weights/pallet_order_book.rs +++ b/runtime/altair/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -32,96 +32,95 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8000070), added: 8002545, mode: MaxEncodedLen) /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) - fn create_order() -> Weight { + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `763` - // Estimated: `8003535` - // Minimum execution time: 74_690_000 picoseconds. - Weight::from_parts(76_263_000, 0) - .saturating_add(Weight::from_parts(0, 8003535)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `709` + // Estimated: `4174` + // Minimum execution time: 53_059_000 picoseconds. + Weight::from_parts(54_242_000, 0) + .saturating_add(Weight::from_parts(0, 4174)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:1 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1205` - // Estimated: `7145` - // Minimum execution time: 74_459_000 picoseconds. - Weight::from_parts(75_872_000, 0) - .saturating_add(Weight::from_parts(0, 7145)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `913` + // Estimated: `4378` + // Minimum execution time: 48_220_000 picoseconds. + Weight::from_parts(49_362_000, 0) + .saturating_add(Weight::from_parts(0, 4378)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8000070), added: 8002545, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `996` - // Estimated: `8003535` - // Minimum execution time: 61_856_000 picoseconds. - Weight::from_parts(63_399_000, 0) - .saturating_add(Weight::from_parts(0, 8003535)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `913` + // Estimated: `4378` + // Minimum execution time: 51_175_000 picoseconds. + Weight::from_parts(52_337_000, 0) + .saturating_add(Weight::from_parts(0, 4378)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8000070), added: 8002545, mode: MaxEncodedLen) + /// Storage: OrderBook MarketFeederId (r:1 w:0) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:1 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:0) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1350` - // Estimated: `8003535` - // Minimum execution time: 159_919_000 picoseconds. - Weight::from_parts(162_424_000, 0) - .saturating_add(Weight::from_parts(0, 8003535)) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `1665` + // Estimated: `11406` + // Minimum execution time: 167_212_000 picoseconds. + Weight::from_parts(169_547_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } + /// Storage: OrderBook MarketFeederId (r:0 w:1) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) fn set_market_feeder() -> Weight { - // Pending to be generated - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_864_000 picoseconds. + Weight::from_parts(13_205_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/altair/src/weights/pallet_permissions.rs b/runtime/altair/src/weights/pallet_permissions.rs index 959d92a88b..097ac8359e 100644 --- a/runtime/altair/src/weights/pallet_permissions.rs +++ b/runtime/altair/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_688_000 picoseconds. - Weight::from_parts(21_310_000, 0) + // Minimum execution time: 20_789_000 picoseconds. + Weight::from_parts(21_510_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 28_063_000 picoseconds. - Weight::from_parts(28_734_000, 0) + // Minimum execution time: 28_764_000 picoseconds. + Weight::from_parts(29_284_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 24_185_000 picoseconds. - Weight::from_parts(24_586_000, 0) + // Minimum execution time: 24_646_000 picoseconds. + Weight::from_parts(25_477_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_848_000 picoseconds. - Weight::from_parts(31_369_000, 0) + // Minimum execution time: 30_927_000 picoseconds. + Weight::from_parts(31_639_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_479_000 picoseconds. - Weight::from_parts(21_349_000, 0) + // Minimum execution time: 21_620_000 picoseconds. + Weight::from_parts(22_402_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_289_000 picoseconds. - Weight::from_parts(21_761_000, 0) + // Minimum execution time: 21_570_000 picoseconds. + Weight::from_parts(22_362_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_pool_fees.rs b/runtime/altair/src/weights/pallet_pool_fees.rs new file mode 100644 index 0000000000..b9e19fe40f --- /dev/null +++ b/runtime/altair/src/weights/pallet_pool_fees.rs @@ -0,0 +1,154 @@ + +//! Autogenerated weights for `pallet_pool_fees` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=altair-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_pool_fees +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/altair/src/weights/pallet_pool_fees.rs + +#![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; + +/// Weight functions for `pallet_pool_fees`. +pub struct WeightInfo(PhantomData); +impl pallet_pool_fees::WeightInfo for WeightInfo { + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + fn propose_new_fee() -> Weight { + // Proof Size summary in bytes: + // Measured: `548` + // Estimated: `4278` + // Minimum execution time: 42_239_000 picoseconds. + Weight::from_parts(42_760_000, 0) + .saturating_add(Weight::from_parts(0, 4278)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn apply_new_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1362 + n * (137 ±0)` + // Estimated: `17508` + // Minimum execution time: 54_341_000 picoseconds. + Weight::from_parts(54_987_622, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_107 + .saturating_add(Weight::from_parts(286_878, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn remove_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `676 + n * (136 ±0)` + // Estimated: `17508` + // Minimum execution time: 36_749_000 picoseconds. + Weight::from_parts(37_500_480, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 3_499 + .saturating_add(Weight::from_parts(415_630, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn charge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `762 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 26_921_000 picoseconds. + Weight::from_parts(26_483_196, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_137 + .saturating_add(Weight::from_parts(268_066, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn uncharge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `762 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 26_349_000 picoseconds. + Weight::from_parts(25_777_665, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_116 + .saturating_add(Weight::from_parts(267_809, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:0) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn update_portfolio_valuation(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `570 + n * (124 ±0)` + // Estimated: `17508` + // Minimum execution time: 47_629_000 picoseconds. + Weight::from_parts(41_924_608, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 6_451 + .saturating_add(Weight::from_parts(6_031_889, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/altair/src/weights/pallet_pool_registry.rs b/runtime/altair/src/weights/pallet_pool_registry.rs index c8a16f6710..4fd01f5d3a 100644 --- a/runtime/altair/src/weights/pallet_pool_registry.rs +++ b/runtime/altair/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -42,6 +42,14 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Permissions PermissionCount (r:1 w:1) /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) /// Storage: Permissions Permission (r:1 w:1) @@ -51,25 +59,29 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem PoolDeposit (r:0 w:1) /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn register(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `4278 + n * (2475 ±0)` - // Minimum execution time: 153_076_000 picoseconds. - Weight::from_parts(139_722_600, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 31_649 - .saturating_add(Weight::from_parts(16_757_764, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `441` + // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` + // Minimum execution time: 223_337_000 picoseconds. + Weight::from_parts(131_495_516, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 83_898 + .saturating_add(Weight::from_parts(27_174_874, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -79,15 +91,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_no_execution(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `754 + n * (133 ±0)` + // Measured: `753 + n * (133 ±0)` // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 49_713_000 picoseconds. - Weight::from_parts(48_543_350, 0) + // Minimum execution time: 52_799_000 picoseconds. + Weight::from_parts(48_069_949, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 13_399 - .saturating_add(Weight::from_parts(2_628_062, 0).saturating_mul(n.into())) + // Standard Error: 10_752 + .saturating_add(Weight::from_parts(2_776_332, 0).saturating_mul(n.into())) + // Standard Error: 490 + .saturating_add(Weight::from_parts(37_686, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,7 +111,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -108,15 +123,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_and_execute(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `814 + n * (167 ±0)` + // Measured: `817 + n * (167 ±0)` // Estimated: `6754 + n * (2531 ±0)` - // Minimum execution time: 85_219_000 picoseconds. - Weight::from_parts(79_812_532, 0) + // Minimum execution time: 90_127_000 picoseconds. + Weight::from_parts(77_643_323, 0) .saturating_add(Weight::from_parts(0, 6754)) - // Standard Error: 31_090 - .saturating_add(Weight::from_parts(8_735_586, 0).saturating_mul(n.into())) + // Standard Error: 35_193 + .saturating_add(Weight::from_parts(9_350_499, 0).saturating_mul(n.into())) + // Standard Error: 1_606 + .saturating_add(Weight::from_parts(67_674, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -125,7 +143,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -135,15 +153,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[1, 5]`. - fn execute_update(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + n * (194 ±0)` + // Measured: `805 + n * (194 ±0)` // Estimated: `6744 + n * (2531 ±0)` - // Minimum execution time: 73_247_000 picoseconds. - Weight::from_parts(66_482_931, 0) + // Minimum execution time: 77_745_000 picoseconds. + Weight::from_parts(67_024_743, 0) .saturating_add(Weight::from_parts(0, 6744)) - // Standard Error: 34_156 - .saturating_add(Weight::from_parts(9_335_105, 0).saturating_mul(n.into())) + // Standard Error: 27_176 + .saturating_add(Weight::from_parts(9_257_700, 0).saturating_mul(n.into())) + // Standard Error: 1_240 + .saturating_add(Weight::from_parts(39_933, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -154,15 +175,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolRegistry PoolMetadata (r:0 w:1) /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// The range of component `n` is `[0, 46]`. - fn set_metadata(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 22_392_000 picoseconds. - Weight::from_parts(23_635_046, 0) + // Minimum execution time: 23_073_000 picoseconds. + Weight::from_parts(23_462_709, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 699 - .saturating_add(Weight::from_parts(5_998, 0).saturating_mul(n.into())) + // Standard Error: 769 + .saturating_add(Weight::from_parts(18_264, 0).saturating_mul(n.into())) + // Standard Error: 357 + .saturating_add(Weight::from_parts(25_560, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_pool_system.rs b/runtime/altair/src/weights/pallet_pool_system.rs index ec6b2bab31..74cc24da1b 100644 --- a/runtime/altair/src/weights/pallet_pool_system.rs +++ b/runtime/altair/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -36,24 +36,33 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - fn set_max_reserve(_m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `625` + // Measured: `592` // Estimated: `4278` - // Minimum execution time: 29_095_000 picoseconds. - Weight::from_parts(29_775_000, 0) + // Minimum execution time: 29_285_000 picoseconds. + Weight::from_parts(30_146_839, 0) .saturating_add(Weight::from_parts(0, 4278)) + // Standard Error: 514 + .saturating_add(Weight::from_parts(29_995, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -75,29 +84,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_orders(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[1, 100]`. + fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `809 + n * (133 ±0)` - // Estimated: `10715 + n * (2604 ±0)` - // Minimum execution time: 125_565_000 picoseconds. - Weight::from_parts(50_272_206, 0) - .saturating_add(Weight::from_parts(0, 10715)) - // Standard Error: 35_615 - .saturating_add(Weight::from_parts(77_576_157, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `1014 + m * (124 ±0) + n * (133 ±0)` + // Estimated: `17508 + n * (2604 ±0)` + // Minimum execution time: 482_662_000 picoseconds. + Weight::from_parts(88_114_215, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 184_256 + .saturating_add(Weight::from_parts(78_426_116, 0).saturating_mul(n.into())) + // Standard Error: 8_509 + .saturating_add(Weight::from_parts(6_367_507, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -113,29 +131,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments RedeemOrderId (r:5 w:5) /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_execution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `975 + n * (133 ±0)` - // Estimated: `10715 + n * (2531 ±0)` - // Minimum execution time: 85_460_000 picoseconds. - Weight::from_parts(55_789_538, 0) - .saturating_add(Weight::from_parts(0, 10715)) - // Standard Error: 25_431 - .saturating_add(Weight::from_parts(31_692_289, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `1178 + m * (124 ±0) + n * (133 ±0)` + // Estimated: `17508 + n * (2531 ±0)` + // Minimum execution time: 245_338_000 picoseconds. + Weight::from_parts(91_702_181, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 150_638 + .saturating_add(Weight::from_parts(32_136_452, 0).saturating_mul(n.into())) + // Standard Error: 6_874 + .saturating_add(Weight::from_parts(6_155_665, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(7250), added: 9725, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:1) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -161,42 +188,53 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_execute(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1782 + n * (167 ±0)` - // Estimated: `10715 + n * (2604 ±0)` - // Minimum execution time: 240_992_000 picoseconds. - Weight::from_parts(165_972_851, 0) - .saturating_add(Weight::from_parts(0, 10715)) - // Standard Error: 76_253 - .saturating_add(Weight::from_parts(79_790_568, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `1989 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 606_302_000 picoseconds. + Weight::from_parts(221_680_359, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 377_157 + .saturating_add(Weight::from_parts(80_288_569, 0).saturating_mul(n.into())) + // Standard Error: 17_211 + .saturating_add(Weight::from_parts(6_155_422, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn submit_solution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `429 + n * (249 ±0)` - // Estimated: `4278` - // Minimum execution time: 31_169_000 picoseconds. - Weight::from_parts(31_324_661, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 8_199 - .saturating_add(Weight::from_parts(864_845, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `788 + m * (124 ±0) + n * (249 ±0)` + // Estimated: `17508` + // Minimum execution time: 42_780_000 picoseconds. + Weight::from_parts(37_816_291, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 37_847 + .saturating_add(Weight::from_parts(1_414_737, 0).saturating_mul(n.into())) + // Standard Error: 1_727 + .saturating_add(Weight::from_parts(198_164, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Investments InProcessingInvestOrders (r:5 w:5) /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:7 w:3) @@ -224,19 +262,23 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn execute_epoch(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1695 + n * (639 ±0)` - // Estimated: `7634 + n * (2604 ±0)` - // Minimum execution time: 205_124_000 picoseconds. - Weight::from_parts(149_751_986, 0) - .saturating_add(Weight::from_parts(0, 7634)) - // Standard Error: 70_092 - .saturating_add(Weight::from_parts(59_471_697, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `1944 + m * (124 ±0) + n * (633 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 252_091_000 picoseconds. + Weight::from_parts(155_828_596, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 116_609 + .saturating_add(Weight::from_parts(60_156_657, 0).saturating_mul(n.into())) + // Standard Error: 5_321 + .saturating_add(Weight::from_parts(421_139, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_preimage.rs b/runtime/altair/src/weights/pallet_preimage.rs index d6a2a68231..ade956b403 100644 --- a/runtime/altair/src/weights/pallet_preimage.rs +++ b/runtime/altair/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 43_071_000 picoseconds. - Weight::from_parts(10_799_831, 0) + // Minimum execution time: 43_120_000 picoseconds. + Weight::from_parts(555_330_695, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_632, 0).saturating_mul(s.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(2_004, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_845_000 picoseconds. - Weight::from_parts(4_891_959, 0) + // Minimum execution time: 23_644_000 picoseconds. + Weight::from_parts(35_225_056, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_638, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_619, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_143_000 picoseconds. - Weight::from_parts(15_528_663, 0) + // Minimum execution time: 22_432_000 picoseconds. + Weight::from_parts(16_229_201, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 8 - .saturating_add(Weight::from_parts(2_641, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_623, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 50_214_000 picoseconds. - Weight::from_parts(52_218_000, 0) + // Minimum execution time: 48_922_000 picoseconds. + Weight::from_parts(50_454_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 28_253_000 picoseconds. - Weight::from_parts(31_819_000, 0) + // Minimum execution time: 27_251_000 picoseconds. + Weight::from_parts(28_162_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 24_095_000 picoseconds. - Weight::from_parts(28_323_000, 0) + // Minimum execution time: 24_145_000 picoseconds. + Weight::from_parts(24_886_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 13_916_000 picoseconds. - Weight::from_parts(14_988_000, 0) + // Minimum execution time: 13_996_000 picoseconds. + Weight::from_parts(14_637_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 19_847_000 picoseconds. - Weight::from_parts(20_689_000, 0) + // Minimum execution time: 20_609_000 picoseconds. + Weight::from_parts(21_229_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_303_000 picoseconds. - Weight::from_parts(12_664_000, 0) + // Minimum execution time: 12_473_000 picoseconds. + Weight::from_parts(13_245_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_799_000 picoseconds. - Weight::from_parts(27_692_000, 0) + // Minimum execution time: 25_468_000 picoseconds. + Weight::from_parts(26_680_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_173_000 picoseconds. - Weight::from_parts(12_543_000, 0) + // Minimum execution time: 12_413_000 picoseconds. + Weight::from_parts(12_644_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_383_000 picoseconds. - Weight::from_parts(12_784_000, 0) + // Minimum execution time: 12_363_000 picoseconds. + Weight::from_parts(12_824_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/altair/src/weights/pallet_proxy.rs b/runtime/altair/src/weights/pallet_proxy.rs index 58341e1802..d0b210709c 100644 --- a/runtime/altair/src/weights/pallet_proxy.rs +++ b/runtime/altair/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,13 +37,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_232_000 picoseconds. - Weight::from_parts(23_309_292, 0) + // Minimum execution time: 22_262_000 picoseconds. + Weight::from_parts(23_012_905, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_113 - .saturating_add(Weight::from_parts(40_525, 0).saturating_mul(p.into())) + // Standard Error: 1_509 + .saturating_add(Weight::from_parts(42_298, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -56,15 +56,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `587 + a * (68 ±0) + p * (37 ±0)` + // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 52_769_000 picoseconds. - Weight::from_parts(52_888_376, 0) + // Minimum execution time: 51_726_000 picoseconds. + Weight::from_parts(52_356_690, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_220 - .saturating_add(Weight::from_parts(236_022, 0).saturating_mul(a.into())) - // Standard Error: 2_294 - .saturating_add(Weight::from_parts(33_363, 0).saturating_mul(p.into())) + // Standard Error: 2_520 + .saturating_add(Weight::from_parts(217_686, 0).saturating_mul(a.into())) + // Standard Error: 2_604 + .saturating_add(Weight::from_parts(27_763, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,13 +76,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_713_000 picoseconds. - Weight::from_parts(34_973_174, 0) + // Minimum execution time: 32_922_000 picoseconds. + Weight::from_parts(34_233_850, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_985 - .saturating_add(Weight::from_parts(235_493, 0).saturating_mul(a.into())) + // Standard Error: 2_048 + .saturating_add(Weight::from_parts(225_958, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,13 +94,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_734_000 picoseconds. - Weight::from_parts(35_050_894, 0) + // Minimum execution time: 33_292_000 picoseconds. + Weight::from_parts(34_524_051, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_983 - .saturating_add(Weight::from_parts(236_260, 0).saturating_mul(a.into())) + // Standard Error: 1_879 + .saturating_add(Weight::from_parts(219_747, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,15 +114,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + a * (68 ±0) + p * (37 ±0)` + // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 46_177_000 picoseconds. - Weight::from_parts(46_617_143, 0) + // Minimum execution time: 46_417_000 picoseconds. + Weight::from_parts(46_733_513, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_907 - .saturating_add(Weight::from_parts(240_821, 0).saturating_mul(a.into())) - // Standard Error: 1_970 - .saturating_add(Weight::from_parts(31_853, 0).saturating_mul(p.into())) + // Standard Error: 1_928 + .saturating_add(Weight::from_parts(212_012, 0).saturating_mul(a.into())) + // Standard Error: 1_992 + .saturating_add(Weight::from_parts(22_461, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -131,13 +131,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_416_000 picoseconds. - Weight::from_parts(36_370_541, 0) + // Minimum execution time: 34_755_000 picoseconds. + Weight::from_parts(36_218_463, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_400 - .saturating_add(Weight::from_parts(43_335, 0).saturating_mul(p.into())) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(42_948, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,13 +146,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_216_000 picoseconds. - Weight::from_parts(36_511_343, 0) + // Minimum execution time: 35_066_000 picoseconds. + Weight::from_parts(36_716_231, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_257 - .saturating_add(Weight::from_parts(54_350, 0).saturating_mul(p.into())) + // Standard Error: 2_432 + .saturating_add(Weight::from_parts(39_391, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,26 +161,28 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_690_000 picoseconds. - Weight::from_parts(32_795_157, 0) + // Minimum execution time: 31_098_000 picoseconds. + Weight::from_parts(32_256_629, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_426 - .saturating_add(Weight::from_parts(36_530, 0).saturating_mul(p.into())) + // Standard Error: 1_427 + .saturating_add(Weight::from_parts(34_750, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272` + // Measured: `305` // Estimated: `4706` - // Minimum execution time: 38_372_000 picoseconds. - Weight::from_parts(39_992_198, 0) + // Minimum execution time: 37_680_000 picoseconds. + Weight::from_parts(39_110_275, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_496 + .saturating_add(Weight::from_parts(14_266, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,13 +191,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + p * (37 ±0)` + // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_602_000 picoseconds. - Weight::from_parts(33_854_308, 0) + // Minimum execution time: 32_351_000 picoseconds. + Weight::from_parts(33_725_054, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_580 - .saturating_add(Weight::from_parts(47_040, 0).saturating_mul(p.into())) + // Standard Error: 1_354 + .saturating_add(Weight::from_parts(47_256, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/altair/src/weights/pallet_remarks.rs b/runtime/altair/src/weights/pallet_remarks.rs index 1c7b5b85b9..6e73ab08c5 100644 --- a/runtime/altair/src/weights/pallet_remarks.rs +++ b/runtime/altair/src/weights/pallet_remarks.rs @@ -2,16 +2,16 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 // Executed Command: // target/release/centrifuge-chain // benchmark // pallet -// --chain=centrifuge-dev +// --chain=altair-dev // --steps=50 // --repeat=20 // --pallet=pallet_remarks @@ -19,7 +19,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=/tmp/runtime/centrifuge/src/weights/pallet_remarks.rs +// --output=/tmp/runtime/altair/src/weights/pallet_remarks.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_792_000 picoseconds. - Weight::from_parts(17_287_221, 0) + // Minimum execution time: 16_581_000 picoseconds. + Weight::from_parts(16_937_614, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_915 - .saturating_add(Weight::from_parts(145_247, 0).saturating_mul(n.into())) + // Standard Error: 2_436 + .saturating_add(Weight::from_parts(126_758, 0).saturating_mul(n.into())) } } diff --git a/runtime/altair/src/weights/pallet_restricted_tokens.rs b/runtime/altair/src/weights/pallet_restricted_tokens.rs index 1bdd30c921..f5e8a5d0b8 100644 --- a/runtime/altair/src/weights/pallet_restricted_tokens.rs +++ b/runtime/altair/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -32,22 +32,22 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 91_411_000 picoseconds. - Weight::from_parts(93_054_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 93_475_000 picoseconds. + Weight::from_parts(94_977_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -56,30 +56,30 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `857` + // Measured: `923` // Estimated: `6198` - // Minimum execution time: 70_612_000 picoseconds. - Weight::from_parts(72_666_000, 0) + // Minimum execution time: 73_958_000 picoseconds. + Weight::from_parts(75_130_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 78_868_000 picoseconds. - Weight::from_parts(80_521_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 81_563_000 picoseconds. + Weight::from_parts(83_025_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -88,54 +88,54 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `754` + // Measured: `820` // Estimated: `6198` - // Minimum execution time: 66_725_000 picoseconds. - Weight::from_parts(67_987_000, 0) + // Minimum execution time: 69_831_000 picoseconds. + Weight::from_parts(71_132_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 95_298_000 picoseconds. - Weight::from_parts(96_691_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 98_033_000 picoseconds. + Weight::from_parts(100_077_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `857` + // Measured: `923` // Estimated: `6198` - // Minimum execution time: 75_161_000 picoseconds. - Weight::from_parts(76_774_000, 0) + // Minimum execution time: 79_418_000 picoseconds. + Weight::from_parts(80_931_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `226` + // Measured: `259` // Estimated: `3593` - // Minimum execution time: 86_212_000 picoseconds. - Weight::from_parts(87_504_000, 0) + // Minimum execution time: 85_670_000 picoseconds. + Weight::from_parts(86_892_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,10 +148,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `644` + // Measured: `677` // Estimated: `6198` - // Minimum execution time: 65_612_000 picoseconds. - Weight::from_parts(67_146_000, 0) + // Minimum execution time: 65_963_000 picoseconds. + Weight::from_parts(66_985_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -162,10 +162,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `265` + // Measured: `298` // Estimated: `3674` - // Minimum execution time: 168_816_000 picoseconds. - Weight::from_parts(170_730_000, 0) + // Minimum execution time: 168_283_000 picoseconds. + Weight::from_parts(169_847_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `467` // Estimated: `3932` - // Minimum execution time: 100_599_000 picoseconds. - Weight::from_parts(102_793_000, 0) + // Minimum execution time: 100_959_000 picoseconds. + Weight::from_parts(102_321_000, 0) .saturating_add(Weight::from_parts(0, 3932)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_scheduler.rs b/runtime/altair/src/weights/pallet_scheduler.rs index 1b8cb1cb11..867ac4cf6f 100644 --- a/runtime/altair/src/weights/pallet_scheduler.rs +++ b/runtime/altair/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,7 +38,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_801_000 picoseconds. + // Minimum execution time: 5_901_000 picoseconds. Weight::from_parts(6_152_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_621_000 picoseconds. - Weight::from_parts(8_389_612, 0) + // Minimum execution time: 5_740_000 picoseconds. + Weight::from_parts(8_457_864, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_638 - .saturating_add(Weight::from_parts(1_205_856, 0).saturating_mul(s.into())) + // Standard Error: 4_130 + .saturating_add(Weight::from_parts(1_199_429, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_276_000 picoseconds. - Weight::from_parts(8_626_000, 0) + // Minimum execution time: 8_406_000 picoseconds. + Weight::from_parts(8_526_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 29_175_000 picoseconds. - Weight::from_parts(29_716_000, 0) + // Minimum execution time: 29_515_000 picoseconds. + Weight::from_parts(29_845_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_089, 0).saturating_mul(s.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_258, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -92,7 +92,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 10_550_000 picoseconds. - Weight::from_parts(10_780_000, 0) + Weight::from_parts(10_840_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,7 +100,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_296_000 picoseconds. + // Minimum execution time: 8_426_000 picoseconds. Weight::from_parts(8_576_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -108,16 +108,16 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_168_000 picoseconds. - Weight::from_parts(4_528_000, 0) + // Minimum execution time: 4_348_000 picoseconds. + Weight::from_parts(4_588_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_277_000 picoseconds. - Weight::from_parts(4_439_000, 0) + // Minimum execution time: 4_278_000 picoseconds. + Weight::from_parts(4_508_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_537_000 picoseconds. - Weight::from_parts(22_496_330, 0) + // Minimum execution time: 19_556_000 picoseconds. + Weight::from_parts(22_435_318, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_537 - .saturating_add(Weight::from_parts(1_206_599, 0).saturating_mul(s.into())) + // Standard Error: 4_138 + .saturating_add(Weight::from_parts(1_197_959, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_528_000 picoseconds. - Weight::from_parts(22_578_653, 0) + // Minimum execution time: 25_898_000 picoseconds. + Weight::from_parts(22_451_579, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_091 - .saturating_add(Weight::from_parts(2_210_594, 0).saturating_mul(s.into())) + // Standard Error: 5_039 + .saturating_add(Weight::from_parts(2_201_323, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 24_135_000 picoseconds. - Weight::from_parts(28_282_619, 0) + // Minimum execution time: 24_466_000 picoseconds. + Weight::from_parts(28_276_332, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_281 - .saturating_add(Weight::from_parts(1_221_031, 0).saturating_mul(s.into())) + // Standard Error: 3_707 + .saturating_add(Weight::from_parts(1_233_730, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 26_940_000 picoseconds. - Weight::from_parts(25_366_391, 0) + // Minimum execution time: 27_351_000 picoseconds. + Weight::from_parts(25_668_189, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_176 - .saturating_add(Weight::from_parts(2_206_224, 0).saturating_mul(s.into())) + // Standard Error: 4_998 + .saturating_add(Weight::from_parts(2_202_433, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/altair/src/weights/pallet_session.rs b/runtime/altair/src/weights/pallet_session.rs index 605e47d6e6..67c193d0d3 100644 --- a/runtime/altair/src/weights/pallet_session.rs +++ b/runtime/altair/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 27_071_000 picoseconds. - Weight::from_parts(28_404_000, 0) + // Minimum execution time: 26_991_000 picoseconds. + Weight::from_parts(27_732_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3851` - // Minimum execution time: 19_156_000 picoseconds. - Weight::from_parts(19_717_000, 0) + // Minimum execution time: 18_705_000 picoseconds. + Weight::from_parts(19_256_000, 0) .saturating_add(Weight::from_parts(0, 3851)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_timestamp.rs b/runtime/altair/src/weights/pallet_timestamp.rs index 8343eb4aa8..63201b9ec7 100644 --- a/runtime/altair/src/weights/pallet_timestamp.rs +++ b/runtime/altair/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -38,20 +38,20 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `256` + // Measured: `223` // Estimated: `1493` - // Minimum execution time: 13_656_000 picoseconds. - Weight::from_parts(14_117_000, 0) + // Minimum execution time: 13_696_000 picoseconds. + Weight::from_parts(14_106_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `161` + // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_101_000 picoseconds. - Weight::from_parts(6_362_000, 0) + // Minimum execution time: 6_212_000 picoseconds. + Weight::from_parts(6_392_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/altair/src/weights/pallet_token_mux.rs b/runtime/altair/src/weights/pallet_token_mux.rs new file mode 100644 index 0000000000..dab7a1dc06 --- /dev/null +++ b/runtime/altair/src/weights/pallet_token_mux.rs @@ -0,0 +1,95 @@ + +//! Autogenerated weights for `pallet_token_mux` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=altair-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_token_mux +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/altair/src/weights/pallet_token_mux.rs + +#![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; + +/// Weight functions for `pallet_token_mux`. +pub struct WeightInfo(PhantomData); +impl pallet_token_mux::WeightInfo for WeightInfo { + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + fn deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `803` + // Estimated: `8802` + // Minimum execution time: 120_394_000 picoseconds. + Weight::from_parts(121_507_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `1093` + // Estimated: `8802` + // Minimum execution time: 103_193_000 picoseconds. + Weight::from_parts(105_918_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: OrderBook Orders (r:1 w:1) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) + /// Storage: OrderBook UserOrders (r:0 w:1) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn match_swap() -> Weight { + // Proof Size summary in bytes: + // Measured: `1373` + // Estimated: `11406` + // Minimum execution time: 209_842_000 picoseconds. + Weight::from_parts(212_817_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(9)) + } +} diff --git a/runtime/altair/src/weights/pallet_transfer_allowlist.rs b/runtime/altair/src/weights/pallet_transfer_allowlist.rs index 12337f46e2..0107c1be2b 100644 --- a/runtime/altair/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/altair/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -33,9 +33,9 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -44,18 +44,18 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `537` + // Measured: `603` // Estimated: `3674` - // Minimum execution time: 88_506_000 picoseconds. - Weight::from_parts(89_689_000, 0) + // Minimum execution time: 86_341_000 picoseconds. + Weight::from_parts(88_195_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -64,116 +64,116 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `630` + // Measured: `697` // Estimated: `3674` - // Minimum execution time: 91_031_000 picoseconds. - Weight::from_parts(92_643_000, 0) + // Minimum execution time: 89_687_000 picoseconds. + Weight::from_parts(91_340_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `213` - // Estimated: `3556` - // Minimum execution time: 20_138_000 picoseconds. - Weight::from_parts(20_719_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `246` + // Estimated: `3557` + // Minimum execution time: 20_117_000 picoseconds. + Weight::from_parts(20_528_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `336` - // Estimated: `3556` - // Minimum execution time: 22_593_000 picoseconds. - Weight::from_parts(23_435_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `370` + // Estimated: `3557` + // Minimum execution time: 22_362_000 picoseconds. + Weight::from_parts(23_043_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: - // Measured: `306` - // Estimated: `3556` - // Minimum execution time: 23_073_000 picoseconds. - Weight::from_parts(23_705_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `340` + // Estimated: `3557` + // Minimum execution time: 22_643_000 picoseconds. + Weight::from_parts(23_384_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 22_752_000 picoseconds. - Weight::from_parts(23_614_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 22_542_000 picoseconds. + Weight::from_parts(23_444_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 22_462_000 picoseconds. - Weight::from_parts(23_294_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 22_542_000 picoseconds. + Weight::from_parts(23_103_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `344` - // Estimated: `3556` - // Minimum execution time: 23_765_000 picoseconds. - Weight::from_parts(24_436_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `378` + // Estimated: `3557` + // Minimum execution time: 23_254_000 picoseconds. + Weight::from_parts(23_964_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `3596` - // Minimum execution time: 34_514_000 picoseconds. - Weight::from_parts(35_316_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `473` + // Estimated: `3597` + // Minimum execution time: 34_294_000 picoseconds. + Weight::from_parts(34_895_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `434` - // Estimated: `3596` - // Minimum execution time: 34_826_000 picoseconds. - Weight::from_parts(35_466_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `469` + // Estimated: `3597` + // Minimum execution time: 34_254_000 picoseconds. + Weight::from_parts(34_976_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -181,19 +181,19 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `811` + // Measured: `879` // Estimated: `3674` - // Minimum execution time: 82_605_000 picoseconds. - Weight::from_parts(84_027_000, 0) + // Minimum execution time: 81_201_000 picoseconds. + Weight::from_parts(82_454_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -201,13 +201,13 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `850` + // Measured: `918` // Estimated: `3674` - // Minimum execution time: 82_284_000 picoseconds. - Weight::from_parts(83_326_000, 0) + // Minimum execution time: 80_410_000 picoseconds. + Weight::from_parts(81_341_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/altair/src/weights/pallet_treasury.rs b/runtime/altair/src/weights/pallet_treasury.rs index 2e69f73076..8911abfa19 100644 --- a/runtime/altair/src/weights/pallet_treasury.rs +++ b/runtime/altair/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 381_000 picoseconds. - Weight::from_parts(461_000, 0) + // Minimum execution time: 361_000 picoseconds. + Weight::from_parts(431_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 39_845_000 picoseconds. - Weight::from_parts(40_316_000, 0) + // Minimum execution time: 39_645_000 picoseconds. + Weight::from_parts(40_866_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 61_074_000 picoseconds. - Weight::from_parts(62_236_000, 0) + // Minimum execution time: 62_126_000 picoseconds. + Weight::from_parts(63_308_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 14_207_000 picoseconds. - Weight::from_parts(17_346_879, 0) + // Minimum execution time: 13_696_000 picoseconds. + Weight::from_parts(17_198_224, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_332 - .saturating_add(Weight::from_parts(49_863, 0).saturating_mul(p.into())) + // Standard Error: 1_366 + .saturating_add(Weight::from_parts(49_111, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 10_981_000 picoseconds. - Weight::from_parts(11_511_000, 0) + // Minimum execution time: 11_061_000 picoseconds. + Weight::from_parts(11_322_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 38_282_000 picoseconds. - Weight::from_parts(35_759_311, 0) + // Minimum execution time: 39_063_000 picoseconds. + Weight::from_parts(35_724_501, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 5_923 - .saturating_add(Weight::from_parts(3_810_843, 0).saturating_mul(p.into())) + // Standard Error: 5_409 + .saturating_add(Weight::from_parts(3_881_491, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/altair/src/weights/pallet_uniques.rs b/runtime/altair/src/weights/pallet_uniques.rs index 2ba7e3175e..12e0b753dc 100644 --- a/runtime/altair/src/weights/pallet_uniques.rs +++ b/runtime/altair/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 42_149_000 picoseconds. - Weight::from_parts(43_030_000, 0) + // Minimum execution time: 43_240_000 picoseconds. + Weight::from_parts(44_273_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 20_719_000 picoseconds. - Weight::from_parts(21_360_000, 0) + // Minimum execution time: 21_019_000 picoseconds. + Weight::from_parts(21_630_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 2_951_701_000 picoseconds. - Weight::from_parts(2_977_921_000, 0) + // Minimum execution time: 3_001_174_000 picoseconds. + Weight::from_parts(3_024_868_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 29_843 - .saturating_add(Weight::from_parts(9_684_765, 0).saturating_mul(n.into())) - // Standard Error: 29_843 - .saturating_add(Weight::from_parts(253_101, 0).saturating_mul(m.into())) - // Standard Error: 29_843 - .saturating_add(Weight::from_parts(552_589, 0).saturating_mul(a.into())) + // Standard Error: 29_118 + .saturating_add(Weight::from_parts(9_545_114, 0).saturating_mul(n.into())) + // Standard Error: 29_118 + .saturating_add(Weight::from_parts(228_074, 0).saturating_mul(m.into())) + // Standard Error: 29_118 + .saturating_add(Weight::from_parts(526_600, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 50_705_000 picoseconds. - Weight::from_parts(51_697_000, 0) + // Minimum execution time: 50_495_000 picoseconds. + Weight::from_parts(51_356_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 53_129_000 picoseconds. - Weight::from_parts(53_982_000, 0) + // Minimum execution time: 52_688_000 picoseconds. + Weight::from_parts(53_199_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 38_572_000 picoseconds. - Weight::from_parts(39_093_000, 0) + // Minimum execution time: 37_910_000 picoseconds. + Weight::from_parts(38_662_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_258_000 picoseconds. - Weight::from_parts(20_398_000, 0) + // Minimum execution time: 19_857_000 picoseconds. + Weight::from_parts(20_198_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 15_832 - .saturating_add(Weight::from_parts(24_016_886, 0).saturating_mul(i.into())) + // Standard Error: 13_445 + .saturating_add(Weight::from_parts(24_068_474, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_749_000 picoseconds. - Weight::from_parts(26_319_000, 0) + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(25_919_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_337_000 picoseconds. - Weight::from_parts(26_028_000, 0) + // Minimum execution time: 24_977_000 picoseconds. + Weight::from_parts(25_498_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 17_894_000 picoseconds. - Weight::from_parts(18_945_000, 0) + // Minimum execution time: 17_863_000 picoseconds. + Weight::from_parts(18_444_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_235_000 picoseconds. - Weight::from_parts(18_716_000, 0) + // Minimum execution time: 17_963_000 picoseconds. + Weight::from_parts(18_345_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3647` - // Minimum execution time: 29_946_000 picoseconds. - Weight::from_parts(30_437_000, 0) + // Minimum execution time: 29_475_000 picoseconds. + Weight::from_parts(30_087_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_575_000 picoseconds. - Weight::from_parts(19_096_000, 0) + // Minimum execution time: 18_315_000 picoseconds. + Weight::from_parts(18_946_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 23_423_000 picoseconds. - Weight::from_parts(24_135_000, 0) + // Minimum execution time: 22_983_000 picoseconds. + Weight::from_parts(23_324_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 57_839_000 picoseconds. - Weight::from_parts(59_702_000, 0) + // Minimum execution time: 57_498_000 picoseconds. + Weight::from_parts(58_439_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 56_977_000 picoseconds. - Weight::from_parts(57_608_000, 0) + // Minimum execution time: 55_604_000 picoseconds. + Weight::from_parts(56_636_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 42_851_000 picoseconds. - Weight::from_parts(43_171_000, 0) + // Minimum execution time: 42_640_000 picoseconds. + Weight::from_parts(43_281_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 43_882_000 picoseconds. - Weight::from_parts(44_874_000, 0) + // Minimum execution time: 43_792_000 picoseconds. + Weight::from_parts(44_623_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 43_932_000 picoseconds. - Weight::from_parts(45_064_000, 0) + // Minimum execution time: 43_592_000 picoseconds. + Weight::from_parts(44_252_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 42_629_000 picoseconds. - Weight::from_parts(43_341_000, 0) + // Minimum execution time: 42_169_000 picoseconds. + Weight::from_parts(42_910_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_510_000 picoseconds. - Weight::from_parts(27_421_000, 0) + // Minimum execution time: 26_019_000 picoseconds. + Weight::from_parts(26_720_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_310_000 picoseconds. - Weight::from_parts(27_040_000, 0) + // Minimum execution time: 26_049_000 picoseconds. + Weight::from_parts(26_490_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 20_880_000 picoseconds. - Weight::from_parts(21_290_000, 0) + // Minimum execution time: 20_178_000 picoseconds. + Weight::from_parts(20_828_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,8 +408,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_722_000 picoseconds. - Weight::from_parts(23_514_000, 0) + // Minimum execution time: 22_522_000 picoseconds. + Weight::from_parts(22_893_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 21_811_000 picoseconds. - Weight::from_parts(22_442_000, 0) + // Minimum execution time: 21_480_000 picoseconds. + Weight::from_parts(21_932_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 53_581_000 picoseconds. - Weight::from_parts(54_562_000, 0) + // Minimum execution time: 52_949_000 picoseconds. + Weight::from_parts(54_010_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/altair/src/weights/pallet_utility.rs b/runtime/altair/src/weights/pallet_utility.rs index 2180768f6f..7d4d022221 100644 --- a/runtime/altair/src/weights/pallet_utility.rs +++ b/runtime/altair/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_390_000 picoseconds. - Weight::from_parts(32_738_769, 0) + // Minimum execution time: 10_269_000 picoseconds. + Weight::from_parts(2_508_625, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_927 - .saturating_add(Weight::from_parts(8_173_691, 0).saturating_mul(c.into())) + // Standard Error: 3_055 + .saturating_add(Weight::from_parts(8_496_099, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_604_000 picoseconds. - Weight::from_parts(7_945_000, 0) + // Minimum execution time: 7_684_000 picoseconds. + Weight::from_parts(8_035_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_240_000 picoseconds. - Weight::from_parts(8_676_637, 0) + // Minimum execution time: 10_510_000 picoseconds. + Weight::from_parts(1_392_310, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_457 - .saturating_add(Weight::from_parts(8_724_355, 0).saturating_mul(c.into())) + // Standard Error: 2_846 + .saturating_add(Weight::from_parts(8_921_350, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_026_000 picoseconds. - Weight::from_parts(14_347_000, 0) + // Minimum execution time: 14_226_000 picoseconds. + Weight::from_parts(14_647_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_169_000 picoseconds. - Weight::from_parts(4_500_277, 0) + // Minimum execution time: 10_430_000 picoseconds. + Weight::from_parts(6_627_697, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_223 - .saturating_add(Weight::from_parts(8_231_198, 0).saturating_mul(c.into())) + // Standard Error: 2_557 + .saturating_add(Weight::from_parts(8_544_756, 0).saturating_mul(c.into())) } } diff --git a/runtime/altair/src/weights/pallet_vesting.rs b/runtime/altair/src/weights/pallet_vesting.rs index 3d47ba4922..d48db07310 100644 --- a/runtime/altair/src/weights/pallet_vesting.rs +++ b/runtime/altair/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 45_184_000 picoseconds. - Weight::from_parts(44_560_113, 0) + // Minimum execution time: 45_344_000 picoseconds. + Weight::from_parts(44_587_818, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_693 - .saturating_add(Weight::from_parts(47_866, 0).saturating_mul(l.into())) - // Standard Error: 3_012 - .saturating_add(Weight::from_parts(90_980, 0).saturating_mul(s.into())) + // Standard Error: 1_257 + .saturating_add(Weight::from_parts(42_365, 0).saturating_mul(l.into())) + // Standard Error: 2_236 + .saturating_add(Weight::from_parts(89_023, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 50_345_000 picoseconds. - Weight::from_parts(50_676_473, 0) + // Minimum execution time: 50_895_000 picoseconds. + Weight::from_parts(50_965_907, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_711 - .saturating_add(Weight::from_parts(31_457, 0).saturating_mul(l.into())) - // Standard Error: 3_045 - .saturating_add(Weight::from_parts(63_211, 0).saturating_mul(s.into())) + // Standard Error: 1_374 + .saturating_add(Weight::from_parts(27_104, 0).saturating_mul(l.into())) + // Standard Error: 2_444 + .saturating_add(Weight::from_parts(68_731, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 47_999_000 picoseconds. - Weight::from_parts(47_927_926, 0) + // Minimum execution time: 48_331_000 picoseconds. + Weight::from_parts(47_997_480, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_251 - .saturating_add(Weight::from_parts(42_975, 0).saturating_mul(l.into())) - // Standard Error: 2_226 - .saturating_add(Weight::from_parts(79_430, 0).saturating_mul(s.into())) + // Standard Error: 1_682 + .saturating_add(Weight::from_parts(45_792, 0).saturating_mul(l.into())) + // Standard Error: 2_992 + .saturating_add(Weight::from_parts(76_747, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `375 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_770_000 picoseconds. - Weight::from_parts(54_085_838, 0) + // Minimum execution time: 53_280_000 picoseconds. + Weight::from_parts(53_680_102, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_581 - .saturating_add(Weight::from_parts(36_083, 0).saturating_mul(l.into())) - // Standard Error: 2_814 - .saturating_add(Weight::from_parts(73_522, 0).saturating_mul(s.into())) + // Standard Error: 1_602 + .saturating_add(Weight::from_parts(32_726, 0).saturating_mul(l.into())) + // Standard Error: 2_850 + .saturating_add(Weight::from_parts(78_701, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `479 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 101_791_000 picoseconds. - Weight::from_parts(103_902_526, 0) + // Minimum execution time: 102_561_000 picoseconds. + Weight::from_parts(103_557_767, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_962 - .saturating_add(Weight::from_parts(38_478, 0).saturating_mul(l.into())) - // Standard Error: 5_270 - .saturating_add(Weight::from_parts(93_192, 0).saturating_mul(s.into())) + // Standard Error: 2_538 + .saturating_add(Weight::from_parts(49_548, 0).saturating_mul(l.into())) + // Standard Error: 4_516 + .saturating_add(Weight::from_parts(109_821, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `619 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 105_368_000 picoseconds. - Weight::from_parts(105_702_125, 0) + // Minimum execution time: 106_298_000 picoseconds. + Weight::from_parts(107_509_269, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 2_187 - .saturating_add(Weight::from_parts(52_886, 0).saturating_mul(l.into())) - // Standard Error: 3_892 - .saturating_add(Weight::from_parts(120_949, 0).saturating_mul(s.into())) + // Standard Error: 2_048 + .saturating_add(Weight::from_parts(47_334, 0).saturating_mul(l.into())) + // Standard Error: 3_644 + .saturating_add(Weight::from_parts(91_289, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 49_543_000 picoseconds. - Weight::from_parts(49_047_241, 0) + // Minimum execution time: 49_262_000 picoseconds. + Weight::from_parts(48_936_746, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_288 - .saturating_add(Weight::from_parts(45_092, 0).saturating_mul(l.into())) - // Standard Error: 2_380 - .saturating_add(Weight::from_parts(83_599, 0).saturating_mul(s.into())) + // Standard Error: 1_147 + .saturating_add(Weight::from_parts(41_126, 0).saturating_mul(l.into())) + // Standard Error: 2_119 + .saturating_add(Weight::from_parts(90_124, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 55_695_000 picoseconds. - Weight::from_parts(55_469_240, 0) + // Minimum execution time: 55_214_000 picoseconds. + Weight::from_parts(54_945_600, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_839 - .saturating_add(Weight::from_parts(43_075, 0).saturating_mul(l.into())) - // Standard Error: 3_397 - .saturating_add(Weight::from_parts(82_342, 0).saturating_mul(s.into())) + // Standard Error: 1_228 + .saturating_add(Weight::from_parts(43_598, 0).saturating_mul(l.into())) + // Standard Error: 2_269 + .saturating_add(Weight::from_parts(82_836, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/altair/src/weights/pallet_xcm.rs b/runtime/altair/src/weights/pallet_xcm.rs index 4edefb6882..3c03d51487 100644 --- a/runtime/altair/src/weights/pallet_xcm.rs +++ b/runtime/altair/src/weights/pallet_xcm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("altair-dev"), DB CACHE: 1024 @@ -44,11 +44,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `3710` - // Minimum execution time: 42_028_000 picoseconds. - Weight::from_parts(43_212_000, 0) - .saturating_add(Weight::from_parts(0, 3710)) + // Measured: `278` + // Estimated: `3743` + // Minimum execution time: 41_226_000 picoseconds. + Weight::from_parts(42_319_000, 0) + .saturating_add(Weight::from_parts(0, 3743)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -60,8 +60,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 41_017_000 picoseconds. - Weight::from_parts(41_708_000, 0) + // Minimum execution time: 40_906_000 picoseconds. + Weight::from_parts(42_059_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -73,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 40_556_000 picoseconds. - Weight::from_parts(41_198_000, 0) + // Minimum execution time: 39_884_000 picoseconds. + Weight::from_parts(40_926_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -94,8 +94,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_056_000 picoseconds. - Weight::from_parts(14_538_000, 0) + // Minimum execution time: 14_016_000 picoseconds. + Weight::from_parts(14_627_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,8 +105,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_478_000 picoseconds. - Weight::from_parts(4_669_000, 0) + // Minimum execution time: 4_518_000 picoseconds. + Weight::from_parts(4_769_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -128,11 +128,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `3710` - // Minimum execution time: 49_973_000 picoseconds. - Weight::from_parts(50_655_000, 0) - .saturating_add(Weight::from_parts(0, 3710)) + // Measured: `278` + // Estimated: `3743` + // Minimum execution time: 48_852_000 picoseconds. + Weight::from_parts(49_743_000, 0) + .saturating_add(Weight::from_parts(0, 3743)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -152,11 +152,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `427` - // Estimated: `3892` - // Minimum execution time: 48_631_000 picoseconds. - Weight::from_parts(50_384_000, 0) - .saturating_add(Weight::from_parts(0, 3892)) + // Measured: `460` + // Estimated: `3925` + // Minimum execution time: 48_651_000 picoseconds. + Weight::from_parts(49_673_000, 0) + .saturating_add(Weight::from_parts(0, 3925)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -166,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_378_000 picoseconds. - Weight::from_parts(4_649_000, 0) + // Minimum execution time: 4_669_000 picoseconds. + Weight::from_parts(5_080_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,11 +175,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `268` - // Estimated: `11158` - // Minimum execution time: 25_397_000 picoseconds. - Weight::from_parts(26_009_000, 0) - .saturating_add(Weight::from_parts(0, 11158)) + // Measured: `235` + // Estimated: `11125` + // Minimum execution time: 24_976_000 picoseconds. + Weight::from_parts(25_528_000, 0) + .saturating_add(Weight::from_parts(0, 11125)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -187,11 +187,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `272` - // Estimated: `11162` - // Minimum execution time: 25_548_000 picoseconds. - Weight::from_parts(25_939_000, 0) - .saturating_add(Weight::from_parts(0, 11162)) + // Measured: `239` + // Estimated: `11129` + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(25_989_000, 0) + .saturating_add(Weight::from_parts(0, 11129)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -199,11 +199,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `13644` - // Minimum execution time: 26_690_000 picoseconds. - Weight::from_parts(27_211_000, 0) - .saturating_add(Weight::from_parts(0, 13644)) + // Measured: `246` + // Estimated: `13611` + // Minimum execution time: 26_940_000 picoseconds. + Weight::from_parts(27_902_000, 0) + .saturating_add(Weight::from_parts(0, 13611)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) @@ -220,11 +220,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `312` - // Estimated: `6252` - // Minimum execution time: 44_593_000 picoseconds. - Weight::from_parts(45_726_000, 0) - .saturating_add(Weight::from_parts(0, 6252)) + // Measured: `345` + // Estimated: `6285` + // Minimum execution time: 44_953_000 picoseconds. + Weight::from_parts(46_286_000, 0) + .saturating_add(Weight::from_parts(0, 6285)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -234,8 +234,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 13_756_000 picoseconds. - Weight::from_parts(14_357_000, 0) + // Minimum execution time: 14_346_000 picoseconds. + Weight::from_parts(14_818_000, 0) .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -243,11 +243,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `11169` - // Minimum execution time: 25_608_000 picoseconds. - Weight::from_parts(26_549_000, 0) - .saturating_add(Weight::from_parts(0, 11169)) + // Measured: `246` + // Estimated: `11136` + // Minimum execution time: 25_798_000 picoseconds. + Weight::from_parts(26_330_000, 0) + .saturating_add(Weight::from_parts(0, 11136)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -267,8 +267,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421` // Estimated: `11311` - // Minimum execution time: 55_173_000 picoseconds. - Weight::from_parts(56_947_000, 0) + // Minimum execution time: 54_331_000 picoseconds. + Weight::from_parts(55_524_000, 0) .saturating_add(Weight::from_parts(0, 11311)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index 7d62b0e67a..43cca58daa 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -1461,6 +1461,7 @@ impl pallet_pool_registry::Config for Runtime { type ModifyWriteOffPolicy = pallet_loans::Pallet; type Permission = Permissions; type PoolCreateOrigin = EnsureRoot; + type PoolFeesInspect = PoolFees; type PoolId = PoolId; type RuntimeEvent = RuntimeEvent; type TrancheCurrency = TrancheCurrency; @@ -1587,6 +1588,7 @@ impl pallet_pool_fees::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Time = Timestamp; type Tokens = Tokens; + type WeightInfo = weights::pallet_pool_fees::WeightInfo; } impl pallet_permissions::Config for Runtime { @@ -1932,8 +1934,7 @@ impl pallet_token_mux::Config for Runtime { type PalletId = TokenMuxPalletId; type RuntimeEvent = RuntimeEvent; type Tokens = OrmlTokens; - // TODO(william): Change to weights once they exist - type WeightInfo = (); + type WeightInfo = weights::pallet_token_mux::WeightInfo; } impl pallet_transfer_allowlist::Config for Runtime { diff --git a/runtime/centrifuge/src/migrations.rs b/runtime/centrifuge/src/migrations.rs index a47affdd31..b7509ae1ab 100644 --- a/runtime/centrifuge/src/migrations.rs +++ b/runtime/centrifuge/src/migrations.rs @@ -87,6 +87,12 @@ pub type UpgradeCentrifuge1025 = ( // Burns tokens from other domains that are falsly not burned when they were transferred back // to their domain burn_unburned::Migration, + // Bumps storage version from 0 to 1 + runtime_common::migrations::nuke::ResetPallet< + crate::ForeignInvestments, + crate::RocksDbWeight, + 0, + >, ); mod burn_unburned { diff --git a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs index 39b5ac57e1..d0b5704984 100644 --- a/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/centrifuge/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -36,11 +36,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 8_355_000 picoseconds. - Weight::from_parts(8_767_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 8_646_000 picoseconds. + Weight::from_parts(9_037_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -48,11 +48,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 8_526_000 picoseconds. - Weight::from_parts(8_786_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 8_786_000 picoseconds. + Weight::from_parts(9_197_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/mod.rs b/runtime/centrifuge/src/weights/mod.rs index 1b23cbecaf..5f02a62635 100644 --- a/runtime/centrifuge/src/weights/mod.rs +++ b/runtime/centrifuge/src/weights/mod.rs @@ -33,6 +33,7 @@ pub mod pallet_oracle_collection; pub mod pallet_oracle_feed; pub mod pallet_order_book; pub mod pallet_permissions; +pub mod pallet_pool_fees; pub mod pallet_pool_registry; pub mod pallet_pool_system; pub mod pallet_preimage; @@ -42,6 +43,7 @@ pub mod pallet_restricted_tokens; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; +pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; pub mod pallet_treasury; pub mod pallet_uniques; diff --git a/runtime/centrifuge/src/weights/pallet_anchors.rs b/runtime/centrifuge/src/weights/pallet_anchors.rs index 577bbf23e8..8c7404b18c 100644 --- a/runtime/centrifuge/src/weights/pallet_anchors.rs +++ b/runtime/centrifuge/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,10 +40,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn pre_commit() -> Weight { // Proof Size summary in bytes: - // Measured: `301` + // Measured: `334` // Estimated: `3581` - // Minimum execution time: 40_656_000 picoseconds. - Weight::from_parts(41_828_000, 0) + // Minimum execution time: 40_235_000 picoseconds. + Weight::from_parts(41_488_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `668` // Estimated: `3581` - // Minimum execution time: 71_824_000 picoseconds. - Weight::from_parts(72_896_000, 0) + // Minimum execution time: 71_403_000 picoseconds. + Weight::from_parts(72_826_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_145_707_000 picoseconds. - Weight::from_parts(2_176_274_000, 0) + // Minimum execution time: 2_197_512_000 picoseconds. + Weight::from_parts(2_213_131_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -504,10 +504,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18357` + // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 1_940_694_000 picoseconds. - Weight::from_parts(1_977_012_000, 0) + // Minimum execution time: 1_940_261_000 picoseconds. + Weight::from_parts(1_960_890_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/centrifuge/src/weights/pallet_balances.rs b/runtime/centrifuge/src/weights/pallet_balances.rs index 68955029f1..bdefdf1f14 100644 --- a/runtime/centrifuge/src/weights/pallet_balances.rs +++ b/runtime/centrifuge/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 84_878_000 picoseconds. - Weight::from_parts(85_861_000, 0) + // Minimum execution time: 85_279_000 picoseconds. + Weight::from_parts(86_581_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 62_867_000 picoseconds. - Weight::from_parts(64_591_000, 0) + // Minimum execution time: 64_601_000 picoseconds. + Weight::from_parts(65_453_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,10 +60,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 24_065_000 picoseconds. - Weight::from_parts(24_706_000, 0) + // Minimum execution time: 24_676_000 picoseconds. + Weight::from_parts(25_327_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 35_095_000 picoseconds. - Weight::from_parts(36_208_000, 0) + // Minimum execution time: 36_047_000 picoseconds. + Weight::from_parts(37_200_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 88_285_000 picoseconds. - Weight::from_parts(89_487_000, 0) + // Minimum execution time: 89_407_000 picoseconds. + Weight::from_parts(90_940_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 79_889_000 picoseconds. - Weight::from_parts(81_132_000, 0) + // Minimum execution time: 81_812_000 picoseconds. + Weight::from_parts(82_765_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,10 +108,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 28_453_000 picoseconds. - Weight::from_parts(29_085_000, 0) + // Minimum execution time: 29_926_000 picoseconds. + Weight::from_parts(30_577_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,13 +121,13 @@ impl pallet_balances::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145 + u * (136 ±0)` + // Measured: `176 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 26_790_000 picoseconds. - Weight::from_parts(27_291_000, 0) + // Minimum execution time: 27_291_000 picoseconds. + Weight::from_parts(27_742_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_971 - .saturating_add(Weight::from_parts(21_599_437, 0).saturating_mul(u.into())) + // Standard Error: 12_604 + .saturating_add(Weight::from_parts(21_969_431, 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, 2603).saturating_mul(u.into())) diff --git a/runtime/centrifuge/src/weights/pallet_block_rewards.rs b/runtime/centrifuge/src/weights/pallet_block_rewards.rs index 12db9b4f2e..0ad5e6eaaf 100644 --- a/runtime/centrifuge/src/weights/pallet_block_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,38 +44,34 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `583` // Estimated: `6196` - // Minimum execution time: 86_932_000 picoseconds. - Weight::from_parts(88_015_000, 0) + // Minimum execution time: 89_777_000 picoseconds. + Weight::from_parts(90_960_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_collator_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `3574` - // Minimum execution time: 11_993_000 picoseconds. - Weight::from_parts(12_372_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 8_957_000 picoseconds. + Weight::from_parts(9_327_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_total_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `65` - // Estimated: `3574` - // Minimum execution time: 11_131_000 picoseconds. - Weight::from_parts(11_511_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 9_107_000 picoseconds. + Weight::from_parts(9_418_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs b/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs index 2ab1da0d85..cca73dc0b6 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,11 +38,11 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `524` - // Estimated: `3989` - // Minimum execution time: 25_117_000 picoseconds. - Weight::from_parts(25_899_000, 0) - .saturating_add(Weight::from_parts(0, 3989)) + // Measured: `557` + // Estimated: `4022` + // Minimum execution time: 25_568_000 picoseconds. + Weight::from_parts(26_480_000, 0) + .saturating_add(Weight::from_parts(0, 4022)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -50,10 +50,10 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `232` + // Measured: `265` // Estimated: `3497` - // Minimum execution time: 18_915_000 picoseconds. - Weight::from_parts(19_686_000, 0) + // Minimum execution time: 19_176_000 picoseconds. + Weight::from_parts(19_756_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_collator_selection.rs b/runtime/centrifuge/src/weights/pallet_collator_selection.rs index a07b34d12d..b8df0b0596 100644 --- a/runtime/centrifuge/src/weights/pallet_collator_selection.rs +++ b/runtime/centrifuge/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,13 +42,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 100]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `466 + b * (112 ±0)` - // Estimated: `1453 + b * (2588 ±0)` - // Minimum execution time: 25_628_000 picoseconds. - Weight::from_parts(24_383_339, 0) - .saturating_add(Weight::from_parts(0, 1453)) - // Standard Error: 2_848 - .saturating_add(Weight::from_parts(5_992_780, 0).saturating_mul(b.into())) + // Measured: `499 + b * (112 ±0)` + // Estimated: `1486 + b * (2588 ±0)` + // Minimum execution time: 24_636_000 picoseconds. + Weight::from_parts(22_436_650, 0) + .saturating_add(Weight::from_parts(0, 1486)) + // Standard Error: 2_903 + .saturating_add(Weight::from_parts(5_969_368, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -59,8 +59,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_056_000 picoseconds. - Weight::from_parts(14_577_000, 0) + // Minimum execution time: 13_085_000 picoseconds. + Weight::from_parts(13_886_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,8 +70,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_510_000 picoseconds. - Weight::from_parts(10_981_000, 0) + // Minimum execution time: 10_068_000 picoseconds. + Weight::from_parts(10_449_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -93,13 +93,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1002 + c * (59 ±0)` + // Measured: `1068 + c * (59 ±0)` // Estimated: `4687 + c * (60 ±0)` - // Minimum execution time: 65_513_000 picoseconds. - Weight::from_parts(66_958_510, 0) + // Minimum execution time: 65_742_000 picoseconds. + Weight::from_parts(67_758_195, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 1_708 - .saturating_add(Weight::from_parts(278_462, 0).saturating_mul(c.into())) + // Standard Error: 2_042 + .saturating_add(Weight::from_parts(228_743, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) @@ -112,13 +112,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[6, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `516 + c * (44 ±0)` + // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 45_856_000 picoseconds. - Weight::from_parts(47_640_169, 0) + // Minimum execution time: 46_036_000 picoseconds. + Weight::from_parts(47_378_347, 0) .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_800 - .saturating_add(Weight::from_parts(47_541, 0).saturating_mul(c.into())) + // Standard Error: 2_567 + .saturating_add(Weight::from_parts(83_184, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,8 +132,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `195` // Estimated: `6196` - // Minimum execution time: 70_501_000 picoseconds. - Weight::from_parts(72_275_000, 0) + // Minimum execution time: 71_784_000 picoseconds. + Weight::from_parts(73_277_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -154,13 +154,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `548 + c * (98 ±0) + r * (142 ±0)` + // Measured: `581 + c * (98 ±0) + r * (142 ±0)` // Estimated: `7019778708211172 + c * (2519 ±0) + r * (2259 ±9)` - // Minimum execution time: 25_147_000 picoseconds. - Weight::from_parts(25_829_000, 0) + // Minimum execution time: 25_307_000 picoseconds. + Weight::from_parts(25_928_000, 0) .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 219_894 - .saturating_add(Weight::from_parts(17_691_420, 0).saturating_mul(c.into())) + // Standard Error: 221_956 + .saturating_add(Weight::from_parts(17_817_037, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_collective.rs b/runtime/centrifuge/src/weights/pallet_collective.rs index d7b81c61bd..a7739f4ff6 100644 --- a/runtime/centrifuge/src/weights/pallet_collective.rs +++ b/runtime/centrifuge/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 23_133_000 picoseconds. - Weight::from_parts(23_564_000, 0) + // Minimum execution time: 23_143_000 picoseconds. + Weight::from_parts(23_724_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 60_555 - .saturating_add(Weight::from_parts(4_625_188, 0).saturating_mul(m.into())) - // Standard Error: 60_555 - .saturating_add(Weight::from_parts(8_554_513, 0).saturating_mul(p.into())) + // Standard Error: 63_516 + .saturating_add(Weight::from_parts(4_621_545, 0).saturating_mul(m.into())) + // Standard Error: 63_516 + .saturating_add(Weight::from_parts(8_641_676, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 23_564_000 picoseconds. - Weight::from_parts(22_494_749, 0) + // Minimum execution time: 23_725_000 picoseconds. + Weight::from_parts(22_511_824, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 40 - .saturating_add(Weight::from_parts(1_689, 0).saturating_mul(b.into())) - // Standard Error: 418 - .saturating_add(Weight::from_parts(19_801, 0).saturating_mul(m.into())) + // Standard Error: 39 + .saturating_add(Weight::from_parts(1_832, 0).saturating_mul(b.into())) + // Standard Error: 411 + .saturating_add(Weight::from_parts(22_309, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 27_572_000 picoseconds. - Weight::from_parts(26_558_815, 0) + // Minimum execution time: 27_621_000 picoseconds. + Weight::from_parts(26_815_283, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_754, 0).saturating_mul(b.into())) - // Standard Error: 376 - .saturating_add(Weight::from_parts(30_777, 0).saturating_mul(m.into())) + // Standard Error: 37 + .saturating_add(Weight::from_parts(1_736, 0).saturating_mul(b.into())) + // Standard Error: 390 + .saturating_add(Weight::from_parts(31_331, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 36_048_000 picoseconds. - Weight::from_parts(33_126_579, 0) + // Minimum execution time: 37_741_000 picoseconds. + Weight::from_parts(35_042_484, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 112 - .saturating_add(Weight::from_parts(4_132, 0).saturating_mul(b.into())) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(36_464, 0).saturating_mul(m.into())) - // Standard Error: 1_160 - .saturating_add(Weight::from_parts(251_750, 0).saturating_mul(p.into())) + // Standard Error: 85 + .saturating_add(Weight::from_parts(3_547, 0).saturating_mul(b.into())) + // Standard Error: 895 + .saturating_add(Weight::from_parts(34_350, 0).saturating_mul(m.into())) + // Standard Error: 883 + .saturating_add(Weight::from_parts(267_409, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 31_099_000 picoseconds. - Weight::from_parts(31_472_443, 0) + // Minimum execution time: 31_309_000 picoseconds. + Weight::from_parts(32_035_094, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 1_286 - .saturating_add(Weight::from_parts(56_577, 0).saturating_mul(m.into())) + // Standard Error: 942 + .saturating_add(Weight::from_parts(53_706, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 39_454_000 picoseconds. - Weight::from_parts(38_844_824, 0) + // Minimum execution time: 41_217_000 picoseconds. + Weight::from_parts(39_466_396, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 2_064 - .saturating_add(Weight::from_parts(34_633, 0).saturating_mul(m.into())) - // Standard Error: 2_013 - .saturating_add(Weight::from_parts(235_784, 0).saturating_mul(p.into())) + // Standard Error: 1_153 + .saturating_add(Weight::from_parts(42_504, 0).saturating_mul(m.into())) + // Standard Error: 1_124 + .saturating_add(Weight::from_parts(260_551, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 56_716_000 picoseconds. - Weight::from_parts(56_668_817, 0) + // Minimum execution time: 57_387_000 picoseconds. + Weight::from_parts(57_382_740, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 248 - .saturating_add(Weight::from_parts(2_574, 0).saturating_mul(b.into())) - // Standard Error: 2_629 - .saturating_add(Weight::from_parts(13_741, 0).saturating_mul(m.into())) - // Standard Error: 2_563 - .saturating_add(Weight::from_parts(281_995, 0).saturating_mul(p.into())) + // Standard Error: 222 + .saturating_add(Weight::from_parts(2_360, 0).saturating_mul(b.into())) + // Standard Error: 2_350 + .saturating_add(Weight::from_parts(18_316, 0).saturating_mul(m.into())) + // Standard Error: 2_290 + .saturating_add(Weight::from_parts(311_742, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 42_579_000 picoseconds. - Weight::from_parts(41_703_040, 0) + // Minimum execution time: 44_543_000 picoseconds. + Weight::from_parts(43_096_644, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 1_437 - .saturating_add(Weight::from_parts(42_027, 0).saturating_mul(m.into())) - // Standard Error: 1_401 - .saturating_add(Weight::from_parts(236_636, 0).saturating_mul(p.into())) + // Standard Error: 2_468 + .saturating_add(Weight::from_parts(45_296, 0).saturating_mul(m.into())) + // Standard Error: 2_407 + .saturating_add(Weight::from_parts(255_405, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 59_341_000 picoseconds. - Weight::from_parts(59_362_453, 0) + // Minimum execution time: 61_345_000 picoseconds. + Weight::from_parts(59_927_827, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 161 - .saturating_add(Weight::from_parts(2_604, 0).saturating_mul(b.into())) - // Standard Error: 1_708 - .saturating_add(Weight::from_parts(38_569, 0).saturating_mul(m.into())) - // Standard Error: 1_665 - .saturating_add(Weight::from_parts(279_991, 0).saturating_mul(p.into())) + // Standard Error: 157 + .saturating_add(Weight::from_parts(3_275, 0).saturating_mul(b.into())) + // Standard Error: 1_667 + .saturating_add(Weight::from_parts(41_636, 0).saturating_mul(m.into())) + // Standard Error: 1_625 + .saturating_add(Weight::from_parts(305_213, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_553_000 picoseconds. - Weight::from_parts(23_976_703, 0) + // Minimum execution time: 22_822_000 picoseconds. + Weight::from_parts(24_613_618, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 922 - .saturating_add(Weight::from_parts(224_914, 0).saturating_mul(p.into())) + // Standard Error: 758 + .saturating_add(Weight::from_parts(249_768, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs b/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs index a1d2daf226..728b707343 100644 --- a/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/centrifuge/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -58,10 +58,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_ed25519() -> Weight { // Proof Size summary in bytes: - // Measured: `606` + // Measured: `639` // Estimated: `6196` - // Minimum execution time: 261_027_000 picoseconds. - Weight::from_parts(263_241_000, 0) + // Minimum execution time: 264_033_000 picoseconds. + Weight::from_parts(265_947_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -92,10 +92,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_sr25519() -> Weight { // Proof Size summary in bytes: - // Measured: `762` + // Measured: `795` // Estimated: `6196` - // Minimum execution time: 261_709_000 picoseconds. - Weight::from_parts(266_928_000, 0) + // Minimum execution time: 266_478_000 picoseconds. + Weight::from_parts(269_082_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -126,10 +126,10 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn claim_reward_ecdsa() -> Weight { // Proof Size summary in bytes: - // Measured: `658` + // Measured: `691` // Estimated: `6196` - // Minimum execution time: 245_098_000 picoseconds. - Weight::from_parts(247_512_000, 0) + // Minimum execution time: 248_053_000 picoseconds. + Weight::from_parts(251_389_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 24_346_000 picoseconds. - Weight::from_parts(24_866_000, 0) + // Minimum execution time: 24_515_000 picoseconds. + Weight::from_parts(25_197_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_101_000 picoseconds. - Weight::from_parts(11_441_000, 0) + // Minimum execution time: 11_332_000 picoseconds. + Weight::from_parts(11_772_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_282_000 picoseconds. - Weight::from_parts(11_591_000, 0) + // Minimum execution time: 11_121_000 picoseconds. + Weight::from_parts(11_862_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_253_000 picoseconds. - Weight::from_parts(12_744_000, 0) + // Minimum execution time: 12_393_000 picoseconds. + Weight::from_parts(12_804_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_170_000 picoseconds. - Weight::from_parts(11_561_000, 0) + // Minimum execution time: 11_231_000 picoseconds. + Weight::from_parts(11_562_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,8 +208,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_241_000 picoseconds. - Weight::from_parts(11_712_000, 0) + // Minimum execution time: 10_911_000 picoseconds. + Weight::from_parts(11_602_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs b/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs index 465366493e..4f461b6c9a 100644 --- a/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/centrifuge/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_753_000 picoseconds. - Weight::from_parts(13_335_000, 0) + // Minimum execution time: 13_004_000 picoseconds. + Weight::from_parts(13_615_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_020_000 picoseconds. - Weight::from_parts(11_371_000, 0) + // Minimum execution time: 11_382_000 picoseconds. + Weight::from_parts(11_702_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_900_000 picoseconds. - Weight::from_parts(11_341_000, 0) + // Minimum execution time: 11_482_000 picoseconds. + Weight::from_parts(11_782_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_961_000 picoseconds. - Weight::from_parts(11_341_000, 0) + // Minimum execution time: 11_412_000 picoseconds. + Weight::from_parts(11_762_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_democracy.rs b/runtime/centrifuge/src/weights/pallet_democracy.rs index 36f2e1f9c3..a4b88ec22f 100644 --- a/runtime/centrifuge/src/weights/pallet_democracy.rs +++ b/runtime/centrifuge/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -42,10 +42,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4801` + // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 57_938_000 picoseconds. - Weight::from_parts(60_213_000, 0) + // Minimum execution time: 58_319_000 picoseconds. + Weight::from_parts(59_421_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -54,10 +54,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3556` + // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 51_877_000 picoseconds. - Weight::from_parts(53_760_000, 0) + // Minimum execution time: 52_257_000 picoseconds. + Weight::from_parts(53_300_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3433` + // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 66_043_000 picoseconds. - Weight::from_parts(67_856_000, 0) + // Minimum execution time: 65_933_000 picoseconds. + Weight::from_parts(67_937_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -90,10 +90,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3455` + // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 71_604_000 picoseconds. - Weight::from_parts(73_928_000, 0) + // Minimum execution time: 71_653_000 picoseconds. + Weight::from_parts(74_189_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,10 +106,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `333` // Estimated: `3666` - // Minimum execution time: 37_850_000 picoseconds. - Weight::from_parts(39_033_000, 0) + // Minimum execution time: 37_510_000 picoseconds. + Weight::from_parts(38_692_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,10 +130,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6282` + // Measured: `6249` // Estimated: `18187` - // Minimum execution time: 144_970_000 picoseconds. - Weight::from_parts(147_014_000, 0) + // Minimum execution time: 148_437_000 picoseconds. + Weight::from_parts(150_511_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -144,10 +144,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3416` + // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 18_545_000 picoseconds. - Weight::from_parts(19_106_000, 0) + // Minimum execution time: 18_395_000 picoseconds. + Weight::from_parts(19_015_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_919_000 picoseconds. - Weight::from_parts(5_129_000, 0) + // Minimum execution time: 5_070_000 picoseconds. + Weight::from_parts(5_370_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_869_000 picoseconds. - Weight::from_parts(5_100_000, 0) + // Minimum execution time: 5_109_000 picoseconds. + Weight::from_parts(5_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -184,10 +184,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 38_702_000 picoseconds. - Weight::from_parts(40_015_000, 0) + // Minimum execution time: 38_903_000 picoseconds. + Weight::from_parts(39_795_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -200,10 +200,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3519` + // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 42_289_000 picoseconds. - Weight::from_parts(43_601_000, 0) + // Minimum execution time: 42_429_000 picoseconds. + Weight::from_parts(43_081_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -218,10 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `6193` + // Measured: `6160` // Estimated: `18187` - // Minimum execution time: 120_545_000 picoseconds. - Weight::from_parts(122_408_000, 0) + // Minimum execution time: 123_040_000 picoseconds. + Weight::from_parts(124_723_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -232,10 +232,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `271` + // Measured: `238` // Estimated: `3518` - // Minimum execution time: 28_684_000 picoseconds. - Weight::from_parts(29_405_000, 0) + // Minimum execution time: 28_493_000 picoseconds. + Weight::from_parts(29_355_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -249,13 +249,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 10_250_000 picoseconds. - Weight::from_parts(15_315_149, 0) + // Minimum execution time: 10_148_000 picoseconds. + Weight::from_parts(12_898_850, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_659 - .saturating_add(Weight::from_parts(3_931_253, 0).saturating_mul(r.into())) + // Standard Error: 5_373 + .saturating_add(Weight::from_parts(4_040_743, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -276,13 +276,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 14_778_000 picoseconds. - Weight::from_parts(18_680_973, 0) + // Minimum execution time: 14_947_000 picoseconds. + Weight::from_parts(18_327_993, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 4_963 - .saturating_add(Weight::from_parts(3_949_273, 0).saturating_mul(r.into())) + // Standard Error: 5_722 + .saturating_add(Weight::from_parts(4_042_079, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -299,13 +299,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (108 ±0)` + // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 55_564_000 picoseconds. - Weight::from_parts(61_936_943, 0) + // Minimum execution time: 56_676_000 picoseconds. + Weight::from_parts(61_261_998, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 5_909 - .saturating_add(Weight::from_parts(5_022_012, 0).saturating_mul(r.into())) + // Standard Error: 7_225 + .saturating_add(Weight::from_parts(5_104_214, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -319,13 +319,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + r * (108 ±0)` + // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 28_573_000 picoseconds. - Weight::from_parts(29_139_542, 0) + // Minimum execution time: 28_303_000 picoseconds. + Weight::from_parts(28_299_424, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 5_887 - .saturating_add(Weight::from_parts(5_019_551, 0).saturating_mul(r.into())) + // Standard Error: 6_396 + .saturating_add(Weight::from_parts(5_107_921, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_508_000 picoseconds. - Weight::from_parts(4_799_000, 0) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_159_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -354,13 +354,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `525` + // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_793_000 picoseconds. - Weight::from_parts(51_456_136, 0) + // Minimum execution time: 33_813_000 picoseconds. + Weight::from_parts(52_017_727, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 3_934 - .saturating_add(Weight::from_parts(67_883, 0).saturating_mul(r.into())) + // Standard Error: 4_092 + .saturating_add(Weight::from_parts(75_134, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -375,13 +375,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `526 + r * (22 ±0)` + // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 47_699_000 picoseconds. - Weight::from_parts(49_308_611, 0) + // Minimum execution time: 47_408_000 picoseconds. + Weight::from_parts(49_866_714, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_003 - .saturating_add(Weight::from_parts(85_844, 0).saturating_mul(r.into())) + // Standard Error: 1_429 + .saturating_add(Weight::from_parts(93_391, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,13 +392,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_250_000 picoseconds. - Weight::from_parts(24_293_772, 0) + // Minimum execution time: 20_969_000 picoseconds. + Weight::from_parts(23_886_555, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_126 - .saturating_add(Weight::from_parts(90_340, 0).saturating_mul(r.into())) + // Standard Error: 1_276 + .saturating_add(Weight::from_parts(96_646, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -409,13 +409,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 21_450_000 picoseconds. - Weight::from_parts(24_348_446, 0) + // Minimum execution time: 21_480_000 picoseconds. + Weight::from_parts(24_332_154, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_159 - .saturating_add(Weight::from_parts(91_812, 0).saturating_mul(r.into())) + // Standard Error: 1_108 + .saturating_add(Weight::from_parts(96_680, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -427,10 +427,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `390` + // Measured: `357` // Estimated: `3556` - // Minimum execution time: 26_139_000 picoseconds. - Weight::from_parts(26_960_000, 0) + // Minimum execution time: 26_710_000 picoseconds. + Weight::from_parts(27_291_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -441,10 +441,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_954_000 picoseconds. - Weight::from_parts(24_466_000, 0) + // Minimum execution time: 23_915_000 picoseconds. + Weight::from_parts(24_737_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -457,10 +457,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4922` + // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 54_572_000 picoseconds. - Weight::from_parts(56_005_000, 0) + // Minimum execution time: 56_205_000 picoseconds. + Weight::from_parts(58_079_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -471,10 +471,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4822` + // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 50_905_000 picoseconds. - Weight::from_parts(51_537_000, 0) + // Minimum execution time: 52_107_000 picoseconds. + Weight::from_parts(54_301_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 20_959_000 picoseconds. - Weight::from_parts(21_571_000, 0) + // Minimum execution time: 21_530_000 picoseconds. + Weight::from_parts(22_091_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -499,10 +499,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `302` + // Measured: `269` // Estimated: `3666` - // Minimum execution time: 26_319_000 picoseconds. - Weight::from_parts(27_010_000, 0) + // Minimum execution time: 26_670_000 picoseconds. + Weight::from_parts(27_391_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs b/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs index a4c5bb8340..28ce8a4184 100644 --- a/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs +++ b/runtime/centrifuge/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + v * (80 ±0)` + // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 42_951_000 picoseconds. - Weight::from_parts(44_043_246, 0) + // Minimum execution time: 44_444_000 picoseconds. + Weight::from_parts(45_682_027, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 8_823 - .saturating_add(Weight::from_parts(209_440, 0).saturating_mul(v.into())) + // Standard Error: 9_615 + .saturating_add(Weight::from_parts(136_656, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -73,13 +73,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `399 + v * (80 ±0)` + // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_074_000 picoseconds. - Weight::from_parts(62_823_370, 0) + // Minimum execution time: 63_269_000 picoseconds. + Weight::from_parts(63_956_654, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 13_791 - .saturating_add(Weight::from_parts(67_558, 0).saturating_mul(v.into())) + // Standard Error: 15_953 + .saturating_add(Weight::from_parts(285_001, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -99,13 +99,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + v * (80 ±0)` + // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 61_505_000 picoseconds. - Weight::from_parts(62_546_829, 0) + // Minimum execution time: 62_757_000 picoseconds. + Weight::from_parts(63_828_307, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 13_165 - .saturating_add(Weight::from_parts(196_319, 0).saturating_mul(v.into())) + // Standard Error: 16_423 + .saturating_add(Weight::from_parts(329_304, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -118,10 +118,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `601` + // Measured: `568` // Estimated: `4764` - // Minimum execution time: 64_120_000 picoseconds. - Weight::from_parts(65_362_000, 0) + // Minimum execution time: 66_043_000 picoseconds. + Weight::from_parts(67_115_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -135,13 +135,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508 + c * (48 ±0)` - // Estimated: `2993 + c * (48 ±0)` - // Minimum execution time: 47_108_000 picoseconds. - Weight::from_parts(48_141_429, 0) - .saturating_add(Weight::from_parts(0, 2993)) - // Standard Error: 2_307 - .saturating_add(Weight::from_parts(83_791, 0).saturating_mul(c.into())) + // Measured: `1475 + c * (48 ±0)` + // Estimated: `2960 + c * (48 ±0)` + // Minimum execution time: 47_860_000 picoseconds. + Weight::from_parts(49_025_232, 0) + .saturating_add(Weight::from_parts(0, 2960)) + // Standard Error: 2_997 + .saturating_add(Weight::from_parts(64_151, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -151,13 +151,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + c * (48 ±0)` - // Estimated: `1836 + c * (48 ±0)` - // Minimum execution time: 42_359_000 picoseconds. - Weight::from_parts(43_551_400, 0) - .saturating_add(Weight::from_parts(0, 1836)) - // Standard Error: 2_356 - .saturating_add(Weight::from_parts(72_268, 0).saturating_mul(c.into())) + // Measured: `318 + c * (48 ±0)` + // Estimated: `1803 + c * (48 ±0)` + // Minimum execution time: 42_930_000 picoseconds. + Weight::from_parts(43_919_472, 0) + .saturating_add(Weight::from_parts(0, 1803)) + // Standard Error: 2_103 + .saturating_add(Weight::from_parts(66_148, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -174,11 +174,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1688` - // Estimated: `3173` - // Minimum execution time: 60_052_000 picoseconds. - Weight::from_parts(60_633_000, 0) - .saturating_add(Weight::from_parts(0, 3173)) + // Measured: `1655` + // Estimated: `3140` + // Minimum execution time: 59_872_000 picoseconds. + Weight::from_parts(60_443_000, 0) + .saturating_add(Weight::from_parts(0, 3140)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,11 +186,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1056` - // Estimated: `2541` - // Minimum execution time: 43_370_000 picoseconds. - Weight::from_parts(43_862_000, 0) - .saturating_add(Weight::from_parts(0, 2541)) + // Measured: `1023` + // Estimated: `2508` + // Minimum execution time: 43_591_000 picoseconds. + Weight::from_parts(44_233_000, 0) + .saturating_add(Weight::from_parts(0, 2508)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,10 +218,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1791` + // Measured: `1758` // Estimated: `6196` - // Minimum execution time: 90_629_000 picoseconds. - Weight::from_parts(92_162_000, 0) + // Minimum execution time: 91_050_000 picoseconds. + Weight::from_parts(92_433_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -246,13 +246,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1226 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_501_950_000 picoseconds. - Weight::from_parts(29_929_217, 0) + // Minimum execution time: 3_613_114_000 picoseconds. + Weight::from_parts(13_693_878, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 32_803 - .saturating_add(Weight::from_parts(69_890_360, 0).saturating_mul(v.into())) - // Standard Error: 32_803 - .saturating_add(Weight::from_parts(60_301, 0).saturating_mul(d.into())) + // Standard Error: 35_360 + .saturating_add(Weight::from_parts(72_438_842, 0).saturating_mul(v.into())) + // Standard Error: 35_360 + .saturating_add(Weight::from_parts(125_812, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -283,16 +283,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + e * (23 ±0) + v * (241 ±0)` - // Estimated: `9384 + c * (154 ±35) + e * (19 ±0) + v * (2526 ±2)` - // Minimum execution time: 309_488_000 picoseconds. - Weight::from_parts(311_992_000, 0) - .saturating_add(Weight::from_parts(0, 9384)) - // Standard Error: 640_190 - .saturating_add(Weight::from_parts(2_318_898, 0).saturating_mul(c.into())) - // Standard Error: 127_351 - .saturating_add(Weight::from_parts(7_512_990, 0).saturating_mul(v.into())) - // Standard Error: 27_656 - .saturating_add(Weight::from_parts(158_236, 0).saturating_mul(e.into())) + // Estimated: `9351 + c * (154 ±3) + e * (19 ±0) + v * (2526 ±2)` + // Minimum execution time: 322_693_000 picoseconds. + Weight::from_parts(323_504_000, 0) + .saturating_add(Weight::from_parts(0, 9351)) + // Standard Error: 716_225 + .saturating_add(Weight::from_parts(2_527_984, 0).saturating_mul(c.into())) + // Standard Error: 142_476 + .saturating_add(Weight::from_parts(8_091_529, 0).saturating_mul(v.into())) + // Standard Error: 30_941 + .saturating_add(Weight::from_parts(190_114, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/centrifuge/src/weights/pallet_fees.rs b/runtime/centrifuge/src/weights/pallet_fees.rs index a3cd77b855..a4ea75e633 100644 --- a/runtime/centrifuge/src/weights/pallet_fees.rs +++ b/runtime/centrifuge/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_962_000 picoseconds. - Weight::from_parts(12_383_000, 0) + // Minimum execution time: 12_523_000 picoseconds. + Weight::from_parts(12_823_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_identity.rs b/runtime/centrifuge/src/weights/pallet_identity.rs index 086db63181..0568929d9b 100644 --- a/runtime/centrifuge/src/weights/pallet_identity.rs +++ b/runtime/centrifuge/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_322_000 picoseconds. - Weight::from_parts(18_373_641, 0) + // Minimum execution time: 17_042_000 picoseconds. + Weight::from_parts(18_503_704, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_220 - .saturating_add(Weight::from_parts(104_570, 0).saturating_mul(r.into())) + // Standard Error: 2_431 + .saturating_add(Weight::from_parts(96_248, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 46_637_000 picoseconds. - Weight::from_parts(45_157_206, 0) + // Minimum execution time: 47_559_000 picoseconds. + Weight::from_parts(45_654_257, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 3_577 - .saturating_add(Weight::from_parts(106_381, 0).saturating_mul(r.into())) - // Standard Error: 698 - .saturating_add(Weight::from_parts(780_994, 0).saturating_mul(x.into())) + // Standard Error: 4_543 + .saturating_add(Weight::from_parts(140_019, 0).saturating_mul(r.into())) + // Standard Error: 886 + .saturating_add(Weight::from_parts(846_877, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_094_000 picoseconds. - Weight::from_parts(33_405_061, 0) + // Minimum execution time: 13_214_000 picoseconds. + Weight::from_parts(33_953_331, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_059 - .saturating_add(Weight::from_parts(4_740_457, 0).saturating_mul(s.into())) + // Standard Error: 5_382 + .saturating_add(Weight::from_parts(4_959_757, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 13_074_000 picoseconds. - Weight::from_parts(32_694_769, 0) + // Minimum execution time: 13_486_000 picoseconds. + Weight::from_parts(33_695_775, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_437 - .saturating_add(Weight::from_parts(1_890_608, 0).saturating_mul(p.into())) + // Standard Error: 4_739 + .saturating_add(Weight::from_parts(1_963_974, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 85_720_000 picoseconds. - Weight::from_parts(45_623_360, 0) + // Minimum execution time: 88_004_000 picoseconds. + Weight::from_parts(44_759_509, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 14_072 - .saturating_add(Weight::from_parts(88_651, 0).saturating_mul(r.into())) - // Standard Error: 2_748 - .saturating_add(Weight::from_parts(1_870_637, 0).saturating_mul(s.into())) - // Standard Error: 2_748 - .saturating_add(Weight::from_parts(429_181, 0).saturating_mul(x.into())) + // Standard Error: 8_578 + .saturating_add(Weight::from_parts(145_021, 0).saturating_mul(r.into())) + // Standard Error: 1_675 + .saturating_add(Weight::from_parts(1_946_896, 0).saturating_mul(s.into())) + // Standard Error: 1_675 + .saturating_add(Weight::from_parts(443_999, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 46_307_000 picoseconds. - Weight::from_parts(44_696_021, 0) + // Minimum execution time: 47_178_000 picoseconds. + Weight::from_parts(46_040_388, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_786 - .saturating_add(Weight::from_parts(153_709, 0).saturating_mul(r.into())) - // Standard Error: 1_129 - .saturating_add(Weight::from_parts(823_140, 0).saturating_mul(x.into())) + // Standard Error: 5_998 + .saturating_add(Weight::from_parts(117_934, 0).saturating_mul(r.into())) + // Standard Error: 1_170 + .saturating_add(Weight::from_parts(869_330, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 42_620_000 picoseconds. - Weight::from_parts(41_555_942, 0) + // Minimum execution time: 43_581_000 picoseconds. + Weight::from_parts(43_508_839, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_354 - .saturating_add(Weight::from_parts(100_277, 0).saturating_mul(r.into())) - // Standard Error: 1_044 - .saturating_add(Weight::from_parts(816_894, 0).saturating_mul(x.into())) + // Standard Error: 6_432 + .saturating_add(Weight::from_parts(52_826, 0).saturating_mul(r.into())) + // Standard Error: 1_255 + .saturating_add(Weight::from_parts(889_955, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_579_000 picoseconds. - Weight::from_parts(11_201_552, 0) + // Minimum execution time: 10_559_000 picoseconds. + Weight::from_parts(11_398_625, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_369 - .saturating_add(Weight::from_parts(79_345, 0).saturating_mul(r.into())) + // Standard Error: 1_522 + .saturating_add(Weight::from_parts(86_547, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 10_109_000 picoseconds. - Weight::from_parts(10_555_631, 0) + // Minimum execution time: 10_149_000 picoseconds. + Weight::from_parts(10_583_621, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_049 - .saturating_add(Weight::from_parts(71_029, 0).saturating_mul(r.into())) + // Standard Error: 1_291 + .saturating_add(Weight::from_parts(77_285, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_698_000 picoseconds. - Weight::from_parts(10_229_603, 0) + // Minimum execution time: 9_888_000 picoseconds. + Weight::from_parts(10_303_298, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(73_438, 0).saturating_mul(r.into())) + // Standard Error: 992 + .saturating_add(Weight::from_parts(80_421, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 31_980_000 picoseconds. - Weight::from_parts(30_591_475, 0) + // Minimum execution time: 33_462_000 picoseconds. + Weight::from_parts(32_543_893, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 19_301 - .saturating_add(Weight::from_parts(111_586, 0).saturating_mul(r.into())) - // Standard Error: 3_571 - .saturating_add(Weight::from_parts(1_289_559, 0).saturating_mul(x.into())) + // Standard Error: 6_894 + .saturating_add(Weight::from_parts(86_086, 0).saturating_mul(r.into())) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(1_402_506, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -251,15 +251,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `797 + r * (15 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 113_823_000 picoseconds. - Weight::from_parts(72_406_178, 0) + // Minimum execution time: 117_479_000 picoseconds. + Weight::from_parts(73_092_586, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 9_544 - .saturating_add(Weight::from_parts(168_466, 0).saturating_mul(r.into())) - // Standard Error: 1_863 - .saturating_add(Weight::from_parts(1_897_819, 0).saturating_mul(s.into())) - // Standard Error: 1_863 - .saturating_add(Weight::from_parts(427_743, 0).saturating_mul(x.into())) + // Standard Error: 7_927 + .saturating_add(Weight::from_parts(148_449, 0).saturating_mul(r.into())) + // Standard Error: 1_548 + .saturating_add(Weight::from_parts(1_952_685, 0).saturating_mul(s.into())) + // Standard Error: 1_548 + .saturating_add(Weight::from_parts(457_548, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -275,11 +275,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 41_778_000 picoseconds. - Weight::from_parts(47_231_250, 0) + // Minimum execution time: 42_329_000 picoseconds. + Weight::from_parts(48_074_372, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_338 - .saturating_add(Weight::from_parts(68_268, 0).saturating_mul(s.into())) + // Standard Error: 1_358 + .saturating_add(Weight::from_parts(69_501, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -292,11 +292,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 17_774_000 picoseconds. - Weight::from_parts(19_952_378, 0) + // Minimum execution time: 17_874_000 picoseconds. + Weight::from_parts(20_394_081, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 523 - .saturating_add(Weight::from_parts(21_208, 0).saturating_mul(s.into())) + // Standard Error: 641 + .saturating_add(Weight::from_parts(22_238, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -311,11 +311,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 45_745_000 picoseconds. - Weight::from_parts(48_988_949, 0) + // Minimum execution time: 46_607_000 picoseconds. + Weight::from_parts(49_879_526, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 863 - .saturating_add(Weight::from_parts(55_194, 0).saturating_mul(s.into())) + // Standard Error: 908 + .saturating_add(Weight::from_parts(57_946, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +330,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 34_355_000 picoseconds. - Weight::from_parts(36_331_780, 0) + // Minimum execution time: 34_334_000 picoseconds. + Weight::from_parts(37_056_869, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 793 - .saturating_add(Weight::from_parts(60_150, 0).saturating_mul(s.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(64_568, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs index 35a46187a1..20912ff150 100644 --- a/runtime/centrifuge/src/weights/pallet_interest_accrual.rs +++ b/runtime/centrifuge/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 681_000 picoseconds. - Weight::from_parts(199_352, 0) + // Minimum execution time: 721_000 picoseconds. + Weight::from_parts(177_387, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 301 - .saturating_add(Weight::from_parts(579_759, 0).saturating_mul(n.into())) + // Standard Error: 235 + .saturating_add(Weight::from_parts(608_183, 0).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_investments.rs b/runtime/centrifuge/src/weights/pallet_investments.rs index 91acbed721..e50288ff43 100644 --- a/runtime/centrifuge/src/weights/pallet_investments.rs +++ b/runtime/centrifuge/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `6198` - // Minimum execution time: 99_235_000 picoseconds. - Weight::from_parts(101_289_000, 0) + // Minimum execution time: 100_788_000 picoseconds. + Weight::from_parts(102_251_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -78,8 +78,8 @@ impl pallet_investments::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2051` // Estimated: `6198` - // Minimum execution time: 99_396_000 picoseconds. - Weight::from_parts(100_528_000, 0) + // Minimum execution time: 100_708_000 picoseconds. + Weight::from_parts(101_739_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -98,21 +98,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments InvestmentState (r:1 w:0) - /// Proof: ForeignInvestments InvestmentState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2424 + n * (44 ±0)` + // Measured: `2458 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 112_690_000 picoseconds. - Weight::from_parts(109_114_825, 0) + // Minimum execution time: 111_568_000 picoseconds. + Weight::from_parts(108_152_557, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 29_854 - .saturating_add(Weight::from_parts(5_198_247, 0).saturating_mul(n.into())) + // Standard Error: 27_998 + .saturating_add(Weight::from_parts(5_129_294, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:0) @@ -129,21 +129,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments RedemptionState (r:1 w:0) - /// Proof: ForeignInvestments RedemptionState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2461 + n * (44 ±0)` + // Measured: `2495 + n * (44 ±0)` // Estimated: `6198 + n * (2555 ±0)` - // Minimum execution time: 110_206_000 picoseconds. - Weight::from_parts(106_220_586, 0) + // Minimum execution time: 109_755_000 picoseconds. + Weight::from_parts(105_947_972, 0) .saturating_add(Weight::from_parts(0, 6198)) - // Standard Error: 28_664 - .saturating_add(Weight::from_parts(5_304_756, 0).saturating_mul(n.into())) + // Standard Error: 20_311 + .saturating_add(Weight::from_parts(5_280_100, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_keystore.rs b/runtime/centrifuge/src/weights/pallet_keystore.rs index a69f5137d8..d600520ccf 100644 --- a/runtime/centrifuge/src/weights/pallet_keystore.rs +++ b/runtime/centrifuge/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 44_353_000 picoseconds. - Weight::from_parts(18_912_000, 0) + // Minimum execution time: 45_144_000 picoseconds. + Weight::from_parts(19_159_825, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 13_445 - .saturating_add(Weight::from_parts(27_301_641, 0).saturating_mul(n.into())) + // Standard Error: 12_231 + .saturating_add(Weight::from_parts(27_790_552, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 22_472_000 picoseconds. - Weight::from_parts(10_976_244, 0) + // Minimum execution time: 22_131_000 picoseconds. + Weight::from_parts(10_356_204, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 14_154 - .saturating_add(Weight::from_parts(12_828_435, 0).saturating_mul(n.into())) + // Standard Error: 12_992 + .saturating_add(Weight::from_parts(13_129_787, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_472_000 picoseconds. - Weight::from_parts(11_722_000, 0) + // Minimum execution time: 11_101_000 picoseconds. + Weight::from_parts(11_601_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs b/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs index 7dc1c4270c..bd5af7f43e 100644 --- a/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs +++ b/runtime/centrifuge/src/weights/pallet_liquidity_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquidity_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -39,15 +39,19 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// The range of component `x` is `[0, 20]`. /// The range of component `y` is `[0, 50]`. /// The range of component `z` is `[0, 50]`. - fn on_initialize(_x: u32, _y: u32, z: u32, ) -> Weight { + fn on_initialize(x: u32, y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295` // Estimated: `1493` - // Minimum execution time: 9_057_000 picoseconds. - Weight::from_parts(9_616_468, 0) + // Minimum execution time: 9_247_000 picoseconds. + Weight::from_parts(9_828_267, 0) .saturating_add(Weight::from_parts(0, 1493)) - // Standard Error: 246 - .saturating_add(Weight::from_parts(7_097, 0).saturating_mul(z.into())) + // Standard Error: 776 + .saturating_add(Weight::from_parts(2_470, 0).saturating_mul(x.into())) + // Standard Error: 318 + .saturating_add(Weight::from_parts(731, 0).saturating_mul(y.into())) + // Standard Error: 318 + .saturating_add(Weight::from_parts(8_782, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: LiquidityRewardsBase Currency (r:1 w:1) @@ -64,8 +68,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `539` // Estimated: `4328` - // Minimum execution time: 39_844_000 picoseconds. - Weight::from_parts(40_886_000, 0) + // Minimum execution time: 40_626_000 picoseconds. + Weight::from_parts(41_448_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -80,8 +84,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `176` // Estimated: `4328` - // Minimum execution time: 27_381_000 picoseconds. - Weight::from_parts(28_092_000, 0) + // Minimum execution time: 27_783_000 picoseconds. + Weight::from_parts(28_784_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -98,8 +102,8 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `449` // Estimated: `4328` - // Minimum execution time: 55_854_000 picoseconds. - Weight::from_parts(56_786_000, 0) + // Minimum execution time: 56_866_000 picoseconds. + Weight::from_parts(58_690_000, 0) .saturating_add(Weight::from_parts(0, 4328)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -108,10 +112,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_distributed_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_567_000 picoseconds. - Weight::from_parts(9_056_000, 0) + // Minimum execution time: 8_896_000 picoseconds. + Weight::from_parts(9_247_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -120,10 +124,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_epoch_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_646_000 picoseconds. - Weight::from_parts(8_946_000, 0) + // Minimum execution time: 8_766_000 picoseconds. + Weight::from_parts(9_037_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -132,10 +136,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_group_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 8_977_000 picoseconds. - Weight::from_parts(9_186_000, 0) + // Minimum execution time: 9_278_000 picoseconds. + Weight::from_parts(9_487_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -144,10 +148,10 @@ impl pallet_liquidity_rewards::WeightInfo for WeightInf /// Proof: LiquidityRewards NextEpochChanges (max_values: Some(1), max_size: Some(2078), added: 2573, mode: MaxEncodedLen) fn set_currency_group() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3563` - // Minimum execution time: 9_057_000 picoseconds. - Weight::from_parts(9_468_000, 0) + // Minimum execution time: 9_227_000 picoseconds. + Weight::from_parts(9_658_000, 0) .saturating_add(Weight::from_parts(0, 3563)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_loans.rs b/runtime/centrifuge/src/weights/pallet_loans.rs index 7acbc5fc8c..273fd33ef2 100644 --- a/runtime/centrifuge/src/weights/pallet_loans.rs +++ b/runtime/centrifuge/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -45,23 +45,23 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans LastLoanId (r:1 w:1) /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1229` + // Measured: `1228` // Estimated: `4278` - // Minimum execution time: 80_820_000 picoseconds. - Weight::from_parts(82_083_000, 0) + // Minimum execution time: 83_065_000 picoseconds. + Weight::from_parts(83_927_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -71,7 +71,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) @@ -83,13 +83,13 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38314 + n * (340 ±0)` - // Estimated: `329491 + n * (340 ±0)` - // Minimum execution time: 267_369_000 picoseconds. - Weight::from_parts(284_945_801, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 51_234 - .saturating_add(Weight::from_parts(291_957, 0).saturating_mul(n.into())) + // Measured: `38281 + n * (340 ±0)` + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 258_834_000 picoseconds. + Weight::from_parts(270_918_292, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 52_483 + .saturating_add(Weight::from_parts(270_583, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -97,7 +97,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -115,13 +115,13 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38467 + n * (340 ±0)` - // Estimated: `329491 + n * (340 ±0)` - // Minimum execution time: 199_494_000 picoseconds. - Weight::from_parts(205_501_571, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 35_709 - .saturating_add(Weight::from_parts(522_572, 0).saturating_mul(n.into())) + // Measured: `38434 + n * (340 ±0)` + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 189_975_000 picoseconds. + Weight::from_parts(194_674_487, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 44_229 + .saturating_add(Weight::from_parts(760_400, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -129,7 +129,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -141,13 +141,13 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `41174 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 368_759_000 picoseconds. - Weight::from_parts(385_974_861, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 51_466 - .saturating_add(Weight::from_parts(402_175, 0).saturating_mul(n.into())) + // Measured: `41141 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 361_806_000 picoseconds. + Weight::from_parts(377_184_840, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 50_608 + .saturating_add(Weight::from_parts(385_565, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,7 +156,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -168,45 +168,45 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `41425 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 383_175_000 picoseconds. - Weight::from_parts(402_317_968, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 56_008 - .saturating_add(Weight::from_parts(549_326, 0).saturating_mul(n.into())) + // Measured: `41392 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 375_490_000 picoseconds. + Weight::from_parts(394_148_035, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 92_912 + .saturating_add(Weight::from_parts(490_645, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `971 + n * (316 ±0)` - // Estimated: `329491` - // Minimum execution time: 48_400_000 picoseconds. - Weight::from_parts(49_771_278, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 12_804 - .saturating_add(Weight::from_parts(483_995, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 45_475_000 picoseconds. + Weight::from_parts(47_440_607, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 11_156 + .saturating_add(Weight::from_parts(497_741, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -216,20 +216,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37511 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 104_284_000 picoseconds. - Weight::from_parts(108_452_813, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 30_067 - .saturating_add(Weight::from_parts(484_047, 0).saturating_mul(n.into())) + // Measured: `37477 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 98_033_000 picoseconds. + Weight::from_parts(103_175_207, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 28_174 + .saturating_add(Weight::from_parts(558_306, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -239,7 +239,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Uniques Asset (r:1 w:1) /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(264), added: 2739, mode: MaxEncodedLen) + /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) @@ -248,12 +248,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `37337 + n * (373 ±0)` - // Estimated: `329491` - // Minimum execution time: 149_519_000 picoseconds. - Weight::from_parts(159_427_326, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 37_640 - .saturating_add(Weight::from_parts(587_209, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 143_118_000 picoseconds. + Weight::from_parts(151_469_205, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 29_664 + .saturating_add(Weight::from_parts(781_522, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,30 +264,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `512` + // Measured: `478` // Estimated: `4278` - // Minimum execution time: 104_265_000 picoseconds. - Weight::from_parts(106_239_000, 0) + // Minimum execution time: 110_276_000 picoseconds. + Weight::from_parts(111_718_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(5126), added: 7601, mode: MaxEncodedLen) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `4887` - // Estimated: `8649` - // Minimum execution time: 113_612_000 picoseconds. - Weight::from_parts(115_486_000, 0) - .saturating_add(Weight::from_parts(0, 8649)) + // Measured: `4854` + // Estimated: `9601` + // Minimum execution time: 118_902_000 picoseconds. + Weight::from_parts(120_966_000, 0) + .saturating_add(Weight::from_parts(0, 9601)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,10 +295,12 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: PriceCollector Collection (r:1 w:0) - /// Proof: PriceCollector Collection (max_values: None, max_size: Some(37026), added: 39501, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:1 w:0) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:0 w:1) @@ -306,20 +308,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `36964 + n * (316 ±0)` - // Estimated: `329491` - // Minimum execution time: 87_894_000 picoseconds. - Weight::from_parts(83_616_719, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 22_825 - .saturating_add(Weight::from_parts(10_124_150, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `37026 + n * (353 ±0)` + // Estimated: `375491` + // Minimum execution time: 92_994_000 picoseconds. + Weight::from_parts(85_363_227, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 16_880 + .saturating_add(Weight::from_parts(10_797_050, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -327,30 +329,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37177 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 295_081_000 picoseconds. - Weight::from_parts(308_871_353, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 73_805 - .saturating_add(Weight::from_parts(1_027_681, 0).saturating_mul(n.into())) + // Measured: `37144 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 285_124_000 picoseconds. + Weight::from_parts(292_535_387, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 72_345 + .saturating_add(Weight::from_parts(1_691_221, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(5184), added: 7659, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -358,23 +360,43 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37839 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 299_900_000 picoseconds. - Weight::from_parts(318_064_907, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 74_782 - .saturating_add(Weight::from_parts(667_955, 0).saturating_mul(n.into())) + // Measured: `37805 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 291_194_000 picoseconds. + Weight::from_parts(300_874_911, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 81_720 + .saturating_add(Weight::from_parts(1_936_575, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - - fn increase_debt(_: u32) -> Weight { - // Pending to generate - Weight::zero() + /// Storage: Loans CreatedLoan (r:1 w:1) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: InterestAccrual Rates (r:1 w:1) + /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) + /// Storage: InterestAccrual LastUpdated (r:1 w:0) + /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans PortfolioValuation (r:1 w:1) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: Loans ActiveLoans (r:1 w:1) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 9]`. + fn increase_debt(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `36804 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 186_598_000 picoseconds. + Weight::from_parts(196_558_588, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 39_911 + .saturating_add(Weight::from_parts(810_756, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/centrifuge/src/weights/pallet_multisig.rs b/runtime/centrifuge/src/weights/pallet_multisig.rs index fb1a3706e5..cb9f4f5ba5 100644 --- a/runtime/centrifuge/src/weights/pallet_multisig.rs +++ b/runtime/centrifuge/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_120_000 picoseconds. - Weight::from_parts(17_224_252, 0) + // Minimum execution time: 16_381_000 picoseconds. + Weight::from_parts(17_198_048, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(483, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(488, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -49,15 +49,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 55_504_000 picoseconds. - Weight::from_parts(48_436_385, 0) + // Minimum execution time: 57_488_000 picoseconds. + Weight::from_parts(51_341_240, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_067 - .saturating_add(Weight::from_parts(90_164, 0).saturating_mul(s.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_518, 0).saturating_mul(z.into())) + // Standard Error: 688 + .saturating_add(Weight::from_parts(77_889, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,15 +67,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 35_356_000 picoseconds. - Weight::from_parts(28_796_549, 0) + // Minimum execution time: 35_106_000 picoseconds. + Weight::from_parts(28_992_770, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 763 - .saturating_add(Weight::from_parts(74_592, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_448, 0).saturating_mul(z.into())) + // Standard Error: 509 + .saturating_add(Weight::from_parts(71_743, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,15 +87,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `489 + s * (33 ±0)` + // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 63_629_000 picoseconds. - Weight::from_parts(53_043_352, 0) + // Minimum execution time: 64_361_000 picoseconds. + Weight::from_parts(54_937_544, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 904 - .saturating_add(Weight::from_parts(123_629, 0).saturating_mul(s.into())) + // Standard Error: 874 + .saturating_add(Weight::from_parts(115_220, 0).saturating_mul(s.into())) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_565, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,13 +104,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 45_335_000 picoseconds. - Weight::from_parts(46_528_658, 0) + // Minimum execution time: 47_388_000 picoseconds. + Weight::from_parts(48_902_950, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 769 - .saturating_add(Weight::from_parts(89_417, 0).saturating_mul(s.into())) + // Standard Error: 965 + .saturating_add(Weight::from_parts(83_614, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,13 +119,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 25_438_000 picoseconds. - Weight::from_parts(26_064_857, 0) + // Minimum execution time: 26_179_000 picoseconds. + Weight::from_parts(26_759_647, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 671 - .saturating_add(Weight::from_parts(74_715, 0).saturating_mul(s.into())) + // Standard Error: 1_106 + .saturating_add(Weight::from_parts(75_092, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,13 +134,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `553 + s * (1 ±0)` + // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 46_176_000 picoseconds. - Weight::from_parts(47_330_455, 0) + // Minimum execution time: 48_470_000 picoseconds. + Weight::from_parts(49_230_899, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_325 - .saturating_add(Weight::from_parts(84_568, 0).saturating_mul(s.into())) + // Standard Error: 736 + .saturating_add(Weight::from_parts(71_102, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_oracle_collection.rs b/runtime/centrifuge/src/weights/pallet_oracle_collection.rs index c72b294d8f..a0ffc656b1 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_collection.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_collection.rs @@ -1,24 +1,109 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_collection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=centrifuge-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_collection +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_collection.rs -use frame_support::weights::Weight; +#![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; +/// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - fn propose_update_collection_info(_: u32) -> Weight { - Weight::zero() + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn propose_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `222` + // Estimated: `3693` + // Minimum execution time: 28_994_000 picoseconds. + Weight::from_parts(28_009_867, 0) + .saturating_add(Weight::from_parts(0, 3693)) + // Standard Error: 5_222 + .saturating_add(Weight::from_parts(1_647_856, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn apply_update_collection_info(_: u32) -> Weight { - Weight::zero() - } - - fn update_collection(_: u32, _: u32) -> Weight { - Weight::zero() + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn apply_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `658 + n * (34 ±0)` + // Estimated: `9601` + // Minimum execution time: 35_166_000 picoseconds. + Weight::from_parts(34_227_126, 0) + .saturating_add(Weight::from_parts(0, 9601)) + // Standard Error: 5_411 + .saturating_add(Weight::from_parts(1_786_943, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - - fn set_collection_info() -> Weight { - Weight::zero() + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + /// The range of component `m` is `[1, 10]`. + fn update_collection(n: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (607 ±0) + n * (663 ±0)` + // Estimated: `32850 + m * (9227 ±363) + n * (9227 ±363)` + // Minimum execution time: 251_099_000 picoseconds. + Weight::from_parts(253_563_000, 0) + .saturating_add(Weight::from_parts(0, 32850)) + // Standard Error: 3_273_308 + .saturating_add(Weight::from_parts(98_904_664, 0).saturating_mul(n.into())) + // Standard Error: 3_273_308 + .saturating_add(Weight::from_parts(60_537_776, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs index d099cf8d3d..02a68460c7 100644 --- a/runtime/centrifuge/src/weights/pallet_oracle_feed.rs +++ b/runtime/centrifuge/src/weights/pallet_oracle_feed.rs @@ -1,16 +1,65 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_feed` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=centrifuge-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_feed +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/centrifuge/src/weights/pallet_oracle_feed.rs -use frame_support::weights::Weight; +#![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; + +/// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_with_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `4176` + // Minimum execution time: 66_053_000 picoseconds. + Weight::from_parts(67_306_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } - + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_without_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `413` + // Estimated: `4176` + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(23_745_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/centrifuge/src/weights/pallet_order_book.rs b/runtime/centrifuge/src/weights/pallet_order_book.rs index febbfa10b2..c474fdb5e9 100644 --- a/runtime/centrifuge/src/weights/pallet_order_book.rs +++ b/runtime/centrifuge/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -32,96 +32,95 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) - fn create_order() -> Weight { + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `796` - // Estimated: `11533` - // Minimum execution time: 73_908_000 picoseconds. - Weight::from_parts(75_671_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `742` + // Estimated: `4207` + // Minimum execution time: 54_021_000 picoseconds. + Weight::from_parts(55_063_000, 0) + .saturating_add(Weight::from_parts(0, 4207)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:1 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1238` - // Estimated: `7178` - // Minimum execution time: 73_718_000 picoseconds. - Weight::from_parts(74_930_000, 0) - .saturating_add(Weight::from_parts(0, 7178)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `946` + // Estimated: `4411` + // Minimum execution time: 49_393_000 picoseconds. + Weight::from_parts(50_305_000, 0) + .saturating_add(Weight::from_parts(0, 4411)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1029` - // Estimated: `11533` - // Minimum execution time: 62_046_000 picoseconds. - Weight::from_parts(62_728_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `946` + // Estimated: `4411` + // Minimum execution time: 52_087_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 4411)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) + /// Storage: OrderBook MarketFeederId (r:1 w:0) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:1 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:0) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1383` - // Estimated: `11533` - // Minimum execution time: 158_656_000 picoseconds. - Weight::from_parts(160_340_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `1731` + // Estimated: `11406` + // Minimum execution time: 168_214_000 picoseconds. + Weight::from_parts(170_388_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } + /// Storage: OrderBook MarketFeederId (r:0 w:1) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) fn set_market_feeder() -> Weight { - // Pending to be generated - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_175_000 picoseconds. + Weight::from_parts(13_566_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/centrifuge/src/weights/pallet_permissions.rs b/runtime/centrifuge/src/weights/pallet_permissions.rs index 94daf20376..52987dddf7 100644 --- a/runtime/centrifuge/src/weights/pallet_permissions.rs +++ b/runtime/centrifuge/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_718_000 picoseconds. - Weight::from_parts(21_120_000, 0) + // Minimum execution time: 21_490_000 picoseconds. + Weight::from_parts(22_041_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 27_732_000 picoseconds. - Weight::from_parts(28_483_000, 0) + // Minimum execution time: 28_734_000 picoseconds. + Weight::from_parts(29_636_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 23_935_000 picoseconds. - Weight::from_parts(24_516_000, 0) + // Minimum execution time: 24_375_000 picoseconds. + Weight::from_parts(24_897_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 30_066_000 picoseconds. - Weight::from_parts(30_668_000, 0) + // Minimum execution time: 31_439_000 picoseconds. + Weight::from_parts(31_990_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_779_000 picoseconds. - Weight::from_parts(21_701_000, 0) + // Minimum execution time: 21_370_000 picoseconds. + Weight::from_parts(22_011_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_921_000 picoseconds. - Weight::from_parts(22_282_000, 0) + // Minimum execution time: 21_830_000 picoseconds. + Weight::from_parts(22_802_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_pool_fees.rs b/runtime/centrifuge/src/weights/pallet_pool_fees.rs new file mode 100644 index 0000000000..bfac4e2f5a --- /dev/null +++ b/runtime/centrifuge/src/weights/pallet_pool_fees.rs @@ -0,0 +1,154 @@ + +//! Autogenerated weights for `pallet_pool_fees` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=centrifuge-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_pool_fees +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/centrifuge/src/weights/pallet_pool_fees.rs + +#![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; + +/// Weight functions for `pallet_pool_fees`. +pub struct WeightInfo(PhantomData); +impl pallet_pool_fees::WeightInfo for WeightInfo { + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + fn propose_new_fee() -> Weight { + // Proof Size summary in bytes: + // Measured: `581` + // Estimated: `4278` + // Minimum execution time: 42_470_000 picoseconds. + Weight::from_parts(43_301_000, 0) + .saturating_add(Weight::from_parts(0, 4278)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn apply_new_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1395 + n * (137 ±0)` + // Estimated: `17508` + // Minimum execution time: 55_203_000 picoseconds. + Weight::from_parts(55_397_177, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_212 + .saturating_add(Weight::from_parts(289_076, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn remove_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `709 + n * (136 ±0)` + // Estimated: `17508` + // Minimum execution time: 37_711_000 picoseconds. + Weight::from_parts(38_370_638, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 3_466 + .saturating_add(Weight::from_parts(411_219, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn charge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `795 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 27_402_000 picoseconds. + Weight::from_parts(27_231_143, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_037 + .saturating_add(Weight::from_parts(259_721, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn uncharge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `795 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 26_810_000 picoseconds. + Weight::from_parts(26_250_765, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_031 + .saturating_add(Weight::from_parts(260_625, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:0) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn update_portfolio_valuation(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `603 + n * (124 ±0)` + // Estimated: `17508` + // Minimum execution time: 49_082_000 picoseconds. + Weight::from_parts(42_962_181, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 3_854 + .saturating_add(Weight::from_parts(5_880_090, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/centrifuge/src/weights/pallet_pool_registry.rs b/runtime/centrifuge/src/weights/pallet_pool_registry.rs index 5ef8d069d0..62049390d5 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_registry.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,6 +44,14 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Permissions PermissionCount (r:1 w:1) /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) /// Storage: Permissions Permission (r:1 w:1) @@ -53,25 +61,29 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem PoolDeposit (r:0 w:1) /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn register(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `610` - // Estimated: `4278 + n * (2475 ±0)` - // Minimum execution time: 177_622_000 picoseconds. - Weight::from_parts(163_400_139, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 35_344 - .saturating_add(Weight::from_parts(17_290_294, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `614` + // Estimated: `17508 + m * (2508 ±0) + n * (2475 ±0)` + // Minimum execution time: 254_134_000 picoseconds. + Weight::from_parts(154_664_188, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 82_213 + .saturating_add(Weight::from_parts(27_771_408, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -81,15 +93,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_no_execution(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `787 + n * (133 ±0)` + // Measured: `786 + n * (133 ±0)` // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 49_782_000 picoseconds. - Weight::from_parts(48_436_942, 0) + // Minimum execution time: 54_201_000 picoseconds. + Weight::from_parts(50_324_674, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 11_540 - .saturating_add(Weight::from_parts(2_726_764, 0).saturating_mul(n.into())) + // Standard Error: 12_014 + .saturating_add(Weight::from_parts(2_645_219, 0).saturating_mul(n.into())) + // Standard Error: 548 + .saturating_add(Weight::from_parts(31_387, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,7 +113,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -110,15 +125,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_and_execute(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `847 + n * (167 ±0)` + // Measured: `850 + n * (167 ±0)` // Estimated: `6787 + n * (2531 ±0)` - // Minimum execution time: 85_029_000 picoseconds. - Weight::from_parts(78_654_281, 0) + // Minimum execution time: 93_764_000 picoseconds. + Weight::from_parts(81_563_764, 0) .saturating_add(Weight::from_parts(0, 6787)) - // Standard Error: 27_893 - .saturating_add(Weight::from_parts(9_157_230, 0).saturating_mul(n.into())) + // Standard Error: 27_081 + .saturating_add(Weight::from_parts(9_617_228, 0).saturating_mul(n.into())) + // Standard Error: 1_235 + .saturating_add(Weight::from_parts(55_884, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,7 +145,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -137,15 +155,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[1, 5]`. - fn execute_update(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `837 + n * (194 ±0)` + // Measured: `838 + n * (194 ±0)` // Estimated: `6777 + n * (2531 ±0)` - // Minimum execution time: 73_627_000 picoseconds. - Weight::from_parts(66_730_007, 0) + // Minimum execution time: 79_279_000 picoseconds. + Weight::from_parts(67_973_787, 0) .saturating_add(Weight::from_parts(0, 6777)) - // Standard Error: 48_612 - .saturating_add(Weight::from_parts(9_343_022, 0).saturating_mul(n.into())) + // Standard Error: 19_259 + .saturating_add(Weight::from_parts(9_701_109, 0).saturating_mul(n.into())) + // Standard Error: 878 + .saturating_add(Weight::from_parts(43_521, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -156,15 +177,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolRegistry PoolMetadata (r:0 w:1) /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// The range of component `n` is `[0, 46]`. - fn set_metadata(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 22_262_000 picoseconds. - Weight::from_parts(23_602_280, 0) + // Minimum execution time: 23_594_000 picoseconds. + Weight::from_parts(24_340_973, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 734 - .saturating_add(Weight::from_parts(10_309, 0).saturating_mul(n.into())) + // Standard Error: 698 + .saturating_add(Weight::from_parts(8_639, 0).saturating_mul(n.into())) + // Standard Error: 324 + .saturating_add(Weight::from_parts(26_341, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_pool_system.rs b/runtime/centrifuge/src/weights/pallet_pool_system.rs index 26a599384c..54aabd862f 100644 --- a/runtime/centrifuge/src/weights/pallet_pool_system.rs +++ b/runtime/centrifuge/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -36,24 +36,33 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - fn set_max_reserve(_m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `625` + // Measured: `592` // Estimated: `4278` - // Minimum execution time: 28_955_000 picoseconds. - Weight::from_parts(29_766_000, 0) + // Minimum execution time: 29_355_000 picoseconds. + Weight::from_parts(30_594_472, 0) .saturating_add(Weight::from_parts(0, 4278)) + // Standard Error: 522 + .saturating_add(Weight::from_parts(28_625, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -75,29 +84,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_orders(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[1, 100]`. + fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `875 + n * (133 ±0)` + // Measured: `1080 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 125_645_000 picoseconds. - Weight::from_parts(52_910_494, 0) + // Minimum execution time: 594_250_000 picoseconds. + Weight::from_parts(92_786_531, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 44_496 - .saturating_add(Weight::from_parts(76_412_321, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Standard Error: 170_995 + .saturating_add(Weight::from_parts(99_156_652, 0).saturating_mul(n.into())) + // Standard Error: 7_897 + .saturating_add(Weight::from_parts(7_804_007, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -113,29 +131,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments RedeemOrderId (r:5 w:5) /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_execution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1041 + n * (133 ±0)` + // Measured: `1244 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 84_508_000 picoseconds. - Weight::from_parts(53_068_726, 0) + // Minimum execution time: 294_910_000 picoseconds. + Weight::from_parts(102_803_181, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 36_598 - .saturating_add(Weight::from_parts(32_861_205, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Standard Error: 146_567 + .saturating_add(Weight::from_parts(39_656_733, 0).saturating_mul(n.into())) + // Standard Error: 6_688 + .saturating_add(Weight::from_parts(7_584_482, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:1) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -161,42 +188,53 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_execute(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1848 + n * (167 ±0)` - // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 238_416_000 picoseconds. - Weight::from_parts(165_600_434, 0) + // Measured: `2055 + m * (124 ±0) + n * (167 ±0)` + // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 735_322_000 picoseconds. + Weight::from_parts(227_464_284, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 72_339 - .saturating_add(Weight::from_parts(79_270_429, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Standard Error: 200_422 + .saturating_add(Weight::from_parts(104_926_718, 0).saturating_mul(n.into())) + // Standard Error: 9_146 + .saturating_add(Weight::from_parts(7_801_931, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn submit_solution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `429 + n * (249 ±0)` - // Estimated: `4278` - // Minimum execution time: 31_098_000 picoseconds. - Weight::from_parts(30_866_375, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 8_632 - .saturating_add(Weight::from_parts(1_150_475, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `821 + m * (124 ±0) + n * (249 ±0)` + // Estimated: `17508` + // Minimum execution time: 43_951_000 picoseconds. + Weight::from_parts(37_237_325, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 37_094 + .saturating_add(Weight::from_parts(1_727_190, 0).saturating_mul(n.into())) + // Standard Error: 1_692 + .saturating_add(Weight::from_parts(207_507, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Investments InProcessingInvestOrders (r:5 w:5) /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:7 w:3) @@ -224,19 +262,23 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn execute_epoch(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1728 + n * (639 ±0)` - // Estimated: `7667 + n * (2604 ±0)` - // Minimum execution time: 205_774_000 picoseconds. - Weight::from_parts(147_554_536, 0) - .saturating_add(Weight::from_parts(0, 7667)) - // Standard Error: 138_090 - .saturating_add(Weight::from_parts(61_005_522, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `1977 + m * (124 ±0) + n * (633 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 286_415_000 picoseconds. + Weight::from_parts(185_522_136, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 102_664 + .saturating_add(Weight::from_parts(69_281_966, 0).saturating_mul(n.into())) + // Standard Error: 4_685 + .saturating_add(Weight::from_parts(385_766, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_preimage.rs b/runtime/centrifuge/src/weights/pallet_preimage.rs index 10c51de7fa..cbd0c546c1 100644 --- a/runtime/centrifuge/src/weights/pallet_preimage.rs +++ b/runtime/centrifuge/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 42_560_000 picoseconds. - Weight::from_parts(541_391_538, 0) + // Minimum execution time: 44_192_000 picoseconds. + Weight::from_parts(436_725_293, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_981, 0).saturating_mul(s.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_998, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_424_000 picoseconds. - Weight::from_parts(37_655_241, 0) + // Minimum execution time: 24_476_000 picoseconds. + Weight::from_parts(24_716_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_606, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_646, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 22_933_000 picoseconds. - Weight::from_parts(23_354_000, 0) + // Minimum execution time: 23_333_000 picoseconds. + Weight::from_parts(23_695_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_619, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_703, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 48_280_000 picoseconds. - Weight::from_parts(49_773_000, 0) + // Minimum execution time: 52_438_000 picoseconds. + Weight::from_parts(67_796_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 26_890_000 picoseconds. - Weight::from_parts(27_742_000, 0) + // Minimum execution time: 28_793_000 picoseconds. + Weight::from_parts(31_269_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 23_664_000 picoseconds. - Weight::from_parts(24_205_000, 0) + // Minimum execution time: 24_345_000 picoseconds. + Weight::from_parts(26_490_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 14_177_000 picoseconds. - Weight::from_parts(14_978_000, 0) + // Minimum execution time: 14_648_000 picoseconds. + Weight::from_parts(15_539_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 20_389_000 picoseconds. - Weight::from_parts(21_230_000, 0) + // Minimum execution time: 20_649_000 picoseconds. + Weight::from_parts(21_410_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_664_000 picoseconds. - Weight::from_parts(13_004_000, 0) + // Minimum execution time: 12_744_000 picoseconds. + Weight::from_parts(13_886_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_127_000 picoseconds. - Weight::from_parts(26_068_000, 0) + // Minimum execution time: 26_289_000 picoseconds. + Weight::from_parts(29_044_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_483_000 picoseconds. - Weight::from_parts(13_114_000, 0) + // Minimum execution time: 12_814_000 picoseconds. + Weight::from_parts(13_295_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_493_000 picoseconds. - Weight::from_parts(13_085_000, 0) + // Minimum execution time: 12_584_000 picoseconds. + Weight::from_parts(13_315_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/centrifuge/src/weights/pallet_proxy.rs b/runtime/centrifuge/src/weights/pallet_proxy.rs index 5a278a71c9..3a80e29fc1 100644 --- a/runtime/centrifuge/src/weights/pallet_proxy.rs +++ b/runtime/centrifuge/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,13 +37,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_262_000 picoseconds. - Weight::from_parts(23_066_731, 0) + // Minimum execution time: 22_633_000 picoseconds. + Weight::from_parts(23_480_537, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_281 - .saturating_add(Weight::from_parts(60_140, 0).saturating_mul(p.into())) + // Standard Error: 1_295 + .saturating_add(Weight::from_parts(36_781, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -56,15 +56,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `587 + a * (68 ±0) + p * (37 ±0)` + // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 53_119_000 picoseconds. - Weight::from_parts(53_469_636, 0) + // Minimum execution time: 53_049_000 picoseconds. + Weight::from_parts(52_846_125, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_858 - .saturating_add(Weight::from_parts(227_707, 0).saturating_mul(a.into())) - // Standard Error: 2_953 - .saturating_add(Weight::from_parts(33_011, 0).saturating_mul(p.into())) + // Standard Error: 2_144 + .saturating_add(Weight::from_parts(255_573, 0).saturating_mul(a.into())) + // Standard Error: 2_216 + .saturating_add(Weight::from_parts(39_436, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,13 +76,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_793_000 picoseconds. - Weight::from_parts(34_789_434, 0) + // Minimum execution time: 34_284_000 picoseconds. + Weight::from_parts(35_290_118, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_840 - .saturating_add(Weight::from_parts(222_242, 0).saturating_mul(a.into())) + // Standard Error: 1_924 + .saturating_add(Weight::from_parts(242_682, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,13 +94,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_843_000 picoseconds. - Weight::from_parts(34_942_314, 0) + // Minimum execution time: 34_134_000 picoseconds. + Weight::from_parts(35_257_295, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_817 - .saturating_add(Weight::from_parts(222_657, 0).saturating_mul(a.into())) + // Standard Error: 1_844 + .saturating_add(Weight::from_parts(241_867, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,15 +114,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + a * (68 ±0) + p * (37 ±0)` + // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 46_937_000 picoseconds. - Weight::from_parts(46_842_918, 0) + // Minimum execution time: 47_649_000 picoseconds. + Weight::from_parts(48_038_359, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_747 - .saturating_add(Weight::from_parts(222_519, 0).saturating_mul(a.into())) - // Standard Error: 1_805 - .saturating_add(Weight::from_parts(39_329, 0).saturating_mul(p.into())) + // Standard Error: 2_931 + .saturating_add(Weight::from_parts(266_802, 0).saturating_mul(a.into())) + // Standard Error: 3_028 + .saturating_add(Weight::from_parts(24_575, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -131,13 +131,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_275_000 picoseconds. - Weight::from_parts(36_446_417, 0) + // Minimum execution time: 36_348_000 picoseconds. + Weight::from_parts(37_462_455, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_291 - .saturating_add(Weight::from_parts(41_313, 0).saturating_mul(p.into())) + // Standard Error: 1_297 + .saturating_add(Weight::from_parts(39_745, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,13 +146,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_386_000 picoseconds. - Weight::from_parts(36_772_304, 0) + // Minimum execution time: 36_518_000 picoseconds. + Weight::from_parts(37_701_387, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_193 - .saturating_add(Weight::from_parts(41_845, 0).saturating_mul(p.into())) + // Standard Error: 2_618 + .saturating_add(Weight::from_parts(42_686, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_078_000 picoseconds. - Weight::from_parts(32_215_520, 0) + // Minimum execution time: 31_809_000 picoseconds. + Weight::from_parts(32_992_892, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_505 - .saturating_add(Weight::from_parts(47_350, 0).saturating_mul(p.into())) + // Standard Error: 1_417 + .saturating_add(Weight::from_parts(30_104, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,13 +176,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272` + // Measured: `305` // Estimated: `4706` - // Minimum execution time: 38_371_000 picoseconds. - Weight::from_parts(39_360_197, 0) + // Minimum execution time: 38_742_000 picoseconds. + Weight::from_parts(39_884_231, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_402 - .saturating_add(Weight::from_parts(18_846, 0).saturating_mul(p.into())) + // Standard Error: 1_523 + .saturating_add(Weight::from_parts(10_789, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,13 +191,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + p * (37 ±0)` + // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_591_000 picoseconds. - Weight::from_parts(33_711_047, 0) + // Minimum execution time: 33_432_000 picoseconds. + Weight::from_parts(34_523_505, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_561 - .saturating_add(Weight::from_parts(47_559, 0).saturating_mul(p.into())) + // Standard Error: 1_520 + .saturating_add(Weight::from_parts(41_130, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/centrifuge/src/weights/pallet_remarks.rs b/runtime/centrifuge/src/weights/pallet_remarks.rs index 1c7b5b85b9..752c0aa15b 100644 --- a/runtime/centrifuge/src/weights/pallet_remarks.rs +++ b/runtime/centrifuge/src/weights/pallet_remarks.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_792_000 picoseconds. - Weight::from_parts(17_287_221, 0) + // Minimum execution time: 16_901_000 picoseconds. + Weight::from_parts(17_495_535, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_915 - .saturating_add(Weight::from_parts(145_247, 0).saturating_mul(n.into())) + // Standard Error: 2_909 + .saturating_add(Weight::from_parts(114_149, 0).saturating_mul(n.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs b/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs index d625252e06..9203d0da41 100644 --- a/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs +++ b/runtime/centrifuge/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -32,22 +32,22 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 92_904_000 picoseconds. - Weight::from_parts(94_436_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 96_390_000 picoseconds. + Weight::from_parts(98_083_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -56,30 +56,30 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `857` + // Measured: `923` // Estimated: `6198` - // Minimum execution time: 71_764_000 picoseconds. - Weight::from_parts(72_686_000, 0) + // Minimum execution time: 74_750_000 picoseconds. + Weight::from_parts(76_543_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 79_418_000 picoseconds. - Weight::from_parts(81_443_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 84_728_000 picoseconds. + Weight::from_parts(85_800_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -88,54 +88,54 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `754` + // Measured: `820` // Estimated: `6198` - // Minimum execution time: 68_048_000 picoseconds. - Weight::from_parts(68_749_000, 0) + // Minimum execution time: 70_882_000 picoseconds. + Weight::from_parts(72_365_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 96_500_000 picoseconds. - Weight::from_parts(98_033_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 100_768_000 picoseconds. + Weight::from_parts(101_850_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `857` + // Measured: `923` // Estimated: `6198` - // Minimum execution time: 75_441_000 picoseconds. - Weight::from_parts(76_553_000, 0) + // Minimum execution time: 79_499_000 picoseconds. + Weight::from_parts(80_991_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `226` + // Measured: `259` // Estimated: `3593` - // Minimum execution time: 87_152_000 picoseconds. - Weight::from_parts(88_085_000, 0) + // Minimum execution time: 87_935_000 picoseconds. + Weight::from_parts(89_017_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,10 +148,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `644` + // Measured: `677` // Estimated: `6198` - // Minimum execution time: 65_793_000 picoseconds. - Weight::from_parts(66_905_000, 0) + // Minimum execution time: 65_863_000 picoseconds. + Weight::from_parts(67_286_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -162,10 +162,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `265` + // Measured: `298` // Estimated: `3674` - // Minimum execution time: 174_356_000 picoseconds. - Weight::from_parts(176_529_000, 0) + // Minimum execution time: 179_225_000 picoseconds. + Weight::from_parts(183_292_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `467` // Estimated: `3932` - // Minimum execution time: 104_074_000 picoseconds. - Weight::from_parts(104_806_000, 0) + // Minimum execution time: 104_375_000 picoseconds. + Weight::from_parts(105_657_000, 0) .saturating_add(Weight::from_parts(0, 3932)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_scheduler.rs b/runtime/centrifuge/src/weights/pallet_scheduler.rs index f891a043bd..68c5f2c1e6 100644 --- a/runtime/centrifuge/src/weights/pallet_scheduler.rs +++ b/runtime/centrifuge/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_831_000 picoseconds. - Weight::from_parts(6_191_000, 0) + // Minimum execution time: 5_921_000 picoseconds. + Weight::from_parts(6_121_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_670_000 picoseconds. - Weight::from_parts(8_352_714, 0) + // Minimum execution time: 5_581_000 picoseconds. + Weight::from_parts(8_449_656, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_571 - .saturating_add(Weight::from_parts(1_203_306, 0).saturating_mul(s.into())) + // Standard Error: 3_610 + .saturating_add(Weight::from_parts(1_218_339, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_415_000 picoseconds. - Weight::from_parts(8_646_000, 0) + // Minimum execution time: 8_235_000 picoseconds. + Weight::from_parts(8_436_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 28_804_000 picoseconds. - Weight::from_parts(29_495_000, 0) + // Minimum execution time: 29_775_000 picoseconds. + Weight::from_parts(30_196_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_278, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_097, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -91,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_439_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 10_619_000 picoseconds. + Weight::from_parts(10_920_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_426_000 picoseconds. - Weight::from_parts(8_616_000, 0) + // Minimum execution time: 8_166_000 picoseconds. + Weight::from_parts(8_506_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_248_000 picoseconds. - Weight::from_parts(4_398_000, 0) + // Minimum execution time: 4_259_000 picoseconds. + Weight::from_parts(4_448_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_187_000 picoseconds. - Weight::from_parts(4_348_000, 0) + // Minimum execution time: 4_237_000 picoseconds. + Weight::from_parts(4_358_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_607_000 picoseconds. - Weight::from_parts(22_478_508, 0) + // Minimum execution time: 20_118_000 picoseconds. + Weight::from_parts(22_685_124, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_742 - .saturating_add(Weight::from_parts(1_211_643, 0).saturating_mul(s.into())) + // Standard Error: 3_860 + .saturating_add(Weight::from_parts(1_212_891, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_858_000 picoseconds. - Weight::from_parts(22_919_236, 0) + // Minimum execution time: 26_480_000 picoseconds. + Weight::from_parts(22_725_404, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_099 - .saturating_add(Weight::from_parts(2_189_513, 0).saturating_mul(s.into())) + // Standard Error: 4_919 + .saturating_add(Weight::from_parts(2_241_796, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 24_646_000 picoseconds. - Weight::from_parts(28_333_820, 0) + // Minimum execution time: 25_156_000 picoseconds. + Weight::from_parts(28_892_942, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_162 - .saturating_add(Weight::from_parts(1_236_503, 0).saturating_mul(s.into())) + // Standard Error: 3_789 + .saturating_add(Weight::from_parts(1_232_172, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 27_622_000 picoseconds. - Weight::from_parts(25_578_176, 0) + // Minimum execution time: 27_471_000 picoseconds. + Weight::from_parts(25_406_471, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_670 - .saturating_add(Weight::from_parts(2_225_986, 0).saturating_mul(s.into())) + // Standard Error: 4_732 + .saturating_add(Weight::from_parts(2_248_730, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/centrifuge/src/weights/pallet_session.rs b/runtime/centrifuge/src/weights/pallet_session.rs index 0404df4ca4..d2fe949f0a 100644 --- a/runtime/centrifuge/src/weights/pallet_session.rs +++ b/runtime/centrifuge/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 26_961_000 picoseconds. - Weight::from_parts(28_072_000, 0) + // Minimum execution time: 27_522_000 picoseconds. + Weight::from_parts(28_142_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3851` - // Minimum execution time: 18_354_000 picoseconds. - Weight::from_parts(18_795_000, 0) + // Minimum execution time: 18_644_000 picoseconds. + Weight::from_parts(19_056_000, 0) .saturating_add(Weight::from_parts(0, 3851)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_timestamp.rs b/runtime/centrifuge/src/weights/pallet_timestamp.rs index 4135347cdf..94bf5b410a 100644 --- a/runtime/centrifuge/src/weights/pallet_timestamp.rs +++ b/runtime/centrifuge/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -38,20 +38,20 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `256` + // Measured: `223` // Estimated: `1493` - // Minimum execution time: 14_166_000 picoseconds. - Weight::from_parts(14_507_000, 0) + // Minimum execution time: 14_036_000 picoseconds. + Weight::from_parts(14_547_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `161` + // Measured: `128` // Estimated: `0` - // Minimum execution time: 6_412_000 picoseconds. - Weight::from_parts(6_643_000, 0) + // Minimum execution time: 6_212_000 picoseconds. + Weight::from_parts(6_362_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/centrifuge/src/weights/pallet_token_mux.rs b/runtime/centrifuge/src/weights/pallet_token_mux.rs new file mode 100644 index 0000000000..6e5621d529 --- /dev/null +++ b/runtime/centrifuge/src/weights/pallet_token_mux.rs @@ -0,0 +1,95 @@ + +//! Autogenerated weights for `pallet_token_mux` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=centrifuge-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_token_mux +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/centrifuge/src/weights/pallet_token_mux.rs + +#![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; + +/// Weight functions for `pallet_token_mux`. +pub struct WeightInfo(PhantomData); +impl pallet_token_mux::WeightInfo for WeightInfo { + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + fn deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `803` + // Estimated: `8802` + // Minimum execution time: 118_732_000 picoseconds. + Weight::from_parts(120_705_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `1093` + // Estimated: `8802` + // Minimum execution time: 106_920_000 picoseconds. + Weight::from_parts(108_193_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: OrderBook Orders (r:1 w:1) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) + /// Storage: OrderBook UserOrders (r:0 w:1) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn match_swap() -> Weight { + // Proof Size summary in bytes: + // Measured: `1439` + // Estimated: `11406` + // Minimum execution time: 211_274_000 picoseconds. + Weight::from_parts(214_611_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(9)) + } +} diff --git a/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs b/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs index 610fb1b560..067671565a 100644 --- a/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/centrifuge/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -33,9 +33,9 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -44,18 +44,18 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `537` + // Measured: `603` // Estimated: `3674` - // Minimum execution time: 88_084_000 picoseconds. - Weight::from_parts(89_187_000, 0) + // Minimum execution time: 91_942_000 picoseconds. + Weight::from_parts(94_065_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -64,116 +64,116 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `630` + // Measured: `697` // Estimated: `3674` - // Minimum execution time: 90_499_000 picoseconds. - Weight::from_parts(91_682_000, 0) + // Minimum execution time: 95_959_000 picoseconds. + Weight::from_parts(98_003_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `213` - // Estimated: `3556` - // Minimum execution time: 20_037_000 picoseconds. - Weight::from_parts(20_819_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `246` + // Estimated: `3557` + // Minimum execution time: 20_619_000 picoseconds. + Weight::from_parts(21_450_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `336` - // Estimated: `3556` - // Minimum execution time: 22_913_000 picoseconds. - Weight::from_parts(23_655_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `370` + // Estimated: `3557` + // Minimum execution time: 23_554_000 picoseconds. + Weight::from_parts(24_045_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: - // Measured: `306` - // Estimated: `3556` - // Minimum execution time: 22_973_000 picoseconds. - Weight::from_parts(23_624_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `340` + // Estimated: `3557` + // Minimum execution time: 23_443_000 picoseconds. + Weight::from_parts(23_905_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 23_153_000 picoseconds. - Weight::from_parts(23_554_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 23_243_000 picoseconds. + Weight::from_parts(23_905_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(23_514_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 23_043_000 picoseconds. + Weight::from_parts(23_544_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `344` - // Estimated: `3556` - // Minimum execution time: 24_074_000 picoseconds. - Weight::from_parts(24_555_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `378` + // Estimated: `3557` + // Minimum execution time: 24_095_000 picoseconds. + Weight::from_parts(24_806_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `3596` - // Minimum execution time: 34_765_000 picoseconds. - Weight::from_parts(35_746_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `473` + // Estimated: `3597` + // Minimum execution time: 35_686_000 picoseconds. + Weight::from_parts(36_328_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `434` - // Estimated: `3596` - // Minimum execution time: 34_605_000 picoseconds. - Weight::from_parts(35_526_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `469` + // Estimated: `3597` + // Minimum execution time: 35_676_000 picoseconds. + Weight::from_parts(36_418_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -181,19 +181,19 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `811` + // Measured: `879` // Estimated: `3674` - // Minimum execution time: 81_633_000 picoseconds. - Weight::from_parts(84_177_000, 0) + // Minimum execution time: 85_970_000 picoseconds. + Weight::from_parts(87_053_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -201,13 +201,13 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `850` + // Measured: `918` // Estimated: `3674` - // Minimum execution time: 82_524_000 picoseconds. - Weight::from_parts(83_476_000, 0) + // Minimum execution time: 84_778_000 picoseconds. + Weight::from_parts(86_301_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/weights/pallet_treasury.rs b/runtime/centrifuge/src/weights/pallet_treasury.rs index 123bebf945..51fe320e98 100644 --- a/runtime/centrifuge/src/weights/pallet_treasury.rs +++ b/runtime/centrifuge/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 391_000 picoseconds. - Weight::from_parts(451_000, 0) + // Minimum execution time: 341_000 picoseconds. + Weight::from_parts(391_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 40_215_000 picoseconds. - Weight::from_parts(43_642_000, 0) + // Minimum execution time: 39_694_000 picoseconds. + Weight::from_parts(41_067_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 62_166_000 picoseconds. - Weight::from_parts(63_930_000, 0) + // Minimum execution time: 62_186_000 picoseconds. + Weight::from_parts(63_178_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 14_658_000 picoseconds. - Weight::from_parts(17_667_865, 0) + // Minimum execution time: 14_096_000 picoseconds. + Weight::from_parts(17_516_081, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_129 - .saturating_add(Weight::from_parts(48_985, 0).saturating_mul(p.into())) + // Standard Error: 1_311 + .saturating_add(Weight::from_parts(48_470, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 10_851_000 picoseconds. - Weight::from_parts(11_913_000, 0) + // Minimum execution time: 11_261_000 picoseconds. + Weight::from_parts(11_512_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 38_933_000 picoseconds. - Weight::from_parts(37_637_910, 0) + // Minimum execution time: 38_221_000 picoseconds. + Weight::from_parts(35_869_421, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 5_873 - .saturating_add(Weight::from_parts(3_799_201, 0).saturating_mul(p.into())) + // Standard Error: 5_742 + .saturating_add(Weight::from_parts(3_886_891, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/centrifuge/src/weights/pallet_uniques.rs b/runtime/centrifuge/src/weights/pallet_uniques.rs index d794c97bce..ffd46f2bea 100644 --- a/runtime/centrifuge/src/weights/pallet_uniques.rs +++ b/runtime/centrifuge/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3647` - // Minimum execution time: 43_040_000 picoseconds. - Weight::from_parts(43_471_000, 0) + // Minimum execution time: 42_940_000 picoseconds. + Weight::from_parts(44_092_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3647` - // Minimum execution time: 21_300_000 picoseconds. - Weight::from_parts(21_931_000, 0) + // Minimum execution time: 20_899_000 picoseconds. + Weight::from_parts(21_420_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 2_968_435_000 picoseconds. - Weight::from_parts(2_973_916_000, 0) + // Minimum execution time: 3_051_879_000 picoseconds. + Weight::from_parts(3_075_232_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 28_140 - .saturating_add(Weight::from_parts(9_547_406, 0).saturating_mul(n.into())) - // Standard Error: 28_140 - .saturating_add(Weight::from_parts(245_627, 0).saturating_mul(m.into())) - // Standard Error: 28_140 - .saturating_add(Weight::from_parts(542_266, 0).saturating_mul(a.into())) + // Standard Error: 29_237 + .saturating_add(Weight::from_parts(10_022_664, 0).saturating_mul(n.into())) + // Standard Error: 29_237 + .saturating_add(Weight::from_parts(230_021, 0).saturating_mul(m.into())) + // Standard Error: 29_237 + .saturating_add(Weight::from_parts(516_216, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 51_396_000 picoseconds. - Weight::from_parts(52_218_000, 0) + // Minimum execution time: 51_196_000 picoseconds. + Weight::from_parts(52_428_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 53_089_000 picoseconds. - Weight::from_parts(54_151_000, 0) + // Minimum execution time: 53_580_000 picoseconds. + Weight::from_parts(54_752_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 38_472_000 picoseconds. - Weight::from_parts(39_354_000, 0) + // Minimum execution time: 38_331_000 picoseconds. + Weight::from_parts(39_403_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_438_000 picoseconds. - Weight::from_parts(20_729_000, 0) + // Minimum execution time: 19_968_000 picoseconds. + Weight::from_parts(20_358_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 12_847 - .saturating_add(Weight::from_parts(23_943_532, 0).saturating_mul(i.into())) + // Standard Error: 15_605 + .saturating_add(Weight::from_parts(24_886_799, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_778_000 picoseconds. - Weight::from_parts(26_229_000, 0) + // Minimum execution time: 25_628_000 picoseconds. + Weight::from_parts(26_079_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 25_697_000 picoseconds. - Weight::from_parts(26_039_000, 0) + // Minimum execution time: 25_167_000 picoseconds. + Weight::from_parts(25_708_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_474_000 picoseconds. - Weight::from_parts(19_086_000, 0) + // Minimum execution time: 18_304_000 picoseconds. + Weight::from_parts(18_745_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_585_000 picoseconds. - Weight::from_parts(19_016_000, 0) + // Minimum execution time: 17_984_000 picoseconds. + Weight::from_parts(18_685_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431` // Estimated: `3647` - // Minimum execution time: 29_535_000 picoseconds. - Weight::from_parts(30_287_000, 0) + // Minimum execution time: 29_816_000 picoseconds. + Weight::from_parts(30_496_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 18_765_000 picoseconds. - Weight::from_parts(19_246_000, 0) + // Minimum execution time: 18_375_000 picoseconds. + Weight::from_parts(18_896_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_993_000 picoseconds. - Weight::from_parts(23_694_000, 0) + // Minimum execution time: 22_963_000 picoseconds. + Weight::from_parts(23_644_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `4070` - // Minimum execution time: 57_838_000 picoseconds. - Weight::from_parts(59_091_000, 0) + // Minimum execution time: 59_041_000 picoseconds. + Weight::from_parts(59_972_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1407` // Estimated: `4070` - // Minimum execution time: 55_494_000 picoseconds. - Weight::from_parts(57_127_000, 0) + // Minimum execution time: 56_275_000 picoseconds. + Weight::from_parts(57_277_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `419` // Estimated: `3796` - // Minimum execution time: 41_958_000 picoseconds. - Weight::from_parts(43_030_000, 0) + // Minimum execution time: 42_569_000 picoseconds. + Weight::from_parts(43_361_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `775` // Estimated: `3796` - // Minimum execution time: 43_041_000 picoseconds. - Weight::from_parts(44_483_000, 0) + // Minimum execution time: 42_940_000 picoseconds. + Weight::from_parts(44_403_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3764` - // Minimum execution time: 43_361_000 picoseconds. - Weight::from_parts(44_152_000, 0) + // Minimum execution time: 44_192_000 picoseconds. + Weight::from_parts(44_984_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `676` // Estimated: `3764` - // Minimum execution time: 42_199_000 picoseconds. - Weight::from_parts(42_580_000, 0) + // Minimum execution time: 42_439_000 picoseconds. + Weight::from_parts(43_230_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3647` - // Minimum execution time: 26_069_000 picoseconds. - Weight::from_parts(26_810_000, 0) + // Minimum execution time: 25_859_000 picoseconds. + Weight::from_parts(26_500_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_359_000 picoseconds. - Weight::from_parts(26_710_000, 0) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(26_249_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3521` - // Minimum execution time: 20_609_000 picoseconds. - Weight::from_parts(21_360_000, 0) + // Minimum execution time: 20_539_000 picoseconds. + Weight::from_parts(21_049_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,7 +408,7 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `3647` - // Minimum execution time: 22_281_000 picoseconds. + // Minimum execution time: 22_271_000 picoseconds. Weight::from_parts(22_853_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3603` - // Minimum execution time: 21_931_000 picoseconds. - Weight::from_parts(22_502_000, 0) + // Minimum execution time: 21_429_000 picoseconds. + Weight::from_parts(22_231_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `645` // Estimated: `3647` - // Minimum execution time: 53_550_000 picoseconds. - Weight::from_parts(54_451_000, 0) + // Minimum execution time: 54_402_000 picoseconds. + Weight::from_parts(54_923_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/centrifuge/src/weights/pallet_utility.rs b/runtime/centrifuge/src/weights/pallet_utility.rs index 41476f41a9..7ae79c1986 100644 --- a/runtime/centrifuge/src/weights/pallet_utility.rs +++ b/runtime/centrifuge/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(1_467_621, 0) + // Minimum execution time: 10_049_000 picoseconds. + Weight::from_parts(3_238_211, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_078 - .saturating_add(Weight::from_parts(8_204_083, 0).saturating_mul(c.into())) + // Standard Error: 3_465 + .saturating_add(Weight::from_parts(8_386_691, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_654_000 picoseconds. - Weight::from_parts(7_935_000, 0) + // Minimum execution time: 7_724_000 picoseconds. + Weight::from_parts(8_095_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_948_000 picoseconds. - Weight::from_parts(13_596_755, 0) + // Minimum execution time: 10_299_000 picoseconds. + Weight::from_parts(7_189_336, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_508 - .saturating_add(Weight::from_parts(8_665_337, 0).saturating_mul(c.into())) + // Standard Error: 3_022 + .saturating_add(Weight::from_parts(8_839_805, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_596_000 picoseconds. - Weight::from_parts(14_066_000, 0) + // Minimum execution time: 14_067_000 picoseconds. + Weight::from_parts(14_367_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_018_000 picoseconds. - Weight::from_parts(12_254_306, 0) + // Minimum execution time: 10_289_000 picoseconds. + Weight::from_parts(10_549_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_286 - .saturating_add(Weight::from_parts(8_189_852, 0).saturating_mul(c.into())) + // Standard Error: 2_768 + .saturating_add(Weight::from_parts(8_395_566, 0).saturating_mul(c.into())) } } diff --git a/runtime/centrifuge/src/weights/pallet_vesting.rs b/runtime/centrifuge/src/weights/pallet_vesting.rs index 8c54c3f994..c379932543 100644 --- a/runtime/centrifuge/src/weights/pallet_vesting.rs +++ b/runtime/centrifuge/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 42_930_000 picoseconds. - Weight::from_parts(43_215_519, 0) + // Minimum execution time: 43_842_000 picoseconds. + Weight::from_parts(44_180_620, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 929 - .saturating_add(Weight::from_parts(48_377, 0).saturating_mul(l.into())) - // Standard Error: 17_802 - .saturating_add(Weight::from_parts(307_970, 0).saturating_mul(s.into())) + // Standard Error: 1_257 + .saturating_add(Weight::from_parts(56_516, 0).saturating_mul(l.into())) + // Standard Error: 24_086 + .saturating_add(Weight::from_parts(272_132, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 48_661_000 picoseconds. - Weight::from_parts(48_531_181, 0) + // Minimum execution time: 49_653_000 picoseconds. + Weight::from_parts(50_680_762, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_642 - .saturating_add(Weight::from_parts(55_281, 0).saturating_mul(l.into())) - // Standard Error: 50_631 - .saturating_add(Weight::from_parts(502_549, 0).saturating_mul(s.into())) + // Standard Error: 1_732 + .saturating_add(Weight::from_parts(40_382, 0).saturating_mul(l.into())) + // Standard Error: 33_199 + .saturating_add(Weight::from_parts(243_888, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 45_806_000 picoseconds. - Weight::from_parts(46_631_559, 0) + // Minimum execution time: 46_957_000 picoseconds. + Weight::from_parts(47_809_155, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_028 - .saturating_add(Weight::from_parts(54_470, 0).saturating_mul(l.into())) - // Standard Error: 19_714 - .saturating_add(Weight::from_parts(321_699, 0).saturating_mul(s.into())) + // Standard Error: 1_202 + .saturating_add(Weight::from_parts(47_884, 0).saturating_mul(l.into())) + // Standard Error: 23_030 + .saturating_add(Weight::from_parts(215_378, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + l * (25 ±0) + s * (37 ±0)` // Estimated: `4764` - // Minimum execution time: 51_827_000 picoseconds. - Weight::from_parts(52_814_949, 0) + // Minimum execution time: 52_548_000 picoseconds. + Weight::from_parts(53_599_353, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_482 - .saturating_add(Weight::from_parts(44_223, 0).saturating_mul(l.into())) - // Standard Error: 28_403 - .saturating_add(Weight::from_parts(212_048, 0).saturating_mul(s.into())) + // Standard Error: 1_692 + .saturating_add(Weight::from_parts(43_660, 0).saturating_mul(l.into())) + // Standard Error: 32_420 + .saturating_add(Weight::from_parts(282_952, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283 + l * (25 ±0) + s * (134 ±0)` // Estimated: `4764` - // Minimum execution time: 100_708_000 picoseconds. - Weight::from_parts(100_654_145, 0) + // Minimum execution time: 103_082_000 picoseconds. + Weight::from_parts(103_359_680, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_528 - .saturating_add(Weight::from_parts(54_707, 0).saturating_mul(l.into())) - // Standard Error: 29_292 - .saturating_add(Weight::from_parts(887_369, 0).saturating_mul(s.into())) + // Standard Error: 1_859 + .saturating_add(Weight::from_parts(61_400, 0).saturating_mul(l.into())) + // Standard Error: 35_624 + .saturating_add(Weight::from_parts(834_297, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423 + l * (25 ±0) + s * (134 ±0)` // Estimated: `6196` - // Minimum execution time: 103_754_000 picoseconds. - Weight::from_parts(104_305_372, 0) + // Minimum execution time: 106_559_000 picoseconds. + Weight::from_parts(106_922_879, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 1_595 - .saturating_add(Weight::from_parts(61_232, 0).saturating_mul(l.into())) - // Standard Error: 30_561 - .saturating_add(Weight::from_parts(659_349, 0).saturating_mul(s.into())) + // Standard Error: 2_058 + .saturating_add(Weight::from_parts(58_113, 0).saturating_mul(l.into())) + // Standard Error: 39_435 + .saturating_add(Weight::from_parts(932_852, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 46_967_000 picoseconds. - Weight::from_parts(48_223_173, 0) + // Minimum execution time: 47_641_000 picoseconds. + Weight::from_parts(48_919_370, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(56_218, 0).saturating_mul(l.into())) - // Standard Error: 40_966 - .saturating_add(Weight::from_parts(210_325, 0).saturating_mul(s.into())) + // Standard Error: 1_672 + .saturating_add(Weight::from_parts(52_258, 0).saturating_mul(l.into())) + // Standard Error: 53_351 + .saturating_add(Weight::from_parts(250_283, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `374 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 53_530_000 picoseconds. - Weight::from_parts(53_459_047, 0) + // Minimum execution time: 53_670_000 picoseconds. + Weight::from_parts(54_175_059, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_944 - .saturating_add(Weight::from_parts(54_465, 0).saturating_mul(l.into())) - // Standard Error: 62_029 - .saturating_add(Weight::from_parts(548_321, 0).saturating_mul(s.into())) + // Standard Error: 1_733 + .saturating_add(Weight::from_parts(53_023, 0).saturating_mul(l.into())) + // Standard Error: 55_290 + .saturating_add(Weight::from_parts(493_309, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/centrifuge/src/weights/pallet_xcm.rs b/runtime/centrifuge/src/weights/pallet_xcm.rs index 9e6101f436..1c3c2eedbc 100644 --- a/runtime/centrifuge/src/weights/pallet_xcm.rs +++ b/runtime/centrifuge/src/weights/pallet_xcm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("centrifuge-dev"), DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 41_427_000 picoseconds. - Weight::from_parts(42_239_000, 0) + // Minimum execution time: 41_988_000 picoseconds. + Weight::from_parts(42_530_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -60,8 +60,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 40_856_000 picoseconds. - Weight::from_parts(41_648_000, 0) + // Minimum execution time: 41_888_000 picoseconds. + Weight::from_parts(42_389_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -73,8 +73,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 40_105_000 picoseconds. - Weight::from_parts(41_227_000, 0) + // Minimum execution time: 41_367_000 picoseconds. + Weight::from_parts(42_239_000, 0) .saturating_add(Weight::from_parts(0, 3668)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -94,8 +94,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_316_000 picoseconds. - Weight::from_parts(14_727_000, 0) + // Minimum execution time: 14_427_000 picoseconds. + Weight::from_parts(14_888_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,8 +105,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_369_000 picoseconds. - Weight::from_parts(4_569_000, 0) + // Minimum execution time: 4_378_000 picoseconds. + Weight::from_parts(4_708_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,8 +130,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3776` - // Minimum execution time: 48_550_000 picoseconds. - Weight::from_parts(49_483_000, 0) + // Minimum execution time: 49_622_000 picoseconds. + Weight::from_parts(50_395_000, 0) .saturating_add(Weight::from_parts(0, 3776)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -154,8 +154,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `493` // Estimated: `3958` - // Minimum execution time: 48_691_000 picoseconds. - Weight::from_parts(49_863_000, 0) + // Minimum execution time: 49_522_000 picoseconds. + Weight::from_parts(50_164_000, 0) .saturating_add(Weight::from_parts(0, 3958)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -166,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_318_000 picoseconds. - Weight::from_parts(4_649_000, 0) + // Minimum execution time: 4_638_000 picoseconds. + Weight::from_parts(4_959_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,11 +175,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `196` - // Estimated: `11086` - // Minimum execution time: 24_876_000 picoseconds. - Weight::from_parts(25_388_000, 0) - .saturating_add(Weight::from_parts(0, 11086)) + // Measured: `235` + // Estimated: `11125` + // Minimum execution time: 25_257_000 picoseconds. + Weight::from_parts(26_349_000, 0) + .saturating_add(Weight::from_parts(0, 11125)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -187,11 +187,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `200` - // Estimated: `11090` - // Minimum execution time: 24_857_000 picoseconds. - Weight::from_parts(25_437_000, 0) - .saturating_add(Weight::from_parts(0, 11090)) + // Measured: `239` + // Estimated: `11129` + // Minimum execution time: 25_547_000 picoseconds. + Weight::from_parts(26_330_000, 0) + .saturating_add(Weight::from_parts(0, 11129)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -199,11 +199,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `207` - // Estimated: `13572` - // Minimum execution time: 26_720_000 picoseconds. - Weight::from_parts(27_291_000, 0) - .saturating_add(Weight::from_parts(0, 13572)) + // Measured: `246` + // Estimated: `13611` + // Minimum execution time: 26_770_000 picoseconds. + Weight::from_parts(27_482_000, 0) + .saturating_add(Weight::from_parts(0, 13611)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) @@ -222,8 +222,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `378` // Estimated: `6318` - // Minimum execution time: 45_355_000 picoseconds. - Weight::from_parts(46_106_000, 0) + // Minimum execution time: 46_056_000 picoseconds. + Weight::from_parts(47_058_000, 0) .saturating_add(Weight::from_parts(0, 6318)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -232,22 +232,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `8654` - // Minimum execution time: 14_136_000 picoseconds. - Weight::from_parts(14_477_000, 0) - .saturating_add(Weight::from_parts(0, 8654)) + // Measured: `206` + // Estimated: `8621` + // Minimum execution time: 14_056_000 picoseconds. + Weight::from_parts(14_467_000, 0) + .saturating_add(Weight::from_parts(0, 8621)) .saturating_add(T::DbWeight::get().reads(3)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `207` - // Estimated: `11097` - // Minimum execution time: 24_966_000 picoseconds. - Weight::from_parts(25_748_000, 0) - .saturating_add(Weight::from_parts(0, 11097)) + // Measured: `246` + // Estimated: `11136` + // Minimum execution time: 25_658_000 picoseconds. + Weight::from_parts(26_349_000, 0) + .saturating_add(Weight::from_parts(0, 11136)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -265,11 +265,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `382` - // Estimated: `11272` - // Minimum execution time: 54_091_000 picoseconds. - Weight::from_parts(55_423_000, 0) - .saturating_add(Weight::from_parts(0, 11272)) + // Measured: `454` + // Estimated: `11344` + // Minimum execution time: 55_364_000 picoseconds. + Weight::from_parts(56_936_000, 0) + .saturating_add(Weight::from_parts(0, 11344)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/common/src/migrations/epoch_execution.rs b/runtime/common/src/migrations/epoch_execution.rs index 68c6e03086..340d9f24dd 100644 --- a/runtime/common/src/migrations/epoch_execution.rs +++ b/runtime/common/src/migrations/epoch_execution.rs @@ -10,7 +10,7 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -use frame_support::traits::{Get, GetStorageVersion, OnRuntimeUpgrade, StorageVersion}; +use frame_support::traits::{Get, GetStorageVersion, OnRuntimeUpgrade}; use pallet_order_book::weights::Weight; use pallet_pool_system::{Config, EpochExecution, EpochExecutionInfo, Nav, Pallet as PoolSystem}; #[cfg(feature = "try-runtime")] @@ -115,9 +115,9 @@ where }) }); - StorageVersion::new(2).put::>(); + PoolSystem::::current_storage_version().put::>(); - weight + weight.saturating_add(T::DbWeight::get().writes(1)) } #[cfg(feature = "try-runtime")] diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index 1a84b03a47..820feb386d 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -1092,6 +1092,7 @@ impl pallet_pool_registry::Config for Runtime { type ModifyWriteOffPolicy = pallet_loans::Pallet; type Permission = Permissions; type PoolCreateOrigin = EnsureSigned; + type PoolFeesInspect = PoolFees; type PoolId = PoolId; type RuntimeEvent = RuntimeEvent; type TrancheCurrency = TrancheCurrency; @@ -1121,6 +1122,7 @@ impl pallet_pool_fees::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Time = Timestamp; type Tokens = Tokens; + type WeightInfo = weights::pallet_pool_fees::WeightInfo; } pub struct PoolCurrency; @@ -1891,8 +1893,7 @@ impl pallet_token_mux::Config for Runtime { type PalletId = TokenMuxPalletId; type RuntimeEvent = RuntimeEvent; type Tokens = OrmlTokens; - // TODO(william): Change to weights once they exist - type WeightInfo = (); + type WeightInfo = weights::pallet_token_mux::WeightInfo; } parameter_types! { diff --git a/runtime/development/src/migrations.rs b/runtime/development/src/migrations.rs index bf56c19a45..4dd97c3c5b 100644 --- a/runtime/development/src/migrations.rs +++ b/runtime/development/src/migrations.rs @@ -24,19 +24,6 @@ frame_support::parameter_types! { } pub type UpgradeDevelopment1042 = ( - // Register LocalUSDC - runtime_common::migrations::local_currency::register::Migration< - super::Runtime, - LocalCurrencyIdUsdc, - >, - // Init local representation for all assets - runtime_common::migrations::local_currency::translate_metadata::Migration< - super::Runtime, - UsdcVariants, - LocalAssetIdUsdc, - >, - // Migrate EpochExecution struct - runtime_common::migrations::epoch_execution::Migration, // Reset pallets runtime_common::migrations::nuke::ResetPallet, runtime_common::migrations::nuke::ResetPallet< @@ -49,4 +36,10 @@ pub type UpgradeDevelopment1042 = ( crate::Runtime, AnnualTreasuryInflationPercent, >, + // Apply version bump to 1 (storage already reset) + runtime_common::migrations::increase_storage_version::Migration< + crate::ForeignInvestments, + 0, + 1, + >, ); diff --git a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs index 0e3303ee1d..aad8bc3ecc 100644 --- a/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/development/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -36,11 +36,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 7_605_000 picoseconds. - Weight::from_parts(7_835_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 7_815_000 picoseconds. + Weight::from_parts(8_225_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -48,11 +48,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 7_534_000 picoseconds. - Weight::from_parts(7_955_000, 0) - .saturating_add(Weight::from_parts(0, 1627)) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 7_945_000 picoseconds. + Weight::from_parts(8_155_000, 0) + .saturating_add(Weight::from_parts(0, 1594)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/mod.rs b/runtime/development/src/weights/mod.rs index c425069c83..d2e6fc44bb 100644 --- a/runtime/development/src/weights/mod.rs +++ b/runtime/development/src/weights/mod.rs @@ -32,6 +32,7 @@ pub mod pallet_oracle_collection; pub mod pallet_oracle_feed; pub mod pallet_order_book; pub mod pallet_permissions; +pub mod pallet_pool_fees; pub mod pallet_pool_registry; pub mod pallet_pool_system; pub mod pallet_preimage; @@ -41,6 +42,7 @@ pub mod pallet_restricted_tokens; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; +pub mod pallet_token_mux; pub mod pallet_transfer_allowlist; pub mod pallet_treasury; pub mod pallet_uniques; diff --git a/runtime/development/src/weights/pallet_anchors.rs b/runtime/development/src/weights/pallet_anchors.rs index 4fd0152019..5cf620b4e0 100644 --- a/runtime/development/src/weights/pallet_anchors.rs +++ b/runtime/development/src/weights/pallet_anchors.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_anchors` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `334` // Estimated: `3581` - // Minimum execution time: 40_106_000 picoseconds. - Weight::from_parts(41_318_000, 0) + // Minimum execution time: 41_807_000 picoseconds. + Weight::from_parts(42_289_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,10 +68,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof Skipped: unknown `0xdb4faa73ca6d2016e53c7156087c176b79b169c409b8a0063a07964f3187f9e9` (r:0 w:1) fn commit() -> Weight { // Proof Size summary in bytes: - // Measured: `701` + // Measured: `668` // Estimated: `3581` - // Minimum execution time: 69_881_000 picoseconds. - Weight::from_parts(70_983_000, 0) + // Minimum execution time: 72_415_000 picoseconds. + Weight::from_parts(74_629_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -82,8 +82,8 @@ impl pallet_anchors::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `12450` // Estimated: `260090` - // Minimum execution time: 2_134_490_000 picoseconds. - Weight::from_parts(2_162_452_000, 0) + // Minimum execution time: 2_307_756_000 picoseconds. + Weight::from_parts(2_329_196_000, 0) .saturating_add(Weight::from_parts(0, 260090)) .saturating_add(T::DbWeight::get().reads(100)) .saturating_add(T::DbWeight::get().writes(100)) @@ -504,10 +504,10 @@ impl pallet_anchors::WeightInfo for WeightInfo { /// Proof Skipped: unknown `0xf7e4b8a5415405a940e730546df85583c8c23956d99a3be18e09eebf3639d312` (r:1 w:1) fn evict_anchors() -> Weight { // Proof Size summary in bytes: - // Measured: `18357` + // Measured: `18324` // Estimated: `254990` - // Minimum execution time: 1_930_718_000 picoseconds. - Weight::from_parts(2_039_571_000, 0) + // Minimum execution time: 2_022_316_000 picoseconds. + Weight::from_parts(2_050_047_000, 0) .saturating_add(Weight::from_parts(0, 254990)) .saturating_add(T::DbWeight::get().reads(504)) .saturating_add(T::DbWeight::get().writes(402)) diff --git a/runtime/development/src/weights/pallet_balances.rs b/runtime/development/src/weights/pallet_balances.rs index 7dce92236d..430f2f3bc3 100644 --- a/runtime/development/src/weights/pallet_balances.rs +++ b/runtime/development/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 83_507_000 picoseconds. - Weight::from_parts(84_829_000, 0) + // Minimum execution time: 90_718_000 picoseconds. + Weight::from_parts(91_881_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 62_707_000 picoseconds. - Weight::from_parts(63_629_000, 0) + // Minimum execution time: 68_267_000 picoseconds. + Weight::from_parts(69_589_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,10 +60,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 22_572_000 picoseconds. - Weight::from_parts(23_194_000, 0) + // Minimum execution time: 24_766_000 picoseconds. + Weight::from_parts(25_307_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 33_453_000 picoseconds. - Weight::from_parts(34_404_000, 0) + // Minimum execution time: 36_538_000 picoseconds. + Weight::from_parts(37_329_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 86_162_000 picoseconds. - Weight::from_parts(87_484_000, 0) + // Minimum execution time: 93_605_000 picoseconds. + Weight::from_parts(94_796_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 78_497_000 picoseconds. - Weight::from_parts(79_669_000, 0) + // Minimum execution time: 85_960_000 picoseconds. + Weight::from_parts(87_232_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,10 +108,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `245` // Estimated: `3593` - // Minimum execution time: 26_580_000 picoseconds. - Weight::from_parts(27_311_000, 0) + // Minimum execution time: 29_374_000 picoseconds. + Weight::from_parts(30_076_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,13 +121,13 @@ impl pallet_balances::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `117 + u * (136 ±0)` + // Measured: `148 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 25_347_000 picoseconds. - Weight::from_parts(25_688_000, 0) + // Minimum execution time: 27_381_000 picoseconds. + Weight::from_parts(27_843_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 12_369 - .saturating_add(Weight::from_parts(21_329_875, 0).saturating_mul(u.into())) + // Standard Error: 11_675 + .saturating_add(Weight::from_parts(23_169_414, 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, 2603).saturating_mul(u.into())) diff --git a/runtime/development/src/weights/pallet_block_rewards.rs b/runtime/development/src/weights/pallet_block_rewards.rs index 31dc627b51..b70c57427a 100644 --- a/runtime/development/src/weights/pallet_block_rewards.rs +++ b/runtime/development/src/weights/pallet_block_rewards.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_block_rewards` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,38 +44,34 @@ impl pallet_block_rewards::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `516` // Estimated: `6196` - // Minimum execution time: 85_921_000 picoseconds. - Weight::from_parts(87_725_000, 0) + // Minimum execution time: 92_272_000 picoseconds. + Weight::from_parts(93_043_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_collator_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_collator_reward_per_session() -> Weight { // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `3574` - // Minimum execution time: 11_452_000 picoseconds. - Weight::from_parts(11_751_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 8_235_000 picoseconds. + Weight::from_parts(8_466_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: BlockRewards NextSessionChanges (r:1 w:1) - /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2089), added: 2584, mode: MaxEncodedLen) - /// Storage: BlockRewards ActiveSessionData (r:1 w:0) - /// Proof: BlockRewards ActiveSessionData (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - fn set_total_reward() -> Weight { + /// Proof: BlockRewards NextSessionChanges (max_values: Some(1), max_size: Some(2097), added: 2592, mode: MaxEncodedLen) + fn set_annual_treasury_inflation_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `65` - // Estimated: `3574` - // Minimum execution time: 10_439_000 picoseconds. - Weight::from_parts(10_710_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `41` + // Estimated: `3582` + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_456_000, 0) + .saturating_add(Weight::from_parts(0, 3582)) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/development/src/weights/pallet_collator_allowlist.rs b/runtime/development/src/weights/pallet_collator_allowlist.rs index 1a1e944732..04973c147f 100644 --- a/runtime/development/src/weights/pallet_collator_allowlist.rs +++ b/runtime/development/src/weights/pallet_collator_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,11 +38,11 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `452` - // Estimated: `3917` - // Minimum execution time: 23_034_000 picoseconds. - Weight::from_parts(24_035_000, 0) - .saturating_add(Weight::from_parts(0, 3917)) + // Measured: `485` + // Estimated: `3950` + // Minimum execution time: 24_325_000 picoseconds. + Weight::from_parts(24_876_000, 0) + .saturating_add(Weight::from_parts(0, 3950)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -50,10 +50,10 @@ impl pallet_collator_allowlist::WeightInfo for WeightIn /// Proof: CollatorAllowlist Allowlist (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `232` + // Measured: `265` // Estimated: `3497` - // Minimum execution time: 17_703_000 picoseconds. - Weight::from_parts(18_165_000, 0) + // Minimum execution time: 18_875_000 picoseconds. + Weight::from_parts(19_306_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_collator_selection.rs b/runtime/development/src/weights/pallet_collator_selection.rs index 51d019c759..1325f391d5 100644 --- a/runtime/development/src/weights/pallet_collator_selection.rs +++ b/runtime/development/src/weights/pallet_collator_selection.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,11 +42,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `218 + b * (112 ±0)` // Estimated: `1207 + b * (2588 ±0)` - // Minimum execution time: 20_298_000 picoseconds. - Weight::from_parts(19_247_142, 0) + // Minimum execution time: 20_478_000 picoseconds. + Weight::from_parts(18_513_992, 0) .saturating_add(Weight::from_parts(0, 1207)) - // Standard Error: 2_559 - .saturating_add(Weight::from_parts(4_182_732, 0).saturating_mul(b.into())) + // Standard Error: 2_415 + .saturating_add(Weight::from_parts(4_339_082, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(b.into())) @@ -57,8 +57,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_676_000 picoseconds. - Weight::from_parts(14_427_000, 0) + // Minimum execution time: 14_026_000 picoseconds. + Weight::from_parts(14_547_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,8 +68,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_520_000 picoseconds. - Weight::from_parts(10_890_000, 0) + // Minimum execution time: 10_740_000 picoseconds. + Weight::from_parts(11_110_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,13 +89,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `697 + c * (61 ±0)` + // Measured: `730 + c * (61 ±0)` // Estimated: `4687 + c * (62 ±0)` - // Minimum execution time: 60_253_000 picoseconds. - Weight::from_parts(62_090_974, 0) + // Minimum execution time: 62_897_000 picoseconds. + Weight::from_parts(64_549_123, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 1_558 - .saturating_add(Weight::from_parts(269_627, 0).saturating_mul(c.into())) + // Standard Error: 1_818 + .saturating_add(Weight::from_parts(259_988, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 62).saturating_mul(c.into())) @@ -108,13 +108,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[6, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `516 + c * (44 ±0)` + // Measured: `549 + c * (44 ±0)` // Estimated: `2446` - // Minimum execution time: 44_483_000 picoseconds. - Weight::from_parts(46_109_174, 0) + // Minimum execution time: 46_226_000 picoseconds. + Weight::from_parts(47_880_519, 0) .saturating_add(Weight::from_parts(0, 2446)) - // Standard Error: 2_895 - .saturating_add(Weight::from_parts(67_079, 0).saturating_mul(c.into())) + // Standard Error: 2_834 + .saturating_add(Weight::from_parts(66_217, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,8 +128,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `195` // Estimated: `6196` - // Minimum execution time: 69_160_000 picoseconds. - Weight::from_parts(70_893_000, 0) + // Minimum execution time: 74_569_000 picoseconds. + Weight::from_parts(75_841_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -150,13 +150,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `492 + c * (98 ±0) + r * (140 ±0)` + // Measured: `525 + c * (98 ±0) + r * (140 ±0)` // Estimated: `7019778708211172 + c * (2519 ±0) + r * (2259 ±9)` - // Minimum execution time: 24_395_000 picoseconds. - Weight::from_parts(25_137_000, 0) + // Minimum execution time: 24_085_000 picoseconds. + Weight::from_parts(24_736_000, 0) .saturating_add(Weight::from_parts(0, 7019778708211172)) - // Standard Error: 217_083 - .saturating_add(Weight::from_parts(17_603_912, 0).saturating_mul(c.into())) + // Standard Error: 238_192 + .saturating_add(Weight::from_parts(18_919_531, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_collective.rs b/runtime/development/src/weights/pallet_collective.rs index c8439c3c3d..d458726e8c 100644 --- a/runtime/development/src/weights/pallet_collective.rs +++ b/runtime/development/src/weights/pallet_collective.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15762 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 22_121_000 picoseconds. - Weight::from_parts(22_402_000, 0) + // Minimum execution time: 22_462_000 picoseconds. + Weight::from_parts(22_903_000, 0) .saturating_add(Weight::from_parts(0, 15762)) - // Standard Error: 63_714 - .saturating_add(Weight::from_parts(4_717_357, 0).saturating_mul(m.into())) - // Standard Error: 63_714 - .saturating_add(Weight::from_parts(8_703_182, 0).saturating_mul(p.into())) + // Standard Error: 61_242 + .saturating_add(Weight::from_parts(4_737_301, 0).saturating_mul(m.into())) + // Standard Error: 61_242 + .saturating_add(Weight::from_parts(8_842_227, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 22_703_000 picoseconds. - Weight::from_parts(21_679_252, 0) + // Minimum execution time: 22_842_000 picoseconds. + Weight::from_parts(21_872_998, 0) .saturating_add(Weight::from_parts(0, 1589)) - // Standard Error: 37 - .saturating_add(Weight::from_parts(1_772, 0).saturating_mul(b.into())) - // Standard Error: 385 - .saturating_add(Weight::from_parts(16_592, 0).saturating_mul(m.into())) + // Standard Error: 35 + .saturating_add(Weight::from_parts(2_034, 0).saturating_mul(b.into())) + // Standard Error: 368 + .saturating_add(Weight::from_parts(19_210, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 26_660_000 picoseconds. - Weight::from_parts(25_946_891, 0) + // Minimum execution time: 27_411_000 picoseconds. + Weight::from_parts(26_019_615, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 43 - .saturating_add(Weight::from_parts(1_418, 0).saturating_mul(b.into())) - // Standard Error: 444 - .saturating_add(Weight::from_parts(28_340, 0).saturating_mul(m.into())) + // Standard Error: 51 + .saturating_add(Weight::from_parts(2_195, 0).saturating_mul(b.into())) + // Standard Error: 531 + .saturating_add(Weight::from_parts(30_840, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -116,15 +116,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 34_936_000 picoseconds. - Weight::from_parts(33_242_103, 0) + // Minimum execution time: 36_127_000 picoseconds. + Weight::from_parts(36_019_244, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 109 - .saturating_add(Weight::from_parts(3_810, 0).saturating_mul(b.into())) - // Standard Error: 1_141 - .saturating_add(Weight::from_parts(33_124, 0).saturating_mul(m.into())) - // Standard Error: 1_127 - .saturating_add(Weight::from_parts(235_656, 0).saturating_mul(p.into())) + // Standard Error: 93 + .saturating_add(Weight::from_parts(2_915, 0).saturating_mul(b.into())) + // Standard Error: 972 + .saturating_add(Weight::from_parts(24_722, 0).saturating_mul(m.into())) + // Standard Error: 959 + .saturating_add(Weight::from_parts(249_344, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -139,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` // Estimated: `4306 + m * (64 ±0)` - // Minimum execution time: 29_796_000 picoseconds. - Weight::from_parts(30_119_088, 0) + // Minimum execution time: 30_216_000 picoseconds. + Weight::from_parts(30_987_563, 0) .saturating_add(Weight::from_parts(0, 4306)) - // Standard Error: 762 - .saturating_add(Weight::from_parts(53_051, 0).saturating_mul(m.into())) + // Standard Error: 740 + .saturating_add(Weight::from_parts(49_516, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -162,13 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 38_702_000 picoseconds. - Weight::from_parts(37_469_692, 0) + // Minimum execution time: 40_135_000 picoseconds. + Weight::from_parts(39_113_208, 0) .saturating_add(Weight::from_parts(0, 3876)) - // Standard Error: 831 - .saturating_add(Weight::from_parts(35_374, 0).saturating_mul(m.into())) - // Standard Error: 810 - .saturating_add(Weight::from_parts(227_667, 0).saturating_mul(p.into())) + // Standard Error: 837 + .saturating_add(Weight::from_parts(37_015, 0).saturating_mul(m.into())) + // Standard Error: 816 + .saturating_add(Weight::from_parts(241_934, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -189,15 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 55_444_000 picoseconds. - Weight::from_parts(54_696_740, 0) + // Minimum execution time: 58_579_000 picoseconds. + Weight::from_parts(58_445_204, 0) .saturating_add(Weight::from_parts(0, 4050)) - // Standard Error: 146 - .saturating_add(Weight::from_parts(3_117, 0).saturating_mul(b.into())) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(33_022, 0).saturating_mul(m.into())) - // Standard Error: 1_509 - .saturating_add(Weight::from_parts(267_811, 0).saturating_mul(p.into())) + // Standard Error: 144 + .saturating_add(Weight::from_parts(2_186, 0).saturating_mul(b.into())) + // Standard Error: 1_530 + .saturating_add(Weight::from_parts(33_512, 0).saturating_mul(m.into())) + // Standard Error: 1_491 + .saturating_add(Weight::from_parts(280_006, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -220,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 42_180_000 picoseconds. - Weight::from_parts(40_699_842, 0) + // Minimum execution time: 43_681_000 picoseconds. + Weight::from_parts(42_137_463, 0) .saturating_add(Weight::from_parts(0, 3896)) - // Standard Error: 894 - .saturating_add(Weight::from_parts(42_460, 0).saturating_mul(m.into())) - // Standard Error: 871 - .saturating_add(Weight::from_parts(227_405, 0).saturating_mul(p.into())) + // Standard Error: 853 + .saturating_add(Weight::from_parts(42_878, 0).saturating_mul(m.into())) + // Standard Error: 832 + .saturating_add(Weight::from_parts(244_693, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 58_149_000 picoseconds. - Weight::from_parts(58_899_819, 0) + // Minimum execution time: 62_376_000 picoseconds. + Weight::from_parts(62_156_308, 0) .saturating_add(Weight::from_parts(0, 4070)) - // Standard Error: 136 - .saturating_add(Weight::from_parts(2_555, 0).saturating_mul(b.into())) - // Standard Error: 1_447 - .saturating_add(Weight::from_parts(33_802, 0).saturating_mul(m.into())) - // Standard Error: 1_410 - .saturating_add(Weight::from_parts(265_737, 0).saturating_mul(p.into())) + // Standard Error: 140 + .saturating_add(Weight::from_parts(2_038, 0).saturating_mul(b.into())) + // Standard Error: 1_482 + .saturating_add(Weight::from_parts(32_663, 0).saturating_mul(m.into())) + // Standard Error: 1_445 + .saturating_add(Weight::from_parts(284_878, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -275,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 21_771_000 picoseconds. - Weight::from_parts(22_592_002, 0) + // Minimum execution time: 22_202_000 picoseconds. + Weight::from_parts(23_463_072, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 857 - .saturating_add(Weight::from_parts(231_185, 0).saturating_mul(p.into())) + // Standard Error: 685 + .saturating_add(Weight::from_parts(232_895, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/development/src/weights/pallet_crowdloan_claim.rs b/runtime/development/src/weights/pallet_crowdloan_claim.rs index 73f383af45..514e77e3f9 100644 --- a/runtime/development/src/weights/pallet_crowdloan_claim.rs +++ b/runtime/development/src/weights/pallet_crowdloan_claim.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_claim` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -60,8 +60,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `672` // Estimated: `6196` - // Minimum execution time: 260_188_000 picoseconds. - Weight::from_parts(262_492_000, 0) + // Minimum execution time: 273_028_000 picoseconds. + Weight::from_parts(275_342_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +94,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `828` // Estimated: `6196` - // Minimum execution time: 262_262_000 picoseconds. - Weight::from_parts(263_784_000, 0) + // Minimum execution time: 274_582_000 picoseconds. + Weight::from_parts(277_166_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -128,8 +128,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `724` // Estimated: `6196` - // Minimum execution time: 243_757_000 picoseconds. - Weight::from_parts(246_332_000, 0) + // Minimum execution time: 256_859_000 picoseconds. + Weight::from_parts(258_872_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) @@ -152,8 +152,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `76` // Estimated: `1489` - // Minimum execution time: 23_855_000 picoseconds. - Weight::from_parts(24_265_000, 0) + // Minimum execution time: 24_767_000 picoseconds. + Weight::from_parts(25_849_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -164,8 +164,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_501_000 picoseconds. - Weight::from_parts(11_902_000, 0) + // Minimum execution time: 12_022_000 picoseconds. + Weight::from_parts(12_363_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,8 +175,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_572_000 picoseconds. - Weight::from_parts(11_972_000, 0) + // Minimum execution time: 12_033_000 picoseconds. + Weight::from_parts(12_263_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_614_000 picoseconds. - Weight::from_parts(12_924_000, 0) + // Minimum execution time: 12_935_000 picoseconds. + Weight::from_parts(13_466_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,8 +197,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_612_000 picoseconds. - Weight::from_parts(11_922_000, 0) + // Minimum execution time: 11_973_000 picoseconds. + Weight::from_parts(12_303_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,8 +208,8 @@ impl pallet_crowdloan_claim::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_552_000 picoseconds. - Weight::from_parts(11_963_000, 0) + // Minimum execution time: 11_842_000 picoseconds. + Weight::from_parts(12_303_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_crowdloan_reward.rs b/runtime/development/src/weights/pallet_crowdloan_reward.rs index 1a270fb866..a56be49ae3 100644 --- a/runtime/development/src/weights/pallet_crowdloan_reward.rs +++ b/runtime/development/src/weights/pallet_crowdloan_reward.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloan_reward` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_024_000 picoseconds. - Weight::from_parts(13_495_000, 0) + // Minimum execution time: 13_876_000 picoseconds. + Weight::from_parts(14_177_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -53,8 +53,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_241_000 picoseconds. - Weight::from_parts(11_491_000, 0) + // Minimum execution time: 11_762_000 picoseconds. + Weight::from_parts(12_053_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -64,8 +64,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_931_000 picoseconds. - Weight::from_parts(11_422_000, 0) + // Minimum execution time: 11_651_000 picoseconds. + Weight::from_parts(12_093_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,8 +75,8 @@ impl pallet_crowdloan_reward::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_211_000 picoseconds. - Weight::from_parts(11_531_000, 0) + // Minimum execution time: 11_642_000 picoseconds. + Weight::from_parts(12_082_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_democracy.rs b/runtime/development/src/weights/pallet_democracy.rs index 936690315b..a8547442c6 100644 --- a/runtime/development/src/weights/pallet_democracy.rs +++ b/runtime/development/src/weights/pallet_democracy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -42,10 +42,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4801` + // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 55_414_000 picoseconds. - Weight::from_parts(57_318_000, 0) + // Minimum execution time: 58_208_000 picoseconds. + Weight::from_parts(59_461_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -54,10 +54,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3556` + // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 50_414_000 picoseconds. - Weight::from_parts(51_687_000, 0) + // Minimum execution time: 52_718_000 picoseconds. + Weight::from_parts(53_470_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3433` + // Measured: `3400` // Estimated: `7260` - // Minimum execution time: 64_151_000 picoseconds. - Weight::from_parts(65_543_000, 0) + // Minimum execution time: 66_404_000 picoseconds. + Weight::from_parts(68_057_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -90,10 +90,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3455` + // Measured: `3422` // Estimated: `7260` - // Minimum execution time: 70_361_000 picoseconds. - Weight::from_parts(72_135_000, 0) + // Minimum execution time: 73_667_000 picoseconds. + Weight::from_parts(75_040_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,10 +106,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `333` // Estimated: `3666` - // Minimum execution time: 36_339_000 picoseconds. - Weight::from_parts(37_240_000, 0) + // Minimum execution time: 38_452_000 picoseconds. + Weight::from_parts(39_052_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,10 +130,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `5910` + // Measured: `5877` // Estimated: `18187` - // Minimum execution time: 120_807_000 picoseconds. - Weight::from_parts(124_233_000, 0) + // Minimum execution time: 126_725_000 picoseconds. + Weight::from_parts(128_559_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) @@ -144,10 +144,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3416` + // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 17_262_000 picoseconds. - Weight::from_parts(17_864_000, 0) + // Minimum execution time: 17_914_000 picoseconds. + Weight::from_parts(18_404_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_910_000 picoseconds. - Weight::from_parts(5_260_000, 0) + // Minimum execution time: 5_471_000 picoseconds. + Weight::from_parts(5_570_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_070_000 picoseconds. - Weight::from_parts(5_289_000, 0) + // Minimum execution time: 5_210_000 picoseconds. + Weight::from_parts(5_570_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -184,10 +184,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 37_810_000 picoseconds. - Weight::from_parts(38_893_000, 0) + // Minimum execution time: 39_683_000 picoseconds. + Weight::from_parts(40_355_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -200,10 +200,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3519` + // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 40_957_000 picoseconds. - Weight::from_parts(41_587_000, 0) + // Minimum execution time: 42_750_000 picoseconds. + Weight::from_parts(43_632_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -218,10 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5821` + // Measured: `5788` // Estimated: `18187` - // Minimum execution time: 96_691_000 picoseconds. - Weight::from_parts(98_714_000, 0) + // Minimum execution time: 99_495_000 picoseconds. + Weight::from_parts(101_359_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -232,10 +232,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `271` + // Measured: `238` // Estimated: `3518` - // Minimum execution time: 27_712_000 picoseconds. - Weight::from_parts(28_033_000, 0) + // Minimum execution time: 28_964_000 picoseconds. + Weight::from_parts(29_706_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -249,13 +249,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 9_317_000 picoseconds. - Weight::from_parts(12_402_071, 0) + // Minimum execution time: 9_337_000 picoseconds. + Weight::from_parts(12_767_374, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_888 - .saturating_add(Weight::from_parts(3_989_363, 0).saturating_mul(r.into())) + // Standard Error: 5_469 + .saturating_add(Weight::from_parts(4_166_264, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -276,13 +276,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + r * (86 ±0)` + // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 13_875_000 picoseconds. - Weight::from_parts(17_732_229, 0) + // Minimum execution time: 14_397_000 picoseconds. + Weight::from_parts(18_978_082, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_825 - .saturating_add(Weight::from_parts(3_979_473, 0).saturating_mul(r.into())) + // Standard Error: 5_054 + .saturating_add(Weight::from_parts(4_150_127, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -299,13 +299,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (108 ±0)` + // Measured: `764 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 55_153_000 picoseconds. - Weight::from_parts(60_693_661, 0) + // Minimum execution time: 57_637_000 picoseconds. + Weight::from_parts(64_159_197, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 6_315 - .saturating_add(Weight::from_parts(5_042_394, 0).saturating_mul(r.into())) + // Standard Error: 6_228 + .saturating_add(Weight::from_parts(5_235_378, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -319,13 +319,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + r * (108 ±0)` + // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 27_582_000 picoseconds. - Weight::from_parts(27_973_053, 0) + // Minimum execution time: 28_263_000 picoseconds. + Weight::from_parts(29_876_975, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_240 - .saturating_add(Weight::from_parts(5_023_023, 0).saturating_mul(r.into())) + // Standard Error: 6_155 + .saturating_add(Weight::from_parts(5_180_473, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_789_000 picoseconds. - Weight::from_parts(5_089_000, 0) + // Minimum execution time: 5_069_000 picoseconds. + Weight::from_parts(5_370_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -354,13 +354,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `525` + // Measured: `492` // Estimated: `7260` - // Minimum execution time: 33_072_000 picoseconds. - Weight::from_parts(49_764_631, 0) + // Minimum execution time: 33_863_000 picoseconds. + Weight::from_parts(52_304_223, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 3_810 - .saturating_add(Weight::from_parts(69_845, 0).saturating_mul(r.into())) + // Standard Error: 4_125 + .saturating_add(Weight::from_parts(71_392, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -375,13 +375,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `526 + r * (22 ±0)` + // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 45_956_000 picoseconds. - Weight::from_parts(47_806_288, 0) + // Minimum execution time: 47_909_000 picoseconds. + Weight::from_parts(49_871_116, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 991 - .saturating_add(Weight::from_parts(84_502, 0).saturating_mul(r.into())) + // Standard Error: 1_238 + .saturating_add(Weight::from_parts(87_599, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,13 +392,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_118_000 picoseconds. - Weight::from_parts(22_709_641, 0) + // Minimum execution time: 20_669_000 picoseconds. + Weight::from_parts(23_415_471, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_116 - .saturating_add(Weight::from_parts(88_542, 0).saturating_mul(r.into())) + // Standard Error: 1_128 + .saturating_add(Weight::from_parts(87_876, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -409,13 +409,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `728 + r * (26 ±0)` + // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 20_098_000 picoseconds. - Weight::from_parts(22_957_825, 0) + // Minimum execution time: 21_100_000 picoseconds. + Weight::from_parts(23_766_097, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_123 - .saturating_add(Weight::from_parts(90_956, 0).saturating_mul(r.into())) + // Standard Error: 1_140 + .saturating_add(Weight::from_parts(89_943, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -427,10 +427,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `390` + // Measured: `357` // Estimated: `3556` - // Minimum execution time: 25_628_000 picoseconds. - Weight::from_parts(26_219_000, 0) + // Minimum execution time: 26_209_000 picoseconds. + Weight::from_parts(26_800_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -441,10 +441,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `286` + // Measured: `253` // Estimated: `3518` - // Minimum execution time: 23_083_000 picoseconds. - Weight::from_parts(23_644_000, 0) + // Minimum execution time: 23_834_000 picoseconds. + Weight::from_parts(24_225_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -457,10 +457,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4922` + // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 52_689_000 picoseconds. - Weight::from_parts(53_490_000, 0) + // Minimum execution time: 52_889_000 picoseconds. + Weight::from_parts(54_231_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -471,10 +471,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4822` + // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 48_861_000 picoseconds. - Weight::from_parts(49_983_000, 0) + // Minimum execution time: 49_723_000 picoseconds. + Weight::from_parts(50_785_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -487,8 +487,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 20_458_000 picoseconds. - Weight::from_parts(21_009_000, 0) + // Minimum execution time: 21_300_000 picoseconds. + Weight::from_parts(21_781_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -499,10 +499,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `302` + // Measured: `269` // Estimated: `3666` - // Minimum execution time: 25_709_000 picoseconds. - Weight::from_parts(26_279_000, 0) + // Minimum execution time: 26_340_000 picoseconds. + Weight::from_parts(27_300_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_elections_phragmen.rs b/runtime/development/src/weights/pallet_elections_phragmen.rs index 5d27763288..057177089e 100644 --- a/runtime/development/src/weights/pallet_elections_phragmen.rs +++ b/runtime/development/src/weights/pallet_elections_phragmen.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 5]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + v * (80 ±0)` + // Measured: `397 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 42_189_000 picoseconds. - Weight::from_parts(43_316_483, 0) + // Minimum execution time: 44_192_000 picoseconds. + Weight::from_parts(45_591_805, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_129 - .saturating_add(Weight::from_parts(107_488, 0).saturating_mul(v.into())) + // Standard Error: 9_708 + .saturating_add(Weight::from_parts(171_429, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -73,13 +73,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `399 + v * (80 ±0)` + // Measured: `366 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 60_193_000 picoseconds. - Weight::from_parts(61_551_446, 0) + // Minimum execution time: 63_398_000 picoseconds. + Weight::from_parts(64_252_582, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 17_156 - .saturating_add(Weight::from_parts(64_571, 0).saturating_mul(v.into())) + // Standard Error: 16_243 + .saturating_add(Weight::from_parts(342_475, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -99,13 +99,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 5]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + v * (80 ±0)` + // Measured: `398 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 59_581_000 picoseconds. - Weight::from_parts(60_619_408, 0) + // Minimum execution time: 63_358_000 picoseconds. + Weight::from_parts(64_172_866, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 16_127 - .saturating_add(Weight::from_parts(247_487, 0).saturating_mul(v.into())) + // Standard Error: 16_192 + .saturating_add(Weight::from_parts(363_260, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -118,10 +118,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Freezes (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `601` + // Measured: `568` // Estimated: `4764` - // Minimum execution time: 62_898_000 picoseconds. - Weight::from_parts(63_709_000, 0) + // Minimum execution time: 66_744_000 picoseconds. + Weight::from_parts(67_466_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -135,13 +135,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `996 + c * (48 ±0)` - // Estimated: `2481 + c * (48 ±0)` - // Minimum execution time: 44_774_000 picoseconds. - Weight::from_parts(45_886_370, 0) - .saturating_add(Weight::from_parts(0, 2481)) - // Standard Error: 2_440 - .saturating_add(Weight::from_parts(101_134, 0).saturating_mul(c.into())) + // Measured: `963 + c * (48 ±0)` + // Estimated: `2448 + c * (48 ±0)` + // Minimum execution time: 46_887_000 picoseconds. + Weight::from_parts(47_796_515, 0) + .saturating_add(Weight::from_parts(0, 2448)) + // Standard Error: 2_510 + .saturating_add(Weight::from_parts(66_456, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -151,13 +151,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 20]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + c * (48 ±0)` - // Estimated: `1836 + c * (48 ±0)` - // Minimum execution time: 41_207_000 picoseconds. - Weight::from_parts(42_757_501, 0) - .saturating_add(Weight::from_parts(0, 1836)) - // Standard Error: 3_808 - .saturating_add(Weight::from_parts(26_961, 0).saturating_mul(c.into())) + // Measured: `318 + c * (48 ±0)` + // Estimated: `1803 + c * (48 ±0)` + // Minimum execution time: 42_900_000 picoseconds. + Weight::from_parts(44_012_052, 0) + .saturating_add(Weight::from_parts(0, 1803)) + // Standard Error: 2_409 + .saturating_add(Weight::from_parts(34_488, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -174,11 +174,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1210` - // Estimated: `2695` - // Minimum execution time: 58_661_000 picoseconds. - Weight::from_parts(59_281_000, 0) - .saturating_add(Weight::from_parts(0, 2695)) + // Measured: `1177` + // Estimated: `2662` + // Minimum execution time: 58_770_000 picoseconds. + Weight::from_parts(60_052_000, 0) + .saturating_add(Weight::from_parts(0, 2662)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,11 +186,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `672` - // Estimated: `2157` - // Minimum execution time: 41_217_000 picoseconds. - Weight::from_parts(42_790_000, 0) - .saturating_add(Weight::from_parts(0, 2157)) + // Measured: `639` + // Estimated: `2124` + // Minimum execution time: 42_439_000 picoseconds. + Weight::from_parts(43_341_000, 0) + .saturating_add(Weight::from_parts(0, 2124)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,10 +218,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1210` + // Measured: `1177` // Estimated: `3593` - // Minimum execution time: 66_274_000 picoseconds. - Weight::from_parts(67_747_000, 0) + // Minimum execution time: 67_586_000 picoseconds. + Weight::from_parts(68_848_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -246,11 +246,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1193 + v * (457 ±0)` // Estimated: `4528 + d * (1 ±0) + v * (3774 ±0)` - // Minimum execution time: 3_484_190_000 picoseconds. - Weight::from_parts(3_500_240_000, 0) + // Minimum execution time: 3_795_398_000 picoseconds. + Weight::from_parts(33_230_444, 0) .saturating_add(Weight::from_parts(0, 4528)) - // Standard Error: 273_567 - .saturating_add(Weight::from_parts(40_835_738, 0).saturating_mul(v.into())) + // Standard Error: 31_437 + .saturating_add(Weight::from_parts(75_780_673, 0).saturating_mul(v.into())) + // Standard Error: 31_437 + .saturating_add(Weight::from_parts(11_652, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -281,16 +283,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (199 ±0) + e * (24 ±0) + v * (248 ±0)` - // Estimated: `7770 + c * (1665 ±11) + e * (19 ±0) + v * (2536 ±2)` - // Minimum execution time: 447_939_000 picoseconds. - Weight::from_parts(449_933_000, 0) - .saturating_add(Weight::from_parts(0, 7770)) - // Standard Error: 554_684 - .saturating_add(Weight::from_parts(3_757_931, 0).saturating_mul(c.into())) - // Standard Error: 110_341 - .saturating_add(Weight::from_parts(6_307_320, 0).saturating_mul(v.into())) - // Standard Error: 23_962 - .saturating_add(Weight::from_parts(70_927, 0).saturating_mul(e.into())) + // Estimated: `7737 + c * (1665 ±11) + e * (19 ±0) + v * (2536 ±2)` + // Minimum execution time: 472_039_000 picoseconds. + Weight::from_parts(476_096_000, 0) + .saturating_add(Weight::from_parts(0, 7737)) + // Standard Error: 597_138 + .saturating_add(Weight::from_parts(4_068_071, 0).saturating_mul(c.into())) + // Standard Error: 118_787 + .saturating_add(Weight::from_parts(6_539_216, 0).saturating_mul(v.into())) + // Standard Error: 25_796 + .saturating_add(Weight::from_parts(79_045, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/development/src/weights/pallet_fees.rs b/runtime/development/src/weights/pallet_fees.rs index b04b426c42..70d8789fa5 100644 --- a/runtime/development/src/weights/pallet_fees.rs +++ b/runtime/development/src/weights/pallet_fees.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_fees` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_fees::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_631_000 picoseconds. - Weight::from_parts(12_263_000, 0) + // Minimum execution time: 12_543_000 picoseconds. + Weight::from_parts(12_824_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_identity.rs b/runtime/development/src/weights/pallet_identity.rs index 25eb546f04..936293c1a4 100644 --- a/runtime/development/src/weights/pallet_identity.rs +++ b/runtime/development/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -39,11 +39,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 16_271_000 picoseconds. - Weight::from_parts(17_391_631, 0) + // Minimum execution time: 16_932_000 picoseconds. + Weight::from_parts(17_940_818, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_159 - .saturating_add(Weight::from_parts(87_484, 0).saturating_mul(r.into())) + // Standard Error: 2_033 + .saturating_add(Weight::from_parts(101_929, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -55,13 +55,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 46_427_000 picoseconds. - Weight::from_parts(44_935_471, 0) + // Minimum execution time: 48_570_000 picoseconds. + Weight::from_parts(48_311_419, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_836 - .saturating_add(Weight::from_parts(100_580, 0).saturating_mul(r.into())) - // Standard Error: 943 - .saturating_add(Weight::from_parts(778_690, 0).saturating_mul(x.into())) + // Standard Error: 3_419 + .saturating_add(Weight::from_parts(72_961, 0).saturating_mul(r.into())) + // Standard Error: 667 + .saturating_add(Weight::from_parts(805_377, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 13_035_000 picoseconds. - Weight::from_parts(32_508_915, 0) + // Minimum execution time: 13_705_000 picoseconds. + Weight::from_parts(35_286_448, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_351 - .saturating_add(Weight::from_parts(4_737_338, 0).saturating_mul(s.into())) + // Standard Error: 5_466 + .saturating_add(Weight::from_parts(5_105_456, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 13_075_000 picoseconds. - Weight::from_parts(32_727_606, 0) + // Minimum execution time: 13_445_000 picoseconds. + Weight::from_parts(34_191_616, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_553 - .saturating_add(Weight::from_parts(1_882_955, 0).saturating_mul(p.into())) + // Standard Error: 4_745 + .saturating_add(Weight::from_parts(2_079_322, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -120,15 +120,15 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 85_841_000 picoseconds. - Weight::from_parts(43_628_815, 0) + // Minimum execution time: 88_665_000 picoseconds. + Weight::from_parts(38_154_151, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 8_900 - .saturating_add(Weight::from_parts(233_625, 0).saturating_mul(r.into())) - // Standard Error: 1_738 - .saturating_add(Weight::from_parts(1_879_090, 0).saturating_mul(s.into())) - // Standard Error: 1_738 - .saturating_add(Weight::from_parts(417_240, 0).saturating_mul(x.into())) + // Standard Error: 13_437 + .saturating_add(Weight::from_parts(268_439, 0).saturating_mul(r.into())) + // Standard Error: 2_624 + .saturating_add(Weight::from_parts(2_116_798, 0).saturating_mul(s.into())) + // Standard Error: 2_624 + .saturating_add(Weight::from_parts(484_313, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -143,13 +143,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 45_705_000 picoseconds. - Weight::from_parts(44_398_181, 0) + // Minimum execution time: 48_090_000 picoseconds. + Weight::from_parts(46_804_176, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_004 - .saturating_add(Weight::from_parts(117_822, 0).saturating_mul(r.into())) - // Standard Error: 1_171 - .saturating_add(Weight::from_parts(815_527, 0).saturating_mul(x.into())) + // Standard Error: 5_276 + .saturating_add(Weight::from_parts(124_615, 0).saturating_mul(r.into())) + // Standard Error: 1_029 + .saturating_add(Weight::from_parts(872_566, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +161,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 42_209_000 picoseconds. - Weight::from_parts(40_390_730, 0) + // Minimum execution time: 44_392_000 picoseconds. + Weight::from_parts(43_436_168, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_195 - .saturating_add(Weight::from_parts(117_813, 0).saturating_mul(r.into())) - // Standard Error: 1_208 - .saturating_add(Weight::from_parts(818_426, 0).saturating_mul(x.into())) + // Standard Error: 6_774 + .saturating_add(Weight::from_parts(124_264, 0).saturating_mul(r.into())) + // Standard Error: 1_321 + .saturating_add(Weight::from_parts(841_771, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_558_000 picoseconds. - Weight::from_parts(10_111_662, 0) + // Minimum execution time: 9_849_000 picoseconds. + Weight::from_parts(10_591_139, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_135 - .saturating_add(Weight::from_parts(63_844, 0).saturating_mul(r.into())) + // Standard Error: 1_121 + .saturating_add(Weight::from_parts(70_038, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_909_000 picoseconds. - Weight::from_parts(10_407_571, 0) + // Minimum execution time: 10_439_000 picoseconds. + Weight::from_parts(10_863_338, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 952 - .saturating_add(Weight::from_parts(65_784, 0).saturating_mul(r.into())) + // Standard Error: 999 + .saturating_add(Weight::from_parts(67_492, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_739_000 picoseconds. - Weight::from_parts(10_130_527, 0) + // Minimum execution time: 10_149_000 picoseconds. + Weight::from_parts(10_552_400, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 919 - .saturating_add(Weight::from_parts(65_346, 0).saturating_mul(r.into())) + // Standard Error: 789 + .saturating_add(Weight::from_parts(61_062, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,13 +226,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 31_689_000 picoseconds. - Weight::from_parts(31_711_632, 0) + // Minimum execution time: 33_232_000 picoseconds. + Weight::from_parts(30_806_277, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 6_134 - .saturating_add(Weight::from_parts(31_846, 0).saturating_mul(r.into())) - // Standard Error: 1_134 - .saturating_add(Weight::from_parts(1_266_576, 0).saturating_mul(x.into())) + // Standard Error: 6_673 + .saturating_add(Weight::from_parts(143_492, 0).saturating_mul(r.into())) + // Standard Error: 1_234 + .saturating_add(Weight::from_parts(1_379_184, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -247,19 +247,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// 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, x: u32, ) -> Weight { + fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `708 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 91_210_000 picoseconds. - Weight::from_parts(48_718_869, 0) + // Minimum execution time: 93_434_000 picoseconds. + Weight::from_parts(59_676_250, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 8_281 - .saturating_add(Weight::from_parts(230_427, 0).saturating_mul(r.into())) - // Standard Error: 1_617 - .saturating_add(Weight::from_parts(1_899_429, 0).saturating_mul(s.into())) - // Standard Error: 1_617 - .saturating_add(Weight::from_parts(418_698, 0).saturating_mul(x.into())) + // Standard Error: 2_515 + .saturating_add(Weight::from_parts(2_064_181, 0).saturating_mul(s.into())) + // Standard Error: 2_515 + .saturating_add(Weight::from_parts(415_613, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -275,11 +273,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `474 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 41_778_000 picoseconds. - Weight::from_parts(46_722_702, 0) + // Minimum execution time: 44_142_000 picoseconds. + Weight::from_parts(49_205_253, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_167 - .saturating_add(Weight::from_parts(75_715, 0).saturating_mul(s.into())) + // Standard Error: 1_196 + .saturating_add(Weight::from_parts(68_809, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -292,11 +290,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 17_452_000 picoseconds. - Weight::from_parts(19_456_708, 0) + // Minimum execution time: 18_044_000 picoseconds. + Weight::from_parts(20_254_551, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 552 - .saturating_add(Weight::from_parts(24_704, 0).saturating_mul(s.into())) + // Standard Error: 562 + .saturating_add(Weight::from_parts(21_640, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -311,11 +309,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 45_285_000 picoseconds. - Weight::from_parts(48_368_302, 0) + // Minimum execution time: 47_979_000 picoseconds. + Weight::from_parts(51_148_383, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 862 - .saturating_add(Weight::from_parts(60_965, 0).saturating_mul(s.into())) + // Standard Error: 773 + .saturating_add(Weight::from_parts(56_162, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +328,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 32_781_000 picoseconds. - Weight::from_parts(34_864_142, 0) + // Minimum execution time: 34_434_000 picoseconds. + Weight::from_parts(36_517_689, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 832 - .saturating_add(Weight::from_parts(69_790, 0).saturating_mul(s.into())) + // Standard Error: 739 + .saturating_add(Weight::from_parts(60_254, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_interest_accrual.rs b/runtime/development/src/weights/pallet_interest_accrual.rs index 22a13c6316..8d00f951e4 100644 --- a/runtime/development/src/weights/pallet_interest_accrual.rs +++ b/runtime/development/src/weights/pallet_interest_accrual.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_interest_accrual` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_interest_accrual::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 691_000 picoseconds. - Weight::from_parts(198_075, 0) + // Minimum execution time: 721_000 picoseconds. + Weight::from_parts(202_373, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 211 - .saturating_add(Weight::from_parts(601_721, 0).saturating_mul(n.into())) + // Standard Error: 227 + .saturating_add(Weight::from_parts(607_296, 0).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_investments.rs b/runtime/development/src/weights/pallet_investments.rs index 90f5e644c0..77c1c43f0c 100644 --- a/runtime/development/src/weights/pallet_investments.rs +++ b/runtime/development/src/weights/pallet_investments.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_investments` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) fn update_invest_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2492` + // Measured: `2525` // Estimated: `6198` - // Minimum execution time: 102_833_000 picoseconds. - Weight::from_parts(103_835_000, 0) + // Minimum execution time: 104_946_000 picoseconds. + Weight::from_parts(106_278_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -76,10 +76,10 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) fn update_redeem_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` + // Measured: `2421` // Estimated: `6198` - // Minimum execution time: 101_891_000 picoseconds. - Weight::from_parts(102_962_000, 0) + // Minimum execution time: 102_702_000 picoseconds. + Weight::from_parts(104_544_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) @@ -98,21 +98,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments InvestmentState (r:1 w:0) - /// Proof: ForeignInvestments InvestmentState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_investments(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2761 + n * (44 ±0)` - // Estimated: `6226 + n * (2555 ±0)` - // Minimum execution time: 113_693_000 picoseconds. - Weight::from_parts(109_813_564, 0) - .saturating_add(Weight::from_parts(0, 6226)) - // Standard Error: 18_519 - .saturating_add(Weight::from_parts(5_487_634, 0).saturating_mul(n.into())) + // Measured: `2828 + n * (44 ±0)` + // Estimated: `6293 + n * (2555 ±0)` + // Minimum execution time: 115_184_000 picoseconds. + Weight::from_parts(110_443_967, 0) + .saturating_add(Weight::from_parts(0, 6293)) + // Standard Error: 20_142 + .saturating_add(Weight::from_parts(5_589_535, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:0) @@ -129,21 +129,21 @@ impl pallet_investments::WeightInfo for WeightInfo { /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments RedemptionState (r:1 w:0) - /// Proof: ForeignInvestments RedemptionState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + /// Storage: ForeignInvestments ForeignRedemptionInfo (r:1 w:1) + /// Proof: ForeignInvestments ForeignRedemptionInfo (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10]`. fn collect_redemptions(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2798 + n * (44 ±0)` - // Estimated: `6263 + n * (2555 ±0)` - // Minimum execution time: 114_524_000 picoseconds. - Weight::from_parts(111_067_128, 0) - .saturating_add(Weight::from_parts(0, 6263)) - // Standard Error: 18_276 - .saturating_add(Weight::from_parts(5_309_700, 0).saturating_mul(n.into())) + // Measured: `2865 + n * (44 ±0)` + // Estimated: `6330 + n * (2555 ±0)` + // Minimum execution time: 116_046_000 picoseconds. + Weight::from_parts(112_398_785, 0) + .saturating_add(Weight::from_parts(0, 6330)) + // Standard Error: 23_452 + .saturating_add(Weight::from_parts(5_300_469, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .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(4)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_keystore.rs b/runtime/development/src/weights/pallet_keystore.rs index 0367e680fc..e9e099ffdd 100644 --- a/runtime/development/src/weights/pallet_keystore.rs +++ b/runtime/development/src/weights/pallet_keystore.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_keystore` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3593 + n * (2595 ±0)` - // Minimum execution time: 43_872_000 picoseconds. - Weight::from_parts(17_434_747, 0) + // Minimum execution time: 46_226_000 picoseconds. + Weight::from_parts(18_151_048, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 12_724 - .saturating_add(Weight::from_parts(27_750_318, 0).saturating_mul(n.into())) + // Standard Error: 9_170 + .saturating_add(Weight::from_parts(29_559_660, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -63,11 +63,11 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `148 + n * (75 ±0)` // Estimated: `990 + n * (2595 ±0)` - // Minimum execution time: 21_140_000 picoseconds. - Weight::from_parts(8_526_090, 0) + // Minimum execution time: 21_881_000 picoseconds. + Weight::from_parts(8_785_737, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 21_137 - .saturating_add(Weight::from_parts(13_275_319, 0).saturating_mul(n.into())) + // Standard Error: 18_718 + .saturating_add(Weight::from_parts(13_862_228, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2595).saturating_mul(n.into())) @@ -78,8 +78,8 @@ impl pallet_keystore::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_211_000 picoseconds. - Weight::from_parts(11_521_000, 0) + // Minimum execution time: 11_622_000 picoseconds. + Weight::from_parts(12_162_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_liquidity_pools.rs b/runtime/development/src/weights/pallet_liquidity_pools.rs deleted file mode 100644 index 4c7d4a472d..0000000000 --- a/runtime/development/src/weights/pallet_liquidity_pools.rs +++ /dev/null @@ -1,81 +0,0 @@ - -//! Autogenerated weights for `pallet_liquidity_pools` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 - -// Executed Command: -// target/release/centrifuge-chain -// benchmark -// pallet -// --chain=development-local -// --steps=50 -// --repeat=20 -// --pallet=pallet_liquidity_pools -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=/tmp/runtime/development/src/weights/pallet_liquidity_pools.rs - -#![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; - -/// Weight functions for `pallet_liquidity_pools`. -pub struct WeightInfo(PhantomData); -impl pallet_liquidity_pools::WeightInfo for WeightInfo { - /// Storage: PoolSystem Pool (r:1 w:0) - /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) - /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: ForeignInvestments RedemptionPayoutCurrency (r:1 w:0) - /// Proof: ForeignInvestments RedemptionPayoutCurrency (max_values: None, max_size: Some(113), added: 2588, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrders (r:1 w:1) - /// Proof: Investments RedeemOrders (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: Investments RedeemOrderId (r:1 w:0) - /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Investments ClearedRedeemOrders (r:1 w:0) - /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:3 w:3) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments RedemptionState (r:1 w:1) - /// Proof: ForeignInvestments RedemptionState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) - /// Storage: ForeignInvestments CollectedRedemption (r:1 w:1) - /// Proof: ForeignInvestments CollectedRedemption (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) - /// Storage: ForeignInvestments TokenSwapOrderIds (r:1 w:1) - /// Proof: ForeignInvestments TokenSwapOrderIds (max_values: None, max_size: Some(96), added: 2571, mode: MaxEncodedLen) - /// Storage: ForeignInvestments InvestmentState (r:1 w:1) - /// Proof: ForeignInvestments InvestmentState (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) - /// Storage: OrderBook Orders (r:1 w:2) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrderBook AssetPairOrders (r:2 w:2) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) - /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) - /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:0 w:2) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:0 w:2) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) - fn inbound_collect_redeem() -> Weight { - // Proof Size summary in bytes: - // Measured: `3977` - // Estimated: `22076` - // Minimum execution time: 362_620_000 picoseconds. - Weight::from_parts(366_767_000, 0) - .saturating_add(Weight::from_parts(0, 22076)) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(17)) - } -} diff --git a/runtime/development/src/weights/pallet_loans.rs b/runtime/development/src/weights/pallet_loans.rs index 67d1e5a19c..5064547b69 100644 --- a/runtime/development/src/weights/pallet_loans.rs +++ b/runtime/development/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -45,23 +45,23 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans LastLoanId (r:1 w:1) /// Proof: Loans LastLoanId (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:0 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) /// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1262` + // Measured: `1261` // Estimated: `4278` - // Minimum execution time: 80_081_000 picoseconds. - Weight::from_parts(81_552_000, 0) + // Minimum execution time: 81_511_000 picoseconds. + Weight::from_parts(82_984_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -71,7 +71,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) @@ -84,12 +84,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn borrow(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `38651 + n * (340 ±0)` - // Estimated: `329491 + n * (340 ±0)` - // Minimum execution time: 268_804_000 picoseconds. - Weight::from_parts(284_286_161, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 76_140 - .saturating_add(Weight::from_parts(457_378, 0).saturating_mul(n.into())) + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 261_457_000 picoseconds. + Weight::from_parts(269_945_492, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 38_824 + .saturating_add(Weight::from_parts(470_137, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -97,7 +97,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -116,12 +116,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn repay(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `38771 + n * (340 ±0)` - // Estimated: `329491 + n * (340 ±0)` - // Minimum execution time: 199_403_000 picoseconds. - Weight::from_parts(206_281_935, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 55_199 - .saturating_add(Weight::from_parts(518_641, 0).saturating_mul(n.into())) + // Estimated: `375491 + n * (340 ±0)` + // Minimum execution time: 192_559_000 picoseconds. + Weight::from_parts(195_053_334, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 27_857 + .saturating_add(Weight::from_parts(777_616, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 340).saturating_mul(n.into())) @@ -129,7 +129,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(535), added: 3010, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -141,13 +141,13 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37393 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 241_893_000 picoseconds. - Weight::from_parts(261_812_371, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 80_448 - .saturating_add(Weight::from_parts(76_511, 0).saturating_mul(n.into())) + // Measured: `37360 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 234_256_000 picoseconds. + Weight::from_parts(245_198_608, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 36_611 + .saturating_add(Weight::from_parts(920_271, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,7 +156,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:1 w:0) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(535), added: 3010, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -168,45 +168,45 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn admin_write_off(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37644 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 258_825_000 picoseconds. - Weight::from_parts(276_452_484, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 80_347 - .saturating_add(Weight::from_parts(952_419, 0).saturating_mul(n.into())) + // Measured: `37611 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 252_480_000 picoseconds. + Weight::from_parts(262_803_032, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 43_954 + .saturating_add(Weight::from_parts(768_285, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[1, 9]`. fn propose_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `971 + n * (316 ±0)` - // Estimated: `329491` - // Minimum execution time: 47_500_000 picoseconds. - Weight::from_parts(49_621_919, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 20_680 - .saturating_add(Weight::from_parts(458_256, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 45_004_000 picoseconds. + Weight::from_parts(45_388_925, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 6_376 + .saturating_add(Weight::from_parts(536_320, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -216,20 +216,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 9]`. fn apply_loan_mutation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37511 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 103_384_000 picoseconds. - Weight::from_parts(109_023_486, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 42_219 - .saturating_add(Weight::from_parts(275_277, 0).saturating_mul(n.into())) + // Measured: `37477 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 97_923_000 picoseconds. + Weight::from_parts(99_003_360, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 11_822 + .saturating_add(Weight::from_parts(733_586, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -239,7 +239,7 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Uniques Asset (r:1 w:1) /// Proof: Uniques Asset (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Loans ClosedLoan (r:0 w:1) - /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(264), added: 2739, mode: MaxEncodedLen) + /// Proof: Loans ClosedLoan (max_values: None, max_size: Some(280), added: 2755, mode: MaxEncodedLen) /// Storage: Uniques Account (r:0 w:2) /// Proof: Uniques Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen) /// Storage: Uniques ItemPriceOf (r:0 w:1) @@ -248,12 +248,12 @@ impl pallet_loans::WeightInfo for WeightInfo { fn close(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `37370 + n * (373 ±0)` - // Estimated: `329491` - // Minimum execution time: 147_647_000 picoseconds. - Weight::from_parts(157_800_139, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 48_132 - .saturating_add(Weight::from_parts(865_578, 0).saturating_mul(n.into())) + // Estimated: `375491` + // Minimum execution time: 140_832_000 picoseconds. + Weight::from_parts(148_472_648, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 20_210 + .saturating_add(Weight::from_parts(837_764, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -264,30 +264,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) fn propose_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `512` + // Measured: `478` // Estimated: `4278` - // Minimum execution time: 43_231_000 picoseconds. - Weight::from_parts(44_032_000, 0) + // Minimum execution time: 44_553_000 picoseconds. + Weight::from_parts(45_234_000, 0) .saturating_add(Weight::from_parts(0, 4278)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans WriteOffPolicy (r:0 w:1) /// Proof: Loans WriteOffPolicy (max_values: None, max_size: Some(535), added: 3010, mode: MaxEncodedLen) fn apply_write_off_policy() -> Weight { // Proof Size summary in bytes: - // Measured: `1106` - // Estimated: `4278` - // Minimum execution time: 42_870_000 picoseconds. - Weight::from_parts(43_411_000, 0) - .saturating_add(Weight::from_parts(0, 4278)) + // Measured: `1073` + // Estimated: `9601` + // Minimum execution time: 44_162_000 picoseconds. + Weight::from_parts(45_044_000, 0) + .saturating_add(Weight::from_parts(0, 9601)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,10 +295,12 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) - /// Storage: PriceCollector Collection (r:1 w:0) - /// Proof: PriceCollector Collection (max_values: None, max_size: Some(37026), added: 39501, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:1 w:0) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:0 w:1) @@ -306,20 +308,20 @@ impl pallet_loans::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10]`. fn update_portfolio_valuation(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `36964 + n * (316 ±0)` - // Estimated: `329491` - // Minimum execution time: 86_172_000 picoseconds. - Weight::from_parts(82_691_057, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 32_409 - .saturating_add(Weight::from_parts(10_235_271, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `37026 + n * (353 ±0)` + // Estimated: `375491` + // Minimum execution time: 91_230_000 picoseconds. + Weight::from_parts(81_829_588, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 45_137 + .saturating_add(Weight::from_parts(11_165_196, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:0) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:0) @@ -327,30 +329,30 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:0) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// Storage: PoolSystem NotedChange (r:0 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn propose_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37177 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 295_002_000 picoseconds. - Weight::from_parts(311_462_544, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 109_476 - .saturating_add(Weight::from_parts(482_107, 0).saturating_mul(n.into())) + // Measured: `37144 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 283_818_000 picoseconds. + Weight::from_parts(291_026_811, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 52_244 + .saturating_add(Weight::from_parts(1_347_711, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem NotedChange (r:1 w:1) - /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(593), added: 3068, mode: MaxEncodedLen) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:1) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) /// Storage: Loans ActiveLoans (r:1 w:1) - /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(326026), added: 328501, mode: MaxEncodedLen) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: InterestAccrual Rates (r:1 w:1) @@ -358,23 +360,43 @@ impl pallet_loans::WeightInfo for WeightInfo { /// Storage: InterestAccrual LastUpdated (r:1 w:0) /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans CreatedLoan (r:1 w:1) - /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) /// The range of component `n` is `[2, 8]`. fn apply_transfer_debt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37839 + n * (340 ±0)` - // Estimated: `329491` - // Minimum execution time: 296_526_000 picoseconds. - Weight::from_parts(312_357_522, 0) - .saturating_add(Weight::from_parts(0, 329491)) - // Standard Error: 106_549 - .saturating_add(Weight::from_parts(1_653_060, 0).saturating_mul(n.into())) + // Measured: `37805 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 288_027_000 picoseconds. + Weight::from_parts(296_350_525, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 58_333 + .saturating_add(Weight::from_parts(1_111_002, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } - - fn increase_debt(_: u32) -> Weight { - // Pending to generate - Weight::zero() + /// Storage: Loans CreatedLoan (r:1 w:1) + /// Proof: Loans CreatedLoan (max_values: None, max_size: Some(244), added: 2719, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: InterestAccrual Rates (r:1 w:1) + /// Proof: InterestAccrual Rates (max_values: Some(1), max_size: Some(36002), added: 36497, mode: MaxEncodedLen) + /// Storage: InterestAccrual LastUpdated (r:1 w:0) + /// Proof: InterestAccrual LastUpdated (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans PortfolioValuation (r:1 w:1) + /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: Loans ActiveLoans (r:1 w:1) + /// Proof: Loans ActiveLoans (max_values: None, max_size: Some(372026), added: 374501, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 9]`. + fn increase_debt(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `36804 + n * (340 ±0)` + // Estimated: `375491` + // Minimum execution time: 187_028_000 picoseconds. + Weight::from_parts(194_961_956, 0) + .saturating_add(Weight::from_parts(0, 375491)) + // Standard Error: 25_436 + .saturating_add(Weight::from_parts(616_474, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/development/src/weights/pallet_multisig.rs b/runtime/development/src/weights/pallet_multisig.rs index 05fc36c03a..c35ff004b7 100644 --- a/runtime/development/src/weights/pallet_multisig.rs +++ b/runtime/development/src/weights/pallet_multisig.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_280_000 picoseconds. - Weight::from_parts(17_161_013, 0) + // Minimum execution time: 16_531_000 picoseconds. + Weight::from_parts(17_544_132, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(491, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(483, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -49,15 +49,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 55_444_000 picoseconds. - Weight::from_parts(47_500_612, 0) + // Minimum execution time: 59_711_000 picoseconds. + Weight::from_parts(52_448_757, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 705 - .saturating_add(Weight::from_parts(94_850, 0).saturating_mul(s.into())) + // Standard Error: 688 + .saturating_add(Weight::from_parts(86_009, 0).saturating_mul(s.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(1_543, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,15 +67,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 34_344_000 picoseconds. - Weight::from_parts(26_991_789, 0) + // Minimum execution time: 35_636_000 picoseconds. + Weight::from_parts(28_582_543, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 555 - .saturating_add(Weight::from_parts(84_570, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(z.into())) + // Standard Error: 499 + .saturating_add(Weight::from_parts(83_233, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_536, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,15 +87,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `489 + s * (33 ±0)` + // Measured: `456 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 62_938_000 picoseconds. - Weight::from_parts(51_454_575, 0) + // Minimum execution time: 67_196_000 picoseconds. + Weight::from_parts(56_324_054, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 848 - .saturating_add(Weight::from_parts(129_621, 0).saturating_mul(s.into())) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(z.into())) + // Standard Error: 644 + .saturating_add(Weight::from_parts(125_155, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_596, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,13 +104,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `367 + s * (1 ±0)` + // Measured: `334 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 43_782_000 picoseconds. - Weight::from_parts(45_681_570, 0) + // Minimum execution time: 48_370_000 picoseconds. + Weight::from_parts(50_135_932, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 913 - .saturating_add(Weight::from_parts(93_384, 0).saturating_mul(s.into())) + // Standard Error: 774 + .saturating_add(Weight::from_parts(92_608, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,13 +119,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 24_025_000 picoseconds. - Weight::from_parts(24_874_524, 0) + // Minimum execution time: 25_778_000 picoseconds. + Weight::from_parts(26_501_912, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 521 - .saturating_add(Weight::from_parts(85_373, 0).saturating_mul(s.into())) + // Standard Error: 457 + .saturating_add(Weight::from_parts(85_718, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,13 +134,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `553 + s * (1 ±0)` + // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 44_593_000 picoseconds. - Weight::from_parts(45_841_744, 0) + // Minimum execution time: 48_621_000 picoseconds. + Weight::from_parts(50_129_263, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 775 - .saturating_add(Weight::from_parts(93_219, 0).saturating_mul(s.into())) + // Standard Error: 729 + .saturating_add(Weight::from_parts(90_145, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_oracle_collection.rs b/runtime/development/src/weights/pallet_oracle_collection.rs index c72b294d8f..4f779bc36b 100644 --- a/runtime/development/src/weights/pallet_oracle_collection.rs +++ b/runtime/development/src/weights/pallet_oracle_collection.rs @@ -1,24 +1,109 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_collection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=development-local +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_collection +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/development/src/weights/pallet_oracle_collection.rs -use frame_support::weights::Weight; +#![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; +/// Weight functions for `pallet_oracle_collection`. pub struct WeightInfo(PhantomData); impl pallet_oracle_collection::WeightInfo for WeightInfo { - fn propose_update_collection_info(_: u32) -> Weight { - Weight::zero() + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn propose_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `222` + // Estimated: `3693` + // Minimum execution time: 29_214_000 picoseconds. + Weight::from_parts(28_632_452, 0) + .saturating_add(Weight::from_parts(0, 3693)) + // Standard Error: 5_629 + .saturating_add(Weight::from_parts(1_628_737, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - - fn apply_update_collection_info(_: u32) -> Weight { - Weight::zero() - } - - fn update_collection(_: u32, _: u32) -> Weight { - Weight::zero() + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:0 w:1) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + fn apply_update_collection_info(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `658 + n * (34 ±0)` + // Estimated: `9601` + // Minimum execution time: 35_636_000 picoseconds. + Weight::from_parts(35_001_125, 0) + .saturating_add(Weight::from_parts(0, 9601)) + // Standard Error: 5_843 + .saturating_add(Weight::from_parts(1_730_127, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - - fn set_collection_info() -> Weight { - Weight::zero() + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection Keys (r:11 w:0) + /// Proof: OraclePriceCollection Keys (max_values: None, max_size: Some(95), added: 2570, mode: MaxEncodedLen) + /// Storage: OraclePriceCollection CollectionInfo (r:1 w:0) + /// Proof: OraclePriceCollection CollectionInfo (max_values: None, max_size: Some(6078), added: 8553, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:100 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OraclePriceCollection Collection (r:0 w:1) + /// Proof: OraclePriceCollection Collection (max_values: None, max_size: Some(75042), added: 77517, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10]`. + /// The range of component `m` is `[1, 10]`. + fn update_collection(n: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (607 ±0) + n * (663 ±0)` + // Estimated: `32850 + m * (9227 ±363) + n * (9227 ±363)` + // Minimum execution time: 261_336_000 picoseconds. + Weight::from_parts(263_832_000, 0) + .saturating_add(Weight::from_parts(0, 32850)) + // Standard Error: 3_330_840 + .saturating_add(Weight::from_parts(99_886_250, 0).saturating_mul(n.into())) + // Standard Error: 3_330_840 + .saturating_add(Weight::from_parts(62_424_750, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 9227).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_oracle_feed.rs b/runtime/development/src/weights/pallet_oracle_feed.rs index d099cf8d3d..f089e1b36a 100644 --- a/runtime/development/src/weights/pallet_oracle_feed.rs +++ b/runtime/development/src/weights/pallet_oracle_feed.rs @@ -1,16 +1,65 @@ -// TODO: pending to regenerate -use core::marker::PhantomData; +//! Autogenerated weights for `pallet_oracle_feed` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=development-local +// --steps=50 +// --repeat=20 +// --pallet=pallet_oracle_feed +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/development/src/weights/pallet_oracle_feed.rs -use frame_support::weights::Weight; +#![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; + +/// Weight functions for `pallet_oracle_feed`. pub struct WeightInfo(PhantomData); impl pallet_oracle_feed::WeightInfo for WeightInfo { + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_with_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `4176` + // Minimum execution time: 68_938_000 picoseconds. + Weight::from_parts(69_710_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } - + /// Storage: OraclePriceFeed FedValues (r:1 w:1) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn feed_without_fee() -> Weight { - Weight::zero() + // Proof Size summary in bytes: + // Measured: `413` + // Estimated: `4176` + // Minimum execution time: 23_664_000 picoseconds. + Weight::from_parts(24_145_000, 0) + .saturating_add(Weight::from_parts(0, 4176)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/development/src/weights/pallet_order_book.rs b/runtime/development/src/weights/pallet_order_book.rs index 6fa4ddb383..c42c79df40 100644 --- a/runtime/development/src/weights/pallet_order_book.rs +++ b/runtime/development/src/weights/pallet_order_book.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_order_book` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -32,96 +32,95 @@ use core::marker::PhantomData; /// Weight functions for `pallet_order_book`. pub struct WeightInfo(PhantomData); impl pallet_order_book::WeightInfo for WeightInfo { - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrderBook OrderIdNonceStore (r:1 w:1) /// Proof: OrderBook OrderIdNonceStore (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) /// Storage: OrderBook Orders (r:0 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) - fn create_order() -> Weight { + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1152` - // Estimated: `11533` - // Minimum execution time: 76_283_000 picoseconds. - Weight::from_parts(77_686_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `1144` + // Estimated: `4609` + // Minimum execution time: 55_252_000 picoseconds. + Weight::from_parts(56_996_000, 0) + .saturating_add(Weight::from_parts(0, 4609)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: OrderBook TradingPair (r:1 w:0) - /// Proof: OrderBook TradingPair (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) - /// Storage: OrderBook UserOrders (r:1 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) fn update_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1594` - // Estimated: `7534` - // Minimum execution time: 75_100_000 picoseconds. - Weight::from_parts(76_454_000, 0) - .saturating_add(Weight::from_parts(0, 7534)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `1348` + // Estimated: `4813` + // Minimum execution time: 52_858_000 picoseconds. + Weight::from_parts(53_860_000, 0) + .saturating_add(Weight::from_parts(0, 4813)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:1 w:1) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1371` - // Estimated: `11533` - // Minimum execution time: 61_204_000 picoseconds. - Weight::from_parts(62_467_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `1348` + // Estimated: `4813` + // Minimum execution time: 55_834_000 picoseconds. + Weight::from_parts(56_876_000, 0) + .saturating_add(Weight::from_parts(0, 4813)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: OrderBook Orders (r:1 w:1) - /// Proof: OrderBook Orders (max_values: None, max_size: Some(186), added: 2661, mode: MaxEncodedLen) - /// Storage: OrmlTokens Accounts (r:4 w:4) - /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) - /// Storage: OrderBook AssetPairOrders (r:1 w:1) - /// Proof: OrderBook AssetPairOrders (max_values: None, max_size: Some(8068), added: 10543, mode: MaxEncodedLen) + /// Storage: OrderBook MarketFeederId (r:1 w:0) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) + /// Storage: OraclePriceFeed FedValues (r:1 w:0) + /// Proof: OraclePriceFeed FedValues (max_values: None, max_size: Some(711), added: 3186, mode: MaxEncodedLen) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ForeignInvestments ForeignInvestmentInfo (r:1 w:0) - /// Proof: ForeignInvestments ForeignInvestmentInfo (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: OrderBook UserOrders (r:0 w:1) - /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(226), added: 2701, mode: MaxEncodedLen) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1739` - // Estimated: `11533` - // Minimum execution time: 162_435_000 picoseconds. - Weight::from_parts(164_949_000, 0) - .saturating_add(Weight::from_parts(0, 11533)) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `2133` + // Estimated: `11406` + // Minimum execution time: 172_651_000 picoseconds. + Weight::from_parts(175_076_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } + /// Storage: OrderBook MarketFeederId (r:0 w:1) + /// Proof: OrderBook MarketFeederId (max_values: Some(1), max_size: Some(604), added: 1099, mode: MaxEncodedLen) fn set_market_feeder() -> Weight { - // Pending to be generated - Weight::zero() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_224_000 picoseconds. + Weight::from_parts(13_576_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/development/src/weights/pallet_permissions.rs b/runtime/development/src/weights/pallet_permissions.rs index 317a914c14..53e2e00072 100644 --- a/runtime/development/src/weights/pallet_permissions.rs +++ b/runtime/development/src/weights/pallet_permissions.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_permissions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `3693` - // Minimum execution time: 20_027_000 picoseconds. - Weight::from_parts(20_508_000, 0) + // Minimum execution time: 21_230_000 picoseconds. + Weight::from_parts(22_010_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `6396` - // Minimum execution time: 27_261_000 picoseconds. - Weight::from_parts(28_053_000, 0) + // Minimum execution time: 28_213_000 picoseconds. + Weight::from_parts(28_934_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +68,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3693` - // Minimum execution time: 23_103_000 picoseconds. - Weight::from_parts(23_764_000, 0) + // Minimum execution time: 23_995_000 picoseconds. + Weight::from_parts(24_525_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +82,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `6396` - // Minimum execution time: 29_355_000 picoseconds. - Weight::from_parts(30_117_000, 0) + // Minimum execution time: 30_357_000 picoseconds. + Weight::from_parts(31_138_000, 0) .saturating_add(Weight::from_parts(0, 6396)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -94,8 +94,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_217_000 picoseconds. - Weight::from_parts(20_589_000, 0) + // Minimum execution time: 21_059_000 picoseconds. + Weight::from_parts(21_319_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +106,8 @@ impl pallet_permissions::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 20_638_000 picoseconds. - Weight::from_parts(21_340_000, 0) + // Minimum execution time: 21_691_000 picoseconds. + Weight::from_parts(22_081_000, 0) .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_pool_fees.rs b/runtime/development/src/weights/pallet_pool_fees.rs new file mode 100644 index 0000000000..11bf89d162 --- /dev/null +++ b/runtime/development/src/weights/pallet_pool_fees.rs @@ -0,0 +1,154 @@ + +//! Autogenerated weights for `pallet_pool_fees` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=development-local +// --steps=50 +// --repeat=20 +// --pallet=pallet_pool_fees +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/development/src/weights/pallet_pool_fees.rs + +#![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; + +/// Weight functions for `pallet_pool_fees`. +pub struct WeightInfo(PhantomData); +impl pallet_pool_fees::WeightInfo for WeightInfo { + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: Permissions Permission (r:1 w:0) + /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:0 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + fn propose_new_fee() -> Weight { + // Proof Size summary in bytes: + // Measured: `581` + // Estimated: `4278` + // Minimum execution time: 43_932_000 picoseconds. + Weight::from_parts(44_613_000, 0) + .saturating_add(Weight::from_parts(0, 4278)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolSystem NotedChange (r:1 w:1) + /// Proof: PoolSystem NotedChange (max_values: None, max_size: Some(6136), added: 8611, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn apply_new_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1395 + n * (137 ±0)` + // Estimated: `17508` + // Minimum execution time: 55_854_000 picoseconds. + Weight::from_parts(56_615_791, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_253 + .saturating_add(Weight::from_parts(283_046, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:1) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn remove_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `709 + n * (136 ±0)` + // Estimated: `17508` + // Minimum execution time: 37_941_000 picoseconds. + Weight::from_parts(38_901_543, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 3_547 + .saturating_add(Weight::from_parts(411_039, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn charge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `795 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 27_903_000 picoseconds. + Weight::from_parts(27_418_529, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_183 + .saturating_add(Weight::from_parts(258_321, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolFees FeeIdsToPoolBucket (r:1 w:0) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 99]`. + fn uncharge_fee(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `795 + n * (129 ±0)` + // Estimated: `17508` + // Minimum execution time: 27_321_000 picoseconds. + Weight::from_parts(26_957_331, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 2_202 + .saturating_add(Weight::from_parts(255_754, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PoolSystem Pool (r:1 w:0) + /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:0) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 100]`. + fn update_portfolio_valuation(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `603 + n * (124 ±0)` + // Estimated: `17508` + // Minimum execution time: 50_154_000 picoseconds. + Weight::from_parts(43_703_169, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 4_174 + .saturating_add(Weight::from_parts(6_361_126, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/development/src/weights/pallet_pool_registry.rs b/runtime/development/src/weights/pallet_pool_registry.rs index dfd81808ce..7e794bb5ae 100644 --- a/runtime/development/src/weights/pallet_pool_registry.rs +++ b/runtime/development/src/weights/pallet_pool_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,6 +44,14 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Proof: PoolSystem AccountDeposit (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees LastFeeId (r:1 w:1) + /// Proof: PoolFees LastFeeId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIdsToPoolBucket (r:100 w:100) + /// Proof: PoolFees FeeIdsToPoolBucket (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) + /// Storage: PoolFees FeeIds (r:1 w:1) + /// Proof: PoolFees FeeIds (max_values: None, max_size: Some(843), added: 3318, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Permissions PermissionCount (r:1 w:1) /// Proof: Permissions PermissionCount (max_values: None, max_size: Some(46), added: 2521, mode: MaxEncodedLen) /// Storage: Permissions Permission (r:1 w:1) @@ -53,25 +61,29 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem PoolDeposit (r:0 w:1) /// Proof: PoolSystem PoolDeposit (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn register(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn register(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `720 + n * (4 ±0)` - // Estimated: `4278 + n * (2480 ±0)` - // Minimum execution time: 126_186_000 picoseconds. - Weight::from_parts(110_807_121, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 34_154 - .saturating_add(Weight::from_parts(18_374_251, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `757 + n * (5 ±0)` + // Estimated: `17508 + m * (2508 ±0) + n * (2479 ±0)` + // Minimum execution time: 209_801_000 picoseconds. + Weight::from_parts(96_931_652, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 81_724 + .saturating_add(Weight::from_parts(28_411_905, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2480).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2508).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2479).saturating_mul(n.into())) } /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -81,15 +93,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_no_execution(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `787 + n * (133 ±0)` + // Measured: `786 + n * (133 ±0)` // Estimated: `4278 + n * (2531 ±0)` - // Minimum execution time: 49_272_000 picoseconds. - Weight::from_parts(47_981_991, 0) + // Minimum execution time: 53_269_000 picoseconds. + Weight::from_parts(48_031_199, 0) .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 12_889 - .saturating_add(Weight::from_parts(2_655_724, 0).saturating_mul(n.into())) + // Standard Error: 17_336 + .saturating_add(Weight::from_parts(2_944_622, 0).saturating_mul(n.into())) + // Standard Error: 791 + .saturating_add(Weight::from_parts(35_599, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,7 +113,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: Permissions Permission (r:1 w:0) /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -110,15 +125,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem ScheduledUpdate (r:0 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn update_and_execute(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn update_and_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `973 + n * (155 ±0)` - // Estimated: `6917 + n * (2531 ±0)` - // Minimum execution time: 86_822_000 picoseconds. - Weight::from_parts(79_827_290, 0) - .saturating_add(Weight::from_parts(0, 6917)) - // Standard Error: 35_303 - .saturating_add(Weight::from_parts(9_951_632, 0).saturating_mul(n.into())) + // Measured: `1007 + n * (155 ±0)` + // Estimated: `6955 + n * (2531 ±0)` + // Minimum execution time: 94_846_000 picoseconds. + Weight::from_parts(81_495_524, 0) + .saturating_add(Weight::from_parts(0, 6955)) + // Standard Error: 18_403 + .saturating_add(Weight::from_parts(10_556_441, 0).saturating_mul(n.into())) + // Standard Error: 839 + .saturating_add(Weight::from_parts(55_783, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,7 +145,7 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem ScheduledUpdate (r:1 w:1) /// Proof: PoolSystem ScheduledUpdate (max_values: None, max_size: Some(1019), added: 3494, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) @@ -137,15 +155,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: OrmlAssetRegistry Metadata (r:2 w:1) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[1, 5]`. - fn execute_update(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_update(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `963 + n * (181 ±0)` - // Estimated: `6908 + n * (2531 ±0)` - // Minimum execution time: 74_851_000 picoseconds. - Weight::from_parts(67_153_109, 0) - .saturating_add(Weight::from_parts(0, 6908)) - // Standard Error: 32_749 - .saturating_add(Weight::from_parts(10_214_254, 0).saturating_mul(n.into())) + // Measured: `997 + n * (181 ±0)` + // Estimated: `6945 + n * (2531 ±0)` + // Minimum execution time: 80_760_000 picoseconds. + Weight::from_parts(68_698_831, 0) + .saturating_add(Weight::from_parts(0, 6945)) + // Standard Error: 29_813 + .saturating_add(Weight::from_parts(10_729_676, 0).saturating_mul(n.into())) + // Standard Error: 1_360 + .saturating_add(Weight::from_parts(36_162, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -156,15 +177,18 @@ impl pallet_pool_registry::WeightInfo for WeightInfo /// Storage: PoolRegistry PoolMetadata (r:0 w:1) /// Proof: PoolRegistry PoolMetadata (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// The range of component `n` is `[0, 46]`. - fn set_metadata(n: u32, ) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_metadata(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `3693` - // Minimum execution time: 21_641_000 picoseconds. - Weight::from_parts(22_703_254, 0) + // Minimum execution time: 22_382_000 picoseconds. + Weight::from_parts(23_216_875, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 697 - .saturating_add(Weight::from_parts(801, 0).saturating_mul(n.into())) + // Standard Error: 753 + .saturating_add(Weight::from_parts(8_419, 0).saturating_mul(n.into())) + // Standard Error: 350 + .saturating_add(Weight::from_parts(24_401, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_pool_system.rs b/runtime/development/src/weights/pallet_pool_system.rs index 0f5db830cb..bddb83ee09 100644 --- a/runtime/development/src/weights/pallet_pool_system.rs +++ b/runtime/development/src/weights/pallet_pool_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_pool_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -36,24 +36,33 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Proof: Permissions Permission (max_values: None, max_size: Some(228), added: 2703, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) - fn set_max_reserve(_m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn set_max_reserve(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `625` + // Measured: `592` // Estimated: `4278` - // Minimum execution time: 28_032_000 picoseconds. - Weight::from_parts(28_544_000, 0) + // Minimum execution time: 28_493_000 picoseconds. + Weight::from_parts(29_295_935, 0) .saturating_add(Weight::from_parts(0, 4278)) + // Standard Error: 374 + .saturating_add(Weight::from_parts(31_418, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -75,29 +84,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_orders(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[1, 100]`. + fn close_epoch_no_orders(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1220 + n * (175 ±0)` + // Measured: `1425 + m * (124 ±0) + n * (175 ±0)` // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 130_835_000 picoseconds. - Weight::from_parts(54_340_730, 0) + // Minimum execution time: 524_366_000 picoseconds. + Weight::from_parts(82_175_515, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 40_322 - .saturating_add(Weight::from_parts(78_260_878, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Standard Error: 138_179 + .saturating_add(Weight::from_parts(86_172_489, 0).saturating_mul(n.into())) + // Standard Error: 6_381 + .saturating_add(Weight::from_parts(6_837_799, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:0) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -113,29 +131,38 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments RedeemOrderId (r:5 w:5) /// Proof: Investments RedeemOrderId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_no_execution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_no_execution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1073 + n * (133 ±0)` + // Measured: `1276 + m * (124 ±0) + n * (133 ±0)` // Estimated: `27515 + n * (2531 ±0)` - // Minimum execution time: 86_652_000 picoseconds. - Weight::from_parts(56_960_625, 0) + // Minimum execution time: 258_811_000 picoseconds. + Weight::from_parts(93_532_289, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 24_481 - .saturating_add(Weight::from_parts(31_890_327, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Standard Error: 111_864 + .saturating_add(Weight::from_parts(33_853_289, 0).saturating_mul(n.into())) + // Standard Error: 5_104 + .saturating_add(Weight::from_parts(6_601_745, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2531).saturating_mul(n.into())) } /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) /// Storage: PoolSystem EpochExecution (r:1 w:0) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans PortfolioValuation (r:1 w:0) /// Proof: Loans PortfolioValuation (max_values: None, max_size: Some(24050), added: 26525, mode: MaxEncodedLen) + /// Storage: PoolFees PortfolioValuation (r:1 w:1) + /// Proof: PoolFees PortfolioValuation (max_values: None, max_size: Some(4850), added: 7325, mode: MaxEncodedLen) + /// Storage: PoolFees AssetsUnderManagement (r:1 w:1) + /// Proof: PoolFees AssetsUnderManagement (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: OrmlTokens TotalIssuance (r:5 w:1) /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Investments ActiveInvestOrders (r:5 w:5) @@ -161,42 +188,53 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn close_epoch_execute(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn close_epoch_execute(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2231 + n * (197 ±0)` - // Estimated: `27515 + n * (2604 ±0)` - // Minimum execution time: 242_013_000 picoseconds. - Weight::from_parts(165_776_025, 0) + // Measured: `2462 + m * (124 ±0) + n * (197 ±0)` + // Estimated: `27515 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 634_792_000 picoseconds. + Weight::from_parts(214_475_514, 0) .saturating_add(Weight::from_parts(0, 27515)) - // Standard Error: 67_482 - .saturating_add(Weight::from_parts(79_916_715, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Standard Error: 158_104 + .saturating_add(Weight::from_parts(86_629_363, 0).saturating_mul(n.into())) + // Standard Error: 7_215 + .saturating_add(Weight::from_parts(6_790_515, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:0) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:0) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn submit_solution(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn submit_solution(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `429 + n * (249 ±0)` - // Estimated: `4278` - // Minimum execution time: 29_676_000 picoseconds. - Weight::from_parts(29_567_314, 0) - .saturating_add(Weight::from_parts(0, 4278)) - // Standard Error: 6_755 - .saturating_add(Weight::from_parts(1_036_768, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `821 + m * (124 ±0) + n * (249 ±0)` + // Estimated: `17508` + // Minimum execution time: 42_369_000 picoseconds. + Weight::from_parts(37_122_780, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 33_630 + .saturating_add(Weight::from_parts(1_543_894, 0).saturating_mul(n.into())) + // Standard Error: 1_534 + .saturating_add(Weight::from_parts(199_535, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: PoolSystem EpochExecution (r:1 w:1) - /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(770), added: 3245, mode: MaxEncodedLen) + /// Proof: PoolSystem EpochExecution (max_values: None, max_size: Some(754), added: 3229, mode: MaxEncodedLen) /// Storage: PoolSystem Pool (r:1 w:1) /// Proof: PoolSystem Pool (max_values: None, max_size: Some(813), added: 3288, mode: MaxEncodedLen) + /// Storage: PoolFees ActiveFees (r:1 w:1) + /// Proof: PoolFees ActiveFees (max_values: None, max_size: Some(14043), added: 16518, mode: MaxEncodedLen) /// Storage: Investments InProcessingInvestOrders (r:5 w:5) /// Proof: Investments InProcessingInvestOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:7 w:3) @@ -224,19 +262,23 @@ impl pallet_pool_system::WeightInfo for WeightInfo { /// Storage: Investments ClearedRedeemOrders (r:0 w:5) /// Proof: Investments ClearedRedeemOrders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) /// The range of component `n` is `[1, 5]`. - fn execute_epoch(n: u32, _m: u32) -> Weight { + /// The range of component `m` is `[0, 100]`. + fn execute_epoch(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2103 + n * (671 ±0)` - // Estimated: `8039 + n * (2604 ±0)` - // Minimum execution time: 206_938_000 picoseconds. - Weight::from_parts(152_525_487, 0) - .saturating_add(Weight::from_parts(0, 8039)) - // Standard Error: 71_034 - .saturating_add(Weight::from_parts(59_411_948, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `2359 + m * (124 ±0) + n * (671 ±0)` + // Estimated: `17508 + m * (124 ±0) + n * (2604 ±0)` + // Minimum execution time: 264_012_000 picoseconds. + Weight::from_parts(165_396_115, 0) + .saturating_add(Weight::from_parts(0, 17508)) + // Standard Error: 107_102 + .saturating_add(Weight::from_parts(63_850_944, 0).saturating_mul(n.into())) + // Standard Error: 4_887 + .saturating_add(Weight::from_parts(402_149, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 124).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 2604).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_preimage.rs b/runtime/development/src/weights/pallet_preimage.rs index 2e5eecf768..1d78590f40 100644 --- a/runtime/development/src/weights/pallet_preimage.rs +++ b/runtime/development/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -41,11 +41,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 42_189_000 picoseconds. - Weight::from_parts(38_785_326, 0) + // Minimum execution time: 44_133_000 picoseconds. + Weight::from_parts(352_252_290, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(2_654, 0).saturating_mul(s.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_986, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -58,11 +58,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 23_113_000 picoseconds. - Weight::from_parts(23_354_000, 0) + // Minimum execution time: 23_965_000 picoseconds. + Weight::from_parts(40_406_052, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_658, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_624, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 21_951_000 picoseconds. - Weight::from_parts(5_072_153, 0) + // Minimum execution time: 22_642_000 picoseconds. + Weight::from_parts(25_814_301, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 8 - .saturating_add(Weight::from_parts(2_648, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_613, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `324` // Estimated: `3556` - // Minimum execution time: 48_040_000 picoseconds. - Weight::from_parts(50_494_000, 0) + // Minimum execution time: 49_272_000 picoseconds. + Weight::from_parts(50_133_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,8 +105,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 27_041_000 picoseconds. - Weight::from_parts(28_984_000, 0) + // Minimum execution time: 27_181_000 picoseconds. + Weight::from_parts(27_611_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -117,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 23_674_000 picoseconds. - Weight::from_parts(33_773_000, 0) + // Minimum execution time: 23_644_000 picoseconds. + Weight::from_parts(24_395_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,8 +129,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 13_265_000 picoseconds. - Weight::from_parts(13_776_000, 0) + // Minimum execution time: 13_224_000 picoseconds. + Weight::from_parts(13_866_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,8 +141,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 19_817_000 picoseconds. - Weight::from_parts(20_208_000, 0) + // Minimum execution time: 19_727_000 picoseconds. + Weight::from_parts(20_398_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +153,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_682_000 picoseconds. - Weight::from_parts(12_063_000, 0) + // Minimum execution time: 11_982_000 picoseconds. + Weight::from_parts(12_313_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_298_000 picoseconds. - Weight::from_parts(27_993_000, 0) + // Minimum execution time: 24_736_000 picoseconds. + Weight::from_parts(25_778_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_732_000 picoseconds. - Weight::from_parts(12_192_000, 0) + // Minimum execution time: 11_521_000 picoseconds. + Weight::from_parts(12_063_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 11_661_000 picoseconds. - Weight::from_parts(12_093_000, 0) + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_272_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/development/src/weights/pallet_proxy.rs b/runtime/development/src/weights/pallet_proxy.rs index 551c524c93..ebb05ec369 100644 --- a/runtime/development/src/weights/pallet_proxy.rs +++ b/runtime/development/src/weights/pallet_proxy.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,13 +37,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_142_000 picoseconds. - Weight::from_parts(23_564_104, 0) + // Minimum execution time: 22_652_000 picoseconds. + Weight::from_parts(23_577_071, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 4_385 - .saturating_add(Weight::from_parts(31_669, 0).saturating_mul(p.into())) + // Standard Error: 1_265 + .saturating_add(Weight::from_parts(45_247, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -56,15 +56,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `587 + a * (68 ±0) + p * (37 ±0)` + // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 52_278_000 picoseconds. - Weight::from_parts(52_579_142, 0) + // Minimum execution time: 54_591_000 picoseconds. + Weight::from_parts(54_396_127, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_802 - .saturating_add(Weight::from_parts(243_131, 0).saturating_mul(a.into())) - // Standard Error: 2_895 - .saturating_add(Weight::from_parts(27_963, 0).saturating_mul(p.into())) + // Standard Error: 2_355 + .saturating_add(Weight::from_parts(249_894, 0).saturating_mul(a.into())) + // Standard Error: 2_434 + .saturating_add(Weight::from_parts(48_633, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,13 +76,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_743_000 picoseconds. - Weight::from_parts(34_871_102, 0) + // Minimum execution time: 34_865_000 picoseconds. + Weight::from_parts(36_088_782, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_035 - .saturating_add(Weight::from_parts(216_747, 0).saturating_mul(a.into())) + // Standard Error: 1_897 + .saturating_add(Weight::from_parts(230_257, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,17 +92,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `502 + a * (68 ±0)` + // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 33_613_000 picoseconds. - Weight::from_parts(34_558_840, 0) + // Minimum execution time: 34_895_000 picoseconds. + Weight::from_parts(36_192_784, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_438 - .saturating_add(Weight::from_parts(225_835, 0).saturating_mul(a.into())) - // Standard Error: 2_519 - .saturating_add(Weight::from_parts(750, 0).saturating_mul(p.into())) + // Standard Error: 2_087 + .saturating_add(Weight::from_parts(232_177, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,15 +114,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + a * (68 ±0) + p * (37 ±0)` + // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 46_758_000 picoseconds. - Weight::from_parts(46_310_527, 0) + // Minimum execution time: 49_322_000 picoseconds. + Weight::from_parts(49_237_035, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_002 - .saturating_add(Weight::from_parts(241_079, 0).saturating_mul(a.into())) - // Standard Error: 2_068 - .saturating_add(Weight::from_parts(33_253, 0).saturating_mul(p.into())) + // Standard Error: 2_045 + .saturating_add(Weight::from_parts(232_388, 0).saturating_mul(a.into())) + // Standard Error: 2_113 + .saturating_add(Weight::from_parts(31_220, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,13 +131,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_386_000 picoseconds. - Weight::from_parts(36_370_088, 0) + // Minimum execution time: 37_129_000 picoseconds. + Weight::from_parts(38_118_311, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_270 - .saturating_add(Weight::from_parts(43_142, 0).saturating_mul(p.into())) + // Standard Error: 1_274 + .saturating_add(Weight::from_parts(48_661, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,13 +146,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_106_000 picoseconds. - Weight::from_parts(36_734_496, 0) + // Minimum execution time: 37_460_000 picoseconds. + Weight::from_parts(38_527_212, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_200 - .saturating_add(Weight::from_parts(35_830, 0).saturating_mul(p.into())) + // Standard Error: 2_474 + .saturating_add(Weight::from_parts(54_416, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,13 +161,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (37 ±0)` + // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_098_000 picoseconds. - Weight::from_parts(32_118_938, 0) + // Minimum execution time: 32_842_000 picoseconds. + Weight::from_parts(33_993_723, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_211 - .saturating_add(Weight::from_parts(46_997, 0).saturating_mul(p.into())) + // Standard Error: 1_214 + .saturating_add(Weight::from_parts(41_015, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,13 +176,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272` + // Measured: `305` // Estimated: `4706` - // Minimum execution time: 37_630_000 picoseconds. - Weight::from_parts(38_750_343, 0) + // Minimum execution time: 40_154_000 picoseconds. + Weight::from_parts(41_297_670, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_408 - .saturating_add(Weight::from_parts(15_188, 0).saturating_mul(p.into())) + // Standard Error: 1_369 + .saturating_add(Weight::from_parts(13_349, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,13 +191,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + p * (37 ±0)` + // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_071_000 picoseconds. - Weight::from_parts(33_415_234, 0) + // Minimum execution time: 34_293_000 picoseconds. + Weight::from_parts(35_261_582, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_452 - .saturating_add(Weight::from_parts(47_539, 0).saturating_mul(p.into())) + // Standard Error: 1_454 + .saturating_add(Weight::from_parts(50_459, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/development/src/weights/pallet_remarks.rs b/runtime/development/src/weights/pallet_remarks.rs index 2bdbe1a041..43a0e1f6be 100644 --- a/runtime/development/src/weights/pallet_remarks.rs +++ b/runtime/development/src/weights/pallet_remarks.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_remarks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_remarks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_390_000 picoseconds. - Weight::from_parts(16_943_014, 0) + // Minimum execution time: 17_081_000 picoseconds. + Weight::from_parts(17_728_430, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_395 - .saturating_add(Weight::from_parts(155_924, 0).saturating_mul(n.into())) + // Standard Error: 3_270 + .saturating_add(Weight::from_parts(106_708, 0).saturating_mul(n.into())) } } diff --git a/runtime/development/src/weights/pallet_restricted_tokens.rs b/runtime/development/src/weights/pallet_restricted_tokens.rs index ecbc4b8cd9..96218ddfa0 100644 --- a/runtime/development/src/weights/pallet_restricted_tokens.rs +++ b/runtime/development/src/weights/pallet_restricted_tokens.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_restricted_tokens` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -32,22 +32,22 @@ use core::marker::PhantomData; /// Weight functions for `pallet_restricted_tokens`. pub struct WeightInfo(PhantomData); impl pallet_restricted_tokens::WeightInfo for WeightInfo { - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 90_761_000 picoseconds. - Weight::from_parts(92_002_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 98_905_000 picoseconds. + Weight::from_parts(99_916_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -56,30 +56,30 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1407` + // Measured: `1507` // Estimated: `6198` - // Minimum execution time: 84_819_000 picoseconds. - Weight::from_parts(85_671_000, 0) + // Minimum execution time: 87_954_000 picoseconds. + Weight::from_parts(89_547_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 78_837_000 picoseconds. - Weight::from_parts(80_310_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 85_459_000 picoseconds. + Weight::from_parts(86_741_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) @@ -88,54 +88,54 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1304` + // Measured: `1404` // Estimated: `6198` - // Minimum execution time: 80_030_000 picoseconds. - Weight::from_parts(81_122_000, 0) + // Minimum execution time: 83_996_000 picoseconds. + Weight::from_parts(85_328_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_native() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `3593` - // Minimum execution time: 94_657_000 picoseconds. - Weight::from_parts(96_572_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `505` + // Estimated: `6124` + // Minimum execution time: 103_192_000 picoseconds. + Weight::from_parts(104_905_000, 0) + .saturating_add(Weight::from_parts(0, 6124)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: OrmlTokens Accounts (r:2 w:2) /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) - /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:2 w:0) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: OrmlAssetRegistry Metadata (r:1 w:0) /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1407` + // Measured: `1507` // Estimated: `6198` - // Minimum execution time: 87_864_000 picoseconds. - Weight::from_parts(89_909_000, 0) + // Minimum execution time: 92_902_000 picoseconds. + Weight::from_parts(94_576_000, 0) .saturating_add(Weight::from_parts(0, 6198)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_native() -> Weight { // Proof Size summary in bytes: - // Measured: `226` + // Measured: `259` // Estimated: `3593` - // Minimum execution time: 84_398_000 picoseconds. - Weight::from_parts(85_912_000, 0) + // Minimum execution time: 89_977_000 picoseconds. + Weight::from_parts(91_029_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,10 +148,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1194` + // Measured: `1261` // Estimated: `6198` - // Minimum execution time: 78_517_000 picoseconds. - Weight::from_parts(79_509_000, 0) + // Minimum execution time: 79_859_000 picoseconds. + Weight::from_parts(81_171_000, 0) .saturating_add(Weight::from_parts(0, 6198)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -162,10 +162,10 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_native() -> Weight { // Proof Size summary in bytes: - // Measured: `265` + // Measured: `298` // Estimated: `3674` - // Minimum execution time: 168_687_000 picoseconds. - Weight::from_parts(171_662_000, 0) + // Minimum execution time: 181_849_000 picoseconds. + Weight::from_parts(183_362_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -178,11 +178,11 @@ impl pallet_restricted_tokens::WeightInfo for WeightInf /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn set_balance_other() -> Weight { // Proof Size summary in bytes: - // Measured: `966` - // Estimated: `4431` - // Minimum execution time: 118_873_000 picoseconds. - Weight::from_parts(121_297_000, 0) - .saturating_add(Weight::from_parts(0, 4431)) + // Measured: `1000` + // Estimated: `4465` + // Minimum execution time: 125_043_000 picoseconds. + Weight::from_parts(126_285_000, 0) + .saturating_add(Weight::from_parts(0, 4465)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_scheduler.rs b/runtime/development/src/weights/pallet_scheduler.rs index 6ed6a25c18..fd69719e04 100644 --- a/runtime/development/src/weights/pallet_scheduler.rs +++ b/runtime/development/src/weights/pallet_scheduler.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 5_210_000 picoseconds. - Weight::from_parts(5_410_000, 0) + // Minimum execution time: 5_109_000 picoseconds. + Weight::from_parts(5_310_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_039_000 picoseconds. - Weight::from_parts(7_600_812, 0) + // Minimum execution time: 5_079_000 picoseconds. + Weight::from_parts(7_655_172, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_730 - .saturating_add(Weight::from_parts(1_194_522, 0).saturating_mul(s.into())) + // Standard Error: 3_651 + .saturating_add(Weight::from_parts(1_063_128, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_455_000 picoseconds. - Weight::from_parts(8_696_000, 0) + // Minimum execution time: 8_917_000 picoseconds. + Weight::from_parts(9_097_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -76,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 28_654_000 picoseconds. - Weight::from_parts(65_254_294, 0) + // Minimum execution time: 29_755_000 picoseconds. + Weight::from_parts(30_176_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_064, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -91,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_770_000 picoseconds. - Weight::from_parts(11_131_000, 0) + // Minimum execution time: 11_451_000 picoseconds. + Weight::from_parts(11_632_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_556_000 picoseconds. - Weight::from_parts(8_766_000, 0) + // Minimum execution time: 8_887_000 picoseconds. + Weight::from_parts(9_217_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_358_000 picoseconds. - Weight::from_parts(4_578_000, 0) + // Minimum execution time: 4_518_000 picoseconds. + Weight::from_parts(4_688_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_357_000 picoseconds. - Weight::from_parts(4_438_000, 0) + // Minimum execution time: 4_408_000 picoseconds. + Weight::from_parts(4_658_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -127,11 +127,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_016_000 picoseconds. - Weight::from_parts(21_972_866, 0) + // Minimum execution time: 19_627_000 picoseconds. + Weight::from_parts(22_247_077, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_861 - .saturating_add(Weight::from_parts(1_192_096, 0).saturating_mul(s.into())) + // Standard Error: 3_595 + .saturating_add(Weight::from_parts(1_066_092, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 25_447_000 picoseconds. - Weight::from_parts(22_429_401, 0) + // Minimum execution time: 25_859_000 picoseconds. + Weight::from_parts(23_283_254, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 5_016 - .saturating_add(Weight::from_parts(2_150_842, 0).saturating_mul(s.into())) + // Standard Error: 4_855 + .saturating_add(Weight::from_parts(1_917_112, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 23_885_000 picoseconds. - Weight::from_parts(27_665_172, 0) + // Minimum execution time: 24_676_000 picoseconds. + Weight::from_parts(28_369_508, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_658 - .saturating_add(Weight::from_parts(1_204_642, 0).saturating_mul(s.into())) + // Standard Error: 3_761 + .saturating_add(Weight::from_parts(1_091_809, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 26_791_000 picoseconds. - Weight::from_parts(24_516_306, 0) + // Minimum execution time: 27_351_000 picoseconds. + Weight::from_parts(25_570_864, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_848 - .saturating_add(Weight::from_parts(2_212_073, 0).saturating_mul(s.into())) + // Standard Error: 4_788 + .saturating_add(Weight::from_parts(1_936_368, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/development/src/weights/pallet_session.rs b/runtime/development/src/weights/pallet_session.rs index f19b73c47d..8384b1066b 100644 --- a/runtime/development/src/weights/pallet_session.rs +++ b/runtime/development/src/weights/pallet_session.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 26_389_000 picoseconds. - Weight::from_parts(27_091_000, 0) + // Minimum execution time: 27_611_000 picoseconds. + Weight::from_parts(28_573_000, 0) .saturating_add(Weight::from_parts(0, 3773)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 18_123_000 picoseconds. - Weight::from_parts(18_735_000, 0) + // Minimum execution time: 18_644_000 picoseconds. + Weight::from_parts(18_915_000, 0) .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/development/src/weights/pallet_timestamp.rs b/runtime/development/src/weights/pallet_timestamp.rs index 583559c868..4fcf33d04a 100644 --- a/runtime/development/src/weights/pallet_timestamp.rs +++ b/runtime/development/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -38,20 +38,20 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `289` + // Measured: `256` // Estimated: `1493` - // Minimum execution time: 12_514_000 picoseconds. - Weight::from_parts(13_104_000, 0) + // Minimum execution time: 13_194_000 picoseconds. + Weight::from_parts(13_576_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `161` + // Measured: `128` // Estimated: `0` - // Minimum execution time: 5_321_000 picoseconds. - Weight::from_parts(5_500_000, 0) + // Minimum execution time: 5_450_000 picoseconds. + Weight::from_parts(5_601_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/development/src/weights/pallet_token_mux.rs b/runtime/development/src/weights/pallet_token_mux.rs new file mode 100644 index 0000000000..ea00f23d80 --- /dev/null +++ b/runtime/development/src/weights/pallet_token_mux.rs @@ -0,0 +1,95 @@ + +//! Autogenerated weights for `pallet_token_mux` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 + +// Executed Command: +// target/release/centrifuge-chain +// benchmark +// pallet +// --chain=development-local +// --steps=50 +// --repeat=20 +// --pallet=pallet_token_mux +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/development/src/weights/pallet_token_mux.rs + +#![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; + +/// Weight functions for `pallet_token_mux`. +pub struct WeightInfo(PhantomData); +impl pallet_token_mux::WeightInfo for WeightInfo { + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + fn deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `1357` + // Estimated: `8802` + // Minimum execution time: 126_054_000 picoseconds. + Weight::from_parts(127_257_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:3 w:3) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `1567` + // Estimated: `8802` + // Minimum execution time: 111_337_000 picoseconds. + Weight::from_parts(113_000_000, 0) + .saturating_add(Weight::from_parts(0, 8802)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: OrderBook Orders (r:1 w:1) + /// Proof: OrderBook Orders (max_values: None, max_size: Some(171), added: 2646, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry Metadata (r:2 w:0) + /// Proof Skipped: OrmlAssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: OrmlTokens Accounts (r:4 w:4) + /// Proof: OrmlTokens Accounts (max_values: None, max_size: Some(129), added: 2604, mode: MaxEncodedLen) + /// Storage: OrmlTokens TotalIssuance (r:1 w:1) + /// Proof: OrmlTokens TotalIssuance (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Swaps OrderIdToSwapId (r:1 w:0) + /// Proof: Swaps OrderIdToSwapId (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) + /// Storage: OrderBook UserOrders (r:0 w:1) + /// Proof: OrderBook UserOrders (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn match_swap() -> Weight { + // Proof Size summary in bytes: + // Measured: `1993` + // Estimated: `11406` + // Minimum execution time: 221_883_000 picoseconds. + Weight::from_parts(223_416_000, 0) + .saturating_add(Weight::from_parts(0, 11406)) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(9)) + } +} diff --git a/runtime/development/src/weights/pallet_transfer_allowlist.rs b/runtime/development/src/weights/pallet_transfer_allowlist.rs index bafcbc0461..a5a9cc1816 100644 --- a/runtime/development/src/weights/pallet_transfer_allowlist.rs +++ b/runtime/development/src/weights/pallet_transfer_allowlist.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_transfer_allowlist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -33,9 +33,9 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_transfer_allowlist::WeightInfo for WeightInfo { /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -44,18 +44,18 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `570` + // Measured: `603` // Estimated: `3674` - // Minimum execution time: 85_600_000 picoseconds. - Weight::from_parts(87_674_000, 0) + // Minimum execution time: 93_193_000 picoseconds. + Weight::from_parts(94_386_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -64,116 +64,116 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn add_transfer_allowance_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `663` + // Measured: `697` // Estimated: `3674` - // Minimum execution time: 89_498_000 picoseconds. - Weight::from_parts(90_950_000, 0) + // Minimum execution time: 96_410_000 picoseconds. + Weight::from_parts(97_892_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_no_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `213` - // Estimated: `3556` - // Minimum execution time: 19_146_000 picoseconds. - Weight::from_parts(19_587_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `246` + // Estimated: `3557` + // Minimum execution time: 19_677_000 picoseconds. + Weight::from_parts(20_949_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn add_allowance_delay_existing_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `336` - // Estimated: `3556` - // Minimum execution time: 21_351_000 picoseconds. - Weight::from_parts(22_001_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `370` + // Estimated: `3557` + // Minimum execution time: 22_773_000 picoseconds. + Weight::from_parts(23_183_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn toggle_allowance_delay_once_future_modifiable() -> Weight { // Proof Size summary in bytes: - // Measured: `306` - // Estimated: `3556` - // Minimum execution time: 21_681_000 picoseconds. - Weight::from_parts(22_523_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `340` + // Estimated: `3557` + // Minimum execution time: 23_344_000 picoseconds. + Weight::from_parts(23_984_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn update_allowance_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 21_941_000 picoseconds. - Weight::from_parts(22_182_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 23_052_000 picoseconds. + Weight::from_parts(23_764_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `310` - // Estimated: `3556` - // Minimum execution time: 21_771_000 picoseconds. - Weight::from_parts(22_321_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `344` + // Estimated: `3557` + // Minimum execution time: 22_842_000 picoseconds. + Weight::from_parts(23_453_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_allowance_delay_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `344` - // Estimated: `3556` - // Minimum execution time: 22_502_000 picoseconds. - Weight::from_parts(23_294_000, 0) - .saturating_add(Weight::from_parts(0, 3556)) + // Measured: `378` + // Estimated: `3557` + // Minimum execution time: 24_004_000 picoseconds. + Weight::from_parts(24_325_000, 0) + .saturating_add(Weight::from_parts(0, 3557)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_delay_present() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `3596` - // Minimum execution time: 33_353_000 picoseconds. - Weight::from_parts(34_134_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `473` + // Estimated: `3597` + // Minimum execution time: 34_945_000 picoseconds. + Weight::from_parts(35_747_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:0) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_transfer_allowance_no_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `434` - // Estimated: `3596` - // Minimum execution time: 33_182_000 picoseconds. - Weight::from_parts(33_833_000, 0) - .saturating_add(Weight::from_parts(0, 3596)) + // Measured: `469` + // Estimated: `3597` + // Minimum execution time: 35_065_000 picoseconds. + Weight::from_parts(35_907_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -181,19 +181,19 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_no_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `844` + // Measured: `879` // Estimated: `3674` - // Minimum execution time: 80_240_000 picoseconds. - Weight::from_parts(81_944_000, 0) + // Minimum execution time: 86_090_000 picoseconds. + Weight::from_parts(87_112_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: TransferAllowList AccountCurrencyTransferAllowance (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferAllowance (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) /// Storage: Fees FeeBalances (r:1 w:0) /// Proof: Fees FeeBalances (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) @@ -201,13 +201,13 @@ impl pallet_transfer_allowlist::WeightInfo for WeightIn /// Storage: Balances Holds (r:1 w:1) /// Proof: Balances Holds (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) /// Storage: TransferAllowList AccountCurrencyTransferCountDelay (r:1 w:1) - /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Proof: TransferAllowList AccountCurrencyTransferCountDelay (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn purge_transfer_allowance_remaining_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `883` + // Measured: `918` // Estimated: `3674` - // Minimum execution time: 79_749_000 picoseconds. - Weight::from_parts(80_701_000, 0) + // Minimum execution time: 85_229_000 picoseconds. + Weight::from_parts(86_992_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/development/src/weights/pallet_treasury.rs b/runtime/development/src/weights/pallet_treasury.rs index db2e20618b..6ec4abf4d3 100644 --- a/runtime/development/src/weights/pallet_treasury.rs +++ b/runtime/development/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 441_000 picoseconds. - Weight::from_parts(491_000, 0) + // Minimum execution time: 360_000 picoseconds. + Weight::from_parts(411_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -48,8 +48,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `1489` - // Minimum execution time: 37_971_000 picoseconds. - Weight::from_parts(38_863_000, 0) + // Minimum execution time: 40_435_000 picoseconds. + Weight::from_parts(41_277_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -62,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `405` // Estimated: `6196` - // Minimum execution time: 60_333_000 picoseconds. - Weight::from_parts(61_836_000, 0) + // Minimum execution time: 64_039_000 picoseconds. + Weight::from_parts(65_121_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -77,11 +77,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 12_914_000 picoseconds. - Weight::from_parts(15_936_337, 0) + // Minimum execution time: 13_024_000 picoseconds. + Weight::from_parts(16_088_705, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_007 - .saturating_add(Weight::from_parts(57_571, 0).saturating_mul(p.into())) + // Standard Error: 1_164 + .saturating_add(Weight::from_parts(49_176, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +91,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 10_309_000 picoseconds. - Weight::from_parts(10_570_000, 0) + // Minimum execution time: 10_189_000 picoseconds. + Weight::from_parts(10_479_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +110,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `230 + p * (120 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 41_227_000 picoseconds. - Weight::from_parts(35_855_776, 0) + // Minimum execution time: 43_140_000 picoseconds. + Weight::from_parts(38_774_079, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 7_783 - .saturating_add(Weight::from_parts(3_799_074, 0).saturating_mul(p.into())) + // Standard Error: 7_681 + .saturating_add(Weight::from_parts(3_927_547, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/development/src/weights/pallet_uniques.rs b/runtime/development/src/weights/pallet_uniques.rs index 348e4bda01..1203bfcd28 100644 --- a/runtime/development/src/weights/pallet_uniques.rs +++ b/runtime/development/src/weights/pallet_uniques.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_uniques` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3647` - // Minimum execution time: 42_299_000 picoseconds. - Weight::from_parts(42_970_000, 0) + // Minimum execution time: 44_052_000 picoseconds. + Weight::from_parts(45_154_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3647` - // Minimum execution time: 20_729_000 picoseconds. - Weight::from_parts(21_119_000, 0) + // Minimum execution time: 21_220_000 picoseconds. + Weight::from_parts(21_750_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,15 +83,15 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `544 + a * (346 ±0) + m * (69 ±0) + n * (88 ±0)` // Estimated: `3647 + a * (3080 ±0) + m * (2806 ±0) + n * (2613 ±0)` - // Minimum execution time: 3_026_582_000 picoseconds. - Weight::from_parts(3_034_728_000, 0) + // Minimum execution time: 2_991_530_000 picoseconds. + Weight::from_parts(3_007_038_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 29_171 - .saturating_add(Weight::from_parts(9_819_660, 0).saturating_mul(n.into())) - // Standard Error: 29_171 - .saturating_add(Weight::from_parts(244_353, 0).saturating_mul(m.into())) - // Standard Error: 29_171 - .saturating_add(Weight::from_parts(516_819, 0).saturating_mul(a.into())) + // Standard Error: 27_666 + .saturating_add(Weight::from_parts(10_095_742, 0).saturating_mul(n.into())) + // Standard Error: 27_666 + .saturating_add(Weight::from_parts(228_760, 0).saturating_mul(m.into())) + // Standard Error: 27_666 + .saturating_add(Weight::from_parts(472_746, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) @@ -116,8 +116,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 51_427_000 picoseconds. - Weight::from_parts(52_839_000, 0) + // Minimum execution time: 54_742_000 picoseconds. + Weight::from_parts(56_194_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +134,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 52_969_000 picoseconds. - Weight::from_parts(54_152_000, 0) + // Minimum execution time: 56_695_000 picoseconds. + Weight::from_parts(57_717_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -152,8 +152,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 38_673_000 picoseconds. - Weight::from_parts(39_444_000, 0) + // Minimum execution time: 39_754_000 picoseconds. + Weight::from_parts(40_666_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,11 +167,11 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854 + i * (88 ±0)` // Estimated: `3647 + i * (2613 ±0)` - // Minimum execution time: 20_328_000 picoseconds. - Weight::from_parts(20_569_000, 0) + // Minimum execution time: 20_739_000 picoseconds. + Weight::from_parts(21_249_000, 0) .saturating_add(Weight::from_parts(0, 3647)) - // Standard Error: 16_582 - .saturating_add(Weight::from_parts(24_409_633, 0).saturating_mul(i.into())) + // Standard Error: 13_877 + .saturating_add(Weight::from_parts(26_437_115, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,8 +186,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 25_718_000 picoseconds. - Weight::from_parts(26_209_000, 0) + // Minimum execution time: 26_530_000 picoseconds. + Weight::from_parts(26_900_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -200,8 +200,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 25_448_000 picoseconds. - Weight::from_parts(26_088_000, 0) + // Minimum execution time: 25_949_000 picoseconds. + Weight::from_parts(26_800_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,8 +212,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 18_605_000 picoseconds. - Weight::from_parts(19_005_000, 0) + // Minimum execution time: 19_015_000 picoseconds. + Weight::from_parts(19_436_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,8 +224,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 18_424_000 picoseconds. - Weight::from_parts(18_895_000, 0) + // Minimum execution time: 18_866_000 picoseconds. + Weight::from_parts(19_397_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `3647` - // Minimum execution time: 29_966_000 picoseconds. - Weight::from_parts(30_738_000, 0) + // Minimum execution time: 30_707_000 picoseconds. + Weight::from_parts(31_789_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -252,8 +252,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 18_695_000 picoseconds. - Weight::from_parts(19_166_000, 0) + // Minimum execution time: 19_286_000 picoseconds. + Weight::from_parts(19_777_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +266,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 23_164_000 picoseconds. - Weight::from_parts(23_925_000, 0) + // Minimum execution time: 23_964_000 picoseconds. + Weight::from_parts(24_686_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -282,8 +282,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808` // Estimated: `4070` - // Minimum execution time: 58_429_000 picoseconds. - Weight::from_parts(59_592_000, 0) + // Minimum execution time: 62_256_000 picoseconds. + Weight::from_parts(63_568_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +298,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1440` // Estimated: `4070` - // Minimum execution time: 56_907_000 picoseconds. - Weight::from_parts(57_798_000, 0) + // Minimum execution time: 59_400_000 picoseconds. + Weight::from_parts(60_683_000, 0) .saturating_add(Weight::from_parts(0, 4070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +312,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `452` // Estimated: `3796` - // Minimum execution time: 43_150_000 picoseconds. - Weight::from_parts(43_782_000, 0) + // Minimum execution time: 45_905_000 picoseconds. + Weight::from_parts(46_968_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +326,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808` // Estimated: `3796` - // Minimum execution time: 43_772_000 picoseconds. - Weight::from_parts(44_954_000, 0) + // Minimum execution time: 46_888_000 picoseconds. + Weight::from_parts(47_829_000, 0) .saturating_add(Weight::from_parts(0, 3796)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -340,8 +340,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3764` - // Minimum execution time: 44_553_000 picoseconds. - Weight::from_parts(45_235_000, 0) + // Minimum execution time: 47_157_000 picoseconds. + Weight::from_parts(48_089_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -354,8 +354,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709` // Estimated: `3764` - // Minimum execution time: 42_639_000 picoseconds. - Weight::from_parts(43_842_000, 0) + // Minimum execution time: 45_244_000 picoseconds. + Weight::from_parts(46_186_000, 0) .saturating_add(Weight::from_parts(0, 3764)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +368,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `3647` - // Minimum execution time: 26_600_000 picoseconds. - Weight::from_parts(27_462_000, 0) + // Minimum execution time: 27_431_000 picoseconds. + Weight::from_parts(27_962_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +382,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `582` // Estimated: `3647` - // Minimum execution time: 26_499_000 picoseconds. - Weight::from_parts(26_880_000, 0) + // Minimum execution time: 26_850_000 picoseconds. + Weight::from_parts(27_652_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +394,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3521` - // Minimum execution time: 21_079_000 picoseconds. - Weight::from_parts(21_510_000, 0) + // Minimum execution time: 21_590_000 picoseconds. + Weight::from_parts(22_131_000, 0) .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -408,8 +408,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386` // Estimated: `3647` - // Minimum execution time: 22_913_000 picoseconds. - Weight::from_parts(23_324_000, 0) + // Minimum execution time: 23_514_000 picoseconds. + Weight::from_parts(24_195_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -422,8 +422,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `376` // Estimated: `3603` - // Minimum execution time: 21_781_000 picoseconds. - Weight::from_parts(22_522_000, 0) + // Minimum execution time: 22_742_000 picoseconds. + Weight::from_parts(23_224_000, 0) .saturating_add(Weight::from_parts(0, 3603)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,8 +440,8 @@ impl pallet_uniques::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `678` // Estimated: `3647` - // Minimum execution time: 54_412_000 picoseconds. - Weight::from_parts(54_853_000, 0) + // Minimum execution time: 56_295_000 picoseconds. + Weight::from_parts(57_858_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/development/src/weights/pallet_utility.rs b/runtime/development/src/weights/pallet_utility.rs index 787eed798b..a175f92c4d 100644 --- a/runtime/development/src/weights/pallet_utility.rs +++ b/runtime/development/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_240_000 picoseconds. - Weight::from_parts(10_539_000, 0) + // Minimum execution time: 10_760_000 picoseconds. + Weight::from_parts(5_737_205, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_703 - .saturating_add(Weight::from_parts(8_263_154, 0).saturating_mul(c.into())) + // Standard Error: 2_933 + .saturating_add(Weight::from_parts(8_838_906, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_015_000 picoseconds. - Weight::from_parts(8_195_000, 0) + // Minimum execution time: 7_734_000 picoseconds. + Weight::from_parts(8_095_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_199_000 picoseconds. - Weight::from_parts(4_489_512, 0) + // Minimum execution time: 10_770_000 picoseconds. + Weight::from_parts(4_869_025, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_056 - .saturating_add(Weight::from_parts(8_732_386, 0).saturating_mul(c.into())) + // Standard Error: 3_324 + .saturating_add(Weight::from_parts(9_390_096, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_106_000 picoseconds. - Weight::from_parts(14_477_000, 0) + // Minimum execution time: 14_287_000 picoseconds. + Weight::from_parts(14_798_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_199_000 picoseconds. - Weight::from_parts(13_137_021, 0) + // Minimum execution time: 10_770_000 picoseconds. + Weight::from_parts(3_336_190, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_678 - .saturating_add(Weight::from_parts(8_265_986, 0).saturating_mul(c.into())) + // Standard Error: 3_811 + .saturating_add(Weight::from_parts(8_912_138, 0).saturating_mul(c.into())) } } diff --git a/runtime/development/src/weights/pallet_vesting.rs b/runtime/development/src/weights/pallet_vesting.rs index a482eafc4b..307e619e44 100644 --- a/runtime/development/src/weights/pallet_vesting.rs +++ b/runtime/development/src/weights/pallet_vesting.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 45_816_000 picoseconds. - Weight::from_parts(45_097_188, 0) + // Minimum execution time: 47_439_000 picoseconds. + Weight::from_parts(47_454_367, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_110 - .saturating_add(Weight::from_parts(47_226, 0).saturating_mul(l.into())) - // Standard Error: 1_976 - .saturating_add(Weight::from_parts(83_046, 0).saturating_mul(s.into())) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(35_735, 0).saturating_mul(l.into())) + // Standard Error: 1_878 + .saturating_add(Weight::from_parts(80_439, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `305 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 50_255_000 picoseconds. - Weight::from_parts(51_590_663, 0) + // Minimum execution time: 53_640_000 picoseconds. + Weight::from_parts(54_175_563, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_469 - .saturating_add(Weight::from_parts(29_616, 0).saturating_mul(l.into())) - // Standard Error: 2_615 - .saturating_add(Weight::from_parts(69_823, 0).saturating_mul(s.into())) + // Standard Error: 1_481 + .saturating_add(Weight::from_parts(27_759, 0).saturating_mul(l.into())) + // Standard Error: 2_636 + .saturating_add(Weight::from_parts(62_861, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `408 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 47_619_000 picoseconds. - Weight::from_parts(47_378_512, 0) + // Minimum execution time: 49_563_000 picoseconds. + Weight::from_parts(49_479_775, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_065 - .saturating_add(Weight::from_parts(44_856, 0).saturating_mul(l.into())) - // Standard Error: 1_896 - .saturating_add(Weight::from_parts(78_837, 0).saturating_mul(s.into())) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(40_776, 0).saturating_mul(l.into())) + // Standard Error: 1_824 + .saturating_add(Weight::from_parts(84_855, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `408 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 52_979_000 picoseconds. - Weight::from_parts(53_480_005, 0) + // Minimum execution time: 55_523_000 picoseconds. + Weight::from_parts(56_495_538, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_576 - .saturating_add(Weight::from_parts(34_889, 0).saturating_mul(l.into())) - // Standard Error: 2_805 - .saturating_add(Weight::from_parts(68_985, 0).saturating_mul(s.into())) + // Standard Error: 1_514 + .saturating_add(Weight::from_parts(20_890, 0).saturating_mul(l.into())) + // Standard Error: 2_694 + .saturating_add(Weight::from_parts(64_545, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,13 +138,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `512 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 103_002_000 picoseconds. - Weight::from_parts(103_939_507, 0) + // Minimum execution time: 109_534_000 picoseconds. + Weight::from_parts(110_486_158, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_150 - .saturating_add(Weight::from_parts(45_662, 0).saturating_mul(l.into())) - // Standard Error: 3_825 - .saturating_add(Weight::from_parts(100_035, 0).saturating_mul(s.into())) + // Standard Error: 1_669 + .saturating_add(Weight::from_parts(50_715, 0).saturating_mul(l.into())) + // Standard Error: 2_969 + .saturating_add(Weight::from_parts(107_087, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `652 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 104_986_000 picoseconds. - Weight::from_parts(105_376_930, 0) + // Minimum execution time: 111_879_000 picoseconds. + Weight::from_parts(112_737_730, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 2_042 - .saturating_add(Weight::from_parts(59_879, 0).saturating_mul(l.into())) - // Standard Error: 3_634 - .saturating_add(Weight::from_parts(132_891, 0).saturating_mul(s.into())) + // Standard Error: 1_635 + .saturating_add(Weight::from_parts(53_260, 0).saturating_mul(l.into())) + // Standard Error: 2_910 + .saturating_add(Weight::from_parts(102_399, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -186,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 49_462_000 picoseconds. - Weight::from_parts(49_231_807, 0) + // Minimum execution time: 51_135_000 picoseconds. + Weight::from_parts(51_054_116, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_136 - .saturating_add(Weight::from_parts(37_532, 0).saturating_mul(l.into())) - // Standard Error: 2_099 - .saturating_add(Weight::from_parts(73_677, 0).saturating_mul(s.into())) + // Standard Error: 1_158 + .saturating_add(Weight::from_parts(37_473, 0).saturating_mul(l.into())) + // Standard Error: 2_139 + .saturating_add(Weight::from_parts(76_803, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 55_013_000 picoseconds. - Weight::from_parts(55_245_584, 0) + // Minimum execution time: 57_697_000 picoseconds. + Weight::from_parts(57_305_701, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_173 - .saturating_add(Weight::from_parts(36_142, 0).saturating_mul(l.into())) - // Standard Error: 2_166 - .saturating_add(Weight::from_parts(72_999, 0).saturating_mul(s.into())) + // Standard Error: 1_273 + .saturating_add(Weight::from_parts(39_674, 0).saturating_mul(l.into())) + // Standard Error: 2_352 + .saturating_add(Weight::from_parts(83_114, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/development/src/weights/pallet_xcm.rs b/runtime/development/src/weights/pallet_xcm.rs index 354507ddce..75c13410ce 100644 --- a/runtime/development/src/weights/pallet_xcm.rs +++ b/runtime/development/src/weights/pallet_xcm.rs @@ -1,265 +1,276 @@ + //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024 +//! HOSTNAME: `runner`, CPU: `AMD EPYC 7763 64-Core Processor` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("development-local"), DB CACHE: 1024 // Executed Command: -// ./artifacts/polkadot-parachain +// target/release/centrifuge-chain // benchmark // pallet -// --chain=statemint-dev -// --execution=wasm -// --wasm-execution=compiled -// --pallet=pallet_xcm -// --extrinsic=* +// --chain=development-local // --steps=50 // --repeat=20 -// --json -// --header=./file_header.txt -// --output=./parachains/runtimes/assets/statemint/src/weights/pallet_xcm.rs +// --pallet=pallet_xcm +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=/tmp/runtime/development/src/weights/pallet_xcm.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn send() -> Weight { - // Proof Size summary in bytes: - // Measured: `38` - // Estimated: `4645` - // Minimum execution time: 24_132 nanoseconds. - Weight::from_parts(24_554_000, 0) - .saturating_add(Weight::from_parts(0, 4645)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn teleport_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `499` - // Minimum execution time: 22_350 nanoseconds. - Weight::from_parts(22_760_000, 0) - .saturating_add(Weight::from_parts(0, 499)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn reserve_transfer_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `499` - // Minimum execution time: 17_723 nanoseconds. - Weight::from_parts(17_951_000, 0) - .saturating_add(Weight::from_parts(0, 499)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) - fn execute() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn force_xcm_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 8_641 nanoseconds. - Weight::from_parts(8_925_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - fn force_default_xcm_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_427 nanoseconds. - Weight::from_parts(2_598_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_subscribe_version_notify() -> Weight { - // Proof Size summary in bytes: - // Measured: `38` - // Estimated: `7729` - // Minimum execution time: 28_650 nanoseconds. - Weight::from_parts(29_035_000, 0) - .saturating_add(Weight::from_parts(0, 7729)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_unsubscribe_version_notify() -> Weight { - // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `8470` - // Minimum execution time: 30_797 nanoseconds. - Weight::from_parts(31_491_000, 0) - .saturating_add(Weight::from_parts(0, 8470)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) - } - - fn force_suspension() -> Weight { - todo!() - } - - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn migrate_supported_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `95` - // Estimated: `9995` - // Minimum execution time: 13_639 nanoseconds. - Weight::from_parts(13_980_000, 0) - .saturating_add(Weight::from_parts(0, 9995)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notifiers() -> Weight { - // Proof Size summary in bytes: - // Measured: `99` - // Estimated: `9999` - // Minimum execution time: 13_954 nanoseconds. - Weight::from_parts(14_276_000, 0) - .saturating_add(Weight::from_parts(0, 9999)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn already_notified_target() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `12481` - // Minimum execution time: 15_217 nanoseconds. - Weight::from_parts(15_422_000, 0) - .saturating_add(Weight::from_parts(0, 12481)) - .saturating_add(T::DbWeight::get().reads(5)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn notify_current_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `10041` - // Minimum execution time: 27_362 nanoseconds. - Weight::from_parts(28_034_000, 0) - .saturating_add(Weight::from_parts(0, 10041)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn notify_target_migration_fail() -> Weight { - // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `7561` - // Minimum execution time: 7_768 nanoseconds. - Weight::from_parts(7_890_000, 0) - .saturating_add(Weight::from_parts(0, 7561)) - .saturating_add(T::DbWeight::get().reads(3)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notify_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `10006` - // Minimum execution time: 15_165 nanoseconds. - Weight::from_parts(15_430_000, 0) - .saturating_add(Weight::from_parts(0, 10006)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn migrate_and_notify_old_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `112` - // Estimated: `15027` - // Minimum execution time: 35_310 nanoseconds. - Weight::from_parts(35_698_000, 0) - .saturating_add(Weight::from_parts(0, 15027)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(4)) - } -} \ No newline at end of file + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem HostConfiguration (r:1 w:0) + /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + fn send() -> Weight { + // Proof Size summary in bytes: + // Measured: `311` + // Estimated: `3776` + // Minimum execution time: 41_888_000 picoseconds. + Weight::from_parts(42_830_000, 0) + .saturating_add(Weight::from_parts(0, 3776)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: ParachainInfo ParachainId (r:1 w:0) + /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) + /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + fn teleport_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `3816` + // Minimum execution time: 42_609_000 picoseconds. + Weight::from_parts(43_009_000, 0) + .saturating_add(Weight::from_parts(0, 3816)) + .saturating_add(T::DbWeight::get().reads(2)) + } + /// Storage: ParachainInfo ParachainId (r:1 w:0) + /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: OrmlAssetRegistry LocationToAssetId (r:1 w:0) + /// Proof Skipped: OrmlAssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) + fn reserve_transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `3816` + // Minimum execution time: 41_938_000 picoseconds. + Weight::from_parts(42_660_000, 0) + .saturating_add(Weight::from_parts(0, 3816)) + .saturating_add(T::DbWeight::get().reads(2)) + } + /// Storage: Benchmark Override (r:0 w:0) + /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + fn execute() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + fn force_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 15_188_000 picoseconds. + Weight::from_parts(15_669_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + fn force_default_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(4_989_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm QueryCounter (r:1 w:1) + /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem HostConfiguration (r:1 w:0) + /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm Queries (r:0 w:1) + /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + fn force_subscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `311` + // Estimated: `3776` + // Minimum execution time: 49_483_000 picoseconds. + Weight::from_parts(50_885_000, 0) + .saturating_add(Weight::from_parts(0, 3776)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem HostConfiguration (r:1 w:0) + /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm Queries (r:0 w:1) + /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + fn force_unsubscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `493` + // Estimated: `3958` + // Minimum execution time: 49_823_000 picoseconds. + Weight::from_parts(50_655_000, 0) + .saturating_add(Weight::from_parts(0, 3958)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_919_000 picoseconds. + Weight::from_parts(5_190_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + fn migrate_supported_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `235` + // Estimated: `11125` + // Minimum execution time: 25_116_000 picoseconds. + Weight::from_parts(25_598_000, 0) + .saturating_add(Weight::from_parts(0, 11125)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) + /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + fn migrate_version_notifiers() -> Weight { + // Proof Size summary in bytes: + // Measured: `239` + // Estimated: `11129` + // Minimum execution time: 24_576_000 picoseconds. + Weight::from_parts(25_367_000, 0) + .saturating_add(Weight::from_parts(0, 11129)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) + /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn already_notified_target() -> Weight { + // Proof Size summary in bytes: + // Measured: `246` + // Estimated: `13611` + // Minimum execution time: 26_029_000 picoseconds. + Weight::from_parts(26_780_000, 0) + .saturating_add(Weight::from_parts(0, 13611)) + .saturating_add(T::DbWeight::get().reads(5)) + } + /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) + /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem HostConfiguration (r:1 w:0) + /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + fn notify_current_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `378` + // Estimated: `6318` + // Minimum execution time: 46_306_000 picoseconds. + Weight::from_parts(47_929_000, 0) + .saturating_add(Weight::from_parts(0, 6318)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) + /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn notify_target_migration_fail() -> Weight { + // Proof Size summary in bytes: + // Measured: `206` + // Estimated: `8621` + // Minimum execution time: 14_677_000 picoseconds. + Weight::from_parts(15_098_000, 0) + .saturating_add(Weight::from_parts(0, 8621)) + .saturating_add(T::DbWeight::get().reads(3)) + } + /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) + /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn migrate_version_notify_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `246` + // Estimated: `11136` + // Minimum execution time: 25_748_000 picoseconds. + Weight::from_parts(26_159_000, 0) + .saturating_add(Weight::from_parts(0, 11136)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) + /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem HostConfiguration (r:1 w:0) + /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + fn migrate_and_notify_old_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `454` + // Estimated: `11344` + // Minimum execution time: 56_746_000 picoseconds. + Weight::from_parts(57_847_000, 0) + .saturating_add(Weight::from_parts(0, 11344)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(4)) + } +}