diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index ce4204ca4..2a040a16e 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -2057,6 +2057,9 @@ type Migrations = (RemoveXTokensMigrationStatus); #[cfg(feature = "runtime-benchmarks")] mod benches { + use super::*; + use alloc::boxed::Box; + frame_benchmarking::define_benchmarks!( [module_aggregated_dex, AggregatedDex] [module_asset_registry, AssetRegistry] @@ -2090,14 +2093,181 @@ mod benches { // Acala Ecosystem Modules [nutsfinance_stable_asset, StableAsset] // XCM - // [pallet_xcm, PalletXcmExtrinsicsBenchmark::] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] ); + use crate::xcm_config::AssetHubLocation; + use cumulus_primitives_core::{Asset, Assets, Fungible, GeneralKey, Location, ParaId, Parachain, ParentThen}; + use frame_benchmarking::BenchmarkError; + + const DOT_UNITS: Balance = 10_000_000_000; + const DOT_CENTS: Balance = DOT_UNITS / 100; + + parameter_types! { + pub AssetHubParaId: ParaId = ParaId::from(parachains::asset_hub_polkadot::ID); + pub FeeAssetId: AssetId = AssetId(Location::parent()); + pub const ToSiblingBaseDeliveryFee: u128 = DOT_CENTS.saturating_mul(3); + } + + pub type PriceForSiblingParachainDelivery = polkadot_runtime_common::xcm_sender::ExponentialPrice< + FeeAssetId, + ToSiblingBaseDeliveryFee, + TransactionByteFee, + XcmpQueue, + >; + + parameter_types! { + pub ExistentialDepositAsset: Option = Some(( + Location::parent(), + NativeTokenExistentialDeposit::get() + ).into()); + pub const RandomParaId: ParaId = ParaId::new(43211234); + } + + impl pallet_xcm::benchmarking::Config for Runtime { + type DeliveryHelper = ( + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + RandomParaId, + ParachainSystem, + >, + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >, + ); + + fn reachable_dest() -> Option { + Some(AssetHubLocation::get()) + } + + fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { + // XcmTeleportFilter is Nothing + None + } + + fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let encoded = ACA.encode(); + let mut data = [0u8; 32]; + let len = encoded.len().min(32); + data[..len].copy_from_slice(&encoded[..len]); + + Some(( + Asset { + id: AssetId(Location::new( + 0, + GeneralKey { + data: data, + length: encoded.len() as u8, + }, + )), + fun: Fungible(NativeTokenExistentialDeposit::get() * 100), + }, + ParentThen(Parachain(RandomParaId::get().into()).into()).into(), + )) + } + + fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box)> { + // transfer AUSD from this parachain to RandomParaId parachain + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let dest = Location::new(1, Parachain(RandomParaId::get().into())); + + // fee asset + let fee_amount = NativeTokenExistentialDeposit::get(); + let aca_encoded = ACA.encode(); + let mut aca_data = [0u8; 32]; + let len = aca_encoded.len().min(32); + aca_data[..len].copy_from_slice(&aca_encoded[..len]); + let fee_location = Location::new( + 0, + GeneralKey { + data: aca_data, + length: aca_encoded.len() as u8, + }, + ); + let fee_asset: Asset = (fee_location, fee_amount).into(); + + // asset to transfer + let asset_amount = 1_000_000_000_000u128; + let asset_balance = asset_amount * 10; + let ausd_encoded = AUSD.encode(); + let mut ausd_data = [0u8; 32]; + let len = ausd_encoded.len().min(32); + ausd_data[..len].copy_from_slice(&ausd_encoded[..len]); + let asset_location = Location::new( + 0, + GeneralKey { + data: ausd_data, + length: ausd_encoded.len() as u8, + }, + ); + let transfer_asset: Asset = (asset_location, asset_amount).into(); + + let assets: Assets = vec![fee_asset.clone(), transfer_asset].into(); + + let who = frame_benchmarking::whitelisted_caller(); + // Give some multiple of the existential deposit + let native_balance = NativeTokenExistentialDeposit::get() * 1000; + let _ = >::make_free_balance_be(&who, native_balance); + let _ = Tokens::deposit(AUSD, &who, asset_balance); + // verify initial balance + assert_eq!(Balances::free_balance(&who), native_balance); + assert_eq!(Tokens::free_balance(AUSD, &who), asset_balance); + + let fee_index = if assets.get(0).unwrap().eq(&fee_asset) { 0 } else { 1 }; + + // verify transferred successfully + let verify = Box::new(move || { + // verify native balance after transfer, decreased by transferred fee amount + // (plus transport fees) + assert!(Balances::free_balance(&who) <= native_balance - fee_amount); + // verify asset balance after transfer, decreased by transferred asset amount + assert_eq!(Tokens::free_balance(AUSD, &who), asset_balance - asset_amount); + }); + Some((assets, fee_index as u32, dest, verify)) + } + + fn get_asset() -> Asset { + Asset { + id: AssetId(Location::parent()), + fun: Fungible(DOT_UNITS), + } + } + } + + impl pallet_xcm_benchmarks::Config for Runtime { + type XcmConfig = xcm_config::XcmConfig; + type AccountIdConverter = xcm_config::LocationToAccountId; + type DeliveryHelper = polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >; + fn valid_destination() -> Result { + Ok(AssetHubLocation::get()) + } + fn worst_case_holding(_depositable_count: u32) -> Assets { + let assets: Vec = vec![Asset { + id: AssetId(Location::parent()), + fun: Fungible(1_000 * DOT_UNITS), + }]; + assets.into() + } + } + pub use frame_benchmarking::{BenchmarkBatch, BenchmarkList}; pub use frame_support::traits::{StorageInfoTrait, WhitelistedStorageKeys}; - // pub use frame_system_benchmarking::{ - // extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench, - // }; + pub use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub use sp_storage::TrackedStorageKey; } diff --git a/runtime/acala/src/weights/module_aggregated_dex.rs b/runtime/acala/src/weights/module_aggregated_dex.rs index 04dc49beb..75858413c 100644 --- a/runtime/acala/src/weights/module_aggregated_dex.rs +++ b/runtime/acala/src/weights/module_aggregated_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_aggregated_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,22 +53,22 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1842 + u * (112 ±0)` - // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 86_812 nanoseconds. - Weight::from_parts(66_480_055, 6234) - // Standard Error: 91_043 - .saturating_add(Weight::from_parts(12_057_473, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `475 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±19)` + // Minimum execution time: 121_994 nanoseconds. + Weight::from_parts(94_087_716, 6234) + // Standard Error: 94_446 + .saturating_add(Weight::from_parts(15_905_369, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } @@ -74,36 +76,36 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1842 + u * (112 ±0)` - // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 93_849 nanoseconds. - Weight::from_parts(65_961_366, 6234) - // Standard Error: 152_574 - .saturating_add(Weight::from_parts(17_376_660, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `475 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±19)` + // Minimum execution time: 135_179 nanoseconds. + Weight::from_parts(88_922_478, 6234) + // Standard Error: 138_298 + .saturating_add(Weight::from_parts(25_304_348, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } - // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:5) + // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:3) // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 6]`. + /// The range of component `n` is `[0, 4]`. fn update_aggregated_swap_paths(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `666` - // Estimated: `666` - // Minimum execution time: 3_971 nanoseconds. - Weight::from_parts(3_692_678, 666) - // Standard Error: 11_381 - .saturating_add(Weight::from_parts(1_464_785, 0).saturating_mul(n.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_294 nanoseconds. + Weight::from_parts(2_583_870, 0) + // Standard Error: 36_646 + .saturating_add(Weight::from_parts(2_590_708, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/runtime/acala/src/weights/module_asset_registry.rs b/runtime/acala/src/weights/module_asset_registry.rs index 03b703d23..66f9bacf5 100644 --- a/runtime/acala/src/weights/module_asset_registry.rs +++ b/runtime/acala/src/weights/module_asset_registry.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_asset_registry //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `4604` - // Minimum execution time: 21_746 nanoseconds. - Weight::from_parts(22_321_000, 4604) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 25_309 nanoseconds. + Weight::from_parts(26_140_000, 3607) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -70,10 +72,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1295` - // Estimated: `4760` - // Minimum execution time: 21_708 nanoseconds. - Weight::from_parts(22_529_000, 4760) + // Measured: `298` + // Estimated: `3763` + // Minimum execution time: 25_212 nanoseconds. + Weight::from_parts(25_691_000, 3763) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,10 +85,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `4604` - // Minimum execution time: 16_431 nanoseconds. - Weight::from_parts(16_908_000, 4604) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 16_213 nanoseconds. + Weight::from_parts(16_833_000, 3607) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,17 +96,15 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1233` - // Estimated: `4698` - // Minimum execution time: 17_523 nanoseconds. - Weight::from_parts(17_917_000, 4698) + // Measured: `236` + // Estimated: `3701` + // Minimum execution time: 18_418 nanoseconds. + Weight::from_parts(18_817_000, 3701) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EVM::Accounts` (r:2 w:0) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::AccountStorages` (r:5 w:0) @@ -115,21 +115,21 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `6710` - // Estimated: `20075` - // Minimum execution time: 203_295 nanoseconds. - Weight::from_parts(206_215_000, 20075) - .saturating_add(T::DbWeight::get().reads(11)) + // Measured: `4745` + // Estimated: `18110` + // Minimum execution time: 250_237 nanoseconds. + Weight::from_parts(256_987_000, 18110) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:1) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_erc20_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1384` - // Estimated: `4849` - // Minimum execution time: 25_529 nanoseconds. - Weight::from_parts(26_488_000, 4849) + // Measured: `387` + // Estimated: `3852` + // Minimum execution time: 28_611 nanoseconds. + Weight::from_parts(30_904_000, 3852) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -137,10 +137,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `4604` - // Minimum execution time: 15_709 nanoseconds. - Weight::from_parts(16_196_000, 4604) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 15_094 nanoseconds. + Weight::from_parts(15_682_000, 3607) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +148,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1208` - // Estimated: `4673` - // Minimum execution time: 17_020 nanoseconds. - Weight::from_parts(17_322_000, 4673) + // Measured: `211` + // Estimated: `3676` + // Minimum execution time: 17_065 nanoseconds. + Weight::from_parts(17_465_000, 3676) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_auction_manager.rs b/runtime/acala/src/weights/module_auction_manager.rs index af9ae8b83..4fc6d6326 100644 --- a/runtime/acala/src/weights/module_auction_manager.rs +++ b/runtime/acala/src/weights/module_auction_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_auction_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -71,10 +73,10 @@ impl module_auction_manager::WeightInfo for WeightInfo< // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn cancel_collateral_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `2863` - // Estimated: `8803` - // Minimum execution time: 84_274 nanoseconds. - Weight::from_parts(87_498_000, 8803) + // Measured: `1509` + // Estimated: `7449` + // Minimum execution time: 118_564 nanoseconds. + Weight::from_parts(121_086_000, 7449) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/acala/src/weights/module_cdp_engine.rs b/runtime/acala/src/weights/module_cdp_engine.rs index f20211ecc..967d7855d 100644 --- a/runtime/acala/src/weights/module_cdp_engine.rs +++ b/runtime/acala/src/weights/module_cdp_engine.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_engine //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,54 +49,36 @@ use sp_std::marker::PhantomData; /// Weight functions for module_cdp_engine. pub struct WeightInfo(PhantomData); impl module_cdp_engine::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `CdpEngine::LastAccumulationSecs` (r:1 w:1) // Proof: `CdpEngine::LastAccumulationSecs` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:5 w:0) + // Storage: `CdpEngine::CollateralParams` (r:6 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1018 + c * (91 ±0)` + // Measured: `522 + c * (88 ±0)` // Estimated: `3600 + c * (2610 ±0)` - // Minimum execution time: 20_377 nanoseconds. - Weight::from_parts(21_949_116, 3600) - // Standard Error: 31_294 - .saturating_add(Weight::from_parts(6_303_284, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 18_192 nanoseconds. + Weight::from_parts(20_365_969, 3600) + // Standard Error: 34_196 + .saturating_add(Weight::from_parts(6_939_753, 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(10)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2610).saturating_mul(c.into())) } // Storage: `CdpEngine::CollateralParams` (r:1 w:1) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) fn set_collateral_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1205` + // Measured: `208` // Estimated: `3600` - // Minimum execution time: 22_576 nanoseconds. - Weight::from_parts(22_982_000, 3600) + // Minimum execution time: 26_009 nanoseconds. + Weight::from_parts(26_973_000, 3600) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -151,12 +135,12 @@ impl module_cdp_engine::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 50]`. fn liquidate_by_auction(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3618` - // Estimated: `9558` - // Minimum execution time: 174_886 nanoseconds. - Weight::from_parts(178_905_636, 9558) - // Standard Error: 29_052 - .saturating_add(Weight::from_parts(9_527_834, 0).saturating_mul(b.into())) + // Measured: `2033` + // Estimated: `9000` + // Minimum execution time: 266_567 nanoseconds. + Weight::from_parts(271_671_565, 9000) + // Standard Error: 29_490 + .saturating_add(Weight::from_parts(15_673_874, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(15)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) @@ -209,10 +193,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) fn liquidate_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `4458` + // Measured: `2836` // Estimated: `16722` - // Minimum execution time: 261_522 nanoseconds. - Weight::from_parts(270_982_000, 16722) + // Minimum execution time: 399_836 nanoseconds. + Weight::from_parts(409_640_000, 16722) .saturating_add(T::DbWeight::get().reads(37)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -240,10 +224,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn settle() -> Weight { // Proof Size summary in bytes: - // Measured: `2805` - // Estimated: `6270` - // Minimum execution time: 96_803 nanoseconds. - Weight::from_parts(99_715_000, 6270) + // Measured: `1639` + // Estimated: `6234` + // Minimum execution time: 138_640 nanoseconds. + Weight::from_parts(141_291_000, 6234) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -251,10 +235,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn register_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1205` + // Measured: `208` // Estimated: `1686` - // Minimum execution time: 14_709 nanoseconds. - Weight::from_parts(15_047_000, 1686) + // Minimum execution time: 12_686 nanoseconds. + Weight::from_parts(13_247_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,10 +246,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn deregister_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1250` + // Measured: `253` // Estimated: `1686` - // Minimum execution time: 15_349 nanoseconds. - Weight::from_parts(15_865_000, 1686) + // Minimum execution time: 13_727 nanoseconds. + Weight::from_parts(14_201_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_cdp_treasury.rs b/runtime/acala/src/weights/module_cdp_treasury.rs index 26ed7c693..72e5bca16 100644 --- a/runtime/acala/src/weights/module_cdp_treasury.rs +++ b/runtime/acala/src/weights/module_cdp_treasury.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_treasury //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -68,25 +70,25 @@ impl module_cdp_treasury::WeightInfo for WeightInfo /// The range of component `b` is `[1, 50]`. fn auction_collateral(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2043` + // Measured: `715` // Estimated: `3612` - // Minimum execution time: 40_200 nanoseconds. - Weight::from_parts(38_000_419, 3612) - // Standard Error: 20_286 - .saturating_add(Weight::from_parts(9_270_883, 0).saturating_mul(b.into())) + // Minimum execution time: 49_590 nanoseconds. + Weight::from_parts(45_235_403, 3612) + // Standard Error: 25_771 + .saturating_add(Weight::from_parts(15_206_600, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) } - // Storage: `Tokens::Accounts` (r:8 w:8) + // Storage: `Tokens::Accounts` (r:6 w:4) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `AuctionManager::TotalCollateralInAuction` (r:1 w:0) // Proof: `AuctionManager::TotalCollateralInAuction` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Dex::TradingPairStatuses` (r:5 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::LiquidityPool` (r:5 w:1) + // Storage: `Dex::LiquidityPool` (r:5 w:2) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - // Storage: `StableAsset::Pools` (r:2 w:1) + // Storage: `StableAsset::Pools` (r:2 w:0) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `AggregatedDex::AggregatedSwapPaths` (r:1 w:0) // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -94,33 +96,29 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::ToBondPool` (r:1 w:0) // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:2 w:1) + // Storage: `Tokens::TotalIssuance` (r:1 w:0) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:3 w:1) + // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) - // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn exchange_collateral_to_stable() -> Weight { // Proof Size summary in bytes: - // Measured: `4610` - // Estimated: `21966` - // Minimum execution time: 319_651 nanoseconds. - Weight::from_parts(326_030_000, 21966) - .saturating_add(T::DbWeight::get().reads(32)) - .saturating_add(T::DbWeight::get().writes(12)) + // Measured: `2469` + // Estimated: `16722` + // Minimum execution time: 303_678 nanoseconds. + Weight::from_parts(306_419_000, 16722) + .saturating_add(T::DbWeight::get().reads(26)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: `CdpTreasury::ExpectedCollateralAuctionSize` (r:0 w:1) // Proof: `CdpTreasury::ExpectedCollateralAuctionSize` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn set_expected_collateral_auction_size() -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_783 nanoseconds. - Weight::from_parts(13_227_000, 0) + // Minimum execution time: 10_248 nanoseconds. + Weight::from_parts(10_680_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Tokens::Accounts` (r:2 w:2) @@ -129,10 +127,10 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn extract_surplus_to_treasury() -> Weight { // Proof Size summary in bytes: - // Measured: `1468` + // Measured: `311` // Estimated: `6234` - // Minimum execution time: 35_718 nanoseconds. - Weight::from_parts(36_774_000, 6234) + // Minimum execution time: 44_644 nanoseconds. + Weight::from_parts(45_739_000, 6234) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/acala/src/weights/module_collator_selection.rs b/runtime/acala/src/weights/module_collator_selection.rs index 1fd2538f6..00f7bd7d1 100644 --- a/runtime/acala/src/weights/module_collator_selection.rs +++ b/runtime/acala/src/weights/module_collator_selection.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_collator_selection //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -52,32 +54,32 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 10]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_480 nanoseconds. - Weight::from_parts(11_978_459, 0) - // Standard Error: 1_769 - .saturating_add(Weight::from_parts(26_609, 0).saturating_mul(b.into())) + // Minimum execution time: 8_338 nanoseconds. + Weight::from_parts(8_831_128, 0) + // Standard Error: 2_226 + .saturating_add(Weight::from_parts(12_569, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_062 nanoseconds. - Weight::from_parts(11_794_000, 0) + // Minimum execution time: 7_697 nanoseconds. + Weight::from_parts(8_178_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_531 nanoseconds. - Weight::from_parts(11_809_000, 0) + // Minimum execution time: 7_903 nanoseconds. + Weight::from_parts(8_212_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::NonCandidates` (r:1 w:1) @@ -94,18 +96,20 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - /// The range of component `c` is `[5, 50]`. + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2325 + c * (60 ±0)` - // Estimated: `5736 + c * (61 ±0)` - // Minimum execution time: 52_454 nanoseconds. - Weight::from_parts(53_353_153, 5736) - // Standard Error: 3_642 - .saturating_add(Weight::from_parts(474_684, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) + // Measured: `787 + c * (56 ±0)` + // Estimated: `4261 + c * (56 ±0)` + // Minimum execution time: 63_853 nanoseconds. + Weight::from_parts(70_086_260, 4261) + // Standard Error: 6_171 + .saturating_add(Weight::from_parts(521_425, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(c.into())) } // Storage: `CollatorSelection::Candidates` (r:1 w:1) // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) @@ -120,15 +124,15 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1838 + c * (55 ±0)` - // Estimated: `5295 + c * (55 ±0)` - // Minimum execution time: 29_371 nanoseconds. - Weight::from_parts(33_808_345, 5295) - // Standard Error: 3_537 - .saturating_add(Weight::from_parts(435_482, 0).saturating_mul(c.into())) + // Measured: `653 + c * (54 ±0)` + // Estimated: `4126 + c * (54 ±0)` + // Minimum execution time: 32_276 nanoseconds. + Weight::from_parts(37_823_525, 4126) + // Standard Error: 5_789 + .saturating_add(Weight::from_parts(464_566, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 55).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) } // Storage: `CollatorSelection::Candidates` (r:1 w:1) // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) @@ -136,15 +140,15 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::NonCandidates` (r:0 w:1) // Proof: `CollatorSelection::NonCandidates` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `c` is `[6, 50]`. + /// The range of component `c` is `[2, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1628 + c * (39 ±0)` - // Estimated: `3109 + c * (39 ±0)` - // Minimum execution time: 23_276 nanoseconds. - Weight::from_parts(22_859_610, 3109) - // Standard Error: 2_021 - .saturating_add(Weight::from_parts(336_239, 0).saturating_mul(c.into())) + // Measured: `529 + c * (38 ±0)` + // Estimated: `3086 + c * (39 ±0)` + // Minimum execution time: 20_403 nanoseconds. + Weight::from_parts(22_353_717, 3086) + // Standard Error: 2_721 + .saturating_add(Weight::from_parts(315_856, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -157,10 +161,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) fn withdraw_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `3193` - // Estimated: `4678` - // Minimum execution time: 57_249 nanoseconds. - Weight::from_parts(59_231_000, 4678) + // Measured: `1461` + // Estimated: `3633` + // Minimum execution time: 65_174 nanoseconds. + Weight::from_parts(67_315_000, 3633) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -170,10 +174,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::SessionPoints` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `2138` + // Measured: `610` // Estimated: `6196` - // Minimum execution time: 60_117 nanoseconds. - Weight::from_parts(61_187_000, 6196) + // Minimum execution time: 75_327 nanoseconds. + Weight::from_parts(77_274_000, 6196) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -183,10 +187,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`) fn new_session() -> Weight { // Proof Size summary in bytes: - // Measured: `2687` + // Measured: `1874` // Estimated: `3086` - // Minimum execution time: 23_160 nanoseconds. - Weight::from_parts(24_615_000, 3086) + // Minimum execution time: 19_943 nanoseconds. + Weight::from_parts(21_219_000, 3086) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `Session::Validators` (r:1 w:0) @@ -195,18 +199,18 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::SessionPoints` (r:0 w:50) // Proof: `CollatorSelection::SessionPoints` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `r` is `[5, 50]`. - /// The range of component `c` is `[5, 50]`. + /// The range of component `r` is `[1, 50]`. + /// The range of component `c` is `[1, 50]`. fn start_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1411 + c * (64 ±0)` + // Measured: `411 + c * (64 ±0)` // Estimated: `3086 + c * (64 ±0)` - // Minimum execution time: 20_198 nanoseconds. - Weight::from_parts(12_820_952, 3086) - // Standard Error: 5_495 - .saturating_add(Weight::from_parts(75_271, 0).saturating_mul(r.into())) - // Standard Error: 5_495 - .saturating_add(Weight::from_parts(1_340_052, 0).saturating_mul(c.into())) + // Minimum execution time: 16_042 nanoseconds. + Weight::from_parts(15_244_301, 3086) + // Standard Error: 2_741 + .saturating_add(Weight::from_parts(10_697, 0).saturating_mul(r.into())) + // Standard Error: 2_741 + .saturating_add(Weight::from_parts(1_971_114, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 64).saturating_mul(c.into())) @@ -219,16 +223,16 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::NonCandidates` (r:0 w:1) // Proof: `CollatorSelection::NonCandidates` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `r` is `[5, 50]`. - /// The range of component `c` is `[5, 50]`. - fn end_session(_r: u32, c: u32, ) -> Weight { + /// The range of component `c` is `[1, 50]`. + /// The range of component `r` is `[1, 50]`. + fn end_session(c: u32, _r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3458 + c * (49 ±0)` + // Measured: `231 + c * (50 ±0)` // Estimated: `3509 + c * (2519 ±0)` - // Minimum execution time: 30_539 nanoseconds. - Weight::from_parts(341_125_020, 3509) - // Standard Error: 16_347 - .saturating_add(Weight::from_parts(4_079_208, 0).saturating_mul(c.into())) + // Minimum execution time: 14_084 nanoseconds. + Weight::from_parts(476_304_845, 3509) + // Standard Error: 23_238 + .saturating_add(Weight::from_parts(5_712_920, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(50)) diff --git a/runtime/acala/src/weights/module_currencies.rs b/runtime/acala/src/weights/module_currencies.rs index 3a4268162..b53e99c6b 100644 --- a/runtime/acala/src/weights/module_currencies.rs +++ b/runtime/acala/src/weights/module_currencies.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_currencies //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,31 +51,31 @@ pub struct WeightInfo(PhantomData); impl module_currencies::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1610` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 43_805 nanoseconds. - Weight::from_parts(44_756_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 60_195 nanoseconds. + Weight::from_parts(61_322_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1444` - // Estimated: `3593` - // Minimum execution time: 55_667 nanoseconds. - Weight::from_parts(56_707_000, 3593) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `196` + // Estimated: `6196` + // Minimum execution time: 82_845 nanoseconds. + Weight::from_parts(83_914_000, 6196) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,10 +85,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 25_054 nanoseconds. - Weight::from_parts(25_843_000, 3612) + // Minimum execution time: 30_125 nanoseconds. + Weight::from_parts(30_882_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -94,10 +96,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1300` + // Measured: `52` // Estimated: `3593` - // Minimum execution time: 27_948 nanoseconds. - Weight::from_parts(28_847_000, 3593) + // Minimum execution time: 33_818 nanoseconds. + Weight::from_parts(34_308_000, 3593) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -107,10 +109,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1440` + // Measured: `144` // Estimated: `3593` - // Minimum execution time: 32_073 nanoseconds. - Weight::from_parts(32_672_000, 3593) + // Minimum execution time: 39_623 nanoseconds. + Weight::from_parts(40_294_000, 3593) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,12 +123,12 @@ impl module_currencies::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 3]`. fn sweep_dust(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1485 + c * (79 ±0)` + // Measured: `315 + c * (79 ±0)` // Estimated: `3612 + c * (2622 ±0)` - // Minimum execution time: 37_084 nanoseconds. - Weight::from_parts(20_112_380, 3612) - // Standard Error: 30_791 - .saturating_add(Weight::from_parts(18_453_357, 0).saturating_mul(c.into())) + // Minimum execution time: 44_497 nanoseconds. + Weight::from_parts(14_642_095, 3612) + // Standard Error: 43_645 + .saturating_add(Weight::from_parts(31_669_259, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,10 +143,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `1464` + // Measured: `350` // Estimated: `4765` - // Minimum execution time: 30_488 nanoseconds. - Weight::from_parts(31_257_000, 4765) + // Minimum execution time: 37_091 nanoseconds. + Weight::from_parts(38_186_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,10 +158,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_remove_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `1569` + // Measured: `455` // Estimated: `4765` - // Minimum execution time: 31_388 nanoseconds. - Weight::from_parts(32_311_000, 4765) + // Minimum execution time: 38_686 nanoseconds. + Weight::from_parts(39_426_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/acala/src/weights/module_dex.rs b/runtime/acala/src/weights/module_dex.rs index a2e96649a..3a0cfd758 100644 --- a/runtime/acala/src/weights/module_dex.rs +++ b/runtime/acala/src/weights/module_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn enable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1106` + // Measured: `109` // Estimated: `3660` - // Minimum execution time: 16_109 nanoseconds. - Weight::from_parts(16_801_000, 3660) + // Minimum execution time: 14_900 nanoseconds. + Weight::from_parts(15_288_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn disable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` + // Measured: `146` // Estimated: `3660` - // Minimum execution time: 17_745 nanoseconds. - Weight::from_parts(18_413_000, 3660) + // Minimum execution time: 16_435 nanoseconds. + Weight::from_parts(16_798_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn list_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1148` + // Measured: `151` // Estimated: `3660` - // Minimum execution time: 24_017 nanoseconds. - Weight::from_parts(24_583_000, 3660) + // Minimum execution time: 24_630 nanoseconds. + Weight::from_parts(24_928_000, 3660) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,10 +90,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn update_provisioning_parameters() -> Weight { // Proof Size summary in bytes: - // Measured: `915` + // Measured: `249` // Estimated: `3660` - // Minimum execution time: 11_444 nanoseconds. - Weight::from_parts(11_857_000, 3660) + // Minimum execution time: 13_165 nanoseconds. + Weight::from_parts(13_895_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,10 +111,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) fn end_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1740` + // Measured: `626` // Estimated: `3660` - // Minimum execution time: 41_978 nanoseconds. - Weight::from_parts(44_925_000, 3660) + // Minimum execution time: 55_241 nanoseconds. + Weight::from_parts(56_426_000, 3660) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -126,29 +128,29 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn add_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `1899` + // Measured: `511` // Estimated: `6234` - // Minimum execution time: 85_067 nanoseconds. - Weight::from_parts(88_039_000, 6234) + // Minimum execution time: 121_978 nanoseconds. + Weight::from_parts(123_724_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Dex::TradingPairStatuses` (r:1 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::ProvisioningPool` (r:2 w:1) - // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Dex::InitialShareExchangeRates` (r:1 w:1) // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) + // Storage: `Dex::ProvisioningPool` (r:2 w:1) + // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `2094` + // Measured: `840` // Estimated: `6272` - // Minimum execution time: 63_187 nanoseconds. - Weight::from_parts(65_245_000, 6272) + // Minimum execution time: 83_461 nanoseconds. + Weight::from_parts(85_185_000, 6272) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -166,10 +168,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `2232` + // Measured: `763` // Estimated: `8856` - // Minimum execution time: 100_768 nanoseconds. - Weight::from_parts(103_238_000, 8856) + // Minimum execution time: 151_199 nanoseconds. + Weight::from_parts(154_364_000, 8856) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -191,10 +193,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_liquidity_and_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2639` + // Measured: `1203` // Estimated: `11478` - // Minimum execution time: 134_365 nanoseconds. - Weight::from_parts(139_479_000, 11478) + // Minimum execution time: 203_949 nanoseconds. + Weight::from_parts(208_206_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -208,10 +210,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `2166` + // Measured: `730` // Estimated: `8856` - // Minimum execution time: 96_083 nanoseconds. - Weight::from_parts(99_590_000, 8856) + // Minimum execution time: 138_190 nanoseconds. + Weight::from_parts(141_320_000, 8856) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -231,10 +233,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn remove_liquidity_by_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `2579` + // Measured: `1192` // Estimated: `11478` - // Minimum execution time: 146_788 nanoseconds. - Weight::from_parts(150_838_000, 11478) + // Minimum execution time: 214_566 nanoseconds. + Weight::from_parts(219_316_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -249,12 +251,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_supply(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1842 + u * (112 ±0)` - // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 83_790 nanoseconds. - Weight::from_parts(66_397_007, 6234) - // Standard Error: 120_592 - .saturating_add(Weight::from_parts(10_851_711, 0).saturating_mul(u.into())) + // Measured: `373 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±19)` + // Minimum execution time: 117_221 nanoseconds. + Weight::from_parts(91_620_480, 6234) + // Standard Error: 77_046 + .saturating_add(Weight::from_parts(14_598_977, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -272,12 +274,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_target(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1842 + u * (112 ±0)` + // Measured: `373 + u * (112 ±0)` // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 83_708 nanoseconds. - Weight::from_parts(66_043_802, 6234) - // Standard Error: 142_413 - .saturating_add(Weight::from_parts(11_426_120, 0).saturating_mul(u.into())) + // Minimum execution time: 116_313 nanoseconds. + Weight::from_parts(89_748_847, 6234) + // Standard Error: 91_203 + .saturating_add(Weight::from_parts(15_338_120, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,10 +300,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn refund_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `2233` + // Measured: `723` // Estimated: `6234` - // Minimum execution time: 93_134 nanoseconds. - Weight::from_parts(98_557_000, 6234) + // Minimum execution time: 130_070 nanoseconds. + Weight::from_parts(131_432_000, 6234) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -309,10 +311,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn abort_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1280` + // Measured: `283` // Estimated: `3660` - // Minimum execution time: 21_180 nanoseconds. - Weight::from_parts(21_677_000, 3660) + // Minimum execution time: 19_429 nanoseconds. + Weight::from_parts(20_256_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_dex_oracle.rs b/runtime/acala/src/weights/module_dex_oracle.rs index 9e8cebf6a..53a98bb60 100644 --- a/runtime/acala/src/weights/module_dex_oracle.rs +++ b/runtime/acala/src/weights/module_dex_oracle.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex_oracle //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,51 +49,32 @@ use sp_std::marker::PhantomData; /// Weight functions for module_dex_oracle. pub struct WeightInfo(PhantomData); impl module_dex_oracle::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `DexOracle::AveragePrices` (r:4 w:3) // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Dex::LiquidityPool` (r:3 w:0) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `DexOracle::Cumulatives` (r:3 w:3) // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 3]`. /// The range of component `u` is `[0, 3]`. fn on_initialize_with_update_average_prices(n: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `169 + n * (377 ±0) + u * (249 ±0)` - // Estimated: `4851 + n * (2864 ±2) + u * (346 ±2)` - // Minimum execution time: 14_720 nanoseconds. - Weight::from_parts(15_620_000, 4851) - // Standard Error: 142_923 - .saturating_add(Weight::from_parts(9_731_432, 0).saturating_mul(n.into())) - // Standard Error: 142_923 - .saturating_add(Weight::from_parts(4_685_908, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `0 + n * (324 ±0) + u * (197 ±0)` + // Estimated: `4102 + n * (2815 ±1) + u * (346 ±1)` + // Minimum execution time: 8_946 nanoseconds. + Weight::from_parts(9_395_000, 4102) + // Standard Error: 222_138 + .saturating_add(Weight::from_parts(13_172_942, 0).saturating_mul(n.into())) + // Standard Error: 222_138 + .saturating_add(Weight::from_parts(6_715_426, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 2864).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2815).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 346).saturating_mul(u.into())) } // Storage: `DexOracle::AveragePrices` (r:1 w:1) @@ -104,10 +87,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `956` - // Estimated: `4421` - // Minimum execution time: 18_671 nanoseconds. - Weight::from_parts(18_979_000, 4421) + // Measured: `323` + // Estimated: `3788` + // Minimum execution time: 24_811 nanoseconds. + Weight::from_parts(25_809_000, 3788) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +100,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `4392` - // Minimum execution time: 11_614 nanoseconds. - Weight::from_parts(12_034_000, 4392) + // Measured: `294` + // Estimated: `3759` + // Minimum execution time: 13_796 nanoseconds. + Weight::from_parts(14_540_000, 3759) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,10 +111,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_average_price_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `4392` - // Minimum execution time: 11_033 nanoseconds. - Weight::from_parts(11_392_000, 4392) + // Measured: `294` + // Estimated: `3759` + // Minimum execution time: 12_956 nanoseconds. + Weight::from_parts(13_480_000, 3759) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_emergency_shutdown.rs b/runtime/acala/src/weights/module_emergency_shutdown.rs index f4985954f..dcb430aa7 100644 --- a/runtime/acala/src/weights/module_emergency_shutdown.rs +++ b/runtime/acala/src/weights/module_emergency_shutdown.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_emergency_shutdown //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,15 +53,15 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn emergency_shutdown(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1318` + // Measured: `321` // Estimated: `3600` - // Minimum execution time: 17_447 nanoseconds. - Weight::from_parts(18_305_527, 3600) - // Standard Error: 9_934 - .saturating_add(Weight::from_parts(421_973, 0).saturating_mul(c.into())) + // Minimum execution time: 15_783 nanoseconds. + Weight::from_parts(17_053_961, 3600) + // Standard Error: 13_946 + .saturating_add(Weight::from_parts(897_499, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -71,10 +73,10 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `EmergencyShutdown::CanRefund` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn open_collateral_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `1342` + // Measured: `345` // Estimated: `3600` - // Minimum execution time: 17_223 nanoseconds. - Weight::from_parts(17_529_000, 3600) + // Minimum execution time: 16_738 nanoseconds. + Weight::from_parts(17_191_000, 3600) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,18 +88,20 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn refund_collaterals(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2058 + c * (45 ±0)` + // Measured: `706 + c * (32 ±0)` // Estimated: `3612` - // Minimum execution time: 46_440 nanoseconds. - Weight::from_parts(48_313_703, 3612) - // Standard Error: 19_500 - .saturating_add(Weight::from_parts(1_846_324, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 59_260 nanoseconds. + Weight::from_parts(61_684_322, 3612) + // Standard Error: 21_240 + .saturating_add(Weight::from_parts(1_890_687, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/acala/src/weights/module_evm.rs b/runtime/acala/src/weights/module_evm.rs index 4ff82e1b6..a16bc82a7 100644 --- a/runtime/acala/src/weights/module_evm.rs +++ b/runtime/acala/src/weights/module_evm.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -67,10 +69,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1658` - // Estimated: `7598` - // Minimum execution time: 127_826 nanoseconds. - Weight::from_parts(131_113_000, 7598) + // Measured: `401` + // Estimated: `6341` + // Minimum execution time: 210_052 nanoseconds. + Weight::from_parts(214_724_000, 6341) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -94,10 +96,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create2() -> Weight { // Proof Size summary in bytes: - // Measured: `1658` - // Estimated: `7598` - // Minimum execution time: 122_382 nanoseconds. - Weight::from_parts(125_727_000, 7598) + // Measured: `351` + // Estimated: `6291` + // Minimum execution time: 198_687 nanoseconds. + Weight::from_parts(203_613_000, 6291) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -121,10 +123,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_nft_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1627` - // Estimated: `7567` - // Minimum execution time: 151_417 nanoseconds. - Weight::from_parts(155_163_000, 7567) + // Measured: `172` + // Estimated: `6276` + // Minimum execution time: 245_018 nanoseconds. + Weight::from_parts(251_457_000, 6276) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -146,10 +148,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_predeploy_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1575` - // Estimated: `7515` - // Minimum execution time: 149_920 nanoseconds. - Weight::from_parts(152_354_000, 7515) + // Measured: `211` + // Estimated: `6276` + // Minimum execution time: 244_546 nanoseconds. + Weight::from_parts(249_173_000, 6276) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -163,19 +165,17 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `2432` - // Estimated: `8372` - // Minimum execution time: 120_365 nanoseconds. - Weight::from_parts(123_804_000, 8372) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `1141` + // Estimated: `7081` + // Minimum execution time: 185_312 nanoseconds. + Weight::from_parts(190_516_000, 7081) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `EVM::Accounts` (r:1 w:1) @@ -184,58 +184,64 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_maintainer() -> Weight { // Proof Size summary in bytes: - // Measured: `1842` - // Estimated: `5307` - // Minimum execution time: 85_819 nanoseconds. - Weight::from_parts(87_174_000, 5307) + // Measured: `390` + // Estimated: `3855` + // Minimum execution time: 26_644 nanoseconds. + Weight::from_parts(27_849_000, 3855) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `2313` - // Estimated: `5778` - // Minimum execution time: 121_758 nanoseconds. - Weight::from_parts(122_797_000, 5778) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `530` + // Estimated: `3995` + // Minimum execution time: 80_787 nanoseconds. + Weight::from_parts(83_047_000, 3995) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_free() -> Weight { // Proof Size summary in bytes: - // Measured: `1700` - // Estimated: `5165` - // Minimum execution time: 22_684 nanoseconds. - Weight::from_parts(23_871_000, 5165) + // Measured: `386` + // Estimated: `3851` + // Minimum execution time: 21_081 nanoseconds. + Weight::from_parts(21_628_000, 3851) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn enable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `1434` + // Measured: `140` // Estimated: `3633` - // Minimum execution time: 90_357 nanoseconds. - Weight::from_parts(91_457_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 38_365 nanoseconds. + Weight::from_parts(39_298_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn disable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `1522` + // Measured: `194` // Estimated: `3633` - // Minimum execution time: 92_520 nanoseconds. - Weight::from_parts(93_942_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 38_772 nanoseconds. + Weight::from_parts(40_244_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -245,10 +251,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::CodeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EvmAccounts::Accounts` (r:2 w:0) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:0 w:2) @@ -256,14 +262,14 @@ impl module_evm::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 61440]`. fn set_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2525` - // Estimated: `8465` - // Minimum execution time: 147_478 nanoseconds. - Weight::from_parts(144_228_417, 8465) - // Standard Error: 13 - .saturating_add(Weight::from_parts(5_469, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `917` + // Estimated: `6857` + // Minimum execution time: 127_968 nanoseconds. + Weight::from_parts(121_472_998, 6857) + // Standard Error: 28 + .saturating_add(Weight::from_parts(6_797, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EvmAccounts::EvmAddresses` (r:2 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -279,7 +285,7 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `IdleScheduler::NextTaskId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:1 w:0) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -289,11 +295,11 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn selfdestruct() -> Weight { // Proof Size summary in bytes: - // Measured: `2646` - // Estimated: `6111` - // Minimum execution time: 168_586 nanoseconds. - Weight::from_parts(172_538_000, 6111) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(8)) + // Measured: `1038` + // Estimated: `6196` + // Minimum execution time: 162_004 nanoseconds. + Weight::from_parts(168_888_000, 6196) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(9)) } } diff --git a/runtime/acala/src/weights/module_evm_accounts.rs b/runtime/acala/src/weights/module_evm_accounts.rs index 4ca383795..9aacaa9e7 100644 --- a/runtime/acala/src/weights/module_evm_accounts.rs +++ b/runtime/acala/src/weights/module_evm_accounts.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm_accounts //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,7 +49,7 @@ use sp_std::marker::PhantomData; /// Weight functions for module_evm_accounts. pub struct WeightInfo(PhantomData); impl module_evm_accounts::WeightInfo for WeightInfo { - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) + // Storage: `EvmAccounts::EvmAddresses` (r:2 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::Accounts` (r:1 w:1) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -55,16 +57,18 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EVM::ChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::BlockHash` (r:1 w:0) // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:1 w:0) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn claim_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1515` - // Estimated: `3593` - // Minimum execution time: 74_263 nanoseconds. - Weight::from_parts(75_347_000, 3593) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `426` + // Estimated: `6196` + // Minimum execution time: 175_015 nanoseconds. + Weight::from_parts(176_671_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -72,10 +76,10 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_default_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1139` + // Measured: `4` // Estimated: `3525` - // Minimum execution time: 18_401 nanoseconds. - Weight::from_parts(18_880_000, 3525) + // Minimum execution time: 19_013 nanoseconds. + Weight::from_parts(19_516_000, 3525) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/acala/src/weights/module_homa.rs b/runtime/acala/src/weights/module_homa.rs index 126c78287..e6ca816ae 100644 --- a/runtime/acala/src/weights/module_homa.rs +++ b/runtime/acala/src/weights/module_homa.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_homa //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `823` - // Estimated: `2308` - // Minimum execution time: 6_283 nanoseconds. - Weight::from_parts(6_483_000, 2308) + // Measured: `151` + // Estimated: `1636` + // Minimum execution time: 7_327 nanoseconds. + Weight::from_parts(7_849_000, 1636) .saturating_add(T::DbWeight::get().reads(4)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) @@ -79,48 +81,31 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::CommissionRate` (r:1 w:0) // Proof: `Homa::CommissionRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:2 w:2) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:3 w:3) + // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `XcmInterface::XcmDestWeightAndFee` (r:4 w:0) + // Storage: `XcmInterface::XcmDestWeightAndFee` (r:1 w:0) // Proof: `XcmInterface::XcmDestWeightAndFee` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::UnclaimedRedemption` (r:1 w:1) - // Proof: `Homa::UnclaimedRedemption` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::ToBondPool` (r:1 w:1) - // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::SoftBondedCapPerSubAccount` (r:1 w:0) - // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `EVM::XcmOrigin` (r:1 w:1) - // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) - // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::RedeemRequests` (r:2 w:1) - // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::Unbondings` (r:1 w:1) - // Proof: `Homa::Unbondings` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Homa::TotalVoidLiquid` (r:0 w:1) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn on_initialize_with_bump_era(n: u32,) -> Weight { + /// The range of component `n` is `[1, 50]`. + fn on_initialize_with_bump_era(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2961` - // Estimated: `13851` - // Minimum execution time: 298_418 nanoseconds. - Weight::from_parts(305_164_000, 13851) - .saturating_add(T::DbWeight::get().reads(32)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + // Measured: `886` + // Estimated: `6826` + // Minimum execution time: 120_301 nanoseconds. + Weight::from_parts(124_828_414, 6826) + // Standard Error: 11_902 + .saturating_add(Weight::from_parts(388_000, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -130,7 +115,7 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) @@ -140,26 +125,26 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::EstimatedRewardRatePerEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `1701` + // Measured: `445` // Estimated: `8856` - // Minimum execution time: 59_996 nanoseconds. - Weight::from_parts(61_537_000, 8856) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 87_326 nanoseconds. + Weight::from_parts(89_537_000, 8856) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::RedeemRequests` (r:1 w:1) // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn request_redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `1610` + // Measured: `354` // Estimated: `6234` - // Minimum execution time: 41_569 nanoseconds. - Weight::from_parts(42_722_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 52_186 nanoseconds. + Weight::from_parts(54_081_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Homa::RedeemRequests` (r:50 w:50) @@ -181,17 +166,17 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 50]`. fn fast_match_redeems(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1950 + n * (295 ±0)` - // Estimated: `6234 + n * (2770 ±0)` - // Minimum execution time: 73_092 nanoseconds. - Weight::from_parts(25_412_943, 6234) - // Standard Error: 28_320 - .saturating_add(Weight::from_parts(41_844_237, 0).saturating_mul(n.into())) + // Measured: `649 + n * (286 ±0)` + // Estimated: `6234 + n * (2761 ±0)` + // Minimum execution time: 105_365 nanoseconds. + Weight::from_parts(34_241_706, 6234) + // Standard Error: 30_217 + .saturating_add(Weight::from_parts(67_430_195, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2770).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2761).saturating_mul(n.into())) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -207,10 +192,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_redemption() -> Weight { // Proof Size summary in bytes: - // Measured: `2021` - // Estimated: `7961` - // Minimum execution time: 59_467 nanoseconds. - Weight::from_parts(61_252_000, 7961) + // Measured: `827` + // Estimated: `6767` + // Minimum execution time: 85_106 nanoseconds. + Weight::from_parts(86_281_000, 6767) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -222,14 +207,16 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::FastMatchFeeRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::SoftBondedCapPerSubAccount` (r:0 w:1) // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::NominateIntervalEra` (r:0 w:1) + // Proof: `Homa::NominateIntervalEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_homa_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `2624` - // Minimum execution time: 20_902 nanoseconds. - Weight::from_parts(21_722_000, 2624) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 25_822 nanoseconds. + Weight::from_parts(26_391_000, 1489) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -239,10 +226,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_bump_era_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1211` - // Estimated: `2696` - // Minimum execution time: 18_032 nanoseconds. - Weight::from_parts(18_556_000, 2696) + // Measured: `214` + // Estimated: `1699` + // Minimum execution time: 17_639 nanoseconds. + Weight::from_parts(18_185_000, 1699) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,12 +240,12 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 10]`. fn reset_ledgers(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `2624 + n * (2475 ±0)` - // Minimum execution time: 4_170 nanoseconds. - Weight::from_parts(10_347_994, 2624) - // Standard Error: 35_868 - .saturating_add(Weight::from_parts(5_696_010, 0).saturating_mul(n.into())) + // Measured: `4` + // Estimated: `1489 + n * (2475 ±0)` + // Minimum execution time: 3_356 nanoseconds. + Weight::from_parts(7_200_083, 1489) + // Standard Error: 22_566 + .saturating_add(Weight::from_parts(9_464_796, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -269,10 +256,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn reset_current_era() -> Weight { // Proof Size summary in bytes: - // Measured: `1139` - // Estimated: `2624` - // Minimum execution time: 13_506 nanoseconds. - Weight::from_parts(13_876_000, 2624) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 9_947 nanoseconds. + Weight::from_parts(10_479_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_homa_validator_list.rs b/runtime/acala/src/weights/module_homa_validator_list.rs index 4bbed33cc..a085559a2 100644 --- a/runtime/acala/src/weights/module_homa_validator_list.rs +++ b/runtime/acala/src/weights/module_homa_validator_list.rs @@ -18,21 +18,22 @@ //! Autogenerated weights for module_homa_validator_list //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `192.168.1.2`, CPU: `` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=./templates/runtime-weight-template.hbs @@ -58,38 +59,38 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` + // Measured: `420` // Estimated: `4765` - // Minimum execution time: 36_000 nanoseconds. - Weight::from_parts(37_000_000, 4765) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 55_407 nanoseconds. + Weight::from_parts(57_060_000, 4765) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0) - // Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` + // Measured: `329` // Estimated: `3606` - // Minimum execution time: 19_000 nanoseconds. - Weight::from_parts(20_000_000, 3606) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 19_623 nanoseconds. + Weight::from_parts(20_488_000, 3606) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) fn rebond() -> Weight { // Proof Size summary in bytes: - // Measured: `1044` + // Measured: `345` // Estimated: `3606` - // Minimum execution time: 8_000 nanoseconds. - Weight::from_parts(9_000_000, 3606) + // Minimum execution time: 17_738 nanoseconds. + Weight::from_parts(18_360_000, 3606) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,8 +98,8 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `HomaValidatorList::TotalLockedByGuarantor` (r:1 w:1) // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) @@ -107,10 +108,10 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn withdraw_unbonded() -> Weight { // Proof Size summary in bytes: - // Measured: `2312` + // Measured: `868` // Estimated: `4765` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 4765) + // Minimum execution time: 62_329 nanoseconds. + Weight::from_parts(63_734_000, 4765) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -119,12 +120,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn freeze(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `201 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(10_990_773, 990) - // Standard Error: 8_735 - .saturating_add(Weight::from_parts(4_485_901, 0).saturating_mul(n.into())) + // Minimum execution time: 15_819 nanoseconds. + Weight::from_parts(8_750_880, 990) + // Standard Error: 9_738 + .saturating_add(Weight::from_parts(8_195_629, 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, 2540).saturating_mul(n.into())) @@ -134,12 +135,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn thaw(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `201 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(11_502_223, 990) - // Standard Error: 12_312 - .saturating_add(Weight::from_parts(4_428_242, 0).saturating_mul(n.into())) + // Minimum execution time: 15_946 nanoseconds. + Weight::from_parts(8_834_767, 990) + // Standard Error: 9_948 + .saturating_add(Weight::from_parts(8_172_532, 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, 2540).saturating_mul(n.into())) @@ -162,18 +163,20 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn slash(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2834 + n * (200 ±0)` + // Measured: `665 + n * (200 ±0)` // Estimated: `4765 + n * (5232 ±0)` - // Minimum execution time: 57_000 nanoseconds. - Weight::from_parts(30_420_201, 4765) - // Standard Error: 30_290 - .saturating_add(Weight::from_parts(30_166_892, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Minimum execution time: 96_095 nanoseconds. + Weight::from_parts(43_467_525, 4765) + // Standard Error: 93_407 + .saturating_add(Weight::from_parts(59_304_875, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5232).saturating_mul(n.into())) } diff --git a/runtime/acala/src/weights/module_honzon.rs b/runtime/acala/src/weights/module_honzon.rs index 07373874d..357a71966 100644 --- a/runtime/acala/src/weights/module_honzon.rs +++ b/runtime/acala/src/weights/module_honzon.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_honzon //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,43 +53,50 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn authorize() -> Weight { // Proof Size summary in bytes: - // Measured: `1480` + // Measured: `143` // Estimated: `3633` - // Minimum execution time: 32_989 nanoseconds. - Weight::from_parts(34_066_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 39_288 nanoseconds. + Weight::from_parts(40_391_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Honzon::Authorization` (r:1 w:1) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn unauthorize() -> Weight { // Proof Size summary in bytes: - // Measured: `1700` + // Measured: `329` // Estimated: `3633` - // Minimum execution time: 37_038 nanoseconds. - Weight::from_parts(38_228_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 42_662 nanoseconds. + Weight::from_parts(43_309_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: `Honzon::Authorization` (r:4 w:4) + // Storage: `Honzon::Authorization` (r:5 w:5) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 5]`. fn unauthorize_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1324 + c * (177 ±0)` + // Measured: `252 + c * (76 ±0)` // Estimated: `3633 + c * (2622 ±0)` - // Minimum execution time: 18_104 nanoseconds. - Weight::from_parts(24_088_984, 3633) - // Standard Error: 186_507 - .saturating_add(Weight::from_parts(6_696_532, 0).saturating_mul(c.into())) + // Minimum execution time: 15_847 nanoseconds. + Weight::from_parts(27_061_293, 3633) + // Standard Error: 229_353 + .saturating_add(Weight::from_parts(6_813_559, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2622).saturating_mul(c.into())) } @@ -97,18 +106,18 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Loans::TotalPositions` (r:1 w:1) // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:3 w:3) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:1 w:1) - // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Prices::LockedPrice` (r:2 w:0) @@ -119,45 +128,27 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn adjust_loan() -> Weight { // Proof Size summary in bytes: - // Measured: `2465` - // Estimated: `8405` - // Minimum execution time: 118_450 nanoseconds. - Weight::from_parts(122_127_000, 8405) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `1285` + // Estimated: `8856` + // Minimum execution time: 161_490 nanoseconds. + Weight::from_parts(166_498_000, 8856) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Honzon::Authorization` (r:1 w:0) - // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `Loans::Positions` (r:2 w:2) + // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) - // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Prices::LockedPrice` (r:2 w:0) - // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:1 w:0) - // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:2 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `CdpEngine::CollateralParams` (r:1 w:0) - // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `Rewards::SharesAndWithdrawnRewards` (r:2 w:2) - // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Rewards::PoolInfos` (r:1 w:1) - // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Loans::TotalPositions` (r:1 w:1) // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn transfer_loan_from() -> Weight { // Proof Size summary in bytes: - // Measured: `2808` - // Estimated: `8748` - // Minimum execution time: 92_786 nanoseconds. - Weight::from_parts(95_982_000, 8748) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `283` + // Estimated: `3588` + // Minimum execution time: 52_601 nanoseconds. + Weight::from_parts(53_806_000, 3588) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) @@ -175,7 +166,7 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:4 w:2) + // Storage: `System::Account` (r:5 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -207,12 +198,12 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn close_loan_has_debit_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `5774` + // Measured: `4198` // Estimated: `27210` - // Minimum execution time: 501_256 nanoseconds. - Weight::from_parts(510_899_000, 27210) - .saturating_add(T::DbWeight::get().reads(46)) - .saturating_add(T::DbWeight::get().writes(20)) + // Minimum execution time: 772_088 nanoseconds. + Weight::from_parts(789_289_000, 27210) + .saturating_add(T::DbWeight::get().reads(47)) + .saturating_add(T::DbWeight::get().writes(21)) } // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) @@ -248,10 +239,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn expand_position_collateral() -> Weight { // Proof Size summary in bytes: - // Measured: `4780` + // Measured: `3381` // Estimated: `14340` - // Minimum execution time: 244_640 nanoseconds. - Weight::from_parts(249_316_000, 14340) + // Minimum execution time: 358_759 nanoseconds. + Weight::from_parts(366_413_000, 14340) .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -291,10 +282,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn shrink_position_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `5246` + // Measured: `3675` // Estimated: `24588` - // Minimum execution time: 376_449 nanoseconds. - Weight::from_parts(382_833_000, 24588) + // Minimum execution time: 555_099 nanoseconds. + Weight::from_parts(576_269_000, 24588) .saturating_add(T::DbWeight::get().reads(38)) .saturating_add(T::DbWeight::get().writes(18)) } @@ -324,10 +315,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn transfer_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `2950` - // Estimated: `8890` - // Minimum execution time: 137_076 nanoseconds. - Weight::from_parts(141_076_000, 8890) + // Measured: `1737` + // Estimated: `8616` + // Minimum execution time: 208_768 nanoseconds. + Weight::from_parts(216_240_000, 8616) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -351,10 +342,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn precompile_get_current_collateral_ratio() -> Weight { // Proof Size summary in bytes: - // Measured: `2017` - // Estimated: `7957` - // Minimum execution time: 39_714 nanoseconds. - Weight::from_parts(41_163_000, 7957) + // Measured: `1463` + // Estimated: `7403` + // Minimum execution time: 63_881 nanoseconds. + Weight::from_parts(65_512_000, 7403) .saturating_add(T::DbWeight::get().reads(11)) } } diff --git a/runtime/acala/src/weights/module_idle_scheduler.rs b/runtime/acala/src/weights/module_idle_scheduler.rs index 1110e294f..b23c4f6c4 100644 --- a/runtime/acala/src/weights/module_idle_scheduler.rs +++ b/runtime/acala/src/weights/module_idle_scheduler.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_idle_scheduler //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `681` - // Estimated: `2166` - // Minimum execution time: 4_115 nanoseconds. - Weight::from_parts(4_350_000, 2166) + // Measured: `147` + // Estimated: `1632` + // Minimum execution time: 5_205 nanoseconds. + Weight::from_parts(5_623_000, 1632) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,20 +72,20 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `757` - // Estimated: `2242` - // Minimum execution time: 5_892 nanoseconds. - Weight::from_parts(6_114_000, 2242) + // Measured: `284` + // Estimated: `1769` + // Minimum execution time: 9_137 nanoseconds. + Weight::from_parts(9_421_000, 1769) .saturating_add(T::DbWeight::get().reads(3)) } // Storage: `IdleScheduler::Tasks` (r:0 w:1) // Proof: `IdleScheduler::Tasks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn clear_tasks() -> Weight { // Proof Size summary in bytes: - // Measured: `865` - // Estimated: `865` - // Minimum execution time: 9_007 nanoseconds. - Weight::from_parts(9_335_000, 865) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_275 nanoseconds. + Weight::from_parts(6_618_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `IdleScheduler::NextTaskId` (r:1 w:1) @@ -92,10 +94,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1073` - // Estimated: `2558` - // Minimum execution time: 16_303 nanoseconds. - Weight::from_parts(16_595_000, 2558) + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 16_377 nanoseconds. + Weight::from_parts(16_628_000, 1561) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/acala/src/weights/module_incentives.rs b/runtime/acala/src/weights/module_incentives.rs index 20b0be1d3..35a6288dd 100644 --- a/runtime/acala/src/weights/module_incentives.rs +++ b/runtime/acala/src/weights/module_incentives.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_incentives //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,60 +51,62 @@ pub struct WeightInfo(PhantomData); impl module_incentives::WeightInfo for WeightInfo { // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Rewards::PoolInfos` (r:5 w:0) + // Storage: `Rewards::PoolInfos` (r:6 w:0) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Incentives::IncentiveRewardAmounts` (r:8 w:0) + // Storage: `Incentives::IncentiveRewardAmounts` (r:10 w:0) // Proof: `Incentives::IncentiveRewardAmounts` (`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`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1301 + c * (206 ±0)` - // Estimated: `4788 + c * (5029 ±5)` - // Minimum execution time: 8_714 nanoseconds. - Weight::from_parts(12_404_068, 4788) - // Standard Error: 119_191 - .saturating_add(Weight::from_parts(16_393_891, 0).saturating_mul(c.into())) + // Measured: `449 + c * (79 ±0)` + // Estimated: `3842 + c * (5027 ±0)` + // Minimum execution time: 7_896 nanoseconds. + Weight::from_parts(12_268_354, 3842) + // Standard Error: 85_264 + .saturating_add(Weight::from_parts(21_868_463, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5029).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5027).saturating_mul(c.into())) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `1873` + // Measured: `526` // Estimated: `6234` - // Minimum execution time: 53_114 nanoseconds. - Weight::from_parts(54_442_000, 6234) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 72_649 nanoseconds. + Weight::from_parts(74_769_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `1880` + // Measured: `675` // Estimated: `6234` - // Minimum execution time: 54_824 nanoseconds. - Weight::from_parts(55_922_000, 6234) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 85_331 nanoseconds. + Weight::from_parts(87_467_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -114,45 +118,45 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Incentives::ClaimRewardDeductionCurrency` (r:1 w:0) // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `1925` - // Estimated: `5390` - // Minimum execution time: 82_338 nanoseconds. - Weight::from_parts(84_160_000, 5390) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `534` + // Estimated: `6196` + // Minimum execution time: 121_580 nanoseconds. + Weight::from_parts(124_097_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: `Incentives::IncentiveRewardAmounts` (r:4 w:4) + // Storage: `Incentives::IncentiveRewardAmounts` (r:5 w:5) // Proof: `Incentives::IncentiveRewardAmounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_incentive_rewards(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `759 + c * (93 ±0)` - // Estimated: `2029 + c * (2475 ±0)` - // Minimum execution time: 4_107 nanoseconds. - Weight::from_parts(6_747_378, 2029) - // Standard Error: 84_068 - .saturating_add(Weight::from_parts(6_365_252, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_367 nanoseconds. + Weight::from_parts(5_756_801, 1032) + // Standard Error: 44_821 + .saturating_add(Weight::from_parts(7_381_881, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) } - // Storage: `Incentives::ClaimRewardDeductionRates` (r:4 w:4) + // Storage: `Incentives::ClaimRewardDeductionRates` (r:5 w:5) // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_claim_reward_deduction_rates(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + c * (10 ±0)` - // Estimated: `1698 + c * (2475 ±0)` - // Minimum execution time: 4_097 nanoseconds. - Weight::from_parts(4_885_406, 1698) - // Standard Error: 17_876 - .saturating_add(Weight::from_parts(1_882_029, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_487 nanoseconds. + Weight::from_parts(4_930_228, 1032) + // Standard Error: 26_424 + .saturating_add(Weight::from_parts(3_373_569, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) @@ -161,10 +165,10 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_claim_reward_deduction_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1039` - // Estimated: `4504` - // Minimum execution time: 14_806 nanoseconds. - Weight::from_parts(15_373_000, 4504) + // Measured: `42` + // Estimated: `3507` + // Minimum execution time: 13_489 nanoseconds. + Weight::from_parts(13_875_000, 3507) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_liquid_crowdloan.rs b/runtime/acala/src/weights/module_liquid_crowdloan.rs index b4edfae6d..c5af2986e 100644 --- a/runtime/acala/src/weights/module_liquid_crowdloan.rs +++ b/runtime/acala/src/weights/module_liquid_crowdloan.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_liquid_crowdloan //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,27 +55,27 @@ impl module_liquid_crowdloan::WeightInfo for WeightInfo // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:2 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `1920` + // Measured: `592` // Estimated: `8856` - // Minimum execution time: 65_577 nanoseconds. - Weight::from_parts(67_298_000, 8856) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 95_064 nanoseconds. + Weight::from_parts(97_355_000, 8856) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `LiquidCrowdloan::RedeemCurrencyId` (r:0 w:1) // Proof: `LiquidCrowdloan::RedeemCurrencyId` (`max_values`: Some(1), `max_size`: Some(43), added: 538, mode: `MaxEncodedLen`) fn set_redeem_currency_id() -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_495 nanoseconds. - Weight::from_parts(11_980_000, 0) + // Minimum execution time: 7_847 nanoseconds. + Weight::from_parts(8_365_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/acala/src/weights/module_nft.rs b/runtime/acala/src/weights/module_nft.rs index 623079b71..99d265e77 100644 --- a/runtime/acala/src/weights/module_nft.rs +++ b/runtime/acala/src/weights/module_nft.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_nft //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -59,10 +61,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::Classes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_class() -> Weight { // Proof Size summary in bytes: - // Measured: `385` + // Measured: `266` // Estimated: `6196` - // Minimum execution time: 78_992 nanoseconds. - Weight::from_parts(81_540_000, 6196) + // Minimum execution time: 133_959 nanoseconds. + Weight::from_parts(137_251_000, 6196) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -81,12 +83,12 @@ impl module_nft::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 1000]`. fn mint(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2496` + // Measured: `2414` // Estimated: `6196` - // Minimum execution time: 102_549 nanoseconds. - Weight::from_parts(103_530_000, 6196) - // Standard Error: 18_656 - .saturating_add(Weight::from_parts(24_052_110, 0).saturating_mul(i.into())) + // Minimum execution time: 181_964 nanoseconds. + Weight::from_parts(102_605_333, 6196) + // Standard Error: 12_962 + .saturating_add(Weight::from_parts(42_867_465, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(i.into()))) @@ -103,10 +105,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::TokensByOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `4845` - // Estimated: `8310` - // Minimum execution time: 104_799 nanoseconds. - Weight::from_parts(106_390_000, 8310) + // Measured: `4712` + // Estimated: `8177` + // Minimum execution time: 183_268 nanoseconds. + Weight::from_parts(185_742_000, 8177) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -122,10 +124,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::TokensByOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `4744` - // Estimated: `8209` - // Minimum execution time: 70_623 nanoseconds. - Weight::from_parts(72_321_000, 8209) + // Measured: `4611` + // Estimated: `8076` + // Minimum execution time: 125_349 nanoseconds. + Weight::from_parts(127_753_000, 8076) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -142,12 +144,12 @@ impl module_nft::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3670016]`. fn burn_with_remark(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4744` - // Estimated: `8209` - // Minimum execution time: 68_570 nanoseconds. - Weight::from_parts(69_883_000, 8209) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_874, 0).saturating_mul(b.into())) + // Measured: `4611` + // Estimated: `8076` + // Minimum execution time: 125_760 nanoseconds. + Weight::from_parts(127_282_000, 8076) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_031, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -165,10 +167,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::NextTokenId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn destroy_class() -> Weight { // Proof Size summary in bytes: - // Measured: `2831` - // Estimated: `6296` - // Minimum execution time: 96_456 nanoseconds. - Weight::from_parts(100_529_000, 6296) + // Measured: `2697` + // Estimated: `6196` + // Minimum execution time: 170_384 nanoseconds. + Weight::from_parts(173_414_000, 6196) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -176,10 +178,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::Classes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_class_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `2339` - // Estimated: `5804` - // Minimum execution time: 18_346 nanoseconds. - Weight::from_parts(19_187_000, 5804) + // Measured: `2168` + // Estimated: `5633` + // Minimum execution time: 29_719 nanoseconds. + Weight::from_parts(30_351_000, 5633) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_nominees_election.rs b/runtime/acala/src/weights/module_nominees_election.rs index c0e796d8f..fbf32d08b 100644 --- a/runtime/acala/src/weights/module_nominees_election.rs +++ b/runtime/acala/src/weights/module_nominees_election.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_nominees_election //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `192.168.1.3`, CPU: `` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,6 +55,8 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `NomineesElection::Nominations` (r:1 w:0) // Proof: `NomineesElection::Nominations` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::PoolInfos` (r:1 w:1) @@ -61,12 +65,12 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2634` - // Estimated: `6099` - // Minimum execution time: 39_000 nanoseconds. - Weight::from_parts(40_000_000, 6099) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `699` + // Estimated: `4765` + // Minimum execution time: 63_779 nanoseconds. + Weight::from_parts(66_069_000, 4765) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -84,10 +88,10 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` - // Estimated: `5853` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 5853) + // Measured: `943` + // Estimated: `4765` + // Minimum execution time: 69_220 nanoseconds. + Weight::from_parts(70_717_000, 4765) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -104,12 +108,14 @@ impl module_nominees_election::WeightInfo for WeightInf // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 7]`. - fn rebond(_c: u32, ) -> Weight { + fn rebond(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2266` - // Estimated: `5731` - // Minimum execution time: 36_000 nanoseconds. - Weight::from_parts(37_652_826, 5731) + // Measured: `959` + // Estimated: `4765` + // Minimum execution time: 61_277 nanoseconds. + Weight::from_parts(63_492_973, 4765) + // Standard Error: 12_733 + .saturating_add(Weight::from_parts(3_848, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -124,12 +130,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 7]`. fn withdraw_unbonded(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2168` - // Estimated: `5633` - // Minimum execution time: 33_000 nanoseconds. - Weight::from_parts(34_118_349, 5633) - // Standard Error: 21_099 - .saturating_add(Weight::from_parts(96_491, 0).saturating_mul(c.into())) + // Measured: `723` + // Estimated: `4765` + // Minimum execution time: 50_402 nanoseconds. + Weight::from_parts(52_678_663, 4765) + // Standard Error: 10_402 + .saturating_add(Weight::from_parts(26_530, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -144,12 +150,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 16]`. fn nominate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508 + c * (72 ±0)` - // Estimated: `4973 + c * (2547 ±0)` - // Minimum execution time: 22_000 nanoseconds. - Weight::from_parts(19_125_174, 4973) - // Standard Error: 12_496 - .saturating_add(Weight::from_parts(3_924_043, 0).saturating_mul(c.into())) + // Measured: `474 + c * (72 ±0)` + // Estimated: `3939 + c * (2547 ±0)` + // Minimum execution time: 32_137 nanoseconds. + Weight::from_parts(27_451_890, 3939) + // Standard Error: 12_376 + .saturating_add(Weight::from_parts(7_850_410, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -165,12 +171,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 16]`. fn chill(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1372 + c * (93 ±0)` - // Estimated: `4835 + c * (2569 ±0)` - // Minimum execution time: 21_000 nanoseconds. - Weight::from_parts(19_737_152, 4835) - // Standard Error: 11_893 - .saturating_add(Weight::from_parts(2_815_068, 0).saturating_mul(c.into())) + // Measured: `371 + c * (93 ±0)` + // Estimated: `3834 + c * (2569 ±0)` + // Minimum execution time: 30_910 nanoseconds. + Weight::from_parts(28_051_433, 3834) + // Standard Error: 7_485 + .saturating_add(Weight::from_parts(5_330_828, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -182,12 +188,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 4]`. fn reset_reserved_nominees(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1001` - // Estimated: `1001` - // Minimum execution time: 11_000 nanoseconds. - Weight::from_parts(8_689_832, 1001) - // Standard Error: 19_101 - .saturating_add(Weight::from_parts(3_395_132, 0).saturating_mul(c.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_497 nanoseconds. + Weight::from_parts(6_410_180, 0) + // Standard Error: 11_401 + .saturating_add(Weight::from_parts(5_847_197, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } } diff --git a/runtime/acala/src/weights/module_prices.rs b/runtime/acala/src/weights/module_prices.rs index 6d50e3781..e7cb79c01 100644 --- a/runtime/acala/src/weights/module_prices.rs +++ b/runtime/acala/src/weights/module_prices.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_prices //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn lock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1422` - // Estimated: `4887` - // Minimum execution time: 23_614 nanoseconds. - Weight::from_parts(24_266_000, 4887) + // Measured: `314` + // Estimated: `3779` + // Minimum execution time: 23_704 nanoseconds. + Weight::from_parts(24_429_000, 3779) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,10 +68,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn unlock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1123` + // Measured: `159` // Estimated: `3532` - // Minimum execution time: 17_142 nanoseconds. - Weight::from_parts(17_897_000, 3532) + // Minimum execution time: 15_336 nanoseconds. + Weight::from_parts(15_898_000, 3532) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_session_manager.rs b/runtime/acala/src/weights/module_session_manager.rs index 91ba62e71..ef69501ed 100644 --- a/runtime/acala/src/weights/module_session_manager.rs +++ b/runtime/acala/src/weights/module_session_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_session_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn schedule_session_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `1556` - // Estimated: `3041` - // Minimum execution time: 19_464 nanoseconds. - Weight::from_parts(20_302_000, 3041) + // Measured: `410` + // Estimated: `1895` + // Minimum execution time: 19_567 nanoseconds. + Weight::from_parts(20_292_000, 1895) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,10 +70,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn on_initialize_skip() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 5_555 nanoseconds. - Weight::from_parts(5_978_000, 3485) + // Minimum execution time: 7_570 nanoseconds. + Weight::from_parts(7_816_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,10 +85,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 6_151 nanoseconds. - Weight::from_parts(6_415_000, 3485) + // Minimum execution time: 8_591 nanoseconds. + Weight::from_parts(8_899_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -96,10 +98,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_current_session_progress() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_135 nanoseconds. - Weight::from_parts(4_346_000, 1489) + // Minimum execution time: 5_463 nanoseconds. + Weight::from_parts(5_707_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `SessionManager::DurationOffset` (r:1 w:0) @@ -108,10 +110,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_next_session_rotation() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_172 nanoseconds. - Weight::from_parts(4_407_000, 1489) + // Minimum execution time: 5_569 nanoseconds. + Weight::from_parts(5_768_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } } diff --git a/runtime/acala/src/weights/module_transaction_pause.rs b/runtime/acala/src/weights/module_transaction_pause.rs index f68b4c327..fa74e5a45 100644 --- a/runtime/acala/src/weights/module_transaction_pause.rs +++ b/runtime/acala/src/weights/module_transaction_pause.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_pause //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1172` - // Estimated: `4637` - // Minimum execution time: 15_494 nanoseconds. - Weight::from_parts(15_915_000, 4637) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 13_121 nanoseconds. + Weight::from_parts(13_630_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1223` - // Estimated: `4688` - // Minimum execution time: 16_582 nanoseconds. - Weight::from_parts(17_124_000, 4688) + // Measured: `55` + // Estimated: `3520` + // Minimum execution time: 14_590 nanoseconds. + Weight::from_parts(15_065_000, 3520) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,10 +75,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1172` - // Estimated: `4637` - // Minimum execution time: 15_061 nanoseconds. - Weight::from_parts(15_417_000, 4637) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 13_191 nanoseconds. + Weight::from_parts(13_459_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -84,10 +86,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1233` - // Estimated: `4698` - // Minimum execution time: 16_832 nanoseconds. - Weight::from_parts(17_348_000, 4698) + // Measured: `65` + // Estimated: `3530` + // Minimum execution time: 14_907 nanoseconds. + Weight::from_parts(15_425_000, 3530) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/module_transaction_payment.rs b/runtime/acala/src/weights/module_transaction_payment.rs index edd0cacce..867b64152 100644 --- a/runtime/acala/src/weights/module_transaction_payment.rs +++ b/runtime/acala/src/weights/module_transaction_payment.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_payment //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,16 +51,18 @@ pub struct WeightInfo(PhantomData); impl module_transaction_payment::WeightInfo for WeightInfo { // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `TransactionPayment::AlternativeFeeSwapPath` (r:0 w:1) // Proof: `TransactionPayment::AlternativeFeeSwapPath` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_alternative_fee_swap_path() -> Weight { // Proof Size summary in bytes: - // Measured: `1438` + // Measured: `101` // Estimated: `3633` - // Minimum execution time: 30_358 nanoseconds. - Weight::from_parts(31_010_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 35_658 nanoseconds. + Weight::from_parts(36_817_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `TransactionPayment::PoolSize` (r:1 w:1) // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -80,10 +84,10 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::SwapBalanceThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `2305` + // Measured: `541` // Estimated: `11670` - // Minimum execution time: 100_735 nanoseconds. - Weight::from_parts(102_555_000, 11670) + // Minimum execution time: 149_078 nanoseconds. + Weight::from_parts(152_328_000, 11670) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -103,42 +107,42 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1811` + // Measured: `697` // Estimated: `6234` - // Minimum execution time: 85_461 nanoseconds. - Weight::from_parts(87_604_000, 6234) + // Minimum execution time: 129_434 nanoseconds. + Weight::from_parts(132_000_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(7)) } fn with_fee_path() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_642 nanoseconds. - Weight::from_parts(7_879_000, 0) + // Minimum execution time: 11_790 nanoseconds. + Weight::from_parts(12_000_000, 0) } fn with_fee_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_375 nanoseconds. - Weight::from_parts(8_631_000, 0) + // Minimum execution time: 14_737 nanoseconds. + Weight::from_parts(15_396_000, 0) } fn with_fee_aggregated_path() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_795 nanoseconds. - Weight::from_parts(9_066_000, 0) + // Minimum execution time: 15_448 nanoseconds. + Weight::from_parts(16_445_000, 0) } // Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:1) // Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `955` - // Estimated: `2440` - // Minimum execution time: 8_136 nanoseconds. - Weight::from_parts(8_578_000, 2440) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 5_520 nanoseconds. + Weight::from_parts(5_808_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/nutsfinance_stable_asset.rs b/runtime/acala/src/weights/nutsfinance_stable_asset.rs index 49c6ae9c5..45bb5a6ea 100644 --- a/runtime/acala/src/weights/nutsfinance_stable_asset.rs +++ b/runtime/acala/src/weights/nutsfinance_stable_asset.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for nutsfinance_stable_asset //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1345` - // Estimated: `4810` - // Minimum execution time: 23_339 nanoseconds. - Weight::from_parts(23_968_000, 4810) + // Measured: `56` + // Estimated: `3593` + // Minimum execution time: 24_306 nanoseconds. + Weight::from_parts(25_000_000, 3593) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -66,10 +68,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_a() -> Weight { // Proof Size summary in bytes: - // Measured: `1538` - // Estimated: `5003` - // Minimum execution time: 19_819 nanoseconds. - Weight::from_parts(20_242_000, 5003) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 18_485 nanoseconds. + Weight::from_parts(19_293_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_fees() -> Weight { // Proof Size summary in bytes: - // Measured: `1538` - // Estimated: `5003` - // Minimum execution time: 18_727 nanoseconds. - Weight::from_parts(19_573_000, 5003) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_555 nanoseconds. + Weight::from_parts(18_215_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,16 +90,16 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_recipients() -> Weight { // Proof Size summary in bytes: - // Measured: `1538` - // Estimated: `5003` - // Minimum execution time: 18_786 nanoseconds. - Weight::from_parts(19_354_000, 5003) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_316 nanoseconds. + Weight::from_parts(18_103_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:3 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -109,26 +111,28 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn mint(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2333 + u * (167 ±0)` - // Estimated: `6196 + u * (5244 ±0)` - // Minimum execution time: 144_353 nanoseconds. - Weight::from_parts(74_954_689, 6196) - // Standard Error: 316_516 - .saturating_add(Weight::from_parts(39_086_822, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `805 + u * (134 ±0)` + // Estimated: `8799 + u * (5244 ±0)` + // Minimum execution time: 237_390 nanoseconds. + Weight::from_parts(142_446_141, 8799) + // Standard Error: 426_847 + .saturating_add(Weight::from_parts(54_136_923, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:6 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -145,20 +149,20 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn swap(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2560 + u * (164 ±0)` - // Estimated: `6034 + u * (2622 ±0)` - // Minimum execution time: 1_903_375 nanoseconds. - Weight::from_parts(525_963_057, 6034) - // Standard Error: 5_332_337 - .saturating_add(Weight::from_parts(740_601_451, 0).saturating_mul(u.into())) + // Measured: `1050 + u * (164 ±0)` + // Estimated: `6196 + u * (2645 ±7)` + // Minimum execution time: 223_259 nanoseconds. + Weight::from_parts(196_337_496, 6196) + // Standard Error: 525_029 + .saturating_add(Weight::from_parts(15_448_372, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(6)) - .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 2645).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -175,48 +179,51 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_proportion(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2502 + u * (229 ±0)` - // Estimated: `5975 + u * (5244 ±0)` - // Minimum execution time: 170_053 nanoseconds. - Weight::from_parts(103_128_928, 5975) - // Standard Error: 228_662 - .saturating_add(Weight::from_parts(37_719_569, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 252_389 nanoseconds. + Weight::from_parts(160_285_551, 6196) + // Standard Error: 391_718 + .saturating_add(Weight::from_parts(53_027_706, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } - // Storage: `StableAsset::Pools` (r:1 w:0) + // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:4 w:0) + // Storage: `Tokens::Accounts` (r:6 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::ToBondPool` (r:1 w:0) // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:1 w:0) + // Storage: `Tokens::TotalIssuance` (r:2 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) + // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn redeem_single(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1630 + u * (225 ±0)` - // Estimated: `5145 + u * (1016 ±0)` - // Minimum execution time: 1_495_762 nanoseconds. - Weight::from_parts(793_943_725, 5145) - // Standard Error: 1_267_338 - .saturating_add(Weight::from_parts(370_164_386, 0).saturating_mul(u.into())) + // Measured: `1053 + u * (164 ±0)` + // Estimated: `6196 + u * (2622 ±0)` + // Minimum execution time: 230_462 nanoseconds. + Weight::from_parts(213_349_039, 6196) + // Standard Error: 665_963 + .saturating_add(Weight::from_parts(16_502_081, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 1016).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -233,15 +240,15 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_multi(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2502 + u * (229 ±0)` - // Estimated: `5975 + u * (5244 ±0)` - // Minimum execution time: 147_592 nanoseconds. - Weight::from_parts(66_503_575, 5975) - // Standard Error: 426_108 - .saturating_add(Weight::from_parts(45_813_398, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 218_792 nanoseconds. + Weight::from_parts(132_812_422, 6196) + // Standard Error: 406_549 + .saturating_add(Weight::from_parts(48_929_061, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } diff --git a/runtime/acala/src/weights/orml_auction.rs b/runtime/acala/src/weights/orml_auction.rs index dc857ca56..e6854ecec 100644 --- a/runtime/acala/src/weights/orml_auction.rs +++ b/runtime/acala/src/weights/orml_auction.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_auction //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,7 +55,7 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `AuctionManager::CollateralAuctions` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -61,12 +63,12 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `2500` + // Measured: `1127` // Estimated: `8856` - // Minimum execution time: 84_436 nanoseconds. - Weight::from_parts(86_379_000, 8856) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 120_827 nanoseconds. + Weight::from_parts(123_462_000, 8856) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: `Auction::AuctionEndTime` (r:101 w:100) // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) @@ -95,12 +97,12 @@ impl orml_auction::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 100]`. fn on_finalize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2632 + c * (979 ±0)` + // Measured: `1048 + c * (177 ±0)` // Estimated: `9000 + c * (2614 ±0)` - // Minimum execution time: 94_122 nanoseconds. - Weight::from_parts(45_376_805, 9000) - // Standard Error: 23_749 - .saturating_add(Weight::from_parts(42_560_599, 0).saturating_mul(c.into())) + // Minimum execution time: 129_985 nanoseconds. + Weight::from_parts(56_520_260, 9000) + // Standard Error: 24_525 + .saturating_add(Weight::from_parts(70_537_558, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/acala/src/weights/orml_authority.rs b/runtime/acala/src/weights/orml_authority.rs index ca4e091ad..9a0a86e21 100644 --- a/runtime/acala/src/weights/orml_authority.rs +++ b/runtime/acala/src/weights/orml_authority.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_authority //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,10 +51,10 @@ pub struct WeightInfo(PhantomData); impl orml_authority::WeightInfo for WeightInfo { fn dispatch_as() -> Weight { // Proof Size summary in bytes: - // Measured: `997` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_890 nanoseconds. - Weight::from_parts(13_435_000, 0) + // Minimum execution time: 10_674 nanoseconds. + Weight::from_parts(11_050_000, 0) } // Storage: `Authority::NextTaskIndex` (r:1 w:1) // Proof: `Authority::NextTaskIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -62,10 +64,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn schedule_dispatch_without_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` + // Measured: `146` // Estimated: `11318` - // Minimum execution time: 24_510 nanoseconds. - Weight::from_parts(25_226_000, 11318) + // Minimum execution time: 28_462 nanoseconds. + Weight::from_parts(28_986_000, 11318) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -77,10 +79,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn schedule_dispatch_with_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` + // Measured: `146` // Estimated: `11318` - // Minimum execution time: 25_230 nanoseconds. - Weight::from_parts(25_789_000, 11318) + // Minimum execution time: 29_280 nanoseconds. + Weight::from_parts(29_933_000, 11318) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -90,10 +92,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn fast_track_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` + // Measured: `163` // Estimated: `21646` - // Minimum execution time: 32_093 nanoseconds. - Weight::from_parts(32_872_000, 21646) + // Minimum execution time: 39_197 nanoseconds. + Weight::from_parts(40_015_000, 21646) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,10 +105,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn delay_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` + // Measured: `163` // Estimated: `21646` - // Minimum execution time: 31_628 nanoseconds. - Weight::from_parts(32_586_000, 21646) + // Minimum execution time: 39_297 nanoseconds. + Weight::from_parts(39_969_000, 21646) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,10 +118,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn cancel_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` + // Measured: `163` // Estimated: `11318` - // Minimum execution time: 25_726 nanoseconds. - Weight::from_parts(26_663_000, 11318) + // Minimum execution time: 28_546 nanoseconds. + Weight::from_parts(29_223_000, 11318) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,20 +129,20 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn authorize_call() -> Weight { // Proof Size summary in bytes: - // Measured: `997` - // Estimated: `997` - // Minimum execution time: 13_759 nanoseconds. - Weight::from_parts(14_063_000, 997) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_273 nanoseconds. + Weight::from_parts(11_778_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Authority::SavedCalls` (r:1 w:1) // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1338` - // Estimated: `4803` - // Minimum execution time: 18_790 nanoseconds. - Weight::from_parts(19_355_000, 4803) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 16_196 nanoseconds. + Weight::from_parts(16_755_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +150,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn trigger_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1338` - // Estimated: `4803` - // Minimum execution time: 22_321 nanoseconds. - Weight::from_parts(22_918_000, 4803) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 21_707 nanoseconds. + Weight::from_parts(22_390_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/acala/src/weights/orml_oracle.rs b/runtime/acala/src/weights/orml_oracle.rs index 986f1fea9..cb88ea31a 100644 --- a/runtime/acala/src/weights/orml_oracle.rs +++ b/runtime/acala/src/weights/orml_oracle.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_oracle //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,39 +49,39 @@ use sp_std::marker::PhantomData; /// Weight functions for orml_oracle. pub struct WeightInfo(PhantomData); impl orml_oracle::WeightInfo for WeightInfo { + // Storage: `OperatorMembershipAcala::Members` (r:1 w:0) + // Proof: `OperatorMembershipAcala::Members` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `AcalaOracle::HasDispatched` (r:1 w:1) // Proof: `AcalaOracle::HasDispatched` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, 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: `OperatorMembershipAcala::Members` (r:1 w:0) - // Proof: `OperatorMembershipAcala::Members` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:4 w:0) - // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::RawValues` (r:0 w:4) + // Storage: `AcalaOracle::RawValues` (r:3 w:3) // Proof: `AcalaOracle::RawValues` (`max_values`: None, `max_size`: Some(115), added: 2590, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. - fn feed_values(c: u32, ) -> Weight { + // Storage: `AcalaOracle::Values` (r:3 w:0) + // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// The range of component `x` is `[0, 3]`. + fn feed_values(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1236 + c * (16 ±0)` - // Estimated: `3086 + c * (2550 ±0)` - // Minimum execution time: 15_774 nanoseconds. - Weight::from_parts(17_602_472, 3086) - // Standard Error: 40_741 - .saturating_add(Weight::from_parts(5_873_719, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + // Measured: `213` + // Estimated: `3086 + x * (2590 ±0)` + // Minimum execution time: 18_319 nanoseconds. + Weight::from_parts(19_956_228, 3086) + // Standard Error: 29_994 + .saturating_add(Weight::from_parts(12_904_599, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2550).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_parts(0, 2590).saturating_mul(x.into())) } // Storage: `AcalaOracle::HasDispatched` (r:0 w:1) // Proof: `AcalaOracle::HasDispatched` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `872` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_414 nanoseconds. - Weight::from_parts(6_691_000, 0) + // Minimum execution time: 1_651 nanoseconds. + Weight::from_parts(1_740_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/acala/src/weights/orml_tokens.rs b/runtime/acala/src/weights/orml_tokens.rs index 64d3a9fa8..fd636b0c5 100644 --- a/runtime/acala/src/weights/orml_tokens.rs +++ b/runtime/acala/src/weights/orml_tokens.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_tokens //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,33 +51,33 @@ pub struct WeightInfo(PhantomData); impl orml_tokens::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `1610` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 41_738 nanoseconds. - Weight::from_parts(42_375_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 57_024 nanoseconds. + Weight::from_parts(58_942_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `1610` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 44_719 nanoseconds. - Weight::from_parts(45_705_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 61_064 nanoseconds. + Weight::from_parts(62_679_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,25 +85,27 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1328` + // Measured: `262` // Estimated: `6234` - // Minimum execution time: 31_158 nanoseconds. - Weight::from_parts(31_968_000, 6234) + // Minimum execution time: 38_141 nanoseconds. + Weight::from_parts(39_591_000, 6234) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1464` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 33_878 nanoseconds. - Weight::from_parts(35_067_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 57_221 nanoseconds. + Weight::from_parts(58_742_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -111,10 +115,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 24_776 nanoseconds. - Weight::from_parts(25_373_000, 3612) + // Minimum execution time: 28_785 nanoseconds. + Weight::from_parts(29_837_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/acala/src/weights/orml_vesting.rs b/runtime/acala/src/weights/orml_vesting.rs index 0a7ae0a8f..0b80f0c9c 100644 --- a/runtime/acala/src/weights/orml_vesting.rs +++ b/runtime/acala/src/weights/orml_vesting.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_vesting //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-41-141`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("acala-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=acala-dev +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -61,10 +63,10 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1686` + // Measured: `407` // Estimated: `6315` - // Minimum execution time: 37_746 nanoseconds. - Weight::from_parts(38_858_000, 6315) + // Minimum execution time: 47_864 nanoseconds. + Weight::from_parts(49_382_000, 6315) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -78,17 +80,19 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `i` is `[1, 100]`. fn claim(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1826` + // Measured: `495` // Estimated: `6315` - // Minimum execution time: 39_281 nanoseconds. - Weight::from_parts(40_520_471, 6315) - // Standard Error: 509 - .saturating_add(Weight::from_parts(6_511, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 46_495 nanoseconds. + Weight::from_parts(48_570_525, 6315) + // Standard Error: 574 + .saturating_add(Weight::from_parts(5_057, 0).saturating_mul(i.into())) + .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`) @@ -101,12 +105,12 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1298` + // Measured: `52` // Estimated: `4764` - // Minimum execution time: 30_961 nanoseconds. - Weight::from_parts(32_305_851, 4764) - // Standard Error: 391 - .saturating_add(Weight::from_parts(37_893, 0).saturating_mul(i.into())) + // Minimum execution time: 37_265 nanoseconds. + Weight::from_parts(38_589_843, 4764) + // Standard Error: 544 + .saturating_add(Weight::from_parts(38_486, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/acala/src/weights/pallet_xcm.rs b/runtime/acala/src/weights/pallet_xcm.rs index dbe532b9a..e56f7230d 100644 --- a/runtime/acala/src/weights/pallet_xcm.rs +++ b/runtime/acala/src/weights/pallet_xcm.rs @@ -16,367 +16,343 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Autogenerated weights for `pallet_xcm` +//! Autogenerated weights for pallet_xcm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-01-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-polkadot-chain-spec.json")`, DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-17-239`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./asset-hub-polkadot-chain-spec.json +// --runtime +// target/release/wbuild/acala-runtime/acala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 -// --pallet=pallet_xcm +// --pallet=* // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./asset-hub-polkadot-weights/ -// --header=./file_header.txt +// --template=./templates/runtime-weight-template.hbs +// --output=./runtime/acala/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_xcm`. +/// Weight functions for pallet_xcm. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 29_860_000 picoseconds. - Weight::from_parts(30_671_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 41_316 nanoseconds. + Weight::from_parts(42_965_000, 3848) + .saturating_add(T::DbWeight::get().reads(3)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3593` - // Minimum execution time: 130_001_000 picoseconds. - Weight::from_parts(130_811_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // 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) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) - /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:1 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `296` - // Estimated: `6196` - // Minimum execution time: 161_501_000 picoseconds. - Weight::from_parts(162_771_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `957` + // Estimated: `4422` + // Minimum execution time: 162_099 nanoseconds. + Weight::from_parts(164_821_000, 4422) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:2 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:2 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:2 w:2) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `477` - // Estimated: `6208` - // Minimum execution time: 196_592_000 picoseconds. - Weight::from_parts(197_972_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `1257` + // Estimated: `7197` + // Minimum execution time: 227_862 nanoseconds. + Weight::from_parts(232_794_000, 7197) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(7)) } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `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: 13_770_000 picoseconds. - Weight::from_parts(14_070_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + // Proof: `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: 9_360_000 picoseconds. - Weight::from_parts(9_520_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 12_073 nanoseconds. + Weight::from_parts(12_485_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_090_000 picoseconds. - Weight::from_parts(3_350_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_934 nanoseconds. + Weight::from_parts(4_097_000, 0) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 37_560_000 picoseconds. - Weight::from_parts(38_101_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 47_652 nanoseconds. + Weight::from_parts(49_727_000, 3848) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 36_810_000 picoseconds. - Weight::from_parts(37_371_000, 0) - .saturating_add(Weight::from_parts(0, 3601)) + // Measured: `507` + // Estimated: `108971` + // Minimum execution time: 51_583 nanoseconds. + Weight::from_parts(53_585_000, 108971) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) - /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + // Proof: `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: 3_240_000 picoseconds. - Weight::from_parts(3_360_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_898 nanoseconds. + Weight::from_parts(4_042_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `22` - // Estimated: `13387` - // Minimum execution time: 24_551_000 picoseconds. - Weight::from_parts(24_920_000, 0) - .saturating_add(Weight::from_parts(0, 13387)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15862` + // Minimum execution time: 30_534 nanoseconds. + Weight::from_parts(30_966_000, 15862) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `26` - // Estimated: `13391` - // Minimum execution time: 24_760_000 picoseconds. - Weight::from_parts(25_140_000, 0) - .saturating_add(Weight::from_parts(0, 13391)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15866` + // Minimum execution time: 30_778 nanoseconds. + Weight::from_parts(31_231_000, 15866) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `37` - // Estimated: `15877` - // Minimum execution time: 27_270_000 picoseconds. - Weight::from_parts(27_560_000, 0) - .saturating_add(Weight::from_parts(0, 15877)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 35_462 nanoseconds. + Weight::from_parts(36_179_000, 18354) + .saturating_add(T::DbWeight::get().reads(7)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `6015` - // Minimum execution time: 36_540_000 picoseconds. - Weight::from_parts(37_370_000, 0) - .saturating_add(Weight::from_parts(0, 6015)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `183` + // Estimated: `6123` + // Minimum execution time: 31_599 nanoseconds. + Weight::from_parts(32_615_000, 6123) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `36` - // Estimated: `10926` - // Minimum execution time: 17_350_000 picoseconds. - Weight::from_parts(17_720_000, 0) - .saturating_add(Weight::from_parts(0, 10926)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 25_075 nanoseconds. + Weight::from_parts(25_597_000, 13404) + .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `33` - // Estimated: `13398` - // Minimum execution time: 24_660_000 picoseconds. - Weight::from_parts(25_300_000, 0) - .saturating_add(Weight::from_parts(0, 13398)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15873` + // Minimum execution time: 31_058 nanoseconds. + Weight::from_parts(31_746_000, 15873) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `13440` - // Minimum execution time: 48_760_000 picoseconds. - Weight::from_parts(49_330_000, 0) - .saturating_add(Weight::from_parts(0, 13440)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `183` + // Estimated: `16023` + // Minimum execution time: 46_533 nanoseconds. + Weight::from_parts(47_506_000, 16023) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_470_000 picoseconds. - Weight::from_parts(3_710_000, 0) - .saturating_add(Weight::from_parts(0, 1485)) + // Minimum execution time: 4_236 nanoseconds. + Weight::from_parts(4_437_000, 1485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::Queries` (r:1 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:1 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 33_640_000 picoseconds. - Weight::from_parts(34_211_000, 0) - .saturating_add(Weight::from_parts(0, 11041)) + // Minimum execution time: 38_143 nanoseconds. + Weight::from_parts(38_905_000, 11041) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) - /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + // Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Tokens::Accounts` (r:1 w:1) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 50_670_000 picoseconds. - Weight::from_parts(51_520_000, 0) - .saturating_add(Weight::from_parts(0, 3488)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `233` + // Estimated: `3698` + // Minimum execution time: 57_684 nanoseconds. + Weight::from_parts(59_942_000, 3698) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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)) - } + } } diff --git a/runtime/integration-tests/src/runtime.rs b/runtime/integration-tests/src/runtime.rs index 7b2b34167..8185a2adf 100644 --- a/runtime/integration-tests/src/runtime.rs +++ b/runtime/integration-tests/src/runtime.rs @@ -518,7 +518,7 @@ mod mandala_only_tests { ).unwrap().0, @r###" ValidTransaction { - priority: 60975980945150000, + priority: 72934097558400000, requires: [], provides: [], longevity: 18446744073709551615, diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 76f3923dd..748eb080e 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -2064,6 +2064,9 @@ type Migrations = (RemoveXTokensMigrationStatus); #[cfg(feature = "runtime-benchmarks")] mod benches { + use super::*; + use alloc::boxed::Box; + frame_benchmarking::define_benchmarks!( [module_aggregated_dex, AggregatedDex] [module_asset_registry, AssetRegistry] @@ -2094,16 +2097,182 @@ mod benches { [orml_vesting, Vesting] // Acala Ecosystem Modules [nutsfinance_stable_asset, StableAsset] - // XCM - // [pallet_xcm, PalletXcmExtrinsicsBenchmark::] + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] ); + use crate::xcm_config::AssetHubLocation; + use cumulus_primitives_core::{Asset, Assets, Fungible, GeneralKey, Location, ParaId, Parachain, ParentThen}; + use frame_benchmarking::BenchmarkError; + + const KSM_UNITS: Balance = 100_000_000_000_000; + const KSM_CENTS: Balance = KSM_UNITS / 100; + + parameter_types! { + pub AssetHubParaId: ParaId = ParaId::from(parachains::asset_hub_kusama::ID); + pub FeeAssetId: AssetId = AssetId(Location::parent()); + pub const ToSiblingBaseDeliveryFee: u128 = KSM_CENTS.saturating_mul(3); + } + + pub type PriceForSiblingParachainDelivery = polkadot_runtime_common::xcm_sender::ExponentialPrice< + FeeAssetId, + ToSiblingBaseDeliveryFee, + TransactionByteFee, + XcmpQueue, + >; + + parameter_types! { + pub ExistentialDepositAsset: Option = Some(( + Location::parent(), + NativeTokenExistentialDeposit::get() + ).into()); + pub const RandomParaId: ParaId = ParaId::new(43211234); + } + + impl pallet_xcm::benchmarking::Config for Runtime { + type DeliveryHelper = ( + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + RandomParaId, + ParachainSystem, + >, + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >, + ); + + fn reachable_dest() -> Option { + Some(AssetHubLocation::get()) + } + + fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { + // XcmTeleportFilter is Nothing + None + } + + fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let encoded = KAR.encode(); + let mut data = [0u8; 32]; + let len = encoded.len().min(32); + data[..len].copy_from_slice(&encoded[..len]); + + Some(( + Asset { + id: AssetId(Location::new( + 0, + GeneralKey { + data: data, + length: encoded.len() as u8, + }, + )), + fun: Fungible(NativeTokenExistentialDeposit::get() * 100), + }, + ParentThen(Parachain(RandomParaId::get().into()).into()).into(), + )) + } + + fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box)> { + // transfer KUSD from this parachain to RandomParaId parachain + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let dest = Location::new(1, Parachain(RandomParaId::get().into())); + + // fee asset + let fee_amount = NativeTokenExistentialDeposit::get(); + let kar_encoded = KAR.encode(); + let mut kar_data = [0u8; 32]; + let len = kar_encoded.len().min(32); + kar_data[..len].copy_from_slice(&kar_encoded[..len]); + let fee_location = Location::new( + 0, + GeneralKey { + data: kar_data, + length: kar_encoded.len() as u8, + }, + ); + let fee_asset: Asset = (fee_location, fee_amount).into(); + + // asset to transfer + let asset_amount = 1_000_000_000_000u128; + let asset_balance = asset_amount * 10; + let kusd_encoded = KUSD.encode(); + let mut kusd_data = [0u8; 32]; + let len = kusd_encoded.len().min(32); + kusd_data[..len].copy_from_slice(&kusd_encoded[..len]); + let asset_location = Location::new( + 0, + GeneralKey { + data: kusd_data, + length: kusd_encoded.len() as u8, + }, + ); + let transfer_asset: Asset = (asset_location, asset_amount).into(); + + let assets: Assets = vec![fee_asset.clone(), transfer_asset].into(); + + let who = frame_benchmarking::whitelisted_caller(); + // Give some multiple of the existential deposit + let native_balance = NativeTokenExistentialDeposit::get() * 1000; + let _ = >::make_free_balance_be(&who, native_balance); + let _ = Tokens::deposit(KUSD, &who, asset_balance); + // verify initial balance + assert_eq!(Balances::free_balance(&who), native_balance); + assert_eq!(Tokens::free_balance(KUSD, &who), asset_balance); + + let fee_index = if assets.get(0).unwrap().eq(&fee_asset) { 0 } else { 1 }; + + // verify transferred successfully + let verify = Box::new(move || { + // verify native balance after transfer, decreased by transferred fee amount + // (plus transport fees) + assert!(Balances::free_balance(&who) <= native_balance - fee_amount); + // verify asset balance after transfer, decreased by transferred asset amount + assert_eq!(Tokens::free_balance(KUSD, &who), asset_balance - asset_amount); + }); + Some((assets, fee_index as u32, dest, verify)) + } + + fn get_asset() -> Asset { + Asset { + id: AssetId(Location::parent()), + fun: Fungible(KSM_UNITS), + } + } + } + + impl pallet_xcm_benchmarks::Config for Runtime { + type XcmConfig = xcm_config::XcmConfig; + type AccountIdConverter = xcm_config::LocationToAccountId; + type DeliveryHelper = polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >; + fn valid_destination() -> Result { + Ok(AssetHubLocation::get()) + } + fn worst_case_holding(_depositable_count: u32) -> Assets { + let assets: Vec = vec![Asset { + id: AssetId(Location::parent()), + fun: Fungible(1_000 * KSM_UNITS), + }]; + assets.into() + } + } + pub use frame_benchmarking::{BenchmarkBatch, BenchmarkList}; pub use frame_support::traits::{StorageInfoTrait, WhitelistedStorageKeys}; - // pub use frame_system_benchmarking::{ - // extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench, - // }; + pub use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub use sp_storage::TrackedStorageKey; } diff --git a/runtime/karura/src/weights/module_aggregated_dex.rs b/runtime/karura/src/weights/module_aggregated_dex.rs index 5e92d4a16..64bb9c6f5 100644 --- a/runtime/karura/src/weights/module_aggregated_dex.rs +++ b/runtime/karura/src/weights/module_aggregated_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_aggregated_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,22 +53,22 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1810 + u * (112 ±0)` - // Estimated: `6234 + u * (643 ±19)` - // Minimum execution time: 86_259 nanoseconds. - Weight::from_parts(67_771_152, 6234) - // Standard Error: 61_415 - .saturating_add(Weight::from_parts(10_818_611, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `475 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±18)` + // Minimum execution time: 122_110 nanoseconds. + Weight::from_parts(94_948_243, 6234) + // Standard Error: 80_565 + .saturating_add(Weight::from_parts(15_368_270, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } @@ -74,36 +76,36 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1810 + u * (112 ±0)` + // Measured: `475 + u * (112 ±0)` // Estimated: `6234 + u * (643 ±19)` - // Minimum execution time: 95_298 nanoseconds. - Weight::from_parts(64_956_571, 6234) - // Standard Error: 61_099 - .saturating_add(Weight::from_parts(16_534_619, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 133_919 nanoseconds. + Weight::from_parts(87_310_012, 6234) + // Standard Error: 89_723 + .saturating_add(Weight::from_parts(25_151_193, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } - // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:5) + // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:3) // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 6]`. + /// The range of component `n` is `[0, 4]`. fn update_aggregated_swap_paths(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `666` - // Estimated: `666` - // Minimum execution time: 4_016 nanoseconds. - Weight::from_parts(3_709_961, 666) - // Standard Error: 10_856 - .saturating_add(Weight::from_parts(1_408_390, 0).saturating_mul(n.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_290 nanoseconds. + Weight::from_parts(2_664_246, 0) + // Standard Error: 35_203 + .saturating_add(Weight::from_parts(2_471_956, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/runtime/karura/src/weights/module_asset_registry.rs b/runtime/karura/src/weights/module_asset_registry.rs index 23850d484..ab67aef3e 100644 --- a/runtime/karura/src/weights/module_asset_registry.rs +++ b/runtime/karura/src/weights/module_asset_registry.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_asset_registry //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `4572` - // Minimum execution time: 21_834 nanoseconds. - Weight::from_parts(22_696_000, 4572) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 24_884 nanoseconds. + Weight::from_parts(25_664_000, 3607) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -70,10 +72,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1263` - // Estimated: `4728` - // Minimum execution time: 21_987 nanoseconds. - Weight::from_parts(22_369_000, 4728) + // Measured: `298` + // Estimated: `3763` + // Minimum execution time: 24_453 nanoseconds. + Weight::from_parts(25_286_000, 3763) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,10 +85,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `4572` - // Minimum execution time: 16_061 nanoseconds. - Weight::from_parts(16_682_000, 4572) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 16_222 nanoseconds. + Weight::from_parts(16_567_000, 3607) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,17 +96,15 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1201` - // Estimated: `4666` - // Minimum execution time: 17_426 nanoseconds. - Weight::from_parts(17_883_000, 4666) + // Measured: `236` + // Estimated: `3701` + // Minimum execution time: 17_518 nanoseconds. + Weight::from_parts(18_205_000, 3701) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EVM::Accounts` (r:2 w:0) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::AccountStorages` (r:5 w:0) @@ -115,21 +115,21 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `6679` - // Estimated: `20044` - // Minimum execution time: 204_076 nanoseconds. - Weight::from_parts(206_795_000, 20044) - .saturating_add(T::DbWeight::get().reads(11)) + // Measured: `4746` + // Estimated: `18111` + // Minimum execution time: 236_385 nanoseconds. + Weight::from_parts(237_897_000, 18111) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:1) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_erc20_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1352` - // Estimated: `4817` - // Minimum execution time: 25_450 nanoseconds. - Weight::from_parts(26_222_000, 4817) + // Measured: `387` + // Estimated: `3852` + // Minimum execution time: 24_320 nanoseconds. + Weight::from_parts(25_048_000, 3852) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -137,10 +137,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `4572` - // Minimum execution time: 15_473 nanoseconds. - Weight::from_parts(15_919_000, 4572) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 14_704 nanoseconds. + Weight::from_parts(15_245_000, 3607) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +148,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1176` - // Estimated: `4641` - // Minimum execution time: 16_492 nanoseconds. - Weight::from_parts(17_004_000, 4641) + // Measured: `211` + // Estimated: `3676` + // Minimum execution time: 16_792 nanoseconds. + Weight::from_parts(17_030_000, 3676) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_auction_manager.rs b/runtime/karura/src/weights/module_auction_manager.rs index f27ddba63..1bea68982 100644 --- a/runtime/karura/src/weights/module_auction_manager.rs +++ b/runtime/karura/src/weights/module_auction_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_auction_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -71,10 +73,10 @@ impl module_auction_manager::WeightInfo for WeightInfo< // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn cancel_collateral_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `2830` - // Estimated: `8770` - // Minimum execution time: 85_958 nanoseconds. - Weight::from_parts(88_993_000, 8770) + // Measured: `1508` + // Estimated: `7448` + // Minimum execution time: 116_358 nanoseconds. + Weight::from_parts(120_719_000, 7448) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/karura/src/weights/module_cdp_engine.rs b/runtime/karura/src/weights/module_cdp_engine.rs index 9e25f7549..26a653c25 100644 --- a/runtime/karura/src/weights/module_cdp_engine.rs +++ b/runtime/karura/src/weights/module_cdp_engine.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_engine //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,54 +49,36 @@ use sp_std::marker::PhantomData; /// Weight functions for module_cdp_engine. pub struct WeightInfo(PhantomData); impl module_cdp_engine::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `CdpEngine::LastAccumulationSecs` (r:1 w:1) // Proof: `CdpEngine::LastAccumulationSecs` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:4 w:0) + // Storage: `CdpEngine::CollateralParams` (r:5 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1018 + c * (90 ±0)` - // Estimated: `3691 + c * (2515 ±13)` - // Minimum execution time: 20_211 nanoseconds. - Weight::from_parts(22_116_191, 3691) - // Standard Error: 43_547 - .saturating_add(Weight::from_parts(5_787_450, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `523 + c * (87 ±0)` + // Estimated: `3697 + c * (2536 ±10)` + // Minimum execution time: 18_307 nanoseconds. + Weight::from_parts(20_517_420, 3697) + // Standard Error: 45_154 + .saturating_add(Weight::from_parts(6_612_687, 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(10)) - .saturating_add(Weight::from_parts(0, 2515).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 2536).saturating_mul(c.into())) } // Storage: `CdpEngine::CollateralParams` (r:1 w:1) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) fn set_collateral_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1173` + // Measured: `208` // Estimated: `3600` - // Minimum execution time: 22_947 nanoseconds. - Weight::from_parts(23_389_000, 3600) + // Minimum execution time: 25_719 nanoseconds. + Weight::from_parts(26_275_000, 3600) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -151,12 +135,12 @@ impl module_cdp_engine::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 50]`. fn liquidate_by_auction(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3585` - // Estimated: `9525` - // Minimum execution time: 174_305 nanoseconds. - Weight::from_parts(176_979_400, 9525) - // Standard Error: 40_517 - .saturating_add(Weight::from_parts(9_604_887, 0).saturating_mul(b.into())) + // Measured: `2032` + // Estimated: `8799` + // Minimum execution time: 257_028 nanoseconds. + Weight::from_parts(259_843_565, 8799) + // Standard Error: 36_667 + .saturating_add(Weight::from_parts(15_751_092, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(15)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) @@ -209,10 +193,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) fn liquidate_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `4425` + // Measured: `2835` // Estimated: `16722` - // Minimum execution time: 261_383 nanoseconds. - Weight::from_parts(269_046_000, 16722) + // Minimum execution time: 392_160 nanoseconds. + Weight::from_parts(398_724_000, 16722) .saturating_add(T::DbWeight::get().reads(36)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -240,10 +224,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn settle() -> Weight { // Proof Size summary in bytes: - // Measured: `2774` - // Estimated: `6239` - // Minimum execution time: 98_905 nanoseconds. - Weight::from_parts(100_972_000, 6239) + // Measured: `1640` + // Estimated: `6234` + // Minimum execution time: 136_136 nanoseconds. + Weight::from_parts(142_125_000, 6234) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -251,10 +235,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn register_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1173` + // Measured: `208` // Estimated: `1686` - // Minimum execution time: 14_545 nanoseconds. - Weight::from_parts(14_972_000, 1686) + // Minimum execution time: 12_697 nanoseconds. + Weight::from_parts(13_128_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,10 +246,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn deregister_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1218` + // Measured: `253` // Estimated: `1686` - // Minimum execution time: 15_463 nanoseconds. - Weight::from_parts(15_940_000, 1686) + // Minimum execution time: 13_822 nanoseconds. + Weight::from_parts(14_313_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_cdp_treasury.rs b/runtime/karura/src/weights/module_cdp_treasury.rs index 2c6e05fa8..e09ce64d8 100644 --- a/runtime/karura/src/weights/module_cdp_treasury.rs +++ b/runtime/karura/src/weights/module_cdp_treasury.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_treasury //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -68,12 +70,12 @@ impl module_cdp_treasury::WeightInfo for WeightInfo /// The range of component `b` is `[1, 50]`. fn auction_collateral(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2011` + // Measured: `715` // Estimated: `3612` - // Minimum execution time: 40_885 nanoseconds. - Weight::from_parts(39_696_124, 3612) - // Standard Error: 15_940 - .saturating_add(Weight::from_parts(9_278_705, 0).saturating_mul(b.into())) + // Minimum execution time: 49_058 nanoseconds. + Weight::from_parts(44_647_762, 3612) + // Standard Error: 23_682 + .saturating_add(Weight::from_parts(15_082_573, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) @@ -100,25 +102,23 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) - // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn exchange_collateral_to_stable() -> Weight { // Proof Size summary in bytes: - // Measured: `3909` + // Measured: `2400` // Estimated: `16722` - // Minimum execution time: 193_443 nanoseconds. - Weight::from_parts(199_650_000, 16722) - .saturating_add(T::DbWeight::get().reads(23)) + // Minimum execution time: 269_954 nanoseconds. + Weight::from_parts(274_267_000, 16722) + .saturating_add(T::DbWeight::get().reads(22)) .saturating_add(T::DbWeight::get().writes(7)) } // Storage: `CdpTreasury::ExpectedCollateralAuctionSize` (r:0 w:1) // Proof: `CdpTreasury::ExpectedCollateralAuctionSize` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn set_expected_collateral_auction_size() -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_779 nanoseconds. - Weight::from_parts(13_254_000, 0) + // Minimum execution time: 10_114 nanoseconds. + Weight::from_parts(10_409_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Tokens::Accounts` (r:2 w:2) @@ -127,10 +127,10 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn extract_surplus_to_treasury() -> Weight { // Proof Size summary in bytes: - // Measured: `1436` + // Measured: `311` // Estimated: `6234` - // Minimum execution time: 36_466 nanoseconds. - Weight::from_parts(37_386_000, 6234) + // Minimum execution time: 44_117 nanoseconds. + Weight::from_parts(45_068_000, 6234) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/karura/src/weights/module_collator_selection.rs b/runtime/karura/src/weights/module_collator_selection.rs index 6389f89bc..ab86708c3 100644 --- a/runtime/karura/src/weights/module_collator_selection.rs +++ b/runtime/karura/src/weights/module_collator_selection.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_collator_selection //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -52,32 +54,32 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 10]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_316 nanoseconds. - Weight::from_parts(11_836_654, 0) - // Standard Error: 1_802 - .saturating_add(Weight::from_parts(20_956, 0).saturating_mul(b.into())) + // Minimum execution time: 8_245 nanoseconds. + Weight::from_parts(8_697_400, 0) + // Standard Error: 1_975 + .saturating_add(Weight::from_parts(5_231, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_047 nanoseconds. - Weight::from_parts(11_513_000, 0) + // Minimum execution time: 7_613 nanoseconds. + Weight::from_parts(7_970_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_177 nanoseconds. - Weight::from_parts(11_429_000, 0) + // Minimum execution time: 7_932 nanoseconds. + Weight::from_parts(8_151_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::NonCandidates` (r:1 w:1) @@ -94,18 +96,20 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - /// The range of component `c` is `[5, 50]`. + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2293 + c * (60 ±0)` - // Estimated: `5704 + c * (61 ±0)` - // Minimum execution time: 53_238 nanoseconds. - Weight::from_parts(53_328_156, 5704) - // Standard Error: 4_137 - .saturating_add(Weight::from_parts(476_724, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) + // Measured: `787 + c * (56 ±0)` + // Estimated: `4261 + c * (56 ±0)` + // Minimum execution time: 62_104 nanoseconds. + Weight::from_parts(69_507_636, 4261) + // Standard Error: 6_470 + .saturating_add(Weight::from_parts(458_693, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(c.into())) } // Storage: `CollatorSelection::Candidates` (r:1 w:1) // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) @@ -120,15 +124,15 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1806 + c * (55 ±0)` - // Estimated: `5263 + c * (55 ±0)` - // Minimum execution time: 29_562 nanoseconds. - Weight::from_parts(33_988_694, 5263) - // Standard Error: 3_511 - .saturating_add(Weight::from_parts(425_403, 0).saturating_mul(c.into())) + // Measured: `653 + c * (54 ±0)` + // Estimated: `4126 + c * (54 ±0)` + // Minimum execution time: 32_121 nanoseconds. + Weight::from_parts(38_257_929, 4126) + // Standard Error: 4_776 + .saturating_add(Weight::from_parts(374_983, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 55).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) } // Storage: `CollatorSelection::Candidates` (r:1 w:1) // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) @@ -136,15 +140,15 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::NonCandidates` (r:0 w:1) // Proof: `CollatorSelection::NonCandidates` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `c` is `[6, 50]`. + /// The range of component `c` is `[2, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1596 + c * (39 ±0)` + // Measured: `529 + c * (38 ±0)` // Estimated: `3086 + c * (39 ±0)` - // Minimum execution time: 23_064 nanoseconds. - Weight::from_parts(22_638_579, 3086) - // Standard Error: 2_199 - .saturating_add(Weight::from_parts(331_379, 0).saturating_mul(c.into())) + // Minimum execution time: 20_795 nanoseconds. + Weight::from_parts(22_522_227, 3086) + // Standard Error: 2_820 + .saturating_add(Weight::from_parts(243_805, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -157,10 +161,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) fn withdraw_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `3161` - // Estimated: `4646` - // Minimum execution time: 56_889 nanoseconds. - Weight::from_parts(58_969_000, 4646) + // Measured: `1461` + // Estimated: `3633` + // Minimum execution time: 61_654 nanoseconds. + Weight::from_parts(63_003_000, 3633) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -170,10 +174,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::SessionPoints` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `2106` + // Measured: `610` // Estimated: `6196` - // Minimum execution time: 59_208 nanoseconds. - Weight::from_parts(60_710_000, 6196) + // Minimum execution time: 72_343 nanoseconds. + Weight::from_parts(73_299_000, 6196) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -183,10 +187,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`) fn new_session() -> Weight { // Proof Size summary in bytes: - // Measured: `2655` + // Measured: `1874` // Estimated: `3086` - // Minimum execution time: 22_624 nanoseconds. - Weight::from_parts(23_701_000, 3086) + // Minimum execution time: 19_337 nanoseconds. + Weight::from_parts(20_038_000, 3086) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `Session::Validators` (r:1 w:0) @@ -195,18 +199,18 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `CollatorSelection::SessionPoints` (r:0 w:50) // Proof: `CollatorSelection::SessionPoints` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `r` is `[5, 50]`. - /// The range of component `c` is `[5, 50]`. + /// The range of component `r` is `[1, 50]`. + /// The range of component `c` is `[1, 50]`. fn start_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1379 + c * (64 ±0)` + // Measured: `411 + c * (64 ±0)` // Estimated: `3086 + c * (64 ±0)` - // Minimum execution time: 20_335 nanoseconds. - Weight::from_parts(14_607_437, 3086) - // Standard Error: 1_880 - .saturating_add(Weight::from_parts(9_997, 0).saturating_mul(r.into())) - // Standard Error: 1_880 - .saturating_add(Weight::from_parts(1_329_582, 0).saturating_mul(c.into())) + // Minimum execution time: 15_919 nanoseconds. + Weight::from_parts(14_881_935, 3086) + // Standard Error: 2_364 + .saturating_add(Weight::from_parts(23_019, 0).saturating_mul(r.into())) + // Standard Error: 2_364 + .saturating_add(Weight::from_parts(1_880_743, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 64).saturating_mul(c.into())) @@ -219,19 +223,19 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::NonCandidates` (r:0 w:1) // Proof: `CollatorSelection::NonCandidates` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `r` is `[5, 50]`. - /// The range of component `c` is `[5, 50]`. - fn end_session(_r: u32, c: u32, ) -> Weight { + /// The range of component `c` is `[1, 50]`. + /// The range of component `r` is `[1, 50]`. + fn end_session(c: u32, _r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3426 + c * (49 ±0)` + // Measured: `231 + c * (50 ±0)` // Estimated: `3509 + c * (2519 ±0)` - // Minimum execution time: 30_529 nanoseconds. - Weight::from_parts(339_894_413, 3509) - // Standard Error: 14_098 - .saturating_add(Weight::from_parts(3_782_617, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 14_010 nanoseconds. + Weight::from_parts(467_661_587, 3509) + // Standard Error: 20_368 + .saturating_add(Weight::from_parts(5_647_688, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(48)) + .saturating_add(T::DbWeight::get().writes(50)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) } diff --git a/runtime/karura/src/weights/module_currencies.rs b/runtime/karura/src/weights/module_currencies.rs index 7d892846a..b193d453b 100644 --- a/runtime/karura/src/weights/module_currencies.rs +++ b/runtime/karura/src/weights/module_currencies.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_currencies //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,31 +51,31 @@ pub struct WeightInfo(PhantomData); impl module_currencies::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1578` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 43_789 nanoseconds. - Weight::from_parts(44_659_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 59_038 nanoseconds. + Weight::from_parts(60_726_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1412` - // Estimated: `3593` - // Minimum execution time: 55_379 nanoseconds. - Weight::from_parts(56_160_000, 3593) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `196` + // Estimated: `6196` + // Minimum execution time: 80_851 nanoseconds. + Weight::from_parts(82_162_000, 6196) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,10 +85,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1128` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 25_311 nanoseconds. - Weight::from_parts(25_887_000, 3612) + // Minimum execution time: 29_909 nanoseconds. + Weight::from_parts(30_531_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -94,10 +96,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1268` + // Measured: `52` // Estimated: `3593` - // Minimum execution time: 28_126 nanoseconds. - Weight::from_parts(28_876_000, 3593) + // Minimum execution time: 32_820 nanoseconds. + Weight::from_parts(33_578_000, 3593) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -107,10 +109,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1408` + // Measured: `144` // Estimated: `3593` - // Minimum execution time: 31_002 nanoseconds. - Weight::from_parts(32_012_000, 3593) + // Minimum execution time: 38_881 nanoseconds. + Weight::from_parts(39_702_000, 3593) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,12 +123,12 @@ impl module_currencies::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 3]`. fn sweep_dust(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1453 + c * (79 ±0)` + // Measured: `315 + c * (79 ±0)` // Estimated: `3612 + c * (2622 ±0)` - // Minimum execution time: 36_245 nanoseconds. - Weight::from_parts(19_833_607, 3612) - // Standard Error: 25_441 - .saturating_add(Weight::from_parts(17_802_605, 0).saturating_mul(c.into())) + // Minimum execution time: 43_911 nanoseconds. + Weight::from_parts(14_297_664, 3612) + // Standard Error: 43_908 + .saturating_add(Weight::from_parts(31_255_152, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,10 +143,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `1432` + // Measured: `350` // Estimated: `4765` - // Minimum execution time: 29_792 nanoseconds. - Weight::from_parts(30_767_000, 4765) + // Minimum execution time: 36_812 nanoseconds. + Weight::from_parts(37_404_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,10 +158,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_remove_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `1537` + // Measured: `455` // Estimated: `4765` - // Minimum execution time: 31_187 nanoseconds. - Weight::from_parts(32_071_000, 4765) + // Minimum execution time: 37_467 nanoseconds. + Weight::from_parts(38_745_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/karura/src/weights/module_dex.rs b/runtime/karura/src/weights/module_dex.rs index 751ab713a..2d13b2e46 100644 --- a/runtime/karura/src/weights/module_dex.rs +++ b/runtime/karura/src/weights/module_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn enable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1074` + // Measured: `109` // Estimated: `3660` - // Minimum execution time: 15_593 nanoseconds. - Weight::from_parts(15_943_000, 3660) + // Minimum execution time: 15_055 nanoseconds. + Weight::from_parts(15_478_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn disable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1111` + // Measured: `146` // Estimated: `3660` - // Minimum execution time: 16_448 nanoseconds. - Weight::from_parts(16_986_000, 3660) + // Minimum execution time: 16_322 nanoseconds. + Weight::from_parts(16_737_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn list_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1116` + // Measured: `151` // Estimated: `3660` - // Minimum execution time: 22_370 nanoseconds. - Weight::from_parts(23_019_000, 3660) + // Minimum execution time: 24_369 nanoseconds. + Weight::from_parts(25_015_000, 3660) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,10 +90,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn update_provisioning_parameters() -> Weight { // Proof Size summary in bytes: - // Measured: `915` + // Measured: `249` // Estimated: `3660` - // Minimum execution time: 10_584 nanoseconds. - Weight::from_parts(11_032_000, 3660) + // Minimum execution time: 13_480 nanoseconds. + Weight::from_parts(13_800_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,10 +111,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) fn end_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1708` + // Measured: `626` // Estimated: `3660` - // Minimum execution time: 41_825 nanoseconds. - Weight::from_parts(43_270_000, 3660) + // Minimum execution time: 54_080 nanoseconds. + Weight::from_parts(55_244_000, 3660) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -126,29 +128,29 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn add_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `1867` + // Measured: `511` // Estimated: `6234` - // Minimum execution time: 84_089 nanoseconds. - Weight::from_parts(85_638_000, 6234) + // Minimum execution time: 119_136 nanoseconds. + Weight::from_parts(121_160_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Dex::TradingPairStatuses` (r:1 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::ProvisioningPool` (r:2 w:1) - // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Dex::InitialShareExchangeRates` (r:1 w:1) // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) + // Storage: `Dex::ProvisioningPool` (r:2 w:1) + // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `2062` + // Measured: `840` // Estimated: `6272` - // Minimum execution time: 61_816 nanoseconds. - Weight::from_parts(63_135_000, 6272) + // Minimum execution time: 81_659 nanoseconds. + Weight::from_parts(84_479_000, 6272) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -166,10 +168,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `2200` + // Measured: `763` // Estimated: `8856` - // Minimum execution time: 101_565 nanoseconds. - Weight::from_parts(103_440_000, 8856) + // Minimum execution time: 149_217 nanoseconds. + Weight::from_parts(150_967_000, 8856) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -191,10 +193,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_liquidity_and_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2607` + // Measured: `1203` // Estimated: `11478` - // Minimum execution time: 134_425 nanoseconds. - Weight::from_parts(137_904_000, 11478) + // Minimum execution time: 197_927 nanoseconds. + Weight::from_parts(201_586_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -208,10 +210,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `2134` + // Measured: `730` // Estimated: `8856` - // Minimum execution time: 97_154 nanoseconds. - Weight::from_parts(98_814_000, 8856) + // Minimum execution time: 136_033 nanoseconds. + Weight::from_parts(138_403_000, 8856) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -231,10 +233,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn remove_liquidity_by_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `2547` + // Measured: `1192` // Estimated: `11478` - // Minimum execution time: 143_142 nanoseconds. - Weight::from_parts(146_721_000, 11478) + // Minimum execution time: 211_503 nanoseconds. + Weight::from_parts(215_890_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -249,12 +251,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_supply(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1810 + u * (112 ±0)` + // Measured: `373 + u * (112 ±0)` // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 84_306 nanoseconds. - Weight::from_parts(66_156_863, 6234) - // Standard Error: 56_488 - .saturating_add(Weight::from_parts(10_354_275, 0).saturating_mul(u.into())) + // Minimum execution time: 114_951 nanoseconds. + Weight::from_parts(88_693_840, 6234) + // Standard Error: 62_034 + .saturating_add(Weight::from_parts(14_705_441, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -272,12 +274,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_target(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1810 + u * (112 ±0)` - // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 84_182 nanoseconds. - Weight::from_parts(64_800_898, 6234) - // Standard Error: 51_699 - .saturating_add(Weight::from_parts(10_875_444, 0).saturating_mul(u.into())) + // Measured: `373 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±19)` + // Minimum execution time: 115_089 nanoseconds. + Weight::from_parts(87_710_349, 6234) + // Standard Error: 74_575 + .saturating_add(Weight::from_parts(15_189_276, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,10 +300,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn refund_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `2201` + // Measured: `723` // Estimated: `6234` - // Minimum execution time: 93_287 nanoseconds. - Weight::from_parts(95_635_000, 6234) + // Minimum execution time: 127_570 nanoseconds. + Weight::from_parts(129_187_000, 6234) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -309,10 +311,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn abort_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1248` + // Measured: `283` // Estimated: `3660` - // Minimum execution time: 20_424 nanoseconds. - Weight::from_parts(21_045_000, 3660) + // Minimum execution time: 19_416 nanoseconds. + Weight::from_parts(20_181_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_dex_oracle.rs b/runtime/karura/src/weights/module_dex_oracle.rs index c57ce8140..f2b8c9c24 100644 --- a/runtime/karura/src/weights/module_dex_oracle.rs +++ b/runtime/karura/src/weights/module_dex_oracle.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex_oracle //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,51 +49,32 @@ use sp_std::marker::PhantomData; /// Weight functions for module_dex_oracle. pub struct WeightInfo(PhantomData); impl module_dex_oracle::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `DexOracle::AveragePrices` (r:4 w:3) // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Dex::LiquidityPool` (r:3 w:0) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `DexOracle::Cumulatives` (r:3 w:3) // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 3]`. /// The range of component `u` is `[0, 3]`. fn on_initialize_with_update_average_prices(n: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `169 + n * (377 ±0) + u * (249 ±0)` - // Estimated: `4851 + n * (2864 ±2) + u * (346 ±2)` - // Minimum execution time: 13_887 nanoseconds. - Weight::from_parts(14_473_000, 4851) - // Standard Error: 141_261 - .saturating_add(Weight::from_parts(9_738_135, 0).saturating_mul(n.into())) - // Standard Error: 141_261 - .saturating_add(Weight::from_parts(4_465_031, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `0 + n * (324 ±0) + u * (197 ±0)` + // Estimated: `4102 + n * (2815 ±33) + u * (346 ±33)` + // Minimum execution time: 9_146 nanoseconds. + Weight::from_parts(9_505_000, 4102) + // Standard Error: 215_965 + .saturating_add(Weight::from_parts(13_005_912, 0).saturating_mul(n.into())) + // Standard Error: 215_965 + .saturating_add(Weight::from_parts(6_546_234, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 2864).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2815).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 346).saturating_mul(u.into())) } // Storage: `DexOracle::AveragePrices` (r:1 w:1) @@ -104,10 +87,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `956` - // Estimated: `4421` - // Minimum execution time: 18_674 nanoseconds. - Weight::from_parts(19_030_000, 4421) + // Measured: `323` + // Estimated: `3788` + // Minimum execution time: 24_766 nanoseconds. + Weight::from_parts(25_563_000, 3788) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +100,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `4392` - // Minimum execution time: 11_530 nanoseconds. - Weight::from_parts(11_830_000, 4392) + // Measured: `294` + // Estimated: `3759` + // Minimum execution time: 13_595 nanoseconds. + Weight::from_parts(14_205_000, 3759) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,10 +111,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_average_price_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `4392` - // Minimum execution time: 11_035 nanoseconds. - Weight::from_parts(11_384_000, 4392) + // Measured: `294` + // Estimated: `3759` + // Minimum execution time: 13_022 nanoseconds. + Weight::from_parts(13_660_000, 3759) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_emergency_shutdown.rs b/runtime/karura/src/weights/module_emergency_shutdown.rs index 20caa0745..92c3e9339 100644 --- a/runtime/karura/src/weights/module_emergency_shutdown.rs +++ b/runtime/karura/src/weights/module_emergency_shutdown.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_emergency_shutdown //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,15 +53,15 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn emergency_shutdown(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1286` + // Measured: `321` // Estimated: `3600` - // Minimum execution time: 17_300 nanoseconds. - Weight::from_parts(18_206_655, 3600) - // Standard Error: 11_256 - .saturating_add(Weight::from_parts(409_641, 0).saturating_mul(c.into())) + // Minimum execution time: 15_883 nanoseconds. + Weight::from_parts(17_230_833, 3600) + // Standard Error: 14_030 + .saturating_add(Weight::from_parts(806_093, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -71,10 +73,10 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `EmergencyShutdown::CanRefund` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn open_collateral_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `1310` + // Measured: `345` // Estimated: `3600` - // Minimum execution time: 17_225 nanoseconds. - Weight::from_parts(17_733_000, 3600) + // Minimum execution time: 16_556 nanoseconds. + Weight::from_parts(17_039_000, 3600) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,18 +88,20 @@ impl module_emergency_shutdown::WeightInfo for WeightIn // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn refund_collaterals(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2059 + c * (33 ±0)` + // Measured: `715 + c * (29 ±0)` // Estimated: `3612` - // Minimum execution time: 46_576 nanoseconds. - Weight::from_parts(48_826_808, 3612) - // Standard Error: 29_455 - .saturating_add(Weight::from_parts(1_662_703, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 58_663 nanoseconds. + Weight::from_parts(61_201_579, 3612) + // Standard Error: 17_597 + .saturating_add(Weight::from_parts(1_650_998, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/karura/src/weights/module_evm.rs b/runtime/karura/src/weights/module_evm.rs index 985e5b1e3..8f85cbde4 100644 --- a/runtime/karura/src/weights/module_evm.rs +++ b/runtime/karura/src/weights/module_evm.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -67,10 +69,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1626` - // Estimated: `7566` - // Minimum execution time: 128_091 nanoseconds. - Weight::from_parts(130_479_000, 7566) + // Measured: `401` + // Estimated: `6341` + // Minimum execution time: 207_299 nanoseconds. + Weight::from_parts(213_270_000, 6341) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -94,10 +96,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create2() -> Weight { // Proof Size summary in bytes: - // Measured: `1626` - // Estimated: `7566` - // Minimum execution time: 124_111 nanoseconds. - Weight::from_parts(127_683_000, 7566) + // Measured: `351` + // Estimated: `6291` + // Minimum execution time: 194_642 nanoseconds. + Weight::from_parts(202_462_000, 6291) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -121,10 +123,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_nft_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1595` - // Estimated: `7535` - // Minimum execution time: 151_606 nanoseconds. - Weight::from_parts(155_095_000, 7535) + // Measured: `172` + // Estimated: `6276` + // Minimum execution time: 239_394 nanoseconds. + Weight::from_parts(244_360_000, 6276) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -146,10 +148,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_predeploy_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1543` - // Estimated: `7483` - // Minimum execution time: 148_707 nanoseconds. - Weight::from_parts(151_730_000, 7483) + // Measured: `211` + // Estimated: `6276` + // Minimum execution time: 239_430 nanoseconds. + Weight::from_parts(247_421_000, 6276) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -163,19 +165,17 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `2400` - // Estimated: `8340` - // Minimum execution time: 120_982 nanoseconds. - Weight::from_parts(123_618_000, 8340) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `1141` + // Estimated: `7081` + // Minimum execution time: 181_158 nanoseconds. + Weight::from_parts(184_577_000, 7081) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `EVM::Accounts` (r:1 w:1) @@ -184,58 +184,64 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_maintainer() -> Weight { // Proof Size summary in bytes: - // Measured: `1810` - // Estimated: `5275` - // Minimum execution time: 87_371 nanoseconds. - Weight::from_parts(88_589_000, 5275) + // Measured: `390` + // Estimated: `3855` + // Minimum execution time: 26_536 nanoseconds. + Weight::from_parts(28_029_000, 3855) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `2281` - // Estimated: `5746` - // Minimum execution time: 121_472 nanoseconds. - Weight::from_parts(122_793_000, 5746) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `530` + // Estimated: `3995` + // Minimum execution time: 80_384 nanoseconds. + Weight::from_parts(81_613_000, 3995) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_free() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` - // Estimated: `5133` - // Minimum execution time: 22_958 nanoseconds. - Weight::from_parts(23_720_000, 5133) + // Measured: `386` + // Estimated: `3851` + // Minimum execution time: 20_261 nanoseconds. + Weight::from_parts(21_250_000, 3851) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn enable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `1402` + // Measured: `140` // Estimated: `3633` - // Minimum execution time: 90_644 nanoseconds. - Weight::from_parts(91_429_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 37_712 nanoseconds. + Weight::from_parts(38_440_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn disable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `1490` + // Measured: `194` // Estimated: `3633` - // Minimum execution time: 92_308 nanoseconds. - Weight::from_parts(93_381_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 38_940 nanoseconds. + Weight::from_parts(39_686_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -245,10 +251,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::CodeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EvmAccounts::Accounts` (r:2 w:0) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:0 w:2) @@ -256,14 +262,14 @@ impl module_evm::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 61440]`. fn set_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2493` - // Estimated: `8433` - // Minimum execution time: 147_977 nanoseconds. - Weight::from_parts(143_406_112, 8433) - // Standard Error: 15 - .saturating_add(Weight::from_parts(5_693, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `917` + // Estimated: `6857` + // Minimum execution time: 127_696 nanoseconds. + Weight::from_parts(121_499_780, 6857) + // Standard Error: 23 + .saturating_add(Weight::from_parts(6_605, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EvmAccounts::EvmAddresses` (r:2 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -279,7 +285,7 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `IdleScheduler::NextTaskId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:1 w:0) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -289,11 +295,11 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn selfdestruct() -> Weight { // Proof Size summary in bytes: - // Measured: `2647` - // Estimated: `6112` - // Minimum execution time: 169_926 nanoseconds. - Weight::from_parts(172_697_000, 6112) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(8)) + // Measured: `1071` + // Estimated: `6196` + // Minimum execution time: 159_260 nanoseconds. + Weight::from_parts(162_833_000, 6196) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(9)) } } diff --git a/runtime/karura/src/weights/module_evm_accounts.rs b/runtime/karura/src/weights/module_evm_accounts.rs index b8e82840b..0b2051d7e 100644 --- a/runtime/karura/src/weights/module_evm_accounts.rs +++ b/runtime/karura/src/weights/module_evm_accounts.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm_accounts //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,7 +49,7 @@ use sp_std::marker::PhantomData; /// Weight functions for module_evm_accounts. pub struct WeightInfo(PhantomData); impl module_evm_accounts::WeightInfo for WeightInfo { - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) + // Storage: `EvmAccounts::EvmAddresses` (r:2 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::Accounts` (r:1 w:1) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -55,16 +57,18 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EVM::ChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::BlockHash` (r:1 w:0) // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:1 w:0) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn claim_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1483` - // Estimated: `3593` - // Minimum execution time: 74_639 nanoseconds. - Weight::from_parts(75_825_000, 3593) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `426` + // Estimated: `6196` + // Minimum execution time: 172_410 nanoseconds. + Weight::from_parts(176_128_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -72,10 +76,10 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_default_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1107` + // Measured: `4` // Estimated: `3525` - // Minimum execution time: 18_704 nanoseconds. - Weight::from_parts(19_123_000, 3525) + // Minimum execution time: 18_812 nanoseconds. + Weight::from_parts(19_301_000, 3525) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/karura/src/weights/module_homa.rs b/runtime/karura/src/weights/module_homa.rs index 5b1da5699..d62102ff3 100644 --- a/runtime/karura/src/weights/module_homa.rs +++ b/runtime/karura/src/weights/module_homa.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_homa //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `823` - // Estimated: `2308` - // Minimum execution time: 6_240 nanoseconds. - Weight::from_parts(6_498_000, 2308) + // Measured: `151` + // Estimated: `1636` + // Minimum execution time: 7_768 nanoseconds. + Weight::from_parts(8_062_000, 1636) .saturating_add(T::DbWeight::get().reads(4)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) @@ -73,54 +75,37 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::EstimatedRewardRatePerEra` (r:1 w:0) // Proof: `Homa::EstimatedRewardRatePerEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::StakingLedgers` (r:4 w:2) + // Storage: `Homa::StakingLedgers` (r:2 w:1) // Proof: `Homa::StakingLedgers` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Homa::TotalStakingBonded` (r:1 w:1) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::CommissionRate` (r:1 w:0) // Proof: `Homa::CommissionRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:2 w:2) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:3 w:3) + // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `XcmInterface::XcmDestWeightAndFee` (r:4 w:0) + // Storage: `XcmInterface::XcmDestWeightAndFee` (r:1 w:0) // Proof: `XcmInterface::XcmDestWeightAndFee` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::UnclaimedRedemption` (r:1 w:1) - // Proof: `Homa::UnclaimedRedemption` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::ToBondPool` (r:1 w:1) - // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::SoftBondedCapPerSubAccount` (r:1 w:0) - // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `EVM::XcmOrigin` (r:1 w:1) - // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) - // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::RedeemRequests` (r:2 w:1) - // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::Unbondings` (r:1 w:1) - // Proof: `Homa::Unbondings` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Homa::TotalVoidLiquid` (r:0 w:1) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn on_initialize_with_bump_era(n: u32,) -> Weight { + /// The range of component `n` is `[1, 50]`. + fn on_initialize_with_bump_era(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2962` - // Estimated: `13852` - // Minimum execution time: 314_492 nanoseconds. - Weight::from_parts(320_994_000, 13852) - .saturating_add(T::DbWeight::get().reads(34)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(19)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + // Measured: `919` + // Estimated: `6859` + // Minimum execution time: 120_567 nanoseconds. + Weight::from_parts(124_852_029, 6859) + // Standard Error: 6_516 + .saturating_add(Weight::from_parts(197_950, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -130,7 +115,7 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) @@ -140,26 +125,26 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::EstimatedRewardRatePerEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `1669` + // Measured: `445` // Estimated: `8856` - // Minimum execution time: 61_857 nanoseconds. - Weight::from_parts(63_336_000, 8856) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 87_593 nanoseconds. + Weight::from_parts(89_934_000, 8856) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::RedeemRequests` (r:1 w:1) // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn request_redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `1578` + // Measured: `354` // Estimated: `6234` - // Minimum execution time: 41_391 nanoseconds. - Weight::from_parts(42_368_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 52_935 nanoseconds. + Weight::from_parts(54_039_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Homa::RedeemRequests` (r:50 w:50) @@ -181,17 +166,17 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 50]`. fn fast_match_redeems(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1918 + n * (295 ±0)` - // Estimated: `6234 + n * (2770 ±0)` - // Minimum execution time: 73_671 nanoseconds. - Weight::from_parts(18_909_780, 6234) - // Standard Error: 39_639 - .saturating_add(Weight::from_parts(42_812_818, 0).saturating_mul(n.into())) + // Measured: `649 + n * (286 ±0)` + // Estimated: `6234 + n * (2761 ±0)` + // Minimum execution time: 105_074 nanoseconds. + Weight::from_parts(40_192_769, 6234) + // Standard Error: 26_950 + .saturating_add(Weight::from_parts(66_231_063, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2770).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2761).saturating_mul(n.into())) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -207,10 +192,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_redemption() -> Weight { // Proof Size summary in bytes: - // Measured: `1989` - // Estimated: `7929` - // Minimum execution time: 60_313 nanoseconds. - Weight::from_parts(61_178_000, 7929) + // Measured: `827` + // Estimated: `6767` + // Minimum execution time: 84_546 nanoseconds. + Weight::from_parts(86_832_000, 6767) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -222,14 +207,16 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::FastMatchFeeRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::SoftBondedCapPerSubAccount` (r:0 w:1) // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::NominateIntervalEra` (r:0 w:1) + // Proof: `Homa::NominateIntervalEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_homa_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `2592` - // Minimum execution time: 21_105 nanoseconds. - Weight::from_parts(21_607_000, 2592) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 25_559 nanoseconds. + Weight::from_parts(26_251_000, 1489) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -239,10 +226,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_bump_era_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1179` - // Estimated: `2664` - // Minimum execution time: 18_456 nanoseconds. - Weight::from_parts(18_906_000, 2664) + // Measured: `214` + // Estimated: `1699` + // Minimum execution time: 17_675 nanoseconds. + Weight::from_parts(18_237_000, 1699) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,12 +240,12 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 10]`. fn reset_ledgers(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `2592 + n * (2475 ±0)` - // Minimum execution time: 4_055 nanoseconds. - Weight::from_parts(10_022_005, 2592) - // Standard Error: 34_659 - .saturating_add(Weight::from_parts(5_951_966, 0).saturating_mul(n.into())) + // Measured: `4` + // Estimated: `1489 + n * (2475 ±0)` + // Minimum execution time: 3_289 nanoseconds. + Weight::from_parts(7_068_269, 1489) + // Standard Error: 22_317 + .saturating_add(Weight::from_parts(9_394_403, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -269,10 +256,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn reset_current_era() -> Weight { // Proof Size summary in bytes: - // Measured: `1107` - // Estimated: `2592` - // Minimum execution time: 13_366 nanoseconds. - Weight::from_parts(13_840_000, 2592) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 10_257 nanoseconds. + Weight::from_parts(10_528_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_homa_validator_list.rs b/runtime/karura/src/weights/module_homa_validator_list.rs index f3f300315..0d533053c 100644 --- a/runtime/karura/src/weights/module_homa_validator_list.rs +++ b/runtime/karura/src/weights/module_homa_validator_list.rs @@ -18,21 +18,22 @@ //! Autogenerated weights for module_homa_validator_list //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `192.168.1.2`, CPU: `` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=./templates/runtime-weight-template.hbs @@ -58,38 +59,38 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` + // Measured: `420` // Estimated: `4765` - // Minimum execution time: 36_000 nanoseconds. - Weight::from_parts(37_000_000, 4765) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 54_896 nanoseconds. + Weight::from_parts(56_485_000, 4765) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0) - // Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` + // Measured: `329` // Estimated: `3606` - // Minimum execution time: 19_000 nanoseconds. - Weight::from_parts(20_000_000, 3606) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 19_594 nanoseconds. + Weight::from_parts(20_354_000, 3606) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) fn rebond() -> Weight { // Proof Size summary in bytes: - // Measured: `1044` + // Measured: `345` // Estimated: `3606` - // Minimum execution time: 8_000 nanoseconds. - Weight::from_parts(9_000_000, 3606) + // Minimum execution time: 17_793 nanoseconds. + Weight::from_parts(18_200_000, 3606) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,8 +98,8 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `HomaValidatorList::TotalLockedByGuarantor` (r:1 w:1) // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) @@ -107,10 +108,10 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn withdraw_unbonded() -> Weight { // Proof Size summary in bytes: - // Measured: `2312` + // Measured: `868` // Estimated: `4765` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 4765) + // Minimum execution time: 61_897 nanoseconds. + Weight::from_parts(63_480_000, 4765) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -119,12 +120,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn freeze(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `201 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(10_990_773, 990) - // Standard Error: 8_735 - .saturating_add(Weight::from_parts(4_485_901, 0).saturating_mul(n.into())) + // Minimum execution time: 15_866 nanoseconds. + Weight::from_parts(9_020_435, 990) + // Standard Error: 8_475 + .saturating_add(Weight::from_parts(8_081_108, 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, 2540).saturating_mul(n.into())) @@ -134,12 +135,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn thaw(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `201 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(11_502_223, 990) - // Standard Error: 12_312 - .saturating_add(Weight::from_parts(4_428_242, 0).saturating_mul(n.into())) + // Minimum execution time: 15_920 nanoseconds. + Weight::from_parts(8_888_713, 990) + // Standard Error: 10_144 + .saturating_add(Weight::from_parts(8_109_412, 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, 2540).saturating_mul(n.into())) @@ -162,18 +163,20 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn slash(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2834 + n * (200 ±0)` + // Measured: `665 + n * (200 ±0)` // Estimated: `4765 + n * (5232 ±0)` - // Minimum execution time: 57_000 nanoseconds. - Weight::from_parts(30_420_201, 4765) - // Standard Error: 30_290 - .saturating_add(Weight::from_parts(30_166_892, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Minimum execution time: 94_474 nanoseconds. + Weight::from_parts(42_069_216, 4765) + // Standard Error: 87_670 + .saturating_add(Weight::from_parts(58_766_758, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5232).saturating_mul(n.into())) } diff --git a/runtime/karura/src/weights/module_honzon.rs b/runtime/karura/src/weights/module_honzon.rs index 169520f93..e672775b1 100644 --- a/runtime/karura/src/weights/module_honzon.rs +++ b/runtime/karura/src/weights/module_honzon.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_honzon //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,43 +53,50 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn authorize() -> Weight { // Proof Size summary in bytes: - // Measured: `1448` + // Measured: `143` // Estimated: `3633` - // Minimum execution time: 33_138 nanoseconds. - Weight::from_parts(33_715_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 39_335 nanoseconds. + Weight::from_parts(40_246_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Honzon::Authorization` (r:1 w:1) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn unauthorize() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` + // Measured: `329` // Estimated: `3633` - // Minimum execution time: 37_263 nanoseconds. - Weight::from_parts(37_778_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 42_241 nanoseconds. + Weight::from_parts(43_395_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: `Honzon::Authorization` (r:4 w:4) + // Storage: `Honzon::Authorization` (r:5 w:5) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 5]`. fn unauthorize_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1287 + c * (176 ±0)` + // Measured: `252 + c * (76 ±0)` // Estimated: `3633 + c * (2622 ±0)` - // Minimum execution time: 18_248 nanoseconds. - Weight::from_parts(24_231_244, 3633) - // Standard Error: 185_788 - .saturating_add(Weight::from_parts(6_200_898, 0).saturating_mul(c.into())) + // Minimum execution time: 15_680 nanoseconds. + Weight::from_parts(26_745_827, 3633) + // Standard Error: 222_545 + .saturating_add(Weight::from_parts(6_762_306, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2622).saturating_mul(c.into())) } @@ -97,6 +106,8 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) @@ -105,8 +116,6 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) @@ -119,45 +128,27 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn adjust_loan() -> Weight { // Proof Size summary in bytes: - // Measured: `2435` + // Measured: `1284` // Estimated: `8856` - // Minimum execution time: 109_228 nanoseconds. - Weight::from_parts(111_371_000, 8856) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(9)) + // Minimum execution time: 157_896 nanoseconds. + Weight::from_parts(162_642_000, 8856) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Honzon::Authorization` (r:1 w:0) - // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `Loans::Positions` (r:2 w:2) + // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) - // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Prices::LockedPrice` (r:2 w:0) - // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:1 w:0) - // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:2 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `CdpEngine::CollateralParams` (r:1 w:0) - // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `Rewards::SharesAndWithdrawnRewards` (r:2 w:2) - // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Rewards::PoolInfos` (r:1 w:1) - // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Loans::TotalPositions` (r:1 w:1) // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn transfer_loan_from() -> Weight { // Proof Size summary in bytes: - // Measured: `2780` - // Estimated: `8720` - // Minimum execution time: 95_224 nanoseconds. - Weight::from_parts(97_498_000, 8720) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `283` + // Estimated: `3588` + // Minimum execution time: 51_796 nanoseconds. + Weight::from_parts(53_139_000, 3588) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) @@ -175,7 +166,7 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:8 w:6) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:3 w:2) + // Storage: `System::Account` (r:4 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -207,12 +198,12 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn close_loan_has_debit_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `5419` + // Measured: `3875` // Estimated: `21966` - // Minimum execution time: 308_261 nanoseconds. - Weight::from_parts(316_684_000, 21966) - .saturating_add(T::DbWeight::get().reads(39)) - .saturating_add(T::DbWeight::get().writes(15)) + // Minimum execution time: 459_617 nanoseconds. + Weight::from_parts(474_780_000, 21966) + .saturating_add(T::DbWeight::get().reads(40)) + .saturating_add(T::DbWeight::get().writes(16)) } // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) @@ -248,10 +239,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn expand_position_collateral() -> Weight { // Proof Size summary in bytes: - // Measured: `4743` + // Measured: `3377` // Estimated: `11478` - // Minimum execution time: 228_883 nanoseconds. - Weight::from_parts(233_057_000, 11478) + // Minimum execution time: 322_585 nanoseconds. + Weight::from_parts(330_717_000, 11478) .saturating_add(T::DbWeight::get().reads(27)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -289,10 +280,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn shrink_position_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `4577` + // Measured: `3039` // Estimated: `19344` - // Minimum execution time: 256_139 nanoseconds. - Weight::from_parts(262_932_000, 19344) + // Minimum execution time: 365_073 nanoseconds. + Weight::from_parts(371_045_000, 19344) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(13)) } @@ -322,10 +313,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn transfer_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `2917` - // Estimated: `8857` - // Minimum execution time: 136_444 nanoseconds. - Weight::from_parts(140_891_000, 8857) + // Measured: `1736` + // Estimated: `8616` + // Minimum execution time: 205_554 nanoseconds. + Weight::from_parts(209_500_000, 8616) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -349,10 +340,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn precompile_get_current_collateral_ratio() -> Weight { // Proof Size summary in bytes: - // Measured: `2016` - // Estimated: `7956` - // Minimum execution time: 39_668 nanoseconds. - Weight::from_parts(40_496_000, 7956) + // Measured: `1429` + // Estimated: `7369` + // Minimum execution time: 61_591 nanoseconds. + Weight::from_parts(62_812_000, 7369) .saturating_add(T::DbWeight::get().reads(11)) } } diff --git a/runtime/karura/src/weights/module_honzon_bridge.rs b/runtime/karura/src/weights/module_honzon_bridge.rs index eb1e0b584..16cf67f71 100644 --- a/runtime/karura/src/weights/module_honzon_bridge.rs +++ b/runtime/karura/src/weights/module_honzon_bridge.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_honzon_bridge //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,30 +53,30 @@ impl module_honzon_bridge::WeightInfo for WeightInfo // Proof: `HonzonBridge::BridgedStableCoinCurrencyId` (`max_values`: Some(1), `max_size`: Some(43), added: 538, mode: `MaxEncodedLen`) fn set_bridged_stable_coin_address() -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_972 nanoseconds. - Weight::from_parts(12_273_000, 0) + // Minimum execution time: 8_884 nanoseconds. + Weight::from_parts(9_120_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `HonzonBridge::BridgedStableCoinCurrencyId` (r:1 w:0) // Proof: `HonzonBridge::BridgedStableCoinCurrencyId` (`max_values`: Some(1), `max_size`: Some(43), added: 538, mode: `MaxEncodedLen`) fn to_bridged() -> Weight { // Proof Size summary in bytes: - // Measured: `1119` + // Measured: `154` // Estimated: `1528` - // Minimum execution time: 14_538 nanoseconds. - Weight::from_parts(14_854_000, 1528) + // Minimum execution time: 12_207 nanoseconds. + Weight::from_parts(12_663_000, 1528) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: `HonzonBridge::BridgedStableCoinCurrencyId` (r:1 w:0) // Proof: `HonzonBridge::BridgedStableCoinCurrencyId` (`max_values`: Some(1), `max_size`: Some(43), added: 538, mode: `MaxEncodedLen`) fn from_bridged() -> Weight { // Proof Size summary in bytes: - // Measured: `1119` + // Measured: `154` // Estimated: `1528` - // Minimum execution time: 14_461 nanoseconds. - Weight::from_parts(14_777_000, 1528) + // Minimum execution time: 12_206 nanoseconds. + Weight::from_parts(12_721_000, 1528) .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/karura/src/weights/module_idle_scheduler.rs b/runtime/karura/src/weights/module_idle_scheduler.rs index 457f3423e..95b1b0a8f 100644 --- a/runtime/karura/src/weights/module_idle_scheduler.rs +++ b/runtime/karura/src/weights/module_idle_scheduler.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_idle_scheduler //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `681` - // Estimated: `2166` - // Minimum execution time: 4_217 nanoseconds. - Weight::from_parts(4_462_000, 2166) + // Measured: `147` + // Estimated: `1632` + // Minimum execution time: 5_329 nanoseconds. + Weight::from_parts(5_614_000, 1632) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,20 +72,20 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `790` - // Estimated: `2275` - // Minimum execution time: 5_782 nanoseconds. - Weight::from_parts(5_935_000, 2275) + // Measured: `317` + // Estimated: `1802` + // Minimum execution time: 9_280 nanoseconds. + Weight::from_parts(9_653_000, 1802) .saturating_add(T::DbWeight::get().reads(3)) } // Storage: `IdleScheduler::Tasks` (r:0 w:1) // Proof: `IdleScheduler::Tasks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn clear_tasks() -> Weight { // Proof Size summary in bytes: - // Measured: `833` - // Estimated: `833` - // Minimum execution time: 9_105 nanoseconds. - Weight::from_parts(9_320_000, 833) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_132 nanoseconds. + Weight::from_parts(6_307_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `IdleScheduler::NextTaskId` (r:1 w:1) @@ -92,10 +94,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1074` - // Estimated: `2559` - // Minimum execution time: 16_081 nanoseconds. - Weight::from_parts(16_622_000, 2559) + // Measured: `109` + // Estimated: `1594` + // Minimum execution time: 15_906 nanoseconds. + Weight::from_parts(16_436_000, 1594) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/karura/src/weights/module_incentives.rs b/runtime/karura/src/weights/module_incentives.rs index f57ff3c66..597420848 100644 --- a/runtime/karura/src/weights/module_incentives.rs +++ b/runtime/karura/src/weights/module_incentives.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_incentives //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,60 +51,62 @@ pub struct WeightInfo(PhantomData); impl module_incentives::WeightInfo for WeightInfo { // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Rewards::PoolInfos` (r:5 w:0) + // Storage: `Rewards::PoolInfos` (r:6 w:0) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Incentives::IncentiveRewardAmounts` (r:8 w:0) + // Storage: `Incentives::IncentiveRewardAmounts` (r:10 w:0) // Proof: `Incentives::IncentiveRewardAmounts` (`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`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1262 + c * (206 ±0)` - // Estimated: `4757 + c * (5027 ±0)` - // Minimum execution time: 8_581 nanoseconds. - Weight::from_parts(12_178_957, 4757) - // Standard Error: 117_653 - .saturating_add(Weight::from_parts(16_162_217, 0).saturating_mul(c.into())) + // Measured: `452 + c * (79 ±0)` + // Estimated: `3841 + c * (5027 ±1)` + // Minimum execution time: 8_038 nanoseconds. + Weight::from_parts(12_207_051, 3841) + // Standard Error: 86_772 + .saturating_add(Weight::from_parts(22_445_753, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 5027).saturating_mul(c.into())) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `1841` + // Measured: `526` // Estimated: `6234` - // Minimum execution time: 53_209 nanoseconds. - Weight::from_parts(54_763_000, 6234) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 71_870 nanoseconds. + Weight::from_parts(74_518_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `1848` + // Measured: `675` // Estimated: `6234` - // Minimum execution time: 54_714 nanoseconds. - Weight::from_parts(56_127_000, 6234) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 83_924 nanoseconds. + Weight::from_parts(86_179_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -114,45 +118,45 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Incentives::ClaimRewardDeductionCurrency` (r:1 w:0) // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `1893` - // Estimated: `5358` - // Minimum execution time: 83_162 nanoseconds. - Weight::from_parts(85_566_000, 5358) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `534` + // Estimated: `6196` + // Minimum execution time: 119_498 nanoseconds. + Weight::from_parts(122_195_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: `Incentives::IncentiveRewardAmounts` (r:4 w:4) + // Storage: `Incentives::IncentiveRewardAmounts` (r:5 w:5) // Proof: `Incentives::IncentiveRewardAmounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_incentive_rewards(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `751 + c * (85 ±0)` - // Estimated: `1997 + c * (2475 ±0)` - // Minimum execution time: 4_023 nanoseconds. - Weight::from_parts(6_753_458, 1997) - // Standard Error: 87_479 - .saturating_add(Weight::from_parts(6_268_203, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_470 nanoseconds. + Weight::from_parts(5_818_006, 1032) + // Standard Error: 45_776 + .saturating_add(Weight::from_parts(7_315_152, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) } - // Storage: `Incentives::ClaimRewardDeductionRates` (r:4 w:4) + // Storage: `Incentives::ClaimRewardDeductionRates` (r:5 w:5) // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_claim_reward_deduction_rates(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + c * (10 ±0)` - // Estimated: `1698 + c * (2475 ±0)` - // Minimum execution time: 3_950 nanoseconds. - Weight::from_parts(4_652_969, 1698) - // Standard Error: 15_055 - .saturating_add(Weight::from_parts(1_895_983, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_402 nanoseconds. + Weight::from_parts(4_824_763, 1032) + // Standard Error: 26_316 + .saturating_add(Weight::from_parts(3_333_903, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) @@ -161,10 +165,10 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_claim_reward_deduction_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1007` - // Estimated: `4472` - // Minimum execution time: 14_406 nanoseconds. - Weight::from_parts(14_906_000, 4472) + // Measured: `42` + // Estimated: `3507` + // Minimum execution time: 13_286 nanoseconds. + Weight::from_parts(13_692_000, 3507) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_nominees_election.rs b/runtime/karura/src/weights/module_nominees_election.rs index 9e50be5b0..bc032e1b3 100644 --- a/runtime/karura/src/weights/module_nominees_election.rs +++ b/runtime/karura/src/weights/module_nominees_election.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_nominees_election //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `192.168.1.3`, CPU: `` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,6 +55,8 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `NomineesElection::Nominations` (r:1 w:0) // Proof: `NomineesElection::Nominations` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::PoolInfos` (r:1 w:1) @@ -61,12 +65,12 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2634` - // Estimated: `6099` - // Minimum execution time: 39_000 nanoseconds. - Weight::from_parts(40_000_000, 6099) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `733` + // Estimated: `4765` + // Minimum execution time: 62_864 nanoseconds. + Weight::from_parts(64_758_000, 4765) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -84,10 +88,10 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` - // Estimated: `5853` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 5853) + // Measured: `977` + // Estimated: `4765` + // Minimum execution time: 68_157 nanoseconds. + Weight::from_parts(69_280_000, 4765) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -104,12 +108,14 @@ impl module_nominees_election::WeightInfo for WeightInf // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 7]`. - fn rebond(_c: u32, ) -> Weight { + fn rebond(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2266` - // Estimated: `5731` - // Minimum execution time: 36_000 nanoseconds. - Weight::from_parts(37_652_826, 5731) + // Measured: `993` + // Estimated: `4765` + // Minimum execution time: 60_028 nanoseconds. + Weight::from_parts(62_145_211, 4765) + // Standard Error: 12_680 + .saturating_add(Weight::from_parts(55_190, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -124,32 +130,32 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 7]`. fn withdraw_unbonded(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2168` - // Estimated: `5633` - // Minimum execution time: 33_000 nanoseconds. - Weight::from_parts(34_118_349, 5633) - // Standard Error: 21_099 - .saturating_add(Weight::from_parts(96_491, 0).saturating_mul(c.into())) + // Measured: `757` + // Estimated: `4765` + // Minimum execution time: 49_675 nanoseconds. + Weight::from_parts(51_834_641, 4765) + // Standard Error: 9_477 + .saturating_add(Weight::from_parts(97_128, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `NomineesElection::Ledger` (r:1 w:0) // Proof: `NomineesElection::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `HomaValidatorList::ValidatorBackings` (r:16 w:0) + // Storage: `HomaValidatorList::ValidatorBackings` (r:24 w:0) // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `NomineesElection::Nominations` (r:1 w:1) // Proof: `NomineesElection::Nominations` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `NomineesElection::Votes` (r:16 w:16) + // Storage: `NomineesElection::Votes` (r:24 w:24) // Proof: `NomineesElection::Votes` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 16]`. + /// The range of component `c` is `[1, 24]`. fn nominate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508 + c * (72 ±0)` - // Estimated: `4973 + c * (2547 ±0)` - // Minimum execution time: 22_000 nanoseconds. - Weight::from_parts(19_125_174, 4973) - // Standard Error: 12_496 - .saturating_add(Weight::from_parts(3_924_043, 0).saturating_mul(c.into())) + // Measured: `504 + c * (72 ±0)` + // Estimated: `3970 + c * (2547 ±0)` + // Minimum execution time: 32_224 nanoseconds. + Weight::from_parts(25_505_306, 3970) + // Standard Error: 16_706 + .saturating_add(Weight::from_parts(8_029_220, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -160,17 +166,17 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `NomineesElection::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `NomineesElection::Nominations` (r:1 w:1) // Proof: `NomineesElection::Nominations` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `NomineesElection::Votes` (r:16 w:16) + // Storage: `NomineesElection::Votes` (r:24 w:24) // Proof: `NomineesElection::Votes` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 16]`. + /// The range of component `c` is `[1, 24]`. fn chill(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1372 + c * (93 ±0)` - // Estimated: `4835 + c * (2569 ±0)` - // Minimum execution time: 21_000 nanoseconds. - Weight::from_parts(19_737_152, 4835) - // Standard Error: 11_893 - .saturating_add(Weight::from_parts(2_815_068, 0).saturating_mul(c.into())) + // Measured: `403 + c * (93 ±0)` + // Estimated: `3867 + c * (2569 ±0)` + // Minimum execution time: 30_683 nanoseconds. + Weight::from_parts(27_103_191, 3867) + // Standard Error: 7_935 + .saturating_add(Weight::from_parts(5_308_194, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -182,12 +188,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 4]`. fn reset_reserved_nominees(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1001` - // Estimated: `1001` - // Minimum execution time: 11_000 nanoseconds. - Weight::from_parts(8_689_832, 1001) - // Standard Error: 19_101 - .saturating_add(Weight::from_parts(3_395_132, 0).saturating_mul(c.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_092 nanoseconds. + Weight::from_parts(6_497_615, 0) + // Standard Error: 14_496 + .saturating_add(Weight::from_parts(6_359_607, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } } diff --git a/runtime/karura/src/weights/module_prices.rs b/runtime/karura/src/weights/module_prices.rs index 0edf80029..b55ad612e 100644 --- a/runtime/karura/src/weights/module_prices.rs +++ b/runtime/karura/src/weights/module_prices.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_prices //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn lock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1388` - // Estimated: `4853` - // Minimum execution time: 23_466 nanoseconds. - Weight::from_parts(23_992_000, 4853) + // Measured: `312` + // Estimated: `3777` + // Minimum execution time: 23_744 nanoseconds. + Weight::from_parts(24_254_000, 3777) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,10 +68,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn unlock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1091` + // Measured: `159` // Estimated: `3532` - // Minimum execution time: 17_125 nanoseconds. - Weight::from_parts(17_858_000, 3532) + // Minimum execution time: 15_503 nanoseconds. + Weight::from_parts(15_918_000, 3532) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_session_manager.rs b/runtime/karura/src/weights/module_session_manager.rs index a7ef51049..02100861b 100644 --- a/runtime/karura/src/weights/module_session_manager.rs +++ b/runtime/karura/src/weights/module_session_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_session_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn schedule_session_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `1524` - // Estimated: `3009` - // Minimum execution time: 19_505 nanoseconds. - Weight::from_parts(20_033_000, 3009) + // Measured: `410` + // Estimated: `1895` + // Minimum execution time: 19_399 nanoseconds. + Weight::from_parts(20_270_000, 1895) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,10 +70,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn on_initialize_skip() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 5_477 nanoseconds. - Weight::from_parts(5_775_000, 3485) + // Minimum execution time: 7_275 nanoseconds. + Weight::from_parts(7_629_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,10 +85,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 5_916 nanoseconds. - Weight::from_parts(6_316_000, 3485) + // Minimum execution time: 8_167 nanoseconds. + Weight::from_parts(8_634_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -96,10 +98,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_current_session_progress() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_046 nanoseconds. - Weight::from_parts(4_235_000, 1489) + // Minimum execution time: 5_375 nanoseconds. + Weight::from_parts(5_659_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `SessionManager::DurationOffset` (r:1 w:0) @@ -108,10 +110,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_next_session_rotation() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_061 nanoseconds. - Weight::from_parts(4_244_000, 1489) + // Minimum execution time: 5_423 nanoseconds. + Weight::from_parts(5_608_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } } diff --git a/runtime/karura/src/weights/module_transaction_pause.rs b/runtime/karura/src/weights/module_transaction_pause.rs index 89ab0528e..c26fdeb2e 100644 --- a/runtime/karura/src/weights/module_transaction_pause.rs +++ b/runtime/karura/src/weights/module_transaction_pause.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_pause //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1140` - // Estimated: `4605` - // Minimum execution time: 15_018 nanoseconds. - Weight::from_parts(15_473_000, 4605) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 13_006 nanoseconds. + Weight::from_parts(13_416_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1191` - // Estimated: `4656` - // Minimum execution time: 16_335 nanoseconds. - Weight::from_parts(16_978_000, 4656) + // Measured: `55` + // Estimated: `3520` + // Minimum execution time: 14_645 nanoseconds. + Weight::from_parts(15_002_000, 3520) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,10 +75,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1140` - // Estimated: `4605` - // Minimum execution time: 15_059 nanoseconds. - Weight::from_parts(15_343_000, 4605) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 12_935 nanoseconds. + Weight::from_parts(13_236_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -84,10 +86,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1201` - // Estimated: `4666` - // Minimum execution time: 16_562 nanoseconds. - Weight::from_parts(17_104_000, 4666) + // Measured: `65` + // Estimated: `3530` + // Minimum execution time: 14_788 nanoseconds. + Weight::from_parts(15_224_000, 3530) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/module_transaction_payment.rs b/runtime/karura/src/weights/module_transaction_payment.rs index 11b1fc4d9..6f7b2e134 100644 --- a/runtime/karura/src/weights/module_transaction_payment.rs +++ b/runtime/karura/src/weights/module_transaction_payment.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_payment //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,16 +51,18 @@ pub struct WeightInfo(PhantomData); impl module_transaction_payment::WeightInfo for WeightInfo { // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `TransactionPayment::AlternativeFeeSwapPath` (r:0 w:1) // Proof: `TransactionPayment::AlternativeFeeSwapPath` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_alternative_fee_swap_path() -> Weight { // Proof Size summary in bytes: - // Measured: `1406` + // Measured: `101` // Estimated: `3633` - // Minimum execution time: 30_215 nanoseconds. - Weight::from_parts(30_853_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 34_484 nanoseconds. + Weight::from_parts(35_509_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `TransactionPayment::PoolSize` (r:1 w:1) // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -80,10 +84,10 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::SwapBalanceThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `2221` + // Measured: `502` // Estimated: `9000` - // Minimum execution time: 98_326 nanoseconds. - Weight::from_parts(100_259_000, 9000) + // Minimum execution time: 139_376 nanoseconds. + Weight::from_parts(141_728_000, 9000) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -103,42 +107,42 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1778` + // Measured: `628` // Estimated: `6234` - // Minimum execution time: 85_444 nanoseconds. - Weight::from_parts(87_224_000, 6234) + // Minimum execution time: 126_018 nanoseconds. + Weight::from_parts(128_775_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(7)) } fn with_fee_path() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_491 nanoseconds. - Weight::from_parts(7_784_000, 0) + // Minimum execution time: 11_497 nanoseconds. + Weight::from_parts(11_877_000, 0) } fn with_fee_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_233 nanoseconds. - Weight::from_parts(8_842_000, 0) + // Minimum execution time: 14_552 nanoseconds. + Weight::from_parts(15_067_000, 0) } fn with_fee_aggregated_path() -> Weight { // Proof Size summary in bytes: - // Measured: `666` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_690 nanoseconds. - Weight::from_parts(9_100_000, 0) + // Minimum execution time: 15_223 nanoseconds. + Weight::from_parts(15_891_000, 0) } // Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:1) // Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `923` - // Estimated: `2408` - // Minimum execution time: 8_038 nanoseconds. - Weight::from_parts(8_227_000, 2408) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 5_411 nanoseconds. + Weight::from_parts(5_757_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/nutsfinance_stable_asset.rs b/runtime/karura/src/weights/nutsfinance_stable_asset.rs index e6cfc95c1..9774797a6 100644 --- a/runtime/karura/src/weights/nutsfinance_stable_asset.rs +++ b/runtime/karura/src/weights/nutsfinance_stable_asset.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for nutsfinance_stable_asset //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1313` - // Estimated: `4778` - // Minimum execution time: 23_149 nanoseconds. - Weight::from_parts(23_884_000, 4778) + // Measured: `56` + // Estimated: `3593` + // Minimum execution time: 23_958 nanoseconds. + Weight::from_parts(24_600_000, 3593) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -66,10 +68,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_a() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` - // Estimated: `4971` - // Minimum execution time: 19_334 nanoseconds. - Weight::from_parts(20_052_000, 4971) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 18_436 nanoseconds. + Weight::from_parts(18_909_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_fees() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` - // Estimated: `4971` - // Minimum execution time: 18_726 nanoseconds. - Weight::from_parts(19_360_000, 4971) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_351 nanoseconds. + Weight::from_parts(18_076_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,16 +90,16 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_recipients() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` - // Estimated: `4971` - // Minimum execution time: 18_812 nanoseconds. - Weight::from_parts(19_139_000, 4971) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_203 nanoseconds. + Weight::from_parts(18_082_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:3 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -109,26 +111,28 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn mint(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2336 + u * (167 ±0)` - // Estimated: `6196 + u * (5244 ±0)` - // Minimum execution time: 146_058 nanoseconds. - Weight::from_parts(89_767_877, 6196) - // Standard Error: 207_175 - .saturating_add(Weight::from_parts(31_614_808, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `805 + u * (134 ±0)` + // Estimated: `8799 + u * (5244 ±0)` + // Minimum execution time: 231_962 nanoseconds. + Weight::from_parts(139_344_114, 8799) + // Standard Error: 400_863 + .saturating_add(Weight::from_parts(52_519_232, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:6 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -145,20 +149,20 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn swap(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2528 + u * (164 ±0)` - // Estimated: `5994 + u * (2622 ±0)` - // Minimum execution time: 1_889_585 nanoseconds. - Weight::from_parts(545_074_575, 5994) - // Standard Error: 5_409_267 - .saturating_add(Weight::from_parts(726_124_110, 0).saturating_mul(u.into())) + // Measured: `1050 + u * (164 ±0)` + // Estimated: `6196 + u * (2645 ±4)` + // Minimum execution time: 220_446 nanoseconds. + Weight::from_parts(189_881_231, 6196) + // Standard Error: 487_280 + .saturating_add(Weight::from_parts(15_707_771, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(6)) - .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 2645).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -175,48 +179,51 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_proportion(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2505 + u * (228 ±0)` - // Estimated: `5975 + u * (5244 ±0)` - // Minimum execution time: 172_498 nanoseconds. - Weight::from_parts(113_168_810, 5975) - // Standard Error: 164_148 - .saturating_add(Weight::from_parts(33_173_262, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 245_245 nanoseconds. + Weight::from_parts(151_420_318, 6196) + // Standard Error: 344_733 + .saturating_add(Weight::from_parts(53_040_274, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } - // Storage: `StableAsset::Pools` (r:1 w:0) + // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:4 w:0) + // Storage: `Tokens::Accounts` (r:6 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::ToBondPool` (r:1 w:0) // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:1 w:0) + // Storage: `Tokens::TotalIssuance` (r:2 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) + // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn redeem_single(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1598 + u * (225 ±0)` - // Estimated: `5110 + u * (1016 ±0)` - // Minimum execution time: 1_479_493 nanoseconds. - Weight::from_parts(806_038_511, 5110) - // Standard Error: 1_260_080 - .saturating_add(Weight::from_parts(356_752_802, 0).saturating_mul(u.into())) + // Measured: `1053 + u * (164 ±0)` + // Estimated: `6196 + u * (2622 ±0)` + // Minimum execution time: 224_660 nanoseconds. + Weight::from_parts(208_781_031, 6196) + // Standard Error: 667_690 + .saturating_add(Weight::from_parts(15_978_529, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 1016).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -233,15 +240,15 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_multi(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2505 + u * (228 ±0)` - // Estimated: `5975 + u * (5244 ±0)` - // Minimum execution time: 149_230 nanoseconds. - Weight::from_parts(97_928_824, 5975) - // Standard Error: 200_508 - .saturating_add(Weight::from_parts(28_906_789, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 211_962 nanoseconds. + Weight::from_parts(125_930_753, 6196) + // Standard Error: 382_660 + .saturating_add(Weight::from_parts(48_588_806, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } diff --git a/runtime/karura/src/weights/orml_auction.rs b/runtime/karura/src/weights/orml_auction.rs index a73e5047f..176c294cb 100644 --- a/runtime/karura/src/weights/orml_auction.rs +++ b/runtime/karura/src/weights/orml_auction.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_auction //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,7 +55,7 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `AuctionManager::CollateralAuctions` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -61,12 +63,12 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `2470` + // Measured: `1129` // Estimated: `8856` - // Minimum execution time: 85_650 nanoseconds. - Weight::from_parts(88_194_000, 8856) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 117_108 nanoseconds. + Weight::from_parts(121_213_000, 8856) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: `Auction::AuctionEndTime` (r:101 w:100) // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) @@ -95,12 +97,12 @@ impl orml_auction::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 100]`. fn on_finalize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2600 + c * (981 ±0)` + // Measured: `1048 + c * (179 ±0)` // Estimated: `6330 + c * (2614 ±0)` - // Minimum execution time: 91_749 nanoseconds. - Weight::from_parts(49_388_579, 6330) - // Standard Error: 22_150 - .saturating_add(Weight::from_parts(40_045_318, 0).saturating_mul(c.into())) + // Minimum execution time: 123_995 nanoseconds. + Weight::from_parts(60_498_680, 6330) + // Standard Error: 28_861 + .saturating_add(Weight::from_parts(64_672_496, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtime/karura/src/weights/orml_authority.rs b/runtime/karura/src/weights/orml_authority.rs index 03653ebfb..b46eb31e9 100644 --- a/runtime/karura/src/weights/orml_authority.rs +++ b/runtime/karura/src/weights/orml_authority.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_authority //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,10 +51,10 @@ pub struct WeightInfo(PhantomData); impl orml_authority::WeightInfo for WeightInfo { fn dispatch_as() -> Weight { // Proof Size summary in bytes: - // Measured: `965` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_031 nanoseconds. - Weight::from_parts(13_315_000, 0) + // Minimum execution time: 10_806 nanoseconds. + Weight::from_parts(11_190_000, 0) } // Storage: `Authority::NextTaskIndex` (r:1 w:1) // Proof: `Authority::NextTaskIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -62,10 +64,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn schedule_dispatch_without_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1111` + // Measured: `146` // Estimated: `11318` - // Minimum execution time: 24_137 nanoseconds. - Weight::from_parts(25_080_000, 11318) + // Minimum execution time: 27_908 nanoseconds. + Weight::from_parts(28_625_000, 11318) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -77,10 +79,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn schedule_dispatch_with_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1111` + // Measured: `146` // Estimated: `11318` - // Minimum execution time: 25_254 nanoseconds. - Weight::from_parts(25_936_000, 11318) + // Minimum execution time: 29_166 nanoseconds. + Weight::from_parts(29_640_000, 11318) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -90,10 +92,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn fast_track_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1188` + // Measured: `163` // Estimated: `21646` - // Minimum execution time: 32_250 nanoseconds. - Weight::from_parts(33_192_000, 21646) + // Minimum execution time: 39_024 nanoseconds. + Weight::from_parts(39_749_000, 21646) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,10 +105,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn delay_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1188` + // Measured: `163` // Estimated: `21646` - // Minimum execution time: 32_125 nanoseconds. - Weight::from_parts(32_936_000, 21646) + // Minimum execution time: 39_056 nanoseconds. + Weight::from_parts(40_161_000, 21646) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,10 +118,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(7853), added: 10328, mode: `MaxEncodedLen`) fn cancel_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1188` + // Measured: `163` // Estimated: `11318` - // Minimum execution time: 26_070 nanoseconds. - Weight::from_parts(26_754_000, 11318) + // Minimum execution time: 28_176 nanoseconds. + Weight::from_parts(29_112_000, 11318) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,20 +129,20 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn authorize_call() -> Weight { // Proof Size summary in bytes: - // Measured: `965` - // Estimated: `965` - // Minimum execution time: 13_675 nanoseconds. - Weight::from_parts(14_059_000, 965) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_386 nanoseconds. + Weight::from_parts(11_808_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Authority::SavedCalls` (r:1 w:1) // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1306` - // Estimated: `4771` - // Minimum execution time: 18_673 nanoseconds. - Weight::from_parts(19_278_000, 4771) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 16_245 nanoseconds. + Weight::from_parts(16_843_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +150,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn trigger_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1306` - // Estimated: `4771` - // Minimum execution time: 22_508 nanoseconds. - Weight::from_parts(22_858_000, 4771) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 21_723 nanoseconds. + Weight::from_parts(22_270_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/karura/src/weights/orml_tokens.rs b/runtime/karura/src/weights/orml_tokens.rs index f8ba5fa52..a8d6cabac 100644 --- a/runtime/karura/src/weights/orml_tokens.rs +++ b/runtime/karura/src/weights/orml_tokens.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_tokens //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,33 +51,33 @@ pub struct WeightInfo(PhantomData); impl orml_tokens::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `1578` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 41_533 nanoseconds. - Weight::from_parts(42_854_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 55_639 nanoseconds. + Weight::from_parts(56_859_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `1578` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 44_512 nanoseconds. - Weight::from_parts(45_518_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 59_716 nanoseconds. + Weight::from_parts(61_327_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,25 +85,27 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1296` + // Measured: `262` // Estimated: `6234` - // Minimum execution time: 30_766 nanoseconds. - Weight::from_parts(31_647_000, 6234) + // Minimum execution time: 37_776 nanoseconds. + Weight::from_parts(38_620_000, 6234) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1432` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 33_551 nanoseconds. - Weight::from_parts(34_577_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 56_094 nanoseconds. + Weight::from_parts(57_359_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -111,10 +115,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `1128` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 24_755 nanoseconds. - Weight::from_parts(25_351_000, 3612) + // Minimum execution time: 28_288 nanoseconds. + Weight::from_parts(28_939_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/karura/src/weights/orml_vesting.rs b/runtime/karura/src/weights/orml_vesting.rs index 598650f8d..107525103 100644 --- a/runtime/karura/src/weights/orml_vesting.rs +++ b/runtime/karura/src/weights/orml_vesting.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_vesting //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-40-129`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=karura-dev +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -61,10 +63,10 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1654` + // Measured: `407` // Estimated: `6315` - // Minimum execution time: 37_315 nanoseconds. - Weight::from_parts(38_223_000, 6315) + // Minimum execution time: 47_800 nanoseconds. + Weight::from_parts(49_162_000, 6315) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -78,17 +80,19 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `i` is `[1, 100]`. fn claim(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1794` + // Measured: `495` // Estimated: `6315` - // Minimum execution time: 39_104 nanoseconds. - Weight::from_parts(40_485_740, 6315) - // Standard Error: 542 - .saturating_add(Weight::from_parts(6_547, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 46_636 nanoseconds. + Weight::from_parts(48_126_202, 6315) + // Standard Error: 1_033 + .saturating_add(Weight::from_parts(7_167, 0).saturating_mul(i.into())) + .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`) @@ -101,12 +105,12 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1266` + // Measured: `52` // Estimated: `4764` - // Minimum execution time: 30_950 nanoseconds. - Weight::from_parts(31_945_520, 4764) - // Standard Error: 446 - .saturating_add(Weight::from_parts(40_967, 0).saturating_mul(i.into())) + // Minimum execution time: 36_892 nanoseconds. + Weight::from_parts(38_012_440, 4764) + // Standard Error: 690 + .saturating_add(Weight::from_parts(38_119, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/karura/src/weights/pallet_xcm.rs b/runtime/karura/src/weights/pallet_xcm.rs index dbe532b9a..6f10e9076 100644 --- a/runtime/karura/src/weights/pallet_xcm.rs +++ b/runtime/karura/src/weights/pallet_xcm.rs @@ -16,367 +16,343 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Autogenerated weights for `pallet_xcm` +//! Autogenerated weights for pallet_xcm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-01-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-polkadot-chain-spec.json")`, DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-28-168`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./asset-hub-polkadot-chain-spec.json +// --runtime +// target/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 -// --pallet=pallet_xcm +// --pallet=* // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./asset-hub-polkadot-weights/ -// --header=./file_header.txt +// --template=./templates/runtime-weight-template.hbs +// --output=./runtime/karura/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_xcm`. +/// Weight functions for pallet_xcm. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 29_860_000 picoseconds. - Weight::from_parts(30_671_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 41_048 nanoseconds. + Weight::from_parts(42_404_000, 3848) + .saturating_add(T::DbWeight::get().reads(3)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3593` - // Minimum execution time: 130_001_000 picoseconds. - Weight::from_parts(130_811_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // 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) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) - /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:1 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `296` - // Estimated: `6196` - // Minimum execution time: 161_501_000 picoseconds. - Weight::from_parts(162_771_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `990` + // Estimated: `4455` + // Minimum execution time: 159_779 nanoseconds. + Weight::from_parts(163_277_000, 4455) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:2 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:2 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:2 w:2) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `477` - // Estimated: `6208` - // Minimum execution time: 196_592_000 picoseconds. - Weight::from_parts(197_972_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `1290` + // Estimated: `7230` + // Minimum execution time: 225_497 nanoseconds. + Weight::from_parts(230_586_000, 7230) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(7)) } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `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: 13_770_000 picoseconds. - Weight::from_parts(14_070_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + // Proof: `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: 9_360_000 picoseconds. - Weight::from_parts(9_520_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 11_967 nanoseconds. + Weight::from_parts(12_140_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_090_000 picoseconds. - Weight::from_parts(3_350_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_909 nanoseconds. + Weight::from_parts(4_138_000, 0) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 37_560_000 picoseconds. - Weight::from_parts(38_101_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 46_756 nanoseconds. + Weight::from_parts(48_526_000, 3848) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 36_810_000 picoseconds. - Weight::from_parts(37_371_000, 0) - .saturating_add(Weight::from_parts(0, 3601)) + // Measured: `507` + // Estimated: `108971` + // Minimum execution time: 51_372 nanoseconds. + Weight::from_parts(53_494_000, 108971) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) - /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + // Proof: `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: 3_240_000 picoseconds. - Weight::from_parts(3_360_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_926 nanoseconds. + Weight::from_parts(4_117_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `22` - // Estimated: `13387` - // Minimum execution time: 24_551_000 picoseconds. - Weight::from_parts(24_920_000, 0) - .saturating_add(Weight::from_parts(0, 13387)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15862` + // Minimum execution time: 31_166 nanoseconds. + Weight::from_parts(31_599_000, 15862) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `26` - // Estimated: `13391` - // Minimum execution time: 24_760_000 picoseconds. - Weight::from_parts(25_140_000, 0) - .saturating_add(Weight::from_parts(0, 13391)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15866` + // Minimum execution time: 31_664 nanoseconds. + Weight::from_parts(32_368_000, 15866) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `37` - // Estimated: `15877` - // Minimum execution time: 27_270_000 picoseconds. - Weight::from_parts(27_560_000, 0) - .saturating_add(Weight::from_parts(0, 15877)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 35_663 nanoseconds. + Weight::from_parts(37_202_000, 18354) + .saturating_add(T::DbWeight::get().reads(7)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `6015` - // Minimum execution time: 36_540_000 picoseconds. - Weight::from_parts(37_370_000, 0) - .saturating_add(Weight::from_parts(0, 6015)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `183` + // Estimated: `6123` + // Minimum execution time: 31_749 nanoseconds. + Weight::from_parts(32_728_000, 6123) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `36` - // Estimated: `10926` - // Minimum execution time: 17_350_000 picoseconds. - Weight::from_parts(17_720_000, 0) - .saturating_add(Weight::from_parts(0, 10926)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 26_084 nanoseconds. + Weight::from_parts(26_542_000, 13404) + .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `33` - // Estimated: `13398` - // Minimum execution time: 24_660_000 picoseconds. - Weight::from_parts(25_300_000, 0) - .saturating_add(Weight::from_parts(0, 13398)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15873` + // Minimum execution time: 31_360 nanoseconds. + Weight::from_parts(32_124_000, 15873) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `13440` - // Minimum execution time: 48_760_000 picoseconds. - Weight::from_parts(49_330_000, 0) - .saturating_add(Weight::from_parts(0, 13440)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `183` + // Estimated: `16023` + // Minimum execution time: 47_578 nanoseconds. + Weight::from_parts(48_551_000, 16023) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_470_000 picoseconds. - Weight::from_parts(3_710_000, 0) - .saturating_add(Weight::from_parts(0, 1485)) + // Minimum execution time: 4_211 nanoseconds. + Weight::from_parts(4_431_000, 1485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::Queries` (r:1 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:1 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 33_640_000 picoseconds. - Weight::from_parts(34_211_000, 0) - .saturating_add(Weight::from_parts(0, 11041)) + // Minimum execution time: 39_041 nanoseconds. + Weight::from_parts(39_590_000, 11041) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) - /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + // Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Tokens::Accounts` (r:1 w:1) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 50_670_000 picoseconds. - Weight::from_parts(51_520_000, 0) - .saturating_add(Weight::from_parts(0, 3488)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `233` + // Estimated: `3698` + // Minimum execution time: 57_436 nanoseconds. + Weight::from_parts(59_437_000, 3698) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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)) - } + } } diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 136c048d1..4b186113f 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -2226,11 +2226,8 @@ construct_runtime!( #[cfg(feature = "runtime-benchmarks")] mod benches { - // use super::*; - // use alloc::boxed::Box; - // use frame_support::assert_ok; - // use kusama_runtime_constants::system_parachain::PeopleParaId; - // use system_parachains_constants::kusama::locations::PeopleLocation; + use super::*; + use alloc::boxed::Box; frame_benchmarking::define_benchmarks!( [module_aggregated_dex, AggregatedDex] @@ -2266,14 +2263,181 @@ mod benches { // Acala Ecosystem Modules [nutsfinance_stable_asset, StableAsset] // XCM - /* [pallet_xcm, PalletXcmExtrinsicsBenchmark::] */ + [pallet_xcm, PalletXcmExtrinsicsBenchmark::] ); + use crate::xcm_config::AssetHubLocation; + use cumulus_primitives_core::{Asset, Assets, Fungible, GeneralKey, Location, ParaId, Parachain, ParentThen}; + use frame_benchmarking::BenchmarkError; + + const DOT_UNITS: Balance = 10_000_000_000; + const DOT_CENTS: Balance = DOT_UNITS / 100; + + parameter_types! { + pub AssetHubParaId: ParaId = ParaId::from(parachains::asset_hub_polkadot::ID); + pub FeeAssetId: AssetId = AssetId(Location::parent()); + pub const ToSiblingBaseDeliveryFee: u128 = DOT_CENTS.saturating_mul(3); + } + + pub type PriceForSiblingParachainDelivery = polkadot_runtime_common::xcm_sender::ExponentialPrice< + FeeAssetId, + ToSiblingBaseDeliveryFee, + TransactionByteFee, + XcmpQueue, + >; + + parameter_types! { + pub ExistentialDepositAsset: Option = Some(( + Location::parent(), + NativeTokenExistentialDeposit::get() + ).into()); + pub const RandomParaId: ParaId = ParaId::new(43211234); + } + + impl pallet_xcm::benchmarking::Config for Runtime { + type DeliveryHelper = ( + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + RandomParaId, + ParachainSystem, + >, + polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >, + ); + + fn reachable_dest() -> Option { + Some(AssetHubLocation::get()) + } + + fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { + // XcmTeleportFilter is Nothing + None + } + + fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let encoded = ACA.encode(); + let mut data = [0u8; 32]; + let len = encoded.len().min(32); + data[..len].copy_from_slice(&encoded[..len]); + + Some(( + Asset { + id: AssetId(Location::new( + 0, + GeneralKey { + data: data, + length: encoded.len() as u8, + }, + )), + fun: Fungible(NativeTokenExistentialDeposit::get() * 100), + }, + ParentThen(Parachain(RandomParaId::get().into()).into()).into(), + )) + } + + fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box)> { + // transfer AUSD from this parachain to RandomParaId parachain + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(RandomParaId::get()); + + let dest = Location::new(1, Parachain(RandomParaId::get().into())); + + // fee asset + let fee_amount = NativeTokenExistentialDeposit::get(); + let aca_encoded = ACA.encode(); + let mut aca_data = [0u8; 32]; + let len = aca_encoded.len().min(32); + aca_data[..len].copy_from_slice(&aca_encoded[..len]); + let fee_location = Location::new( + 0, + GeneralKey { + data: aca_data, + length: aca_encoded.len() as u8, + }, + ); + let fee_asset: Asset = (fee_location, fee_amount).into(); + + // asset to transfer + let asset_amount = 1_000_000_000_000u128; + let asset_balance = asset_amount * 10; + let ausd_encoded = AUSD.encode(); + let mut ausd_data = [0u8; 32]; + let len = ausd_encoded.len().min(32); + ausd_data[..len].copy_from_slice(&ausd_encoded[..len]); + let asset_location = Location::new( + 0, + GeneralKey { + data: ausd_data, + length: ausd_encoded.len() as u8, + }, + ); + let transfer_asset: Asset = (asset_location, asset_amount).into(); + + let assets: Assets = vec![fee_asset.clone(), transfer_asset].into(); + + let who = frame_benchmarking::whitelisted_caller(); + // Give some multiple of the existential deposit + let native_balance = NativeTokenExistentialDeposit::get() * 1000; + let _ = >::make_free_balance_be(&who, native_balance); + let _ = Tokens::deposit(AUSD, &who, asset_balance); + // verify initial balance + assert_eq!(Balances::free_balance(&who), native_balance); + assert_eq!(Tokens::free_balance(AUSD, &who), asset_balance); + + let fee_index = if assets.get(0).unwrap().eq(&fee_asset) { 0 } else { 1 }; + + // verify transferred successfully + let verify = Box::new(move || { + // verify native balance after transfer, decreased by transferred fee amount + // (plus transport fees) + assert!(Balances::free_balance(&who) <= native_balance - fee_amount); + // verify asset balance after transfer, decreased by transferred asset amount + assert_eq!(Tokens::free_balance(AUSD, &who), asset_balance - asset_amount); + }); + Some((assets, fee_index as u32, dest, verify)) + } + + fn get_asset() -> Asset { + Asset { + id: AssetId(Location::parent()), + fun: Fungible(DOT_UNITS), + } + } + } + + impl pallet_xcm_benchmarks::Config for Runtime { + type XcmConfig = xcm_config::XcmConfig; + type AccountIdConverter = xcm_config::LocationToAccountId; + type DeliveryHelper = polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForSiblingParachainDelivery, + AssetHubParaId, + ParachainSystem, + >; + fn valid_destination() -> Result { + Ok(AssetHubLocation::get()) + } + fn worst_case_holding(_depositable_count: u32) -> Assets { + let assets: Vec = vec![Asset { + id: AssetId(Location::parent()), + fun: Fungible(1_000 * DOT_UNITS), + }]; + assets.into() + } + } + pub use frame_benchmarking::{BenchmarkBatch, BenchmarkList}; pub use frame_support::traits::{StorageInfoTrait, WhitelistedStorageKeys}; - // pub use frame_system_benchmarking::{ - // extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench, - // }; + pub use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub use sp_storage::TrackedStorageKey; } diff --git a/runtime/mandala/src/weights/module_aggregated_dex.rs b/runtime/mandala/src/weights/module_aggregated_dex.rs index 637d45c22..c52e91379 100644 --- a/runtime/mandala/src/weights/module_aggregated_dex.rs +++ b/runtime/mandala/src/weights/module_aggregated_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_aggregated_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,22 +53,22 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2838 + u * (108 ±0)` + // Measured: `475 + u * (112 ±0)` // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 93_033 nanoseconds. - Weight::from_parts(69_857_937, 6234) - // Standard Error: 78_650 - .saturating_add(Weight::from_parts(13_046_047, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 121_952 nanoseconds. + Weight::from_parts(94_346_131, 6234) + // Standard Error: 88_505 + .saturating_add(Weight::from_parts(15_602_101, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } @@ -74,36 +76,36 @@ impl module_aggregated_dex::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2838 + u * (108 ±0)` + // Measured: `475 + u * (112 ±0)` // Estimated: `6234 + u * (643 ±18)` - // Minimum execution time: 101_821 nanoseconds. - Weight::from_parts(68_009_551, 6234) - // Standard Error: 87_788 - .saturating_add(Weight::from_parts(18_345_055, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 135_164 nanoseconds. + Weight::from_parts(88_654_486, 6234) + // Standard Error: 145_535 + .saturating_add(Weight::from_parts(25_220_141, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 643).saturating_mul(u.into())) } - // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:5) + // Storage: `AggregatedDex::AggregatedSwapPaths` (r:0 w:3) // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 6]`. + /// The range of component `n` is `[0, 4]`. fn update_aggregated_swap_paths(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `666` - // Estimated: `666` - // Minimum execution time: 4_125 nanoseconds. - Weight::from_parts(3_758_952, 666) - // Standard Error: 11_425 - .saturating_add(Weight::from_parts(1_475_993, 0).saturating_mul(n.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_210 nanoseconds. + Weight::from_parts(2_651_013, 0) + // Standard Error: 35_675 + .saturating_add(Weight::from_parts(2_491_606, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/runtime/mandala/src/weights/module_asset_registry.rs b/runtime/mandala/src/weights/module_asset_registry.rs index 5dcaaba83..d0536d6b2 100644 --- a/runtime/mandala/src/weights/module_asset_registry.rs +++ b/runtime/mandala/src/weights/module_asset_registry.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_asset_registry //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `4608` - // Minimum execution time: 21_869 nanoseconds. - Weight::from_parts(22_452_000, 4608) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 25_158 nanoseconds. + Weight::from_parts(25_608_000, 3607) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -70,10 +72,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1299` - // Estimated: `4764` - // Minimum execution time: 21_947 nanoseconds. - Weight::from_parts(22_647_000, 4764) + // Measured: `298` + // Estimated: `3763` + // Minimum execution time: 24_815 nanoseconds. + Weight::from_parts(25_520_000, 3763) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,10 +85,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `4608` - // Minimum execution time: 16_438 nanoseconds. - Weight::from_parts(16_997_000, 4608) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 16_618 nanoseconds. + Weight::from_parts(16_819_000, 3607) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,17 +96,15 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1237` - // Estimated: `4702` - // Minimum execution time: 17_539 nanoseconds. - Weight::from_parts(18_024_000, 4702) + // Measured: `236` + // Estimated: `3701` + // Minimum execution time: 18_048 nanoseconds. + Weight::from_parts(18_812_000, 3701) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EVM::Accounts` (r:2 w:0) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::AccountStorages` (r:5 w:0) @@ -115,21 +115,21 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `7617` - // Estimated: `20982` - // Minimum execution time: 207_102 nanoseconds. - Weight::from_parts(210_688_000, 20982) - .saturating_add(T::DbWeight::get().reads(11)) + // Measured: `4778` + // Estimated: `18143` + // Minimum execution time: 237_302 nanoseconds. + Weight::from_parts(241_871_000, 18143) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:1) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_erc20_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1388` - // Estimated: `4853` - // Minimum execution time: 26_675 nanoseconds. - Weight::from_parts(27_417_000, 4853) + // Measured: `387` + // Estimated: `3852` + // Minimum execution time: 24_107 nanoseconds. + Weight::from_parts(24_967_000, 3852) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -137,10 +137,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `4608` - // Minimum execution time: 15_738 nanoseconds. - Weight::from_parts(16_094_000, 4608) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 14_822 nanoseconds. + Weight::from_parts(15_316_000, 3607) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +148,10 @@ impl module_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1212` - // Estimated: `4677` - // Minimum execution time: 17_078 nanoseconds. - Weight::from_parts(17_412_000, 4677) + // Measured: `211` + // Estimated: `3676` + // Minimum execution time: 16_772 nanoseconds. + Weight::from_parts(17_315_000, 3676) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_auction_manager.rs b/runtime/mandala/src/weights/module_auction_manager.rs index b2a98bf6e..b14bcb39e 100644 --- a/runtime/mandala/src/weights/module_auction_manager.rs +++ b/runtime/mandala/src/weights/module_auction_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_auction_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,8 +57,10 @@ impl module_auction_manager::WeightInfo for WeightInfo< // Proof: `Auction::Auctions` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`) // Storage: `Prices::LockedPrice` (r:2 w:0) // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) + // Storage: `AssetRegistry::AssetMetadatas` (r:2 w:0) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AcalaOracle::Values` (r:1 w:0) + // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:2 w:1) @@ -69,11 +73,11 @@ impl module_auction_manager::WeightInfo for WeightInfo< // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn cancel_collateral_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `3563` - // Estimated: `7028` - // Minimum execution time: 84_197 nanoseconds. - Weight::from_parts(86_850_000, 7028) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `1542` + // Estimated: `7482` + // Minimum execution time: 117_590 nanoseconds. + Weight::from_parts(120_711_000, 7482) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } } diff --git a/runtime/mandala/src/weights/module_cdp_engine.rs b/runtime/mandala/src/weights/module_cdp_engine.rs index bd0a2b515..78d051e8c 100644 --- a/runtime/mandala/src/weights/module_cdp_engine.rs +++ b/runtime/mandala/src/weights/module_cdp_engine.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_engine //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,55 +49,36 @@ use sp_std::marker::PhantomData; /// Weight functions for module_cdp_engine. pub struct WeightInfo(PhantomData); impl module_cdp_engine::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `CdpEngine::LastAccumulationSecs` (r:1 w:1) // Proof: `CdpEngine::LastAccumulationSecs` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:4 w:0) + // Storage: `CdpEngine::CollateralParams` (r:5 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `Loans::TotalPositions` (r:2 w:0) - // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1306 + c * (67 ±0)` - // Estimated: `9607 + c * (753 ±27)` - // Minimum execution time: 34_286 nanoseconds. - Weight::from_parts(37_586_777, 9607) - // Standard Error: 83_085 - .saturating_add(Weight::from_parts(4_238_723, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(10)) - .saturating_add(Weight::from_parts(0, 753).saturating_mul(c.into())) + // Measured: `523 + c * (87 ±0)` + // Estimated: `3697 + c * (2536 ±10)` + // Minimum execution time: 17_777 nanoseconds. + Weight::from_parts(20_200_899, 3697) + // Standard Error: 43_628 + .saturating_add(Weight::from_parts(6_430_529, 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)) + .saturating_add(Weight::from_parts(0, 2536).saturating_mul(c.into())) } // Storage: `CdpEngine::CollateralParams` (r:1 w:1) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) fn set_collateral_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1368` + // Measured: `208` // Estimated: `3600` - // Minimum execution time: 25_396 nanoseconds. - Weight::from_parts(26_105_000, 3600) + // Minimum execution time: 26_237 nanoseconds. + Weight::from_parts(26_878_000, 3600) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,8 +114,6 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `AuctionManager::TotalCollateralInAuction` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Dex::TradingPairStatuses` (r:2 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::LiquidityPool` (r:1 w:0) - // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `StableAsset::Pools` (r:1 w:0) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `AggregatedDex::AggregatedSwapPaths` (r:1 w:0) @@ -154,13 +135,13 @@ impl module_cdp_engine::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 50]`. fn liquidate_by_auction(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4881` - // Estimated: `10821` - // Minimum execution time: 190_069 nanoseconds. - Weight::from_parts(196_157_501, 10821) - // Standard Error: 16_407 - .saturating_add(Weight::from_parts(9_539_821, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(29)) + // Measured: `2066` + // Estimated: `8799` + // Minimum execution time: 258_571 nanoseconds. + Weight::from_parts(270_822_050, 8799) + // Standard Error: 39_404 + .saturating_add(Weight::from_parts(15_684_100, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(15)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) } @@ -212,10 +193,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) fn liquidate_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `5661` + // Measured: `2869` // Estimated: `16722` - // Minimum execution time: 271_574 nanoseconds. - Weight::from_parts(277_118_000, 16722) + // Minimum execution time: 390_178 nanoseconds. + Weight::from_parts(411_014_000, 16722) .saturating_add(T::DbWeight::get().reads(36)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -243,10 +224,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn settle() -> Weight { // Proof Size summary in bytes: - // Measured: `3759` - // Estimated: `7224` - // Minimum execution time: 100_767 nanoseconds. - Weight::from_parts(103_791_000, 7224) + // Measured: `1672` + // Estimated: `6234` + // Minimum execution time: 135_734 nanoseconds. + Weight::from_parts(139_991_000, 6234) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -254,10 +235,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn register_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1247` + // Measured: `208` // Estimated: `1686` - // Minimum execution time: 14_962 nanoseconds. - Weight::from_parts(15_576_000, 1686) + // Minimum execution time: 12_983 nanoseconds. + Weight::from_parts(13_220_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -265,10 +246,10 @@ impl module_cdp_engine::WeightInfo for WeightInfo { // Proof: `CdpEngine::LiquidationContracts` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`) fn deregister_liquidation_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `1288` + // Measured: `253` // Estimated: `1686` - // Minimum execution time: 15_637 nanoseconds. - Weight::from_parts(16_119_000, 1686) + // Minimum execution time: 13_891 nanoseconds. + Weight::from_parts(14_435_000, 1686) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_cdp_treasury.rs b/runtime/mandala/src/weights/module_cdp_treasury.rs index 18c1d418c..0793b397b 100644 --- a/runtime/mandala/src/weights/module_cdp_treasury.rs +++ b/runtime/mandala/src/weights/module_cdp_treasury.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_cdp_treasury //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -68,25 +70,25 @@ impl module_cdp_treasury::WeightInfo for WeightInfo /// The range of component `b` is `[1, 50]`. fn auction_collateral(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2816` + // Measured: `715` // Estimated: `3612` - // Minimum execution time: 43_228 nanoseconds. - Weight::from_parts(42_131_463, 3612) - // Standard Error: 13_311 - .saturating_add(Weight::from_parts(9_224_010, 0).saturating_mul(b.into())) + // Minimum execution time: 49_682 nanoseconds. + Weight::from_parts(46_189_845, 3612) + // Standard Error: 24_027 + .saturating_add(Weight::from_parts(15_143_179, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) } - // Storage: `Tokens::Accounts` (r:8 w:8) + // Storage: `Tokens::Accounts` (r:6 w:4) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `AuctionManager::TotalCollateralInAuction` (r:1 w:0) // Proof: `AuctionManager::TotalCollateralInAuction` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Dex::TradingPairStatuses` (r:3 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::LiquidityPool` (r:3 w:1) + // Storage: `Dex::LiquidityPool` (r:3 w:2) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) - // Storage: `StableAsset::Pools` (r:2 w:1) + // Storage: `StableAsset::Pools` (r:2 w:0) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `AggregatedDex::AggregatedSwapPaths` (r:1 w:0) // Proof: `AggregatedDex::AggregatedSwapPaths` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -94,33 +96,29 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::ToBondPool` (r:1 w:0) // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:2 w:1) + // Storage: `Tokens::TotalIssuance` (r:1 w:0) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:3 w:1) + // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) - // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn exchange_collateral_to_stable() -> Weight { // Proof Size summary in bytes: - // Measured: `5624` - // Estimated: `21966` - // Minimum execution time: 329_496 nanoseconds. - Weight::from_parts(338_514_000, 21966) - .saturating_add(T::DbWeight::get().reads(28)) - .saturating_add(T::DbWeight::get().writes(12)) + // Measured: `2434` + // Estimated: `16722` + // Minimum execution time: 273_743 nanoseconds. + Weight::from_parts(277_500_000, 16722) + .saturating_add(T::DbWeight::get().reads(22)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: `CdpTreasury::ExpectedCollateralAuctionSize` (r:0 w:1) // Proof: `CdpTreasury::ExpectedCollateralAuctionSize` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn set_expected_collateral_auction_size() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_174 nanoseconds. - Weight::from_parts(13_532_000, 0) + // Minimum execution time: 10_236 nanoseconds. + Weight::from_parts(10_569_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Tokens::Accounts` (r:2 w:2) @@ -129,10 +127,10 @@ impl module_cdp_treasury::WeightInfo for WeightInfo // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn extract_surplus_to_treasury() -> Weight { // Proof Size summary in bytes: - // Measured: `2503` + // Measured: `311` // Estimated: `6234` - // Minimum execution time: 41_331 nanoseconds. - Weight::from_parts(43_015_000, 6234) + // Minimum execution time: 44_262 nanoseconds. + Weight::from_parts(45_249_000, 6234) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/mandala/src/weights/module_collator_selection.rs b/runtime/mandala/src/weights/module_collator_selection.rs index e7bca9454..a855e9603 100644 --- a/runtime/mandala/src/weights/module_collator_selection.rs +++ b/runtime/mandala/src/weights/module_collator_selection.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_collator_selection //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -52,32 +54,32 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 50]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_649 nanoseconds. - Weight::from_parts(12_062_250, 0) - // Standard Error: 390 - .saturating_add(Weight::from_parts(14_611, 0).saturating_mul(b.into())) + // Minimum execution time: 8_474 nanoseconds. + Weight::from_parts(8_930_762, 0) + // Standard Error: 450 + .saturating_add(Weight::from_parts(16_584, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) // Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_403 nanoseconds. - Weight::from_parts(11_628_000, 0) + // Minimum execution time: 7_991 nanoseconds. + Weight::from_parts(8_190_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) // Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_387 nanoseconds. - Weight::from_parts(11_733_000, 0) + // Minimum execution time: 8_024 nanoseconds. + Weight::from_parts(8_259_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `CollatorSelection::NonCandidates` (r:1 w:1) @@ -94,17 +96,19 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[5, 200]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3431 + c * (36 ±0)` + // Measured: `1520 + c * (37 ±0)` // Estimated: `7887 + c * (37 ±0)` - // Minimum execution time: 55_319 nanoseconds. - Weight::from_parts(68_040_667, 7887) - // Standard Error: 2_771 - .saturating_add(Weight::from_parts(180_202, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 70_238 nanoseconds. + Weight::from_parts(80_457_602, 7887) + // Standard Error: 2_646 + .saturating_add(Weight::from_parts(164_634, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) } // Storage: `CollatorSelection::Candidates` (r:1 w:1) @@ -120,12 +124,12 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 200]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2658 + c * (35 ±0)` + // Measured: `1324 + c * (36 ±0)` // Estimated: `7887 + c * (37 ±0)` - // Minimum execution time: 30_345 nanoseconds. - Weight::from_parts(43_110_313, 7887) - // Standard Error: 2_331 - .saturating_add(Weight::from_parts(164_515, 0).saturating_mul(c.into())) + // Minimum execution time: 32_200 nanoseconds. + Weight::from_parts(45_253_165, 7887) + // Standard Error: 2_054 + .saturating_add(Weight::from_parts(154_066, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) @@ -139,12 +143,12 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[6, 200]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1991 + c * (32 ±0)` + // Measured: `854 + c * (32 ±0)` // Estimated: `7887 + c * (33 ±0)` - // Minimum execution time: 24_284 nanoseconds. - Weight::from_parts(30_563_309, 7887) - // Standard Error: 1_354 - .saturating_add(Weight::from_parts(131_393, 0).saturating_mul(c.into())) + // Minimum execution time: 22_868 nanoseconds. + Weight::from_parts(26_757_924, 7887) + // Standard Error: 857 + .saturating_add(Weight::from_parts(116_503, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(c.into())) @@ -157,10 +161,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) fn withdraw_bond() -> Weight { // Proof Size summary in bytes: - // Measured: `3766` - // Estimated: `5251` - // Minimum execution time: 66_147 nanoseconds. - Weight::from_parts(67_122_000, 5251) + // Measured: `1867` + // Estimated: `3633` + // Minimum execution time: 68_686 nanoseconds. + Weight::from_parts(69_649_000, 3633) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -170,10 +174,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::SessionPoints` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `2002` + // Measured: `602` // Estimated: `3593` - // Minimum execution time: 26_786 nanoseconds. - Weight::from_parts(27_664_000, 3593) + // Minimum execution time: 20_460 nanoseconds. + Weight::from_parts(21_024_000, 3593) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `CollatorSelection::Candidates` (r:1 w:0) @@ -182,10 +186,10 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) fn new_session() -> Weight { // Proof Size summary in bytes: - // Measured: `7525` + // Measured: `6708` // Estimated: `7887` - // Minimum execution time: 37_453 nanoseconds. - Weight::from_parts(38_926_000, 7887) + // Minimum execution time: 37_822 nanoseconds. + Weight::from_parts(38_589_000, 7887) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `Session::Validators` (r:1 w:0) @@ -198,12 +202,12 @@ impl module_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[5, 200]`. fn start_session(_r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1448 + c * (64 ±0)` + // Measured: `446 + c * (64 ±0)` // Estimated: `7887 + c * (64 ±0)` - // Minimum execution time: 20_188 nanoseconds. - Weight::from_parts(12_712_601, 7887) - // Standard Error: 2_437 - .saturating_add(Weight::from_parts(1_451_317, 0).saturating_mul(c.into())) + // Minimum execution time: 24_009 nanoseconds. + Weight::from_parts(15_002_090, 7887) + // Standard Error: 4_553 + .saturating_add(Weight::from_parts(2_085_140, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 64).saturating_mul(c.into())) @@ -216,16 +220,16 @@ impl module_collator_selection::WeightInfo for WeightIn // Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `CollatorSelection::NonCandidates` (r:0 w:3) // Proof: `CollatorSelection::NonCandidates` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `r` is `[5, 200]`. /// The range of component `c` is `[5, 200]`. - fn end_session(_r: u32, c: u32, ) -> Weight { + /// The range of component `r` is `[5, 200]`. + fn end_session(c: u32, _r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8315 + c * (49 ±0)` + // Measured: `277 + c * (49 ±0)` // Estimated: `3509 + c * (2519 ±0)` - // Minimum execution time: 31_171 nanoseconds. - Weight::from_parts(2_310_725_630, 3509) - // Standard Error: 41_790 - .saturating_add(Weight::from_parts(4_243_190, 0).saturating_mul(c.into())) + // Minimum execution time: 38_439 nanoseconds. + Weight::from_parts(2_866_905_230, 3509) + // Standard Error: 44_132 + .saturating_add(Weight::from_parts(5_934_466, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(198)) diff --git a/runtime/mandala/src/weights/module_currencies.rs b/runtime/mandala/src/weights/module_currencies.rs index ad36f958e..12ffa113b 100644 --- a/runtime/mandala/src/weights/module_currencies.rs +++ b/runtime/mandala/src/weights/module_currencies.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_currencies //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,31 +51,31 @@ pub struct WeightInfo(PhantomData); impl module_currencies::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2559` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 47_857 nanoseconds. - Weight::from_parts(48_516_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 60_646 nanoseconds. + Weight::from_parts(61_900_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2121` - // Estimated: `3593` - // Minimum execution time: 59_229 nanoseconds. - Weight::from_parts(60_067_000, 3593) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `196` + // Estimated: `6196` + // Minimum execution time: 83_561 nanoseconds. + Weight::from_parts(84_792_000, 6196) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,10 +85,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2041` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 30_051 nanoseconds. - Weight::from_parts(30_734_000, 3612) + // Minimum execution time: 30_368 nanoseconds. + Weight::from_parts(31_347_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -94,10 +96,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1773` + // Measured: `52` // Estimated: `3593` - // Minimum execution time: 29_629 nanoseconds. - Weight::from_parts(30_280_000, 3593) + // Minimum execution time: 34_244 nanoseconds. + Weight::from_parts(34_923_000, 3593) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -107,10 +109,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1912` + // Measured: `144` // Estimated: `3593` - // Minimum execution time: 33_224 nanoseconds. - Weight::from_parts(33_929_000, 3593) + // Minimum execution time: 39_908 nanoseconds. + Weight::from_parts(40_828_000, 3593) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,12 +123,12 @@ impl module_currencies::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 3]`. fn sweep_dust(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1913 + c * (339 ±0)` + // Measured: `315 + c * (79 ±0)` // Estimated: `3612 + c * (2622 ±0)` - // Minimum execution time: 38_434 nanoseconds. - Weight::from_parts(19_529_506, 3612) - // Standard Error: 35_673 - .saturating_add(Weight::from_parts(20_305_483, 0).saturating_mul(c.into())) + // Minimum execution time: 44_969 nanoseconds. + Weight::from_parts(14_908_937, 3612) + // Standard Error: 46_381 + .saturating_add(Weight::from_parts(31_570_022, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -141,10 +143,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `2242` + // Measured: `350` // Estimated: `4765` - // Minimum execution time: 33_897 nanoseconds. - Weight::from_parts(34_619_000, 4765) + // Minimum execution time: 36_695 nanoseconds. + Weight::from_parts(37_405_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,10 +158,10 @@ impl module_currencies::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_remove_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `2347` + // Measured: `455` // Estimated: `4765` - // Minimum execution time: 35_270 nanoseconds. - Weight::from_parts(36_298_000, 4765) + // Minimum execution time: 38_271 nanoseconds. + Weight::from_parts(39_197_000, 4765) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/mandala/src/weights/module_dex.rs b/runtime/mandala/src/weights/module_dex.rs index 7a69e718f..32a895e02 100644 --- a/runtime/mandala/src/weights/module_dex.rs +++ b/runtime/mandala/src/weights/module_dex.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn enable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1200` + // Measured: `109` // Estimated: `3660` - // Minimum execution time: 18_643 nanoseconds. - Weight::from_parts(19_065_000, 3660) + // Minimum execution time: 14_858 nanoseconds. + Weight::from_parts(15_579_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn disable_trading_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `1200` + // Measured: `146` // Estimated: `3660` - // Minimum execution time: 18_275 nanoseconds. - Weight::from_parts(18_864_000, 3660) + // Minimum execution time: 16_514 nanoseconds. + Weight::from_parts(17_470_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn list_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1360` + // Measured: `151` // Estimated: `3660` - // Minimum execution time: 27_957 nanoseconds. - Weight::from_parts(28_380_000, 3660) + // Minimum execution time: 24_531 nanoseconds. + Weight::from_parts(25_236_000, 3660) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,10 +90,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn update_provisioning_parameters() -> Weight { // Proof Size summary in bytes: - // Measured: `969` + // Measured: `249` // Estimated: `3660` - // Minimum execution time: 13_153 nanoseconds. - Weight::from_parts(13_548_000, 3660) + // Minimum execution time: 12_865 nanoseconds. + Weight::from_parts(13_545_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,10 +111,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) fn end_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `2607` + // Measured: `626` // Estimated: `3660` - // Minimum execution time: 47_453 nanoseconds. - Weight::from_parts(48_463_000, 3660) + // Minimum execution time: 54_426 nanoseconds. + Weight::from_parts(56_159_000, 3660) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -126,29 +128,29 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn add_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `2843` + // Measured: `511` // Estimated: `6234` - // Minimum execution time: 90_569 nanoseconds. - Weight::from_parts(91_816_000, 6234) + // Minimum execution time: 121_680 nanoseconds. + Weight::from_parts(124_267_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Dex::TradingPairStatuses` (r:1 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::ProvisioningPool` (r:2 w:1) - // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Dex::InitialShareExchangeRates` (r:1 w:1) // Proof: `Dex::InitialShareExchangeRates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) + // Storage: `Dex::ProvisioningPool` (r:2 w:1) + // Proof: `Dex::ProvisioningPool` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `2998` + // Measured: `840` // Estimated: `6272` - // Minimum execution time: 67_056 nanoseconds. - Weight::from_parts(68_994_000, 6272) + // Minimum execution time: 82_753 nanoseconds. + Weight::from_parts(85_258_000, 6272) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -166,10 +168,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3165` + // Measured: `763` // Estimated: `8856` - // Minimum execution time: 110_200 nanoseconds. - Weight::from_parts(113_197_000, 8856) + // Minimum execution time: 150_256 nanoseconds. + Weight::from_parts(154_113_000, 8856) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -191,10 +193,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_liquidity_and_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `3605` + // Measured: `1203` // Estimated: `11478` - // Minimum execution time: 142_461 nanoseconds. - Weight::from_parts(144_933_000, 11478) + // Minimum execution time: 201_360 nanoseconds. + Weight::from_parts(205_372_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -208,10 +210,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3080` + // Measured: `730` // Estimated: `8856` - // Minimum execution time: 102_467 nanoseconds. - Weight::from_parts(105_483_000, 8856) + // Minimum execution time: 138_018 nanoseconds. + Weight::from_parts(141_811_000, 8856) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -231,10 +233,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn remove_liquidity_by_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `3779` + // Measured: `1192` // Estimated: `11478` - // Minimum execution time: 150_564 nanoseconds. - Weight::from_parts(152_551_000, 11478) + // Minimum execution time: 216_357 nanoseconds. + Weight::from_parts(221_408_000, 11478) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -249,12 +251,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_supply(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2838 + u * (108 ±0)` - // Estimated: `6234 + u * (643 ±19)` - // Minimum execution time: 89_781 nanoseconds. - Weight::from_parts(66_696_308, 6234) - // Standard Error: 74_213 - .saturating_add(Weight::from_parts(12_809_217, 0).saturating_mul(u.into())) + // Measured: `373 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±18)` + // Minimum execution time: 117_085 nanoseconds. + Weight::from_parts(89_900_611, 6234) + // Standard Error: 84_872 + .saturating_add(Weight::from_parts(15_311_496, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -272,12 +274,12 @@ impl module_dex::WeightInfo for WeightInfo { /// The range of component `u` is `[2, 4]`. fn swap_with_exact_target(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2838 + u * (108 ±0)` - // Estimated: `6234 + u * (643 ±19)` - // Minimum execution time: 89_650 nanoseconds. - Weight::from_parts(67_390_443, 6234) - // Standard Error: 81_401 - .saturating_add(Weight::from_parts(12_625_344, 0).saturating_mul(u.into())) + // Measured: `373 + u * (112 ±0)` + // Estimated: `6234 + u * (643 ±18)` + // Minimum execution time: 116_774 nanoseconds. + Weight::from_parts(90_659_938, 6234) + // Standard Error: 73_044 + .saturating_add(Weight::from_parts(14_898_612, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,10 +300,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn refund_provision() -> Weight { // Proof Size summary in bytes: - // Measured: `3170` + // Measured: `723` // Estimated: `6234` - // Minimum execution time: 98_955 nanoseconds. - Weight::from_parts(101_480_000, 6234) + // Minimum execution time: 132_224 nanoseconds. + Weight::from_parts(134_420_000, 6234) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -309,10 +311,10 @@ impl module_dex::WeightInfo for WeightInfo { // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn abort_provisioning() -> Weight { // Proof Size summary in bytes: - // Measured: `1338` + // Measured: `283` // Estimated: `3660` - // Minimum execution time: 22_673 nanoseconds. - Weight::from_parts(23_292_000, 3660) + // Minimum execution time: 20_021 nanoseconds. + Weight::from_parts(20_904_000, 3660) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_dex_oracle.rs b/runtime/mandala/src/weights/module_dex_oracle.rs index e30dafda0..e73d67d72 100644 --- a/runtime/mandala/src/weights/module_dex_oracle.rs +++ b/runtime/mandala/src/weights/module_dex_oracle.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_dex_oracle //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,51 +49,32 @@ use sp_std::marker::PhantomData; /// Weight functions for module_dex_oracle. pub struct WeightInfo(PhantomData); impl module_dex_oracle::WeightInfo for WeightInfo { - // Storage: `Aura::CurrentSlot` (r:1 w:1) - // Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Aura::Authorities` (r:1 w:0) - // Proof: `Aura::Authorities` (`max_values`: Some(1), `max_size`: Some(1025), added: 1520, 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: `DexOracle::AveragePrices` (r:4 w:3) // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Dex::LiquidityPool` (r:3 w:0) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `DexOracle::Cumulatives` (r:3 w:3) // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::InherentsApplied` (r:0 w:1) - // Proof: `System::InherentsApplied` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `System::ParentHash` (r:0 w:1) - // Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:0 w:1) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `System::BlockHash` (r:0 w:1) - // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a65787472696e7369635f696e646578` (r:0 w:1) - // Storage: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Proof: UNKNOWN KEY `0x3a696e747261626c6f636b5f656e74726f7079` (r:0 w:1) - // Storage: `Timestamp::Now` (r:0 w:1) - // Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - // Storage: `Timestamp::DidUpdate` (r:0 w:1) - // Proof: `Timestamp::DidUpdate` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 3]`. /// The range of component `u` is `[0, 3]`. fn on_initialize_with_update_average_prices(n: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `203 + n * (377 ±0) + u * (249 ±0)` - // Estimated: `4886 + n * (2864 ±33) + u * (346 ±33)` - // Minimum execution time: 13_884 nanoseconds. - Weight::from_parts(14_463_000, 4886) - // Standard Error: 147_155 - .saturating_add(Weight::from_parts(10_440_038, 0).saturating_mul(n.into())) - // Standard Error: 147_155 - .saturating_add(Weight::from_parts(4_618_173, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `0 + n * (324 ±0) + u * (197 ±0)` + // Estimated: `4135 + n * (2815 ±33) + u * (346 ±33)` + // Minimum execution time: 8_850 nanoseconds. + Weight::from_parts(9_451_000, 4135) + // Standard Error: 219_517 + .saturating_add(Weight::from_parts(13_231_212, 0).saturating_mul(n.into())) + // Standard Error: 219_517 + .saturating_add(Weight::from_parts(6_652_907, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 2864).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2815).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 346).saturating_mul(u.into())) } // Storage: `DexOracle::AveragePrices` (r:1 w:1) @@ -104,10 +87,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `990` - // Estimated: `4455` - // Minimum execution time: 19_313 nanoseconds. - Weight::from_parts(19_636_000, 4455) + // Measured: `356` + // Estimated: `3821` + // Minimum execution time: 25_193 nanoseconds. + Weight::from_parts(26_133_000, 3821) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +100,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::Cumulatives` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_average_price() -> Weight { // Proof Size summary in bytes: - // Measured: `960` - // Estimated: `4425` - // Minimum execution time: 12_499 nanoseconds. - Weight::from_parts(12_818_000, 4425) + // Measured: `327` + // Estimated: `3792` + // Minimum execution time: 14_335 nanoseconds. + Weight::from_parts(14_711_000, 3792) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,10 +111,10 @@ impl module_dex_oracle::WeightInfo for WeightInfo { // Proof: `DexOracle::AveragePrices` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_average_price_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `960` - // Estimated: `4425` - // Minimum execution time: 11_603 nanoseconds. - Weight::from_parts(12_058_000, 4425) + // Measured: `327` + // Estimated: `3792` + // Minimum execution time: 12_973 nanoseconds. + Weight::from_parts(13_500_000, 3792) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_earning.rs b/runtime/mandala/src/weights/module_earning.rs index e5560657b..a98780b8d 100644 --- a/runtime/mandala/src/weights/module_earning.rs +++ b/runtime/mandala/src/weights/module_earning.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_earning //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,6 +51,8 @@ pub struct WeightInfo(PhantomData); impl module_earning::WeightInfo for WeightInfo { // Storage: `Earning::Ledger` (r:1 w:1) // Proof: `Earning::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Locks` (r:1 w:1) // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) @@ -59,52 +63,56 @@ impl module_earning::WeightInfo for WeightInfo { // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2293` - // Estimated: `5758` - // Minimum execution time: 45_177 nanoseconds. - Weight::from_parts(46_166_000, 5758) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `451` + // Estimated: `4764` + // Minimum execution time: 54_827 nanoseconds. + Weight::from_parts(56_232_000, 4764) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: `Parameters::Parameters` (r:1 w:0) - // Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) // Storage: `Earning::Ledger` (r:1 w:1) // Proof: `Earning::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Balances::Locks` (r:1 w:1) // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn unbond_instant() -> Weight { + fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2989` - // Estimated: `6454` - // Minimum execution time: 76_877 nanoseconds. - Weight::from_parts(78_176_000, 6454) + // Measured: `754` + // Estimated: `4764` + // Minimum execution time: 64_181 nanoseconds. + Weight::from_parts(66_126_000, 4764) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } + // Storage: `Parameters::Parameters` (r:1 w:0) + // Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) // Storage: `Earning::Ledger` (r:1 w:1) // Proof: `Earning::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Balances::Locks` (r:1 w:1) // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn unbond() -> Weight { + fn unbond_instant() -> Weight { // Proof Size summary in bytes: - // Measured: `2630` - // Estimated: `6095` - // Minimum execution time: 50_770 nanoseconds. - Weight::from_parts(51_535_000, 6095) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `807` + // Estimated: `4764` + // Minimum execution time: 101_973 nanoseconds. + Weight::from_parts(103_778_000, 4764) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Earning::Ledger` (r:1 w:1) // Proof: `Earning::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -112,18 +120,20 @@ impl module_earning::WeightInfo for WeightInfo { // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn rebond() -> Weight { // Proof Size summary in bytes: - // Measured: `2882` - // Estimated: `6347` - // Minimum execution time: 50_247 nanoseconds. - Weight::from_parts(51_269_000, 6347) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `815` + // Estimated: `4764` + // Minimum execution time: 59_255 nanoseconds. + Weight::from_parts(60_720_000, 4764) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Earning::Ledger` (r:1 w:1) // Proof: `Earning::Ledger` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -131,13 +141,15 @@ impl module_earning::WeightInfo for WeightInfo { // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn withdraw_unbonded() -> Weight { // Proof Size summary in bytes: - // Measured: `2532` - // Estimated: `5997` - // Minimum execution time: 43_089 nanoseconds. - Weight::from_parts(44_412_000, 5997) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `465` + // Estimated: `4764` + // Minimum execution time: 48_688 nanoseconds. + Weight::from_parts(49_717_000, 4764) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/mandala/src/weights/module_emergency_shutdown.rs b/runtime/mandala/src/weights/module_emergency_shutdown.rs index ac637b12c..9267253e2 100644 --- a/runtime/mandala/src/weights/module_emergency_shutdown.rs +++ b/runtime/mandala/src/weights/module_emergency_shutdown.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_emergency_shutdown //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,69 +51,57 @@ pub struct WeightInfo(PhantomData); impl module_emergency_shutdown::WeightInfo for WeightInfo { // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:1) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:3 w:0) + // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:1 w:0) - // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn emergency_shutdown(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1774 + c * (43 ±0)` - // Estimated: `8820 + c * (45 ±0)` - // Minimum execution time: 29_266 nanoseconds. - Weight::from_parts(30_556_963, 8820) - // Standard Error: 19_117 - .saturating_add(Weight::from_parts(1_269_194, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `321` + // Estimated: `3600` + // Minimum execution time: 15_676 nanoseconds. + Weight::from_parts(16_992_540, 3600) + // Standard Error: 13_551 + .saturating_add(Weight::from_parts(703_479, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:3 w:0) + // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `AuctionManager::TotalCollateralInAuction` (r:2 w:0) - // Proof: `AuctionManager::TotalCollateralInAuction` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Loans::TotalPositions` (r:2 w:0) - // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) // Storage: `EmergencyShutdown::CanRefund` (r:0 w:1) // Proof: `EmergencyShutdown::CanRefund` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn open_collateral_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `1469` - // Estimated: `8820` - // Minimum execution time: 27_949 nanoseconds. - Weight::from_parts(28_884_000, 8820) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `345` + // Estimated: `3600` + // Minimum execution time: 16_673 nanoseconds. + Weight::from_parts(17_372_000, 3600) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EmergencyShutdown::CanRefund` (r:1 w:0) // Proof: `EmergencyShutdown::CanRefund` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::CollateralParams` (r:3 w:0) + // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:5 w:5) + // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn refund_collaterals(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2948 + c * (115 ±0)` - // Estimated: `8820 + c * (1770 ±28)` - // Minimum execution time: 57_485 nanoseconds. - Weight::from_parts(54_704_508, 8820) - // Standard Error: 220_304 - .saturating_add(Weight::from_parts(15_187_774, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 1770).saturating_mul(c.into())) + // Measured: `715 + c * (29 ±0)` + // Estimated: `3612` + // Minimum execution time: 59_214 nanoseconds. + Weight::from_parts(61_420_942, 3612) + // Standard Error: 20_666 + .saturating_add(Weight::from_parts(1_434_498, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/mandala/src/weights/module_evm.rs b/runtime/mandala/src/weights/module_evm.rs index eb5b98033..27ba06648 100644 --- a/runtime/mandala/src/weights/module_evm.rs +++ b/runtime/mandala/src/weights/module_evm.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -67,10 +69,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `3591` - // Estimated: `9531` - // Minimum execution time: 138_774 nanoseconds. - Weight::from_parts(141_601_000, 9531) + // Measured: `434` + // Estimated: `6374` + // Minimum execution time: 209_800 nanoseconds. + Weight::from_parts(214_580_000, 6374) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -94,10 +96,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create2() -> Weight { // Proof Size summary in bytes: - // Measured: `3591` - // Estimated: `9531` - // Minimum execution time: 133_311 nanoseconds. - Weight::from_parts(137_004_000, 9531) + // Measured: `384` + // Estimated: `6324` + // Minimum execution time: 198_113 nanoseconds. + Weight::from_parts(201_834_000, 6324) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -121,10 +123,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_nft_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `3759` - // Estimated: `9699` - // Minimum execution time: 164_646 nanoseconds. - Weight::from_parts(167_335_000, 9699) + // Measured: `205` + // Estimated: `6276` + // Minimum execution time: 241_496 nanoseconds. + Weight::from_parts(247_934_000, 6276) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -146,10 +148,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_predeploy_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `3930` - // Estimated: `9870` - // Minimum execution time: 163_932 nanoseconds. - Weight::from_parts(166_386_000, 9870) + // Measured: `244` + // Estimated: `6276` + // Minimum execution time: 241_892 nanoseconds. + Weight::from_parts(248_084_000, 6276) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -163,19 +165,17 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Digest` (r:1 w:0) - // Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:1 w:0) // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `4284` - // Estimated: `10224` - // Minimum execution time: 131_121 nanoseconds. - Weight::from_parts(134_446_000, 10224) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `1174` + // Estimated: `7114` + // Minimum execution time: 185_056 nanoseconds. + Weight::from_parts(188_046_000, 7114) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `EVM::Accounts` (r:1 w:1) @@ -184,58 +184,64 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn transfer_maintainer() -> Weight { // Proof Size summary in bytes: - // Measured: `2446` - // Estimated: `5911` - // Minimum execution time: 88_573 nanoseconds. - Weight::from_parts(89_939_000, 5911) + // Measured: `423` + // Estimated: `3888` + // Minimum execution time: 26_708 nanoseconds. + Weight::from_parts(27_796_000, 3888) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_contract() -> Weight { // Proof Size summary in bytes: - // Measured: `3658` - // Estimated: `7123` - // Minimum execution time: 126_629 nanoseconds. - Weight::from_parts(128_567_000, 7123) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `563` + // Estimated: `4028` + // Minimum execution time: 81_033 nanoseconds. + Weight::from_parts(82_888_000, 4028) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn publish_free() -> Weight { // Proof Size summary in bytes: - // Measured: `2304` - // Estimated: `5769` - // Minimum execution time: 26_287 nanoseconds. - Weight::from_parts(27_068_000, 5769) + // Measured: `419` + // Estimated: `3884` + // Minimum execution time: 20_696 nanoseconds. + Weight::from_parts(21_519_000, 3884) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn enable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `2229` + // Measured: `140` // Estimated: `3633` - // Minimum execution time: 93_818 nanoseconds. - Weight::from_parts(94_547_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 38_561 nanoseconds. + Weight::from_parts(39_675_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn disable_contract_development() -> Weight { // Proof Size summary in bytes: - // Measured: `2301` + // Measured: `194` // Estimated: `3633` - // Minimum execution time: 95_481 nanoseconds. - Weight::from_parts(96_533_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 39_001 nanoseconds. + Weight::from_parts(40_216_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EVM::Accounts` (r:1 w:1) // Proof: `EVM::Accounts` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -245,10 +251,10 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::CodeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EvmAccounts::Accounts` (r:2 w:0) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:2 w:2) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EVM::ContractStorageSizes` (r:1 w:1) // Proof: `EVM::ContractStorageSizes` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `EVM::Codes` (r:0 w:2) @@ -256,14 +262,14 @@ impl module_evm::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 61440]`. fn set_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4202` - // Estimated: `10157` - // Minimum execution time: 155_320 nanoseconds. - Weight::from_parts(151_963_249, 10157) - // Standard Error: 12 - .saturating_add(Weight::from_parts(5_472, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `950` + // Estimated: `6890` + // Minimum execution time: 127_451 nanoseconds. + Weight::from_parts(122_735_238, 6890) + // Standard Error: 25 + .saturating_add(Weight::from_parts(6_645, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EvmAccounts::EvmAddresses` (r:2 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -279,7 +285,7 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `IdleScheduler::NextTaskId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:1 w:0) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -289,11 +295,11 @@ impl module_evm::WeightInfo for WeightInfo { // Proof: `EVM::Codes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn selfdestruct() -> Weight { // Proof Size summary in bytes: - // Measured: `4776` - // Estimated: `8241` - // Minimum execution time: 177_970 nanoseconds. - Weight::from_parts(180_653_000, 8241) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(8)) + // Measured: `1105` + // Estimated: `6196` + // Minimum execution time: 160_697 nanoseconds. + Weight::from_parts(164_213_000, 6196) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(9)) } } diff --git a/runtime/mandala/src/weights/module_evm_accounts.rs b/runtime/mandala/src/weights/module_evm_accounts.rs index 02606eba0..37322f877 100644 --- a/runtime/mandala/src/weights/module_evm_accounts.rs +++ b/runtime/mandala/src/weights/module_evm_accounts.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_evm_accounts //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,7 +49,7 @@ use sp_std::marker::PhantomData; /// Weight functions for module_evm_accounts. pub struct WeightInfo(PhantomData); impl module_evm_accounts::WeightInfo for WeightInfo { - // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) + // Storage: `EvmAccounts::EvmAddresses` (r:2 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::Accounts` (r:1 w:1) // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -55,16 +57,18 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EVM::ChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `System::BlockHash` (r:1 w:0) // Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:1 w:0) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn claim_account() -> Weight { // Proof Size summary in bytes: - // Measured: `2236` - // Estimated: `3721` - // Minimum execution time: 77_589 nanoseconds. - Weight::from_parts(78_537_000, 3721) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `493` + // Estimated: `6196` + // Minimum execution time: 172_806 nanoseconds. + Weight::from_parts(175_898_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `EvmAccounts::EvmAddresses` (r:1 w:1) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -72,10 +76,10 @@ impl module_evm_accounts::WeightInfo for WeightInfo // Proof: `EvmAccounts::Accounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_default_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` + // Measured: `4` // Estimated: `3525` - // Minimum execution time: 18_959 nanoseconds. - Weight::from_parts(19_311_000, 3525) + // Minimum execution time: 18_953 nanoseconds. + Weight::from_parts(19_451_000, 3525) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/mandala/src/weights/module_homa.rs b/runtime/mandala/src/weights/module_homa.rs index a9f38f13c..4411565aa 100644 --- a/runtime/mandala/src/weights/module_homa.rs +++ b/runtime/mandala/src/weights/module_homa.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_homa //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `823` - // Estimated: `2308` - // Minimum execution time: 6_375 nanoseconds. - Weight::from_parts(6_618_000, 2308) + // Measured: `151` + // Estimated: `1636` + // Minimum execution time: 7_831 nanoseconds. + Weight::from_parts(8_164_000, 1636) .saturating_add(T::DbWeight::get().reads(4)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) @@ -79,46 +81,29 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::CommissionRate` (r:1 w:0) // Proof: `Homa::CommissionRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:2 w:2) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:3 w:3) + // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:1 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `XcmInterface::XcmDestWeightAndFee` (r:4 w:0) + // Storage: `XcmInterface::XcmDestWeightAndFee` (r:1 w:0) // Proof: `XcmInterface::XcmDestWeightAndFee` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `ParachainInfo::ParachainId` (r:1 w:0) // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::UnclaimedRedemption` (r:1 w:1) - // Proof: `Homa::UnclaimedRedemption` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::ToBondPool` (r:1 w:1) - // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Homa::SoftBondedCapPerSubAccount` (r:1 w:0) - // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `EVM::XcmOrigin` (r:1 w:1) - // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) - // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::RedeemRequests` (r:2 w:1) - // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Homa::Unbondings` (r:1 w:1) - // Proof: `Homa::Unbondings` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Homa::TotalVoidLiquid` (r:0 w:1) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn on_initialize_with_bump_era(n: u32,) -> Weight { + /// The range of component `n` is `[1, 50]`. + fn on_initialize_with_bump_era(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4057` - // Estimated: `14947` - // Minimum execution time: 207_924 nanoseconds. - Weight::from_parts(215_712_000, 14947) - .saturating_add(T::DbWeight::get().reads(31)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + // Measured: `886` + // Estimated: `6826` + // Minimum execution time: 110_353 nanoseconds. + Weight::from_parts(115_999_830, 6826) + // Standard Error: 6_514 + .saturating_add(Weight::from_parts(193_904, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -128,7 +113,7 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) @@ -138,26 +123,26 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::EstimatedRewardRatePerEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `2789` + // Measured: `445` // Estimated: `8856` - // Minimum execution time: 66_320 nanoseconds. - Weight::from_parts(67_850_000, 8856) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 88_966 nanoseconds. + Weight::from_parts(91_005_000, 8856) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: `Homa::RedeemRequests` (r:1 w:1) // Proof: `Homa::RedeemRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:1) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn request_redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2664` + // Measured: `354` // Estimated: `6234` - // Minimum execution time: 46_485 nanoseconds. - Weight::from_parts(47_363_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 52_965 nanoseconds. + Weight::from_parts(54_470_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Homa::RedeemRequests` (r:50 w:50) @@ -179,17 +164,17 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 50]`. fn fast_match_redeems(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3482 + n * (328 ±0)` - // Estimated: `6234 + n * (2806 ±0)` - // Minimum execution time: 78_954 nanoseconds. - Weight::from_parts(29_288_782, 6234) - // Standard Error: 38_786 - .saturating_add(Weight::from_parts(43_090_890, 0).saturating_mul(n.into())) + // Measured: `649 + n * (286 ±0)` + // Estimated: `6234 + n * (2761 ±0)` + // Minimum execution time: 106_180 nanoseconds. + Weight::from_parts(44_388_286, 6234) + // Standard Error: 22_989 + .saturating_add(Weight::from_parts(67_054_972, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2806).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2761).saturating_mul(n.into())) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -205,10 +190,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_redemption() -> Weight { // Proof Size summary in bytes: - // Measured: `3017` - // Estimated: `8957` - // Minimum execution time: 64_414 nanoseconds. - Weight::from_parts(66_033_000, 8957) + // Measured: `827` + // Estimated: `6767` + // Minimum execution time: 85_612 nanoseconds. + Weight::from_parts(88_081_000, 6767) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -220,14 +205,16 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::FastMatchFeeRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::SoftBondedCapPerSubAccount` (r:0 w:1) // Proof: `Homa::SoftBondedCapPerSubAccount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::NominateIntervalEra` (r:0 w:1) + // Proof: `Homa::NominateIntervalEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_homa_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `2628` - // Minimum execution time: 21_471 nanoseconds. - Weight::from_parts(21_943_000, 2628) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 26_365 nanoseconds. + Weight::from_parts(27_059_000, 1489) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `ParachainSystem::ValidationData` (r:1 w:0) // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -237,10 +224,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::BumpEraFrequency` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_bump_era_params() -> Weight { // Proof Size summary in bytes: - // Measured: `1215` - // Estimated: `2700` - // Minimum execution time: 18_883 nanoseconds. - Weight::from_parts(19_341_000, 2700) + // Measured: `214` + // Estimated: `1699` + // Minimum execution time: 18_113 nanoseconds. + Weight::from_parts(18_578_000, 1699) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -251,12 +238,12 @@ impl module_homa::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 10]`. fn reset_ledgers(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `2628 + n * (2475 ±0)` - // Minimum execution time: 4_185 nanoseconds. - Weight::from_parts(10_357_799, 2628) - // Standard Error: 36_166 - .saturating_add(Weight::from_parts(5_846_091, 0).saturating_mul(n.into())) + // Measured: `4` + // Estimated: `1489 + n * (2475 ±0)` + // Minimum execution time: 3_418 nanoseconds. + Weight::from_parts(7_292_750, 1489) + // Standard Error: 22_873 + .saturating_add(Weight::from_parts(9_672_768, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -267,10 +254,10 @@ impl module_homa::WeightInfo for WeightInfo { // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn reset_current_era() -> Weight { // Proof Size summary in bytes: - // Measured: `1143` - // Estimated: `2628` - // Minimum execution time: 13_766 nanoseconds. - Weight::from_parts(14_213_000, 2628) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 10_189 nanoseconds. + Weight::from_parts(10_632_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_homa_validator_list.rs b/runtime/mandala/src/weights/module_homa_validator_list.rs index b937e7b1a..d4b6667aa 100644 --- a/runtime/mandala/src/weights/module_homa_validator_list.rs +++ b/runtime/mandala/src/weights/module_homa_validator_list.rs @@ -18,21 +18,22 @@ //! Autogenerated weights for module_homa_validator_list //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `192.168.1.2`, CPU: `` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --template=./templates/runtime-weight-template.hbs @@ -58,38 +59,38 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` + // Measured: `453` // Estimated: `4765` - // Minimum execution time: 36_000 nanoseconds. - Weight::from_parts(37_000_000, 4765) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 55_787 nanoseconds. + Weight::from_parts(57_303_000, 4765) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0) - // Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `1506` + // Measured: `362` // Estimated: `3606` - // Minimum execution time: 19_000 nanoseconds. - Weight::from_parts(20_000_000, 3606) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 20_337 nanoseconds. + Weight::from_parts(20_892_000, 3606) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) fn rebond() -> Weight { // Proof Size summary in bytes: - // Measured: `1044` + // Measured: `378` // Estimated: `3606` - // Minimum execution time: 8_000 nanoseconds. - Weight::from_parts(9_000_000, 3606) + // Minimum execution time: 18_347 nanoseconds. + Weight::from_parts(18_997_000, 3606) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,8 +98,8 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::ValidatorBackings` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) // Storage: `HomaValidatorList::Guarantees` (r:1 w:1) // Proof: `HomaValidatorList::Guarantees` (`max_values`: None, `max_size`: Some(141), added: 2616, mode: `MaxEncodedLen`) - // Storage: `ParachainSystem::ValidationData` (r:1 w:0) - // Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) + // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `HomaValidatorList::TotalLockedByGuarantor` (r:1 w:1) // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) @@ -107,10 +108,10 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) fn withdraw_unbonded() -> Weight { // Proof Size summary in bytes: - // Measured: `2312` + // Measured: `901` // Estimated: `4765` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 4765) + // Minimum execution time: 63_107 nanoseconds. + Weight::from_parts(65_170_000, 4765) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -119,12 +120,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn freeze(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `234 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(10_990_773, 990) - // Standard Error: 8_735 - .saturating_add(Weight::from_parts(4_485_901, 0).saturating_mul(n.into())) + // Minimum execution time: 16_176 nanoseconds. + Weight::from_parts(9_182_830, 990) + // Standard Error: 9_619 + .saturating_add(Weight::from_parts(8_374_070, 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, 2540).saturating_mul(n.into())) @@ -134,12 +135,12 @@ impl module_homa_validator_list::WeightInfo for WeightI /// The range of component `n` is `[1, 10]`. fn thaw(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1235 + n * (71 ±0)` + // Measured: `234 + n * (71 ±0)` // Estimated: `990 + n * (2540 ±0)` - // Minimum execution time: 15_000 nanoseconds. - Weight::from_parts(11_502_223, 990) - // Standard Error: 12_312 - .saturating_add(Weight::from_parts(4_428_242, 0).saturating_mul(n.into())) + // Minimum execution time: 16_463 nanoseconds. + Weight::from_parts(9_282_890, 990) + // Standard Error: 9_611 + .saturating_add(Weight::from_parts(8_345_272, 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, 2540).saturating_mul(n.into())) @@ -162,18 +163,20 @@ impl module_homa_validator_list::WeightInfo for WeightI // Proof: `HomaValidatorList::TotalLockedByGuarantor` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. fn slash(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2834 + n * (200 ±0)` + // Measured: `698 + n * (200 ±0)` // Estimated: `4765 + n * (5232 ±0)` - // Minimum execution time: 57_000 nanoseconds. - Weight::from_parts(30_420_201, 4765) - // Standard Error: 30_290 - .saturating_add(Weight::from_parts(30_166_892, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Minimum execution time: 96_732 nanoseconds. + Weight::from_parts(42_710_442, 4765) + // Standard Error: 77_002 + .saturating_add(Weight::from_parts(59_916_415, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5232).saturating_mul(n.into())) } diff --git a/runtime/mandala/src/weights/module_honzon.rs b/runtime/mandala/src/weights/module_honzon.rs index d7ff58b6e..6fe7b4420 100644 --- a/runtime/mandala/src/weights/module_honzon.rs +++ b/runtime/mandala/src/weights/module_honzon.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_honzon //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,43 +53,50 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn authorize() -> Weight { // Proof Size summary in bytes: - // Measured: `2206` + // Measured: `177` // Estimated: `3633` - // Minimum execution time: 36_831 nanoseconds. - Weight::from_parts(37_427_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 40_189 nanoseconds. + Weight::from_parts(40_955_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Honzon::Authorization` (r:1 w:1) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn unauthorize() -> Weight { // Proof Size summary in bytes: - // Measured: `2410` + // Measured: `363` // Estimated: `3633` - // Minimum execution time: 39_778 nanoseconds. - Weight::from_parts(40_832_000, 3633) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 42_839 nanoseconds. + Weight::from_parts(44_106_000, 3633) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: `Honzon::Authorization` (r:4 w:4) + // Storage: `Honzon::Authorization` (r:5 w:5) // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 5]`. fn unauthorize_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1692 + c * (290 ±0)` + // Measured: `286 + c * (76 ±0)` // Estimated: `3633 + c * (2622 ±0)` - // Minimum execution time: 19_416 nanoseconds. - Weight::from_parts(26_111_241, 3633) - // Standard Error: 208_450 - .saturating_add(Weight::from_parts(7_186_587, 0).saturating_mul(c.into())) + // Minimum execution time: 16_092 nanoseconds. + Weight::from_parts(27_115_965, 3633) + // Standard Error: 227_020 + .saturating_add(Weight::from_parts(6_956_799, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2622).saturating_mul(c.into())) } @@ -97,18 +106,18 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Loans::TotalPositions` (r:1 w:1) // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:3 w:3) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:1 w:1) - // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Prices::LockedPrice` (r:2 w:0) @@ -119,45 +128,27 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn adjust_loan() -> Weight { // Proof Size summary in bytes: - // Measured: `3640` - // Estimated: `9580` - // Minimum execution time: 126_716 nanoseconds. - Weight::from_parts(130_475_000, 9580) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `1318` + // Estimated: `8856` + // Minimum execution time: 159_600 nanoseconds. + Weight::from_parts(163_069_000, 8856) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Honzon::Authorization` (r:1 w:0) - // Proof: `Honzon::Authorization` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `Loans::Positions` (r:2 w:2) + // Storage: `Loans::Positions` (r:1 w:1) // Proof: `Loans::Positions` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) - // Storage: `CdpEngine::DebitExchangeRate` (r:1 w:0) - // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `Prices::LockedPrice` (r:2 w:0) - // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:1 w:0) - // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - // Storage: `AssetRegistry::AssetMetadatas` (r:2 w:0) - // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `CdpEngine::CollateralParams` (r:1 w:0) - // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) - // Storage: `Rewards::SharesAndWithdrawnRewards` (r:2 w:2) - // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Rewards::PoolInfos` (r:1 w:1) - // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Loans::TotalPositions` (r:1 w:1) // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn transfer_loan_from() -> Weight { // Proof Size summary in bytes: - // Measured: `3523` - // Estimated: `9463` - // Minimum execution time: 96_738 nanoseconds. - Weight::from_parts(98_652_000, 9463) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `283` + // Estimated: `3588` + // Minimum execution time: 52_346 nanoseconds. + Weight::from_parts(53_831_000, 3588) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) @@ -175,7 +166,7 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:4 w:2) + // Storage: `System::Account` (r:5 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -207,12 +198,12 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn close_loan_has_debit_by_dex() -> Weight { // Proof Size summary in bytes: - // Measured: `6932` + // Measured: `4214` // Estimated: `27210` - // Minimum execution time: 514_586 nanoseconds. - Weight::from_parts(519_534_000, 27210) - .saturating_add(T::DbWeight::get().reads(44)) - .saturating_add(T::DbWeight::get().writes(20)) + // Minimum execution time: 752_418 nanoseconds. + Weight::from_parts(775_652_000, 27210) + .saturating_add(T::DbWeight::get().reads(45)) + .saturating_add(T::DbWeight::get().writes(21)) } // Storage: `CdpEngine::CollateralParams` (r:1 w:0) // Proof: `CdpEngine::CollateralParams` (`max_values`: None, `max_size`: Some(135), added: 2610, mode: `MaxEncodedLen`) @@ -248,10 +239,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) fn expand_position_collateral() -> Weight { // Proof Size summary in bytes: - // Measured: `5563` - // Estimated: `11503` - // Minimum execution time: 229_683 nanoseconds. - Weight::from_parts(234_594_000, 11503) + // Measured: `3379` + // Estimated: `11478` + // Minimum execution time: 326_645 nanoseconds. + Weight::from_parts(331_553_000, 11478) .saturating_add(T::DbWeight::get().reads(27)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -291,10 +282,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Loans::TotalPositions` (`max_values`: None, `max_size`: Some(83), added: 2558, mode: `MaxEncodedLen`) fn shrink_position_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `6226` + // Measured: `3640` // Estimated: `24588` - // Minimum execution time: 377_620 nanoseconds. - Weight::from_parts(381_331_000, 24588) + // Minimum execution time: 534_481 nanoseconds. + Weight::from_parts(550_888_000, 24588) .saturating_add(T::DbWeight::get().reads(34)) .saturating_add(T::DbWeight::get().writes(18)) } @@ -324,10 +315,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn transfer_debit() -> Weight { // Proof Size summary in bytes: - // Measured: `3322` - // Estimated: `9262` - // Minimum execution time: 139_409 nanoseconds. - Weight::from_parts(142_753_000, 9262) + // Measured: `1770` + // Estimated: `8616` + // Minimum execution time: 206_396 nanoseconds. + Weight::from_parts(213_191_000, 8616) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -351,10 +342,10 @@ impl module_honzon::WeightInfo for WeightInfo { // Proof: `CdpEngine::DebitExchangeRate` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn precompile_get_current_collateral_ratio() -> Weight { // Proof Size summary in bytes: - // Measured: `2084` - // Estimated: `8024` - // Minimum execution time: 41_279 nanoseconds. - Weight::from_parts(42_403_000, 8024) + // Measured: `1496` + // Estimated: `7436` + // Minimum execution time: 63_783 nanoseconds. + Weight::from_parts(64_914_000, 7436) .saturating_add(T::DbWeight::get().reads(11)) } } diff --git a/runtime/mandala/src/weights/module_idle_scheduler.rs b/runtime/mandala/src/weights/module_idle_scheduler.rs index e947fbc29..df5a1abb5 100644 --- a/runtime/mandala/src/weights/module_idle_scheduler.rs +++ b/runtime/mandala/src/weights/module_idle_scheduler.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_idle_scheduler //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `681` - // Estimated: `2166` - // Minimum execution time: 4_287 nanoseconds. - Weight::from_parts(4_428_000, 2166) + // Measured: `147` + // Estimated: `1632` + // Minimum execution time: 5_413 nanoseconds. + Weight::from_parts(5_663_000, 1632) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,20 +72,20 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `757` - // Estimated: `2242` - // Minimum execution time: 5_893 nanoseconds. - Weight::from_parts(6_119_000, 2242) + // Measured: `284` + // Estimated: `1769` + // Minimum execution time: 9_265 nanoseconds. + Weight::from_parts(9_587_000, 1769) .saturating_add(T::DbWeight::get().reads(3)) } // Storage: `IdleScheduler::Tasks` (r:0 w:1) // Proof: `IdleScheduler::Tasks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn clear_tasks() -> Weight { // Proof Size summary in bytes: - // Measured: `869` - // Estimated: `869` - // Minimum execution time: 9_241 nanoseconds. - Weight::from_parts(9_677_000, 869) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_351 nanoseconds. + Weight::from_parts(6_479_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `IdleScheduler::NextTaskId` (r:1 w:1) @@ -92,10 +94,10 @@ impl module_idle_scheduler::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1077` - // Estimated: `2562` - // Minimum execution time: 16_526 nanoseconds. - Weight::from_parts(16_991_000, 2562) + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 15_986 nanoseconds. + Weight::from_parts(16_556_000, 1561) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/mandala/src/weights/module_incentives.rs b/runtime/mandala/src/weights/module_incentives.rs index 1dd6ef9b7..52bd909f7 100644 --- a/runtime/mandala/src/weights/module_incentives.rs +++ b/runtime/mandala/src/weights/module_incentives.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_incentives //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,60 +51,62 @@ pub struct WeightInfo(PhantomData); impl module_incentives::WeightInfo for WeightInfo { // Storage: `EmergencyShutdown::IsShutdown` (r:1 w:0) // Proof: `EmergencyShutdown::IsShutdown` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - // Storage: `Rewards::PoolInfos` (r:5 w:0) + // Storage: `Rewards::PoolInfos` (r:6 w:0) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `Incentives::IncentiveRewardAmounts` (r:8 w:0) + // Storage: `Incentives::IncentiveRewardAmounts` (r:10 w:0) // Proof: `Incentives::IncentiveRewardAmounts` (`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`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn on_initialize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1476 + c * (384 ±0)` - // Estimated: `5007 + c * (5027 ±13)` - // Minimum execution time: 8_876 nanoseconds. - Weight::from_parts(13_180_776, 5007) - // Standard Error: 141_214 - .saturating_add(Weight::from_parts(17_160_748, 0).saturating_mul(c.into())) + // Measured: `449 + c * (79 ±0)` + // Estimated: `3843 + c * (5025 ±0)` + // Minimum execution time: 7_877 nanoseconds. + Weight::from_parts(12_489_826, 3843) + // Standard Error: 92_919 + .saturating_add(Weight::from_parts(21_854_297, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5027).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5025).saturating_mul(c.into())) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `2855` - // Estimated: `6320` - // Minimum execution time: 57_714 nanoseconds. - Weight::from_parts(59_727_000, 6320) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `526` + // Estimated: `6234` + // Minimum execution time: 72_173 nanoseconds. + Weight::from_parts(74_039_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `Rewards::PoolInfos` (r:1 w:1) // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw_dex_share() -> Weight { // Proof Size summary in bytes: - // Measured: `2945` - // Estimated: `6410` - // Minimum execution time: 59_407 nanoseconds. - Weight::from_parts(60_017_000, 6410) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `675` + // Estimated: `6234` + // Minimum execution time: 84_839 nanoseconds. + Weight::from_parts(85_714_000, 6234) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Rewards::SharesAndWithdrawnRewards` (r:1 w:1) // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -114,45 +118,45 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Incentives::ClaimRewardDeductionCurrency` (r:1 w:0) // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `2633` - // Estimated: `6098` - // Minimum execution time: 85_320 nanoseconds. - Weight::from_parts(87_046_000, 6098) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `534` + // Estimated: `6196` + // Minimum execution time: 121_202 nanoseconds. + Weight::from_parts(123_255_000, 6196) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(5)) } - // Storage: `Incentives::IncentiveRewardAmounts` (r:4 w:4) + // Storage: `Incentives::IncentiveRewardAmounts` (r:5 w:5) // Proof: `Incentives::IncentiveRewardAmounts` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_incentive_rewards(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `760 + c * (94 ±0)` - // Estimated: `2033 + c * (2475 ±0)` - // Minimum execution time: 4_125 nanoseconds. - Weight::from_parts(6_933_776, 2033) - // Standard Error: 88_503 - .saturating_add(Weight::from_parts(6_366_351, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_440 nanoseconds. + Weight::from_parts(5_755_156, 1032) + // Standard Error: 45_154 + .saturating_add(Weight::from_parts(7_449_860, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) } - // Storage: `Incentives::ClaimRewardDeductionRates` (r:4 w:4) + // Storage: `Incentives::ClaimRewardDeductionRates` (r:5 w:5) // Proof: `Incentives::ClaimRewardDeductionRates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 4]`. + /// The range of component `c` is `[0, 5]`. fn update_claim_reward_deduction_rates(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + c * (10 ±0)` - // Estimated: `1698 + c * (2475 ±0)` - // Minimum execution time: 4_075 nanoseconds. - Weight::from_parts(4_940_310, 1698) - // Standard Error: 18_969 - .saturating_add(Weight::from_parts(1_948_461, 0).saturating_mul(c.into())) + // Measured: `42` + // Estimated: `1032 + c * (2475 ±0)` + // Minimum execution time: 3_453 nanoseconds. + Weight::from_parts(4_879_378, 1032) + // Standard Error: 26_186 + .saturating_add(Weight::from_parts(3_315_589, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(c.into())) @@ -161,10 +165,10 @@ impl module_incentives::WeightInfo for WeightInfo { // Proof: `Incentives::ClaimRewardDeductionCurrency` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_claim_reward_deduction_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1043` - // Estimated: `4508` - // Minimum execution time: 15_019 nanoseconds. - Weight::from_parts(15_502_000, 4508) + // Measured: `42` + // Estimated: `3507` + // Minimum execution time: 13_329 nanoseconds. + Weight::from_parts(13_933_000, 3507) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_liquid_crowdloan.rs b/runtime/mandala/src/weights/module_liquid_crowdloan.rs index 67a5005e0..977aabcf5 100644 --- a/runtime/mandala/src/weights/module_liquid_crowdloan.rs +++ b/runtime/mandala/src/weights/module_liquid_crowdloan.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_liquid_crowdloan //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,27 +55,27 @@ impl module_liquid_crowdloan::WeightInfo for WeightInfo // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::TotalIssuance` (r:1 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:2 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) - // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2964` + // Measured: `592` // Estimated: `8856` - // Minimum execution time: 69_452 nanoseconds. - Weight::from_parts(70_667_000, 8856) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 93_744 nanoseconds. + Weight::from_parts(95_807_000, 8856) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `LiquidCrowdloan::RedeemCurrencyId` (r:0 w:1) // Proof: `LiquidCrowdloan::RedeemCurrencyId` (`max_values`: Some(1), `max_size`: Some(43), added: 538, mode: `MaxEncodedLen`) fn set_redeem_currency_id() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_747 nanoseconds. - Weight::from_parts(11_946_000, 0) + // Minimum execution time: 8_130 nanoseconds. + Weight::from_parts(8_469_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/mandala/src/weights/module_nft.rs b/runtime/mandala/src/weights/module_nft.rs index cfe23d628..06af0a94f 100644 --- a/runtime/mandala/src/weights/module_nft.rs +++ b/runtime/mandala/src/weights/module_nft.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_nft //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -59,10 +61,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::Classes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_class() -> Weight { // Proof Size summary in bytes: - // Measured: `716` + // Measured: `299` // Estimated: `6196` - // Minimum execution time: 78_315 nanoseconds. - Weight::from_parts(79_998_000, 6196) + // Minimum execution time: 133_822 nanoseconds. + Weight::from_parts(135_198_000, 6196) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -81,12 +83,12 @@ impl module_nft::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 1000]`. fn mint(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2903` - // Estimated: `6368` - // Minimum execution time: 100_289 nanoseconds. - Weight::from_parts(55_726_035, 6368) - // Standard Error: 15_795 - .saturating_add(Weight::from_parts(23_413_028, 0).saturating_mul(i.into())) + // Measured: `2414` + // Estimated: `6196` + // Minimum execution time: 180_818 nanoseconds. + Weight::from_parts(162_326_304, 6196) + // Standard Error: 11_913 + .saturating_add(Weight::from_parts(41_835_510, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(i.into()))) @@ -103,10 +105,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::TokensByOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `5215` - // Estimated: `8680` - // Minimum execution time: 106_905 nanoseconds. - Weight::from_parts(107_936_000, 8680) + // Measured: `4712` + // Estimated: `8177` + // Minimum execution time: 184_584 nanoseconds. + Weight::from_parts(187_864_000, 8177) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -122,10 +124,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::TokensByOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `5113` - // Estimated: `8578` - // Minimum execution time: 73_013 nanoseconds. - Weight::from_parts(74_277_000, 8578) + // Measured: `4611` + // Estimated: `8076` + // Minimum execution time: 123_769 nanoseconds. + Weight::from_parts(126_301_000, 8076) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -142,12 +144,12 @@ impl module_nft::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3670016]`. fn burn_with_remark(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5113` - // Estimated: `8578` - // Minimum execution time: 73_130 nanoseconds. - Weight::from_parts(73_819_000, 8578) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_672, 0).saturating_mul(b.into())) + // Measured: `4611` + // Estimated: `8076` + // Minimum execution time: 124_707 nanoseconds. + Weight::from_parts(150_425_902, 8076) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_736, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -165,10 +167,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::NextTokenId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn destroy_class() -> Weight { // Proof Size summary in bytes: - // Measured: `3177` - // Estimated: `6642` - // Minimum execution time: 99_428 nanoseconds. - Weight::from_parts(101_769_000, 6642) + // Measured: `2730` + // Estimated: `6196` + // Minimum execution time: 168_122 nanoseconds. + Weight::from_parts(172_164_000, 6196) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -176,10 +178,10 @@ impl module_nft::WeightInfo for WeightInfo { // Proof: `OrmlNFT::Classes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_class_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `2339` - // Estimated: `5804` - // Minimum execution time: 17_635 nanoseconds. - Weight::from_parts(18_149_000, 5804) + // Measured: `2168` + // Estimated: `5633` + // Minimum execution time: 29_958 nanoseconds. + Weight::from_parts(31_011_000, 5633) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_nominees_election.rs b/runtime/mandala/src/weights/module_nominees_election.rs index bf2e5aff9..42f6f6752 100644 --- a/runtime/mandala/src/weights/module_nominees_election.rs +++ b/runtime/mandala/src/weights/module_nominees_election.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_nominees_election //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,6 +55,8 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Tokens::Locks` (r:1 w:1) // Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1300), added: 3775, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `NomineesElection::Nominations` (r:1 w:0) // Proof: `NomineesElection::Nominations` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Rewards::PoolInfos` (r:1 w:1) @@ -61,12 +65,12 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `2634` - // Estimated: `6099` - // Minimum execution time: 39_000 nanoseconds. - Weight::from_parts(40_000_000, 6099) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `699` + // Estimated: `4765` + // Minimum execution time: 64_686 nanoseconds. + Weight::from_parts(66_485_000, 4765) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -84,10 +88,10 @@ impl module_nominees_election::WeightInfo for WeightInf // Proof: `Rewards::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2388` - // Estimated: `5853` - // Minimum execution time: 40_000 nanoseconds. - Weight::from_parts(41_000_000, 5853) + // Measured: `943` + // Estimated: `4765` + // Minimum execution time: 69_022 nanoseconds. + Weight::from_parts(71_311_000, 4765) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -106,14 +110,14 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 7]`. fn rebond(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1920` - // Estimated: `5385` - // Minimum execution time: 38_312 nanoseconds. - Weight::from_parts(39_489_871, 5385) - // Standard Error: 8_500 - .saturating_add(Weight::from_parts(51_131, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `959` + // Estimated: `4765` + // Minimum execution time: 61_110 nanoseconds. + Weight::from_parts(63_392_644, 4765) + // Standard Error: 11_114 + .saturating_add(Weight::from_parts(9_457, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: `Homa::RelayChainCurrentEra` (r:1 w:0) // Proof: `Homa::RelayChainCurrentEra` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -126,12 +130,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 7]`. fn withdraw_unbonded(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2168` - // Estimated: `5633` - // Minimum execution time: 33_000 nanoseconds. - Weight::from_parts(34_118_349, 5633) - // Standard Error: 21_099 - .saturating_add(Weight::from_parts(96_491, 0).saturating_mul(c.into())) + // Measured: `723` + // Estimated: `4765` + // Minimum execution time: 50_781 nanoseconds. + Weight::from_parts(52_807_178, 4765) + // Standard Error: 10_259 + .saturating_add(Weight::from_parts(45_595, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -146,12 +150,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 16]`. fn nominate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508 + c * (72 ±0)` - // Estimated: `4973 + c * (2547 ±0)` - // Minimum execution time: 22_000 nanoseconds. - Weight::from_parts(19_125_174, 4973) - // Standard Error: 12_496 - .saturating_add(Weight::from_parts(3_924_043, 0).saturating_mul(c.into())) + // Measured: `507 + c * (72 ±0)` + // Estimated: `3972 + c * (2547 ±0)` + // Minimum execution time: 32_935 nanoseconds. + Weight::from_parts(27_853_622, 3972) + // Standard Error: 18_047 + .saturating_add(Weight::from_parts(7_896_281, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,12 +171,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 16]`. fn chill(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1372 + c * (93 ±0)` - // Estimated: `4835 + c * (2569 ±0)` - // Minimum execution time: 21_000 nanoseconds. - Weight::from_parts(19_737_152, 4835) - // Standard Error: 11_893 - .saturating_add(Weight::from_parts(2_815_068, 0).saturating_mul(c.into())) + // Measured: `371 + c * (93 ±0)` + // Estimated: `3834 + c * (2569 ±0)` + // Minimum execution time: 30_911 nanoseconds. + Weight::from_parts(28_305_665, 3834) + // Standard Error: 7_967 + .saturating_add(Weight::from_parts(5_324_082, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -184,12 +188,12 @@ impl module_nominees_election::WeightInfo for WeightInf /// The range of component `c` is `[1, 4]`. fn reset_reserved_nominees(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1001` - // Estimated: `1001` - // Minimum execution time: 11_000 nanoseconds. - Weight::from_parts(8_689_832, 1001) - // Standard Error: 19_101 - .saturating_add(Weight::from_parts(3_395_132, 0).saturating_mul(c.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_568 nanoseconds. + Weight::from_parts(6_224_726, 0) + // Standard Error: 13_000 + .saturating_add(Weight::from_parts(6_045_201, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } } diff --git a/runtime/mandala/src/weights/module_prices.rs b/runtime/mandala/src/weights/module_prices.rs index a0b57ddd0..ca316f25f 100644 --- a/runtime/mandala/src/weights/module_prices.rs +++ b/runtime/mandala/src/weights/module_prices.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_prices //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn lock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1460` - // Estimated: `4925` - // Minimum execution time: 23_062 nanoseconds. - Weight::from_parts(23_660_000, 4925) + // Measured: `314` + // Estimated: `3779` + // Minimum execution time: 23_571 nanoseconds. + Weight::from_parts(24_266_000, 3779) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,10 +68,10 @@ impl module_prices::WeightInfo for WeightInfo { // Proof: `Prices::LockedPrice` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn unlock_price() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `192` // Estimated: `3532` - // Minimum execution time: 17_337 nanoseconds. - Weight::from_parts(17_763_000, 3532) + // Minimum execution time: 15_303 nanoseconds. + Weight::from_parts(15_819_000, 3532) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_session_manager.rs b/runtime/mandala/src/weights/module_session_manager.rs index 01c057670..063f8e101 100644 --- a/runtime/mandala/src/weights/module_session_manager.rs +++ b/runtime/mandala/src/weights/module_session_manager.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_session_manager //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -57,10 +59,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn schedule_session_duration() -> Weight { // Proof Size summary in bytes: - // Measured: `1560` - // Estimated: `3045` - // Minimum execution time: 19_740 nanoseconds. - Weight::from_parts(20_320_000, 3045) + // Measured: `410` + // Estimated: `1895` + // Minimum execution time: 19_690 nanoseconds. + Weight::from_parts(20_286_000, 1895) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,10 +70,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDurationChanges` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn on_initialize_skip() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 5_787 nanoseconds. - Weight::from_parts(5_994_000, 3485) + // Minimum execution time: 7_542 nanoseconds. + Weight::from_parts(7_853_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,10 +85,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `809` + // Measured: `275` // Estimated: `3485` - // Minimum execution time: 6_025 nanoseconds. - Weight::from_parts(6_505_000, 3485) + // Minimum execution time: 8_508 nanoseconds. + Weight::from_parts(8_752_000, 3485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -96,10 +98,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_current_session_progress() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_319 nanoseconds. - Weight::from_parts(4_461_000, 1489) + // Minimum execution time: 5_695 nanoseconds. + Weight::from_parts(5_873_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: `SessionManager::DurationOffset` (r:1 w:0) @@ -108,10 +110,10 @@ impl module_session_manager::WeightInfo for WeightInfo< // Proof: `SessionManager::SessionDuration` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn estimate_next_session_rotation() -> Weight { // Proof Size summary in bytes: - // Measured: `769` + // Measured: `235` // Estimated: `1489` - // Minimum execution time: 4_198 nanoseconds. - Weight::from_parts(4_408_000, 1489) + // Minimum execution time: 5_558 nanoseconds. + Weight::from_parts(5_769_000, 1489) .saturating_add(T::DbWeight::get().reads(2)) } } diff --git a/runtime/mandala/src/weights/module_transaction_pause.rs b/runtime/mandala/src/weights/module_transaction_pause.rs index 176bb04f9..aab2ff48b 100644 --- a/runtime/mandala/src/weights/module_transaction_pause.rs +++ b/runtime/mandala/src/weights/module_transaction_pause.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_pause //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -51,10 +53,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1176` - // Estimated: `4641` - // Minimum execution time: 15_406 nanoseconds. - Weight::from_parts(15_618_000, 4641) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 13_242 nanoseconds. + Weight::from_parts(13_663_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,10 +64,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `1227` - // Estimated: `4692` - // Minimum execution time: 16_618 nanoseconds. - Weight::from_parts(17_249_000, 4692) + // Measured: `55` + // Estimated: `3520` + // Minimum execution time: 14_742 nanoseconds. + Weight::from_parts(15_109_000, 3520) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,10 +75,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1176` - // Estimated: `4641` - // Minimum execution time: 15_324 nanoseconds. - Weight::from_parts(15_794_000, 4641) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 12_898 nanoseconds. + Weight::from_parts(13_204_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -84,10 +86,10 @@ impl module_transaction_pause::WeightInfo for WeightInf // Proof: `TransactionPause::PausedEvmPrecompiles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_evm_precompile() -> Weight { // Proof Size summary in bytes: - // Measured: `1237` - // Estimated: `4702` - // Minimum execution time: 17_039 nanoseconds. - Weight::from_parts(17_483_000, 4702) + // Measured: `65` + // Estimated: `3530` + // Minimum execution time: 14_709 nanoseconds. + Weight::from_parts(15_317_000, 3530) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/module_transaction_payment.rs b/runtime/mandala/src/weights/module_transaction_payment.rs index 2767d8663..fc7f1316f 100644 --- a/runtime/mandala/src/weights/module_transaction_payment.rs +++ b/runtime/mandala/src/weights/module_transaction_payment.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for module_transaction_payment //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,22 +51,24 @@ pub struct WeightInfo(PhantomData); impl module_transaction_payment::WeightInfo for WeightInfo { // Storage: `Balances::Reserves` (r:1 w:1) // Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(168), added: 2643, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `TransactionPayment::AlternativeFeeSwapPath` (r:0 w:1) // Proof: `TransactionPayment::AlternativeFeeSwapPath` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_alternative_fee_swap_path() -> Weight { // Proof Size summary in bytes: - // Measured: `2130` + // Measured: `101` // Estimated: `3633` - // Minimum execution time: 32_381 nanoseconds. - Weight::from_parts(32_822_000, 3633) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 35_503 nanoseconds. + Weight::from_parts(36_205_000, 3633) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `TransactionPayment::PoolSize` (r:1 w:1) // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `Dex::TradingPairStatuses` (r:3 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::LiquidityPool` (r:2 w:0) + // Storage: `Dex::LiquidityPool` (r:1 w:0) // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `StableAsset::Pools` (r:1 w:0) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -80,11 +84,11 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::SwapBalanceThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `3247` + // Measured: `541` // Estimated: `9000` - // Minimum execution time: 105_460 nanoseconds. - Weight::from_parts(107_588_000, 9000) - .saturating_add(T::DbWeight::get().reads(11)) + // Minimum execution time: 143_599 nanoseconds. + Weight::from_parts(146_328_000, 9000) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } // Storage: `TransactionPayment::TokenExchangeRate` (r:1 w:1) @@ -103,10 +107,10 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPayment::PoolSize` (`max_values`: None, `max_size`: None, mode: `Measured`) fn disable_charge_fee_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `2817` - // Estimated: `6282` - // Minimum execution time: 88_116 nanoseconds. - Weight::from_parts(89_676_000, 6282) + // Measured: `697` + // Estimated: `6234` + // Minimum execution time: 126_520 nanoseconds. + Weight::from_parts(129_262_000, 6234) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -114,40 +118,40 @@ impl module_transaction_payment::WeightInfo for WeightI // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn with_fee_path() -> Weight { // Proof Size summary in bytes: - // Measured: `841` - // Estimated: `4306` - // Minimum execution time: 11_295 nanoseconds. - Weight::from_parts(11_456_000, 4306) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 16_397 nanoseconds. + Weight::from_parts(16_988_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: `TransactionPause::PausedTransactions` (r:1 w:0) // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn with_fee_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `841` - // Estimated: `4306` - // Minimum execution time: 11_926 nanoseconds. - Weight::from_parts(12_435_000, 4306) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 19_768 nanoseconds. + Weight::from_parts(21_031_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: `TransactionPause::PausedTransactions` (r:1 w:0) // Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn with_fee_aggregated_path() -> Weight { // Proof Size summary in bytes: - // Measured: `841` - // Estimated: `4306` - // Minimum execution time: 12_814 nanoseconds. - Weight::from_parts(13_263_000, 4306) + // Measured: `4` + // Estimated: `3469` + // Minimum execution time: 20_605 nanoseconds. + Weight::from_parts(21_604_000, 3469) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:1) // Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `959` - // Estimated: `2444` - // Minimum execution time: 8_285 nanoseconds. - Weight::from_parts(8_584_000, 2444) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 5_447 nanoseconds. + Weight::from_parts(5_776_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/nutsfinance_stable_asset.rs b/runtime/mandala/src/weights/nutsfinance_stable_asset.rs index 7f0881e89..04c733bfb 100644 --- a/runtime/mandala/src/weights/nutsfinance_stable_asset.rs +++ b/runtime/mandala/src/weights/nutsfinance_stable_asset.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for nutsfinance_stable_asset //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -55,10 +57,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1915` - // Estimated: `5380` - // Minimum execution time: 24_951 nanoseconds. - Weight::from_parts(25_686_000, 5380) + // Measured: `56` + // Estimated: `3593` + // Minimum execution time: 24_558 nanoseconds. + Weight::from_parts(25_109_000, 3593) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -66,10 +68,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_a() -> Weight { // Proof Size summary in bytes: - // Measured: `1542` - // Estimated: `5007` - // Minimum execution time: 20_128 nanoseconds. - Weight::from_parts(20_826_000, 5007) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 19_119 nanoseconds. + Weight::from_parts(19_604_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +79,10 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_fees() -> Weight { // Proof Size summary in bytes: - // Measured: `1542` - // Estimated: `5007` - // Minimum execution time: 19_416 nanoseconds. - Weight::from_parts(19_904_000, 5007) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_728 nanoseconds. + Weight::from_parts(18_441_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,16 +90,16 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) fn modify_recipients() -> Weight { // Proof Size summary in bytes: - // Measured: `1542` - // Estimated: `5007` - // Minimum execution time: 19_652 nanoseconds. - Weight::from_parts(20_179_000, 5007) + // Measured: `370` + // Estimated: `3835` + // Minimum execution time: 17_744 nanoseconds. + Weight::from_parts(18_316_000, 3835) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:2 w:2) + // Storage: `System::Account` (r:3 w:3) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -109,26 +111,28 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn mint(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3676 + u * (150 ±0)` - // Estimated: `7153 + u * (5244 ±0)` - // Minimum execution time: 152_719 nanoseconds. - Weight::from_parts(84_441_531, 7153) - // Standard Error: 330_775 - .saturating_add(Weight::from_parts(38_606_336, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `805 + u * (134 ±0)` + // Estimated: `8799 + u * (5244 ±0)` + // Minimum execution time: 236_470 nanoseconds. + Weight::from_parts(141_562_587, 8799) + // Standard Error: 420_471 + .saturating_add(Weight::from_parts(54_047_300, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:6 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -145,20 +149,20 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn swap(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3601 + u * (150 ±0)` - // Estimated: `7078 + u * (2622 ±0)` - // Minimum execution time: 1_883_941 nanoseconds. - Weight::from_parts(529_092_908, 7078) - // Standard Error: 5_305_635 - .saturating_add(Weight::from_parts(727_569_129, 0).saturating_mul(u.into())) + // Measured: `1050 + u * (164 ±0)` + // Estimated: `6196 + u * (2645 ±5)` + // Minimum execution time: 224_885 nanoseconds. + Weight::from_parts(195_180_030, 6196) + // Standard Error: 518_975 + .saturating_add(Weight::from_parts(15_930_321, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(6)) - .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 2645).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -175,48 +179,51 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_proportion(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3543 + u * (214 ±0)` - // Estimated: `7019 + u * (5244 ±0)` - // Minimum execution time: 175_924 nanoseconds. - Weight::from_parts(109_940_177, 7019) - // Standard Error: 224_097 - .saturating_add(Weight::from_parts(36_980_838, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 250_674 nanoseconds. + Weight::from_parts(152_196_774, 6196) + // Standard Error: 380_553 + .saturating_add(Weight::from_parts(54_769_238, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } - // Storage: `StableAsset::Pools` (r:1 w:0) + // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:0) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - // Storage: `Tokens::Accounts` (r:4 w:0) + // Storage: `Tokens::Accounts` (r:6 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) // Storage: `Homa::TotalStakingBonded` (r:1 w:0) // Proof: `Homa::TotalStakingBonded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) // Storage: `Homa::ToBondPool` (r:1 w:0) // Proof: `Homa::ToBondPool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `Tokens::TotalIssuance` (r:1 w:0) + // Storage: `Tokens::TotalIssuance` (r:2 w:1) // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Homa::TotalVoidLiquid` (r:1 w:0) // Proof: `Homa::TotalVoidLiquid` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::AssetMetadatas` (r:1 w:0) + // Proof: `AssetRegistry::AssetMetadatas` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `u` is `[2, 5]`. fn redeem_single(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2469 + u * (225 ±0)` - // Estimated: `5994 + u * (1016 ±0)` - // Minimum execution time: 1_477_461 nanoseconds. - Weight::from_parts(769_943_755, 5994) - // Standard Error: 1_397_120 - .saturating_add(Weight::from_parts(367_874_186, 0).saturating_mul(u.into())) + // Measured: `1053 + u * (164 ±0)` + // Estimated: `6196 + u * (2622 ±0)` + // Minimum execution time: 230_222 nanoseconds. + Weight::from_parts(215_214_367, 6196) + // Standard Error: 688_856 + .saturating_add(Weight::from_parts(15_744_868, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 1016).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(Weight::from_parts(0, 2622).saturating_mul(u.into())) } // Storage: `StableAsset::Pools` (r:1 w:1) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:10 w:10) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -233,15 +240,15 @@ impl nutsfinance_stable_asset::WeightInfo for WeightInf /// The range of component `u` is `[2, 5]`. fn redeem_multi(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3543 + u * (214 ±0)` - // Estimated: `7019 + u * (5244 ±0)` - // Minimum execution time: 153_228 nanoseconds. - Weight::from_parts(73_294_527, 7019) - // Standard Error: 407_836 - .saturating_add(Weight::from_parts(45_105_629, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `1021 + u * (195 ±0)` + // Estimated: `6196 + u * (5244 ±0)` + // Minimum execution time: 216_418 nanoseconds. + Weight::from_parts(127_495_949, 6196) + // Standard Error: 401_494 + .saturating_add(Weight::from_parts(50_124_231, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 5244).saturating_mul(u.into())) } diff --git a/runtime/mandala/src/weights/orml_auction.rs b/runtime/mandala/src/weights/orml_auction.rs index da804229b..f05cb73c2 100644 --- a/runtime/mandala/src/weights/orml_auction.rs +++ b/runtime/mandala/src/weights/orml_auction.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_auction //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -53,7 +55,7 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `AuctionManager::CollateralAuctions` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`) // Storage: `Tokens::Accounts` (r:3 w:3) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:1 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -61,12 +63,12 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `3551` + // Measured: `1127` // Estimated: `8856` - // Minimum execution time: 90_161 nanoseconds. - Weight::from_parts(92_742_000, 8856) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 120_094 nanoseconds. + Weight::from_parts(122_904_000, 8856) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: `Auction::AuctionEndTime` (r:101 w:100) // Proof: `Auction::AuctionEndTime` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) @@ -80,8 +82,6 @@ impl orml_auction::WeightInfo for WeightInfo { // Proof: `AuctionManager::TotalCollateralInAuction` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) // Storage: `Dex::TradingPairStatuses` (r:2 w:0) // Proof: `Dex::TradingPairStatuses` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) - // Storage: `Dex::LiquidityPool` (r:1 w:0) - // Proof: `Dex::LiquidityPool` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) // Storage: `StableAsset::Pools` (r:1 w:0) // Proof: `StableAsset::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) // Storage: `AggregatedDex::AggregatedSwapPaths` (r:1 w:0) @@ -97,13 +97,13 @@ impl orml_auction::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 100]`. fn on_finalize(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3560 + c * (979 ±0)` - // Estimated: `7028 + c * (2614 ±0)` - // Minimum execution time: 101_489 nanoseconds. - Weight::from_parts(56_112_111, 7028) - // Standard Error: 22_105 - .saturating_add(Weight::from_parts(43_354_872, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(14)) + // Measured: `1048 + c * (177 ±0)` + // Estimated: `6330 + c * (2614 ±0)` + // Minimum execution time: 126_333 nanoseconds. + Weight::from_parts(54_979_577, 6330) + // Standard Error: 29_148 + .saturating_add(Weight::from_parts(66_841_985, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(c.into()))) diff --git a/runtime/mandala/src/weights/orml_authority.rs b/runtime/mandala/src/weights/orml_authority.rs index 087cf8b74..0fdc13ed0 100644 --- a/runtime/mandala/src/weights/orml_authority.rs +++ b/runtime/mandala/src/weights/orml_authority.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_authority //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,10 +51,10 @@ pub struct WeightInfo(PhantomData); impl orml_authority::WeightInfo for WeightInfo { fn dispatch_as() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_988 nanoseconds. - Weight::from_parts(13_357_000, 0) + // Minimum execution time: 11_033 nanoseconds. + Weight::from_parts(11_270_000, 0) } // Storage: `Authority::NextTaskIndex` (r:1 w:1) // Proof: `Authority::NextTaskIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -62,10 +64,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(39213), added: 41688, mode: `MaxEncodedLen`) fn schedule_dispatch_without_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1147` + // Measured: `146` // Estimated: `42678` - // Minimum execution time: 24_897 nanoseconds. - Weight::from_parts(25_488_000, 42678) + // Minimum execution time: 28_388 nanoseconds. + Weight::from_parts(29_128_000, 42678) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -77,10 +79,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(39213), added: 41688, mode: `MaxEncodedLen`) fn schedule_dispatch_with_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `1147` + // Measured: `146` // Estimated: `42678` - // Minimum execution time: 25_353 nanoseconds. - Weight::from_parts(26_007_000, 42678) + // Minimum execution time: 29_890 nanoseconds. + Weight::from_parts(30_362_000, 42678) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -90,10 +92,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(39213), added: 41688, mode: `MaxEncodedLen`) fn fast_track_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1224` + // Measured: `163` // Estimated: `84366` - // Minimum execution time: 32_453 nanoseconds. - Weight::from_parts(33_281_000, 84366) + // Minimum execution time: 39_851 nanoseconds. + Weight::from_parts(40_332_000, 84366) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,10 +105,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(39213), added: 41688, mode: `MaxEncodedLen`) fn delay_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1224` + // Measured: `163` // Estimated: `84366` - // Minimum execution time: 32_644 nanoseconds. - Weight::from_parts(33_214_000, 84366) + // Minimum execution time: 40_191 nanoseconds. + Weight::from_parts(41_078_000, 84366) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,10 +118,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(39213), added: 41688, mode: `MaxEncodedLen`) fn cancel_scheduled_dispatch() -> Weight { // Proof Size summary in bytes: - // Measured: `1224` + // Measured: `163` // Estimated: `42678` - // Minimum execution time: 26_185 nanoseconds. - Weight::from_parts(26_650_000, 42678) + // Minimum execution time: 28_951 nanoseconds. + Weight::from_parts(29_706_000, 42678) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,20 +129,20 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn authorize_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1001` - // Estimated: `1001` - // Minimum execution time: 13_891 nanoseconds. - Weight::from_parts(14_308_000, 1001) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_669 nanoseconds. + Weight::from_parts(11_986_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: `Authority::SavedCalls` (r:1 w:1) // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1342` - // Estimated: `4807` - // Minimum execution time: 19_037 nanoseconds. - Weight::from_parts(19_481_000, 4807) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 16_710 nanoseconds. + Weight::from_parts(17_020_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,10 +150,10 @@ impl orml_authority::WeightInfo for WeightInfo { // Proof: `Authority::SavedCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) fn trigger_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1342` - // Estimated: `4807` - // Minimum execution time: 22_652 nanoseconds. - Weight::from_parts(23_025_000, 4807) + // Measured: `237` + // Estimated: `3702` + // Minimum execution time: 21_779 nanoseconds. + Weight::from_parts(22_491_000, 3702) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/mandala/src/weights/orml_oracle.rs b/runtime/mandala/src/weights/orml_oracle.rs index c80440ea8..8a2cd0b82 100644 --- a/runtime/mandala/src/weights/orml_oracle.rs +++ b/runtime/mandala/src/weights/orml_oracle.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_oracle //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -47,39 +49,39 @@ use sp_std::marker::PhantomData; /// Weight functions for orml_oracle. pub struct WeightInfo(PhantomData); impl orml_oracle::WeightInfo for WeightInfo { + // Storage: `OperatorMembershipAcala::Members` (r:1 w:0) + // Proof: `OperatorMembershipAcala::Members` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) // Storage: `AcalaOracle::HasDispatched` (r:1 w:1) // Proof: `AcalaOracle::HasDispatched` (`max_values`: Some(1), `max_size`: Some(1281), added: 1776, 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: `OperatorMembershipAcala::Members` (r:1 w:0) - // Proof: `OperatorMembershipAcala::Members` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::RawValues` (r:4 w:4) + // Storage: `AcalaOracle::RawValues` (r:3 w:3) // Proof: `AcalaOracle::RawValues` (`max_values`: None, `max_size`: Some(115), added: 2590, mode: `MaxEncodedLen`) - // Storage: `AcalaOracle::Values` (r:4 w:4) + // Storage: `AcalaOracle::Values` (r:3 w:3) // Proof: `AcalaOracle::Values` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 4]`. - fn feed_values(c: u32, ) -> Weight { + /// The range of component `x` is `[0, 3]`. + fn feed_values(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1283 + c * (25 ±0)` - // Estimated: `3086 + c * (2590 ±0)` - // Minimum execution time: 16_234 nanoseconds. - Weight::from_parts(18_643_550, 3086) - // Standard Error: 61_602 - .saturating_add(Weight::from_parts(9_377_300, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + // Measured: `213` + // Estimated: `3086 + x * (2590 ±0)` + // Minimum execution time: 18_283 nanoseconds. + Weight::from_parts(19_820_867, 3086) + // Standard Error: 30_632 + .saturating_add(Weight::from_parts(14_873_390, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2590).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into()))) + .saturating_add(Weight::from_parts(0, 2590).saturating_mul(x.into())) } // Storage: `AcalaOracle::HasDispatched` (r:0 w:1) // Proof: `AcalaOracle::HasDispatched` (`max_values`: Some(1), `max_size`: Some(1281), added: 1776, mode: `MaxEncodedLen`) fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `876` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_569 nanoseconds. - Weight::from_parts(6_756_000, 0) + // Minimum execution time: 1_642 nanoseconds. + Weight::from_parts(1_731_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/mandala/src/weights/orml_tokens.rs b/runtime/mandala/src/weights/orml_tokens.rs index c6b614479..d4b1665f7 100644 --- a/runtime/mandala/src/weights/orml_tokens.rs +++ b/runtime/mandala/src/weights/orml_tokens.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_tokens //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -49,33 +51,33 @@ pub struct WeightInfo(PhantomData); impl orml_tokens::WeightInfo for WeightInfo { // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `2559` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 46_069 nanoseconds. - Weight::from_parts(47_563_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 56_603 nanoseconds. + Weight::from_parts(58_299_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, 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() -> Weight { // Proof Size summary in bytes: - // Measured: `2559` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 48_531 nanoseconds. - Weight::from_parts(49_453_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 61_599 nanoseconds. + Weight::from_parts(62_776_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -83,25 +85,27 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `2205` + // Measured: `262` // Estimated: `6234` - // Minimum execution time: 33_856 nanoseconds. - Weight::from_parts(34_486_000, 6234) + // Minimum execution time: 38_900 nanoseconds. + Weight::from_parts(39_676_000, 6234) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: `Tokens::Accounts` (r:2 w:2) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) - // Storage: `System::Account` (r:2 w:1) + // Storage: `System::Account` (r:2 w:2) // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `EvmAccounts::EvmAddresses` (r:1 w:0) + // Proof: `EvmAccounts::EvmAddresses` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `2375` + // Measured: `406` // Estimated: `6234` - // Minimum execution time: 37_657 nanoseconds. - Weight::from_parts(38_382_000, 6234) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 57_151 nanoseconds. + Weight::from_parts(58_152_000, 6234) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: `Tokens::Accounts` (r:1 w:1) // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) @@ -111,10 +115,10 @@ impl orml_tokens::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `2041` + // Measured: `94` // Estimated: `3612` - // Minimum execution time: 29_603 nanoseconds. - Weight::from_parts(30_211_000, 3612) + // Minimum execution time: 28_937 nanoseconds. + Weight::from_parts(29_774_000, 3612) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/mandala/src/weights/orml_vesting.rs b/runtime/mandala/src/weights/orml_vesting.rs index 79ee3df34..ff10483bf 100644 --- a/runtime/mandala/src/weights/orml_vesting.rs +++ b/runtime/mandala/src/weights/orml_vesting.rs @@ -18,16 +18,18 @@ //! Autogenerated weights for orml_vesting //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.1 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `ip-172-31-38-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` -//! WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/production/acala +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=* @@ -61,10 +63,10 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `2257` + // Measured: `407` // Estimated: `6315` - // Minimum execution time: 38_952 nanoseconds. - Weight::from_parts(39_938_000, 6315) + // Minimum execution time: 48_107 nanoseconds. + Weight::from_parts(49_735_000, 6315) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -78,17 +80,19 @@ impl orml_vesting::WeightInfo for WeightInfo { // Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) // Storage: `Balances::Freezes` (r:1 w:0) // Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `i` is `[1, 100]`. fn claim(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2297` + // Measured: `495` // Estimated: `6315` - // Minimum execution time: 40_382 nanoseconds. - Weight::from_parts(41_597_801, 6315) - // Standard Error: 487 - .saturating_add(Weight::from_parts(3_628, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 47_632 nanoseconds. + Weight::from_parts(48_892_852, 6315) + // Standard Error: 576 + .saturating_add(Weight::from_parts(6_167, 0).saturating_mul(i.into())) + .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`) @@ -101,12 +105,12 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1902` + // Measured: `52` // Estimated: `4764` - // Minimum execution time: 31_748 nanoseconds. - Weight::from_parts(32_809_109, 4764) - // Standard Error: 417 - .saturating_add(Weight::from_parts(40_547, 0).saturating_mul(i.into())) + // Minimum execution time: 37_545 nanoseconds. + Weight::from_parts(38_432_697, 4764) + // Standard Error: 540 + .saturating_add(Weight::from_parts(40_341, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/mandala/src/weights/pallet_xcm.rs b/runtime/mandala/src/weights/pallet_xcm.rs index dbe532b9a..425211924 100644 --- a/runtime/mandala/src/weights/pallet_xcm.rs +++ b/runtime/mandala/src/weights/pallet_xcm.rs @@ -16,367 +16,329 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Autogenerated weights for `pallet_xcm` +//! Autogenerated weights for pallet_xcm //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-01-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-polkadot-chain-spec.json")`, DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-12-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-31-37-4`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` +//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./asset-hub-polkadot-chain-spec.json +// --runtime +// target/release/wbuild/mandala-runtime/mandala_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 -// --pallet=pallet_xcm +// --pallet=* // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./asset-hub-polkadot-weights/ -// --header=./file_header.txt +// --template=./templates/runtime-weight-template.hbs +// --output=./runtime/mandala/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use sp_std::marker::PhantomData; -/// Weight functions for `pallet_xcm`. +/// Weight functions for pallet_xcm. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 29_860_000 picoseconds. - Weight::from_parts(30_671_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `383` + // Estimated: `2767` + // Minimum execution time: 34_206 nanoseconds. + Weight::from_parts(35_721_000, 2767) + .saturating_add(T::DbWeight::get().reads(2)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3593` - // Minimum execution time: 130_001_000 picoseconds. - Weight::from_parts(130_811_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // 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) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) - /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:1 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:1 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `296` - // Estimated: `6196` - // Minimum execution time: 161_501_000 picoseconds. - Weight::from_parts(162_771_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) + // Measured: `990` + // Estimated: `4455` + // Minimum execution time: 151_771 nanoseconds. + Weight::from_parts(155_391_000, 4455) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `UnknownTokens::ConcreteFungibleBalances` (r:2 w:0) + // Proof: `UnknownTokens::ConcreteFungibleBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `AssetRegistry::LocationToCurrencyIds` (r:2 w:0) + // Proof: `AssetRegistry::LocationToCurrencyIds` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `Tokens::Accounts` (r:2 w:2) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `477` - // Estimated: `6208` - // Minimum execution time: 196_592_000 picoseconds. - Weight::from_parts(197_972_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `1290` + // Estimated: `7230` + // Minimum execution time: 219_275 nanoseconds. + Weight::from_parts(226_028_000, 7230) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `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: 13_770_000 picoseconds. - Weight::from_parts(14_070_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + // Proof: `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: 9_360_000 picoseconds. - Weight::from_parts(9_520_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 12_303 nanoseconds. + Weight::from_parts(12_674_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_090_000 picoseconds. - Weight::from_parts(3_350_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 4_008 nanoseconds. + Weight::from_parts(4_170_000, 0) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 37_560_000 picoseconds. - Weight::from_parts(38_101_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 40_188 nanoseconds. + Weight::from_parts(41_861_000, 3848) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + // Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + // Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + // Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 36_810_000 picoseconds. - Weight::from_parts(37_371_000, 0) - .saturating_add(Weight::from_parts(0, 3601)) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `507` + // Estimated: `108971` + // Minimum execution time: 43_670 nanoseconds. + Weight::from_parts(45_586_000, 108971) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) - /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + // Proof: `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: 3_240_000 picoseconds. - Weight::from_parts(3_360_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Minimum execution time: 3_935 nanoseconds. + Weight::from_parts(4_279_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) + // Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `22` - // Estimated: `13387` - // Minimum execution time: 24_551_000 picoseconds. - Weight::from_parts(24_920_000, 0) - .saturating_add(Weight::from_parts(0, 13387)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15862` + // Minimum execution time: 31_392 nanoseconds. + Weight::from_parts(32_047_000, 15862) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `26` - // Estimated: `13391` - // Minimum execution time: 24_760_000 picoseconds. - Weight::from_parts(25_140_000, 0) - .saturating_add(Weight::from_parts(0, 13391)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15866` + // Minimum execution time: 31_225 nanoseconds. + Weight::from_parts(31_541_000, 15866) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `37` - // Estimated: `15877` - // Minimum execution time: 27_270_000 picoseconds. - Weight::from_parts(27_560_000, 0) - .saturating_add(Weight::from_parts(0, 15877)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 35_736 nanoseconds. + Weight::from_parts(36_156_000, 18354) + .saturating_add(T::DbWeight::get().reads(7)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `6015` - // Minimum execution time: 36_540_000 picoseconds. - Weight::from_parts(37_370_000, 0) - .saturating_add(Weight::from_parts(0, 6015)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `183` + // Estimated: `6123` + // Minimum execution time: 24_747 nanoseconds. + Weight::from_parts(25_471_000, 6123) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `36` - // Estimated: `10926` - // Minimum execution time: 17_350_000 picoseconds. - Weight::from_parts(17_720_000, 0) - .saturating_add(Weight::from_parts(0, 10926)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 25_148 nanoseconds. + Weight::from_parts(25_626_000, 13404) + .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `33` - // Estimated: `13398` - // Minimum execution time: 24_660_000 picoseconds. - Weight::from_parts(25_300_000, 0) - .saturating_add(Weight::from_parts(0, 13398)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15873` + // Minimum execution time: 31_165 nanoseconds. + Weight::from_parts(31_621_000, 15873) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + // Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `13440` - // Minimum execution time: 48_760_000 picoseconds. - Weight::from_parts(49_330_000, 0) - .saturating_add(Weight::from_parts(0, 13440)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `183` + // Estimated: `16023` + // Minimum execution time: 40_153 nanoseconds. + Weight::from_parts(41_018_000, 16023) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::Queries` (r:0 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:0 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_470_000 picoseconds. - Weight::from_parts(3_710_000, 0) - .saturating_add(Weight::from_parts(0, 1485)) + // Minimum execution time: 4_196 nanoseconds. + Weight::from_parts(4_402_000, 1485) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::Queries` (r:1 w:1) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::Queries` (r:1 w:1) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 33_640_000 picoseconds. - Weight::from_parts(34_211_000, 0) - .saturating_add(Weight::from_parts(0, 11041)) + // Minimum execution time: 38_920 nanoseconds. + Weight::from_parts(39_380_000, 11041) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) - /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `EVM::XcmOrigin` (r:1 w:1) + // Proof: `EVM::XcmOrigin` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + // Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Tokens::Accounts` (r:1 w:1) + // Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(147), added: 2622, mode: `MaxEncodedLen`) + // Storage: `Tokens::TotalIssuance` (r:1 w:1) + // Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 50_670_000 picoseconds. - Weight::from_parts(51_520_000, 0) - .saturating_add(Weight::from_parts(0, 3488)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `266` + // Estimated: `3731` + // Minimum execution time: 57_925 nanoseconds. + Weight::from_parts(60_573_000, 3731) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_authorized_alias() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + // 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)) - } + } } diff --git a/ts-tests/tests/test-balance.ts b/ts-tests/tests/test-balance.ts index 025d1e27f..bd5f286a2 100644 --- a/ts-tests/tests/test-balance.ts +++ b/ts-tests/tests/test-balance.ts @@ -11,21 +11,21 @@ describeWithAcala("Acala RPC (Balance)", (context) => { }); it("genesis balance is setup correctly", async function () { - expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999995072568421000000"); - expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999995072568421000000"); + expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999995071274009000000"); + expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999995071274009000000"); expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()) .to.equal((await context.provider.api.query.system.account(alice.substrateAddress)).data.free.toString() + "000000"); }); it("balance to be updated after transfer", async function () { - expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999995072568421000000"); - expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995072575531000000"); + expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999995071274009000000"); + expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995071281122000000"); await transfer(context, alice.substrateAddress, alice_stash.substrateAddress, 1000); - expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999990446773722000000"); - expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995072576531000000"); - expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999990446773722000000"); + expect((await context.provider.getBalance(alice.getAddress())).toString()).to.equal("8999999990445479310000000"); + expect((await context.provider.getBalance(alice_stash.getAddress())).toString()).to.equal("10100000995071282122000000"); + expect((await context.provider.getBalance(alice.getAddress(), "latest")).toString()).to.equal("8999999990445479310000000"); expect((await context.provider.getBalance(alice_stash.getAddress(), "earliest")).toString()).to.equal("0"); }); }); diff --git a/ts-tests/tests/test-evm-call-fill-block.ts b/ts-tests/tests/test-evm-call-fill-block.ts index 6db148a86..4057a6949 100644 --- a/ts-tests/tests/test-evm-call-fill-block.ts +++ b/ts-tests/tests/test-evm-call-fill-block.ts @@ -37,6 +37,6 @@ describeWithAcala("Acala RPC (EVM call fill block)", (context) => { const evmCreateEvents = events.events.filter((item) => context.provider.api.events.evm.Executed.is(item.event)); - expect(evmCreateEvents.length).to.closeTo(275, 10); + expect(evmCreateEvents.length).to.closeTo(240, 10); }); }); diff --git a/ts-tests/tests/test-evm-create-fill-block.ts b/ts-tests/tests/test-evm-create-fill-block.ts index aca3d7fcb..117ff95b8 100644 --- a/ts-tests/tests/test-evm-create-fill-block.ts +++ b/ts-tests/tests/test-evm-create-fill-block.ts @@ -35,6 +35,6 @@ describeWithAcala("Acala RPC (EVM create fill block)", (context) => { const evmCreateEvents = events.events.filter((item) => context.provider.api.events.evm.Created.is(item.event)); - expect(evmCreateEvents.length).to.equal(216); + expect(evmCreateEvents.length).to.equal(206); }); }); diff --git a/ts-tests/tests/test-mempool-priority.ts b/ts-tests/tests/test-mempool-priority.ts index eaae83378..e650844ff 100644 --- a/ts-tests/tests/test-mempool-priority.ts +++ b/ts-tests/tests/test-mempool-priority.ts @@ -78,7 +78,7 @@ describeWithAcala("Acala RPC (Mempool Priority Order)", (context) => { { "ok": { "longevity": 31, - "priority": "0x010543655f7f0900", + "priority": "0x012f5e1ae66220c0", "propagate": true, "provides": [ "0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d03000000",