diff --git a/pallets/prices/src/weights.rs b/pallets/prices/src/weights.rs index 340d97d00..0b800cc9a 100644 --- a/pallets/prices/src/weights.rs +++ b/pallets/prices/src/weights.rs @@ -18,7 +18,7 @@ #![allow(unused_imports)] #![allow(clippy::all)] -use frame_support::weights::Weight; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; /// Weight functions needed for pallet_prices. @@ -32,25 +32,37 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { fn set_price() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(22_361_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn reset_price() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(21_361_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn set_foreign_asset() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(23_361_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } } // For backwards compatibility and tests impl WeightInfo for () { fn set_price() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(22_361_000 as u64) + .saturating_add(RocksDbWeight::get().reads(1 as u64)) + .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn reset_price() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(21_361_000 as u64) + .saturating_add(RocksDbWeight::get().reads(1 as u64)) + .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn set_foreign_asset() -> Weight { - Weight::from_ref_time(10_000 as u64) + Weight::from_ref_time(23_361_000 as u64) + .saturating_add(RocksDbWeight::get().reads(1 as u64)) + .saturating_add(RocksDbWeight::get().writes(1 as u64)) } } diff --git a/runtime/heiko/src/lib.rs b/runtime/heiko/src/lib.rs index a78407560..822cf0bf2 100644 --- a/runtime/heiko/src/lib.rs +++ b/runtime/heiko/src/lib.rs @@ -495,7 +495,7 @@ impl pallet_assets::Config for Runtime { type ApprovalDeposit = ApprovalDeposit; type StringLimit = AssetsStringLimit; type Freezer = (); - type WeightInfo = pallet_assets::weights::SubstrateWeight; + type WeightInfo = weights::pallet_assets::WeightInfo; type Extra = (); type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; #[cfg(feature = "runtime-benchmarks")] @@ -730,7 +730,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorId = ::AccountId; type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; - type WeightInfo = (); + type WeightInfo = weights::pallet_collator_selection::WeightInfo; } parameter_types! { @@ -1043,7 +1043,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = MaxProxies; - type WeightInfo = pallet_proxy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_proxy::WeightInfo; type MaxPending = MaxPending; type CallHasher = BlakeTwo256; type AnnouncementDepositBase = AnnouncementDepositBase; @@ -1426,7 +1426,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; - type WeightInfo = pallet_multisig::weights::SubstrateWeight; + type WeightInfo = weights::pallet_multisig::WeightInfo; } parameter_types! { @@ -1515,7 +1515,7 @@ impl pallet_democracy::Config for Runtime { type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; - type WeightInfo = pallet_democracy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; type VoteLockingPeriod = EnactmentPeriod; type Preimages = Preimage; @@ -1538,7 +1538,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = GeneralCouncilMaxProposals; type MaxMembers = GeneralCouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective::WeightInfo; } type GeneralCouncilMembershipInstance = pallet_membership::Instance1; @@ -1570,7 +1570,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective::WeightInfo; } type TechnicalCommitteeMembershipInstance = pallet_membership::Instance2; @@ -1616,7 +1616,7 @@ impl pallet_scheduler::Config for Runtime { type ScheduleOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type MaxScheduledPerBlock = MaxScheduledPerBlock; type OriginPrivilegeCmp = EqualPrivilegeOnly; - type WeightInfo = pallet_scheduler::weights::SubstrateWeight; + type WeightInfo = weights::pallet_scheduler::WeightInfo; type Preimages = Preimage; } diff --git a/runtime/heiko/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/heiko/src/weights/cumulus_pallet_xcmp_queue.rs index 9e30fa107..be38e3cd4 100644 --- a/runtime/heiko/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/heiko/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,14 +31,16 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(10_012_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 11_820 nanoseconds. + Weight::from_ref_time(12_248_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(10_079_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 12_102 nanoseconds. + Weight::from_ref_time(12_272_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/frame_system.rs b/runtime/heiko/src/weights/frame_system.rs index af7fb12b7..af21137eb 100644 --- a/runtime/heiko/src/weights/frame_system.rs +++ b/runtime/heiko/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,45 +31,51 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - Weight::from_ref_time(3_703_000 as u64) + // Minimum execution time: 6_842 nanoseconds. + Weight::from_ref_time(4_467_938) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(534).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 22_622 nanoseconds. + Weight::from_ref_time(19_476_218) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_294).saturating_mul(b.into())) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(9_860_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 14_493 nanoseconds. + Weight::from_ref_time(14_783_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_021_000 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 6_691 nanoseconds. + Weight::from_ref_time(6_790_000) + // Standard Error: 2_840 + .saturating_add(Weight::from_ref_time(1_092_534).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(799_000 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 6_843 nanoseconds. + Weight::from_ref_time(6_880_000) + // Standard Error: 898 + .saturating_add(Weight::from_ref_time(751_055).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_572_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 9_746 nanoseconds. + Weight::from_ref_time(9_918_000) + // Standard Error: 1_372 + .saturating_add(Weight::from_ref_time(1_453_284).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } } diff --git a/runtime/heiko/src/weights/mod.rs b/runtime/heiko/src/weights/mod.rs index 31f092b6f..012eaf198 100644 --- a/runtime/heiko/src/weights/mod.rs +++ b/runtime/heiko/src/weights/mod.rs @@ -1,4 +1,11 @@ pub mod frame_system; +pub mod pallet_assets; +pub mod pallet_collator_selection; +pub mod pallet_collective; +pub mod pallet_democracy; +pub mod pallet_multisig; +pub mod pallet_proxy; +pub mod pallet_scheduler; pub mod pallet_amm; pub mod pallet_asset_registry; pub mod pallet_balances; diff --git a/runtime/heiko/src/weights/pallet_amm.rs b/runtime/heiko/src/weights/pallet_amm.rs index 962f005cb..a3c6dadbc 100644 --- a/runtime/heiko/src/weights/pallet_amm.rs +++ b/runtime/heiko/src/weights/pallet_amm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_amm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -34,18 +34,20 @@ impl pallet_amm::WeightInfo for WeightInfo { // Storage: Assets Asset (r:3 w:3) // Storage: Assets Account (r:5 w:5) fn add_liquidity() -> Weight { - Weight::from_ref_time(161_720_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 172_184 nanoseconds. + Weight::from_ref_time(173_791_000) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: AMM Pools (r:1 w:1) // Storage: AMM ProtocolFee (r:1 w:0) // Storage: Assets Asset (r:3 w:3) // Storage: Assets Account (r:5 w:5) fn remove_liquidity() -> Weight { - Weight::from_ref_time(174_864_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 188_419 nanoseconds. + Weight::from_ref_time(190_666_000) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: AMM Pools (r:1 w:1) // Storage: Assets Asset (r:3 w:3) @@ -53,18 +55,21 @@ impl pallet_amm::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: AMM ProtocolFee (r:1 w:0) fn create_pool() -> Weight { - Weight::from_ref_time(217_145_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) + // Minimum execution time: 214_658 nanoseconds. + Weight::from_ref_time(216_739_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(12)) } // Storage: AMM ProtocolFee (r:0 w:1) fn update_protocol_fee() -> Weight { - Weight::from_ref_time(22_954_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 24_939 nanoseconds. + Weight::from_ref_time(25_267_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: AMM ProtocolFeeReceiver (r:0 w:1) fn update_protocol_fee_receiver() -> Weight { - Weight::from_ref_time(24_118_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_759 nanoseconds. + Weight::from_ref_time(26_507_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/pallet_asset_registry.rs b/runtime/heiko/src/weights/pallet_asset_registry.rs index b2aba27d9..2be41b985 100644 --- a/runtime/heiko/src/weights/pallet_asset_registry.rs +++ b/runtime/heiko/src/weights/pallet_asset_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_asset_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -32,41 +32,46 @@ impl pallet_asset_registry::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(30_282_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 33_621 nanoseconds. + Weight::from_ref_time(34_077_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry AssetTypeId (r:1 w:0) // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) fn update_asset_units_per_second() -> Weight { - Weight::from_ref_time(37_353_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 40_651 nanoseconds. + Weight::from_ref_time(40_972_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetIdType (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:1 w:2) // Storage: AssetRegistry AssetTypeId (r:0 w:2) fn update_asset_type() -> Weight { - Weight::from_ref_time(51_300_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 52_289 nanoseconds. + Weight::from_ref_time(53_014_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) fn remove_fee_payment_asset() -> Weight { - Weight::from_ref_time(31_517_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 34_741 nanoseconds. + Weight::from_ref_time(35_328_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetIdType (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) // Storage: AssetRegistry AssetTypeId (r:0 w:1) fn deregister_asset() -> Weight { - Weight::from_ref_time(40_159_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 41_282 nanoseconds. + Weight::from_ref_time(41_717_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/heiko/src/weights/pallet_assets.rs b/runtime/heiko/src/weights/pallet_assets.rs new file mode 100644 index 000000000..3c19a9fc3 --- /dev/null +++ b/runtime/heiko/src/weights/pallet_assets.rs @@ -0,0 +1,258 @@ + +//! Autogenerated weights for `pallet_assets` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_assets +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_assets.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_assets`. +pub struct WeightInfo(PhantomData); +impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) + // Storage: System Account (r:1 w:1) + fn create() -> Weight { + // Minimum execution time: 50_781 nanoseconds. + Weight::from_ref_time(51_781_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + fn force_create() -> Weight { + // Minimum execution time: 30_818 nanoseconds. + Weight::from_ref_time(31_274_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn start_destroy() -> Weight { + // Minimum execution time: 32_815 nanoseconds. + Weight::from_ref_time(33_530_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:0) + // Storage: System Account (r:20 w:20) + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Minimum execution time: 38_358 nanoseconds. + Weight::from_ref_time(38_691_000) + // Standard Error: 29_592 + .saturating_add(Weight::from_ref_time(24_122_280).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)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:0) + /// The range of component `a` is `[0, 1000]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Minimum execution time: 40_804 nanoseconds. + Weight::from_ref_time(41_366_000) + // Standard Error: 10_968 + .saturating_add(Weight::from_ref_time(24_497_562).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) + fn finish_destroy() -> Weight { + // Minimum execution time: 32_935 nanoseconds. + Weight::from_ref_time(33_565_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) + fn mint() -> Weight { + // Minimum execution time: 55_206 nanoseconds. + Weight::from_ref_time(56_132_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) + fn burn() -> Weight { + // Minimum execution time: 67_766 nanoseconds. + Weight::from_ref_time(69_031_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer() -> Weight { + // Minimum execution time: 88_694 nanoseconds. + Weight::from_ref_time(90_066_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_keep_alive() -> Weight { + // Minimum execution time: 76_373 nanoseconds. + Weight::from_ref_time(77_185_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn force_transfer() -> Weight { + // Minimum execution time: 89_111 nanoseconds. + Weight::from_ref_time(90_066_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) + fn freeze() -> Weight { + // Minimum execution time: 38_649 nanoseconds. + Weight::from_ref_time(39_468_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) + fn thaw() -> Weight { + // Minimum execution time: 38_695 nanoseconds. + Weight::from_ref_time(39_294_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn freeze_asset() -> Weight { + // Minimum execution time: 32_478 nanoseconds. + Weight::from_ref_time(33_064_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn thaw_asset() -> Weight { + // Minimum execution time: 32_663 nanoseconds. + Weight::from_ref_time(33_598_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) + fn transfer_ownership() -> Weight { + // Minimum execution time: 34_275 nanoseconds. + Weight::from_ref_time(34_967_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn set_team() -> Weight { + // Minimum execution time: 32_129 nanoseconds. + Weight::from_ref_time(32_948_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Minimum execution time: 55_468 nanoseconds. + Weight::from_ref_time(56_905_993) + // Standard Error: 916 + .saturating_add(Weight::from_ref_time(4_711).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + fn clear_metadata() -> Weight { + // Minimum execution time: 56_573 nanoseconds. + Weight::from_ref_time(57_773_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(_n: u32, s: u32, ) -> Weight { + // Minimum execution time: 32_933 nanoseconds. + Weight::from_ref_time(33_961_329) + // Standard Error: 633 + .saturating_add(Weight::from_ref_time(4_120).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + fn force_clear_metadata() -> Weight { + // Minimum execution time: 56_060 nanoseconds. + Weight::from_ref_time(56_891_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn force_asset_status() -> Weight { + // Minimum execution time: 30_940 nanoseconds. + Weight::from_ref_time(31_379_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn approve_transfer() -> Weight { + // Minimum execution time: 62_116 nanoseconds. + Weight::from_ref_time(62_891_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_approved() -> Weight { + // Minimum execution time: 114_741 nanoseconds. + Weight::from_ref_time(116_009_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn cancel_approval() -> Weight { + // Minimum execution time: 66_961 nanoseconds. + Weight::from_ref_time(67_617_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn force_cancel_approval() -> Weight { + // Minimum execution time: 67_833 nanoseconds. + Weight::from_ref_time(68_883_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/heiko/src/weights/pallet_balances.rs b/runtime/heiko/src/weights/pallet_balances.rs index 1f645fe0b..d47b63b0d 100644 --- a/runtime/heiko/src/weights/pallet_balances.rs +++ b/runtime/heiko/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,44 +31,51 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - Weight::from_ref_time(91_591_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 92_568 nanoseconds. + Weight::from_ref_time(93_939_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(57_740_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 58_415 nanoseconds. + Weight::from_ref_time(59_369_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(37_341_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_299 nanoseconds. + Weight::from_ref_time(41_060_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(43_604_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 46_157 nanoseconds. + Weight::from_ref_time(46_995_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - Weight::from_ref_time(90_279_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 92_012 nanoseconds. + Weight::from_ref_time(93_374_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(68_116_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 68_981 nanoseconds. + Weight::from_ref_time(69_975_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(33_796_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 36_203 nanoseconds. + Weight::from_ref_time(36_595_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/pallet_bridge.rs b/runtime/heiko/src/weights/pallet_bridge.rs index e6e965695..f2b014b7e 100644 --- a/runtime/heiko/src/weights/pallet_bridge.rs +++ b/runtime/heiko/src/weights/pallet_bridge.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_bridge` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -32,58 +32,66 @@ impl pallet_bridge::WeightInfo for WeightInfo { // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge BridgeRegistry (r:0 w:1) fn register_chain() -> Weight { - Weight::from_ref_time(31_460_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 33_246 nanoseconds. + Weight::from_ref_time(33_983_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge BridgeRegistry (r:0 w:1) fn unregister_chain() -> Weight { - Weight::from_ref_time(32_072_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 34_641 nanoseconds. + Weight::from_ref_time(35_517_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge BridgeTokens (r:1 w:1) // Storage: Bridge AssetIds (r:1 w:1) fn register_bridge_token() -> Weight { - Weight::from_ref_time(35_590_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 36_171 nanoseconds. + Weight::from_ref_time(37_179_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge AssetIds (r:1 w:1) // Storage: Bridge BridgeTokens (r:0 w:1) fn unregister_bridge_token() -> Weight { - Weight::from_ref_time(33_616_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 35_464 nanoseconds. + Weight::from_ref_time(36_103_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_fee() -> Weight { - Weight::from_ref_time(37_685_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_700 nanoseconds. + Weight::from_ref_time(41_663_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_status() -> Weight { - Weight::from_ref_time(37_364_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_396 nanoseconds. + Weight::from_ref_time(41_103_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_cap() -> Weight { - Weight::from_ref_time(37_692_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_553 nanoseconds. + Weight::from_ref_time(41_463_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn clean_cap_accumulated_value() -> Weight { - Weight::from_ref_time(37_048_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_386 nanoseconds. + Weight::from_ref_time(40_954_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge AssetIds (r:1 w:0) @@ -92,9 +100,10 @@ impl pallet_bridge::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn teleport() -> Weight { - Weight::from_ref_time(108_257_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 115_629 nanoseconds. + Weight::from_ref_time(116_837_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Bridge ChainNonces (r:1 w:0) // Storage: Bridge BridgeRegistry (r:1 w:1) @@ -108,8 +117,9 @@ impl pallet_bridge::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) // Storage: System Account (r:1 w:0) fn materialize() -> Weight { - Weight::from_ref_time(175_660_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 184_389 nanoseconds. + Weight::from_ref_time(186_011_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(6)) } } diff --git a/runtime/heiko/src/weights/pallet_collator_selection.rs b/runtime/heiko/src/weights/pallet_collator_selection.rs new file mode 100644 index 000000000..216e02405 --- /dev/null +++ b/runtime/heiko/src/weights/pallet_collator_selection.rs @@ -0,0 +1,107 @@ + +//! Autogenerated weights for `pallet_collator_selection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_collator_selection +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_collator_selection.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collator_selection`. +pub struct WeightInfo(PhantomData); +impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:0 w:1) + /// The range of component `b` is `[1, 100]`. + fn set_invulnerables(b: u32, ) -> Weight { + // Minimum execution time: 34_569 nanoseconds. + Weight::from_ref_time(38_120_208) + // Standard Error: 5_469 + .saturating_add(Weight::from_ref_time(4_138_516).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection DesiredCandidates (r:0 w:1) + fn set_desired_candidates() -> Weight { + // Minimum execution time: 21_980 nanoseconds. + Weight::from_ref_time(23_051_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection CandidacyBond (r:0 w:1) + fn set_candidacy_bond() -> Weight { + // Minimum execution time: 22_740 nanoseconds. + Weight::from_ref_time(23_105_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + /// The range of component `c` is `[1, 999]`. + fn register_as_candidate(c: u32, ) -> Weight { + // Minimum execution time: 77_662 nanoseconds. + Weight::from_ref_time(78_549_304) + // Standard Error: 1_980 + .saturating_add(Weight::from_ref_time(220_088).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + /// The range of component `c` is `[2, 1000]`. + fn leave_intent(c: u32, ) -> Weight { + // Minimum execution time: 56_784 nanoseconds. + Weight::from_ref_time(53_788_816) + // Standard Error: 2_239 + .saturating_add(Weight::from_ref_time(220_645).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: System Account (r:2 w:2) + // Storage: System BlockWeight (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + fn note_author() -> Weight { + // Minimum execution time: 61_230 nanoseconds. + Weight::from_ref_time(61_936_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) + // Storage: System Account (r:1 w:1) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: System BlockWeight (r:1 w:1) + /// The range of component `r` is `[1, 1000]`. + /// The range of component `c` is `[1, 1000]`. + fn new_session(_r: u32, c: u32, ) -> Weight { + // Minimum execution time: 36_621 nanoseconds. + Weight::from_ref_time(36_926_000) + // Standard Error: 1_168_861 + .saturating_add(Weight::from_ref_time(42_420_047).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(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + } +} diff --git a/runtime/heiko/src/weights/pallet_collective.rs b/runtime/heiko/src/weights/pallet_collective.rs new file mode 100644 index 000000000..083be8c08 --- /dev/null +++ b/runtime/heiko/src/weights/pallet_collective.rs @@ -0,0 +1,191 @@ + +//! Autogenerated weights for `pallet_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_collective +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_collective.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + // Storage: TechnicalCommittee Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Minimum execution time: 27_536 nanoseconds. + Weight::from_ref_time(28_137_000) + // Standard Error: 92_555 + .saturating_add(Weight::from_ref_time(7_162_918).saturating_mul(m.into())) + // Standard Error: 92_555 + .saturating_add(Weight::from_ref_time(11_323_317).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn execute(b: u32, m: u32, ) -> Weight { + // Minimum execution time: 36_291 nanoseconds. + Weight::from_ref_time(35_127_497) + // Standard Error: 44 + .saturating_add(Weight::from_ref_time(2_569).saturating_mul(b.into())) + // Standard Error: 457 + .saturating_add(Weight::from_ref_time(20_442).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:0) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn propose_execute(b: u32, m: u32, ) -> Weight { + // Minimum execution time: 40_607 nanoseconds. + Weight::from_ref_time(39_159_559) + // Standard Error: 48 + .saturating_add(Weight::from_ref_time(2_565).saturating_mul(b.into())) + // Standard Error: 498 + .saturating_add(Weight::from_ref_time(28_945).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalCount (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 49_914 nanoseconds. + Weight::from_ref_time(52_223_200) + // Standard Error: 211 + .saturating_add(Weight::from_ref_time(4_513).saturating_mul(b.into())) + // Standard Error: 2_211 + .saturating_add(Weight::from_ref_time(39_161).saturating_mul(m.into())) + // Standard Error: 2_183 + .saturating_add(Weight::from_ref_time(313_399).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Voting (r:1 w:1) + /// The range of component `m` is `[5, 100]`. + fn vote(m: u32, ) -> Weight { + // Minimum execution time: 56_840 nanoseconds. + Weight::from_ref_time(58_677_331) + // Standard Error: 1_238 + .saturating_add(Weight::from_ref_time(63_181).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + // Minimum execution time: 53_578 nanoseconds. + Weight::from_ref_time(58_096_201) + // Standard Error: 1_834 + .saturating_add(Weight::from_ref_time(36_758).saturating_mul(m.into())) + // Standard Error: 1_788 + .saturating_add(Weight::from_ref_time(280_015).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 76_186 nanoseconds. + Weight::from_ref_time(78_118_431) + // Standard Error: 187 + .saturating_add(Weight::from_ref_time(3_341).saturating_mul(b.into())) + // Standard Error: 1_981 + .saturating_add(Weight::from_ref_time(29_378).saturating_mul(m.into())) + // Standard Error: 1_931 + .saturating_add(Weight::from_ref_time(308_561).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_disapproved(m: u32, p: u32, ) -> Weight { + // Minimum execution time: 59_596 nanoseconds. + Weight::from_ref_time(60_263_260) + // Standard Error: 1_841 + .saturating_add(Weight::from_ref_time(56_348).saturating_mul(m.into())) + // Standard Error: 1_796 + .saturating_add(Weight::from_ref_time(294_862).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 80_130 nanoseconds. + Weight::from_ref_time(82_709_682) + // Standard Error: 189 + .saturating_add(Weight::from_ref_time(3_649).saturating_mul(b.into())) + // Standard Error: 2_003 + .saturating_add(Weight::from_ref_time(24_207).saturating_mul(m.into())) + // Standard Error: 1_952 + .saturating_add(Weight::from_ref_time(309_938).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `p` is `[1, 100]`. + fn disapprove_proposal(p: u32, ) -> Weight { + // Minimum execution time: 35_655 nanoseconds. + Weight::from_ref_time(40_799_894) + // Standard Error: 2_831 + .saturating_add(Weight::from_ref_time(300_099).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/heiko/src/weights/pallet_crowdloans.rs b/runtime/heiko/src/weights/pallet_crowdloans.rs index 689959380..d85a464fe 100644 --- a/runtime/heiko/src/weights/pallet_crowdloans.rs +++ b/runtime/heiko/src/weights/pallet_crowdloans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -35,17 +35,19 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: ParachainSystem ValidationData (r:1 w:0) // Storage: Crowdloans NextTrieIndex (r:1 w:1) fn create_vault() -> Weight { - Weight::from_ref_time(61_559_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 62_736 nanoseconds. + Weight::from_ref_time(63_051_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) // Storage: ParachainSystem ValidationData (r:1 w:0) fn update_vault() -> Weight { - Weight::from_ref_time(49_252_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 54_771 nanoseconds. + Weight::from_ref_time(55_980_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -66,52 +68,60 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: PolkadotXcm Queries (r:0 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(209_123_000 as u64) - .saturating_add(T::DbWeight::get().reads(18 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) + // Minimum execution time: 221_628 nanoseconds. + Weight::from_ref_time(224_197_000) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(12)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn open() -> Weight { - Weight::from_ref_time(46_234_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_719 nanoseconds. + Weight::from_ref_time(52_743_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn close() -> Weight { - Weight::from_ref_time(45_752_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_288 nanoseconds. + Weight::from_ref_time(52_233_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans IsVrf (r:0 w:1) fn set_vrf() -> Weight { - Weight::from_ref_time(23_717_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_046 nanoseconds. + Weight::from_ref_time(25_446_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans ProxyAddress (r:0 w:1) fn update_proxy() -> Weight { - Weight::from_ref_time(24_793_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 26_324 nanoseconds. + Weight::from_ref_time(26_792_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesBonus (r:0 w:1) fn update_leases_bonus() -> Weight { - Weight::from_ref_time(28_144_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_102 nanoseconds. + Weight::from_ref_time(30_553_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn reopen() -> Weight { - Weight::from_ref_time(46_187_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_433 nanoseconds. + Weight::from_ref_time(52_186_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn auction_succeeded() -> Weight { - Weight::from_ref_time(46_313_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_341 nanoseconds. + Weight::from_ref_time(51_918_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -128,9 +138,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Crowdloans XcmRequests (r:0 w:1) // Storage: PolkadotXcm Queries (r:0 w:1) fn auction_failed() -> Weight { - Weight::from_ref_time(142_661_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 161_351 nanoseconds. + Weight::from_ref_time(163_385_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Crowdloans CTokensRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:0) @@ -140,27 +151,30 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(104_189_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 111_876 nanoseconds. + Weight::from_ref_time(113_383_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(87_188_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 96_743 nanoseconds. + Weight::from_ref_time(98_157_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans CTokensRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:2 w:2) // Storage: Assets Account (r:2 w:2) fn redeem() -> Weight { - Weight::from_ref_time(122_049_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 136_165 nanoseconds. + Weight::from_ref_time(137_409_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -177,9 +191,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Crowdloans XcmRequests (r:0 w:1) // Storage: PolkadotXcm Queries (r:0 w:1) fn slot_expired() -> Weight { - Weight::from_ref_time(142_050_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 161_419 nanoseconds. + Weight::from_ref_time(164_050_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -199,9 +214,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: unknown [0x] (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:2 w:2) fn migrate_pending() -> Weight { - Weight::from_ref_time(218_283_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 227_184 nanoseconds. + Weight::from_ref_time(231_998_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Crowdloans XcmRequests (r:1 w:1) // Storage: Crowdloans Vaults (r:1 w:1) @@ -210,9 +226,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:2 w:2) fn notification_received() -> Weight { - Weight::from_ref_time(128_540_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 140_376 nanoseconds. + Weight::from_ref_time(141_233_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) @@ -220,17 +237,19 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: unknown [0x] (r:3 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn refund() -> Weight { - Weight::from_ref_time(170_916_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 183_032 nanoseconds. + Weight::from_ref_time(184_672_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Crowdloans LeasesRegistry (r:1 w:1) // Storage: unknown [0x] (r:3 w:0) fn dissolve_vault() -> Weight { - Weight::from_ref_time(112_898_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 120_715 nanoseconds. + Weight::from_ref_time(122_535_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) @@ -238,8 +257,9 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn refund_for() -> Weight { - Weight::from_ref_time(121_414_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 132_624 nanoseconds. + Weight::from_ref_time(134_515_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } } diff --git a/runtime/heiko/src/weights/pallet_democracy.rs b/runtime/heiko/src/weights/pallet_democracy.rs new file mode 100644 index 000000000..54b37427a --- /dev/null +++ b/runtime/heiko/src/weights/pallet_democracy.rs @@ -0,0 +1,247 @@ + +//! Autogenerated weights for `pallet_democracy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_democracy +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_democracy.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_democracy`. +pub struct WeightInfo(PhantomData); +impl pallet_democracy::WeightInfo for WeightInfo { + // Storage: Democracy PublicPropCount (r:1 w:1) + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:0) + // Storage: Democracy DepositOf (r:0 w:1) + fn propose() -> Weight { + // Minimum execution time: 84_420 nanoseconds. + Weight::from_ref_time(87_886_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy DepositOf (r:1 w:1) + fn second() -> Weight { + // Minimum execution time: 76_939 nanoseconds. + Weight::from_ref_time(78_701_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + fn vote_new() -> Weight { + // Minimum execution time: 96_415 nanoseconds. + Weight::from_ref_time(97_039_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + fn vote_existing() -> Weight { + // Minimum execution time: 96_539 nanoseconds. + Weight::from_ref_time(97_273_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy Cancellations (r:1 w:1) + fn emergency_cancel() -> Weight { + // Minimum execution time: 36_863 nanoseconds. + Weight::from_ref_time(37_747_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:2 w:2) + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy Blacklist (r:0 w:1) + fn blacklist() -> Weight { + // Minimum execution time: 149_625 nanoseconds. + Weight::from_ref_time(151_657_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(7)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:0) + fn external_propose() -> Weight { + // Minimum execution time: 27_618 nanoseconds. + Weight::from_ref_time(28_127_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:0 w:1) + fn external_propose_majority() -> Weight { + // Minimum execution time: 8_350 nanoseconds. + Weight::from_ref_time(8_654_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:0 w:1) + fn external_propose_default() -> Weight { + // Minimum execution time: 8_504 nanoseconds. + Weight::from_ref_time(8_943_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:0 w:1) + fn fast_track() -> Weight { + // Minimum execution time: 37_155 nanoseconds. + Weight::from_ref_time(37_766_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:1) + fn veto_external() -> Weight { + // Minimum execution time: 45_184 nanoseconds. + Weight::from_ref_time(46_382_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:2 w:2) + fn cancel_proposal() -> Weight { + // Minimum execution time: 127_480 nanoseconds. + Weight::from_ref_time(130_326_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Democracy ReferendumInfoOf (r:0 w:1) + fn cancel_referendum() -> Weight { + // Minimum execution time: 24_464 nanoseconds. + Weight::from_ref_time(24_888_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy LowestUnbaked (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:0) + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base(r: u32, ) -> Weight { + // Minimum execution time: 11_236 nanoseconds. + Weight::from_ref_time(14_842_952) + // Standard Error: 5_204 + .saturating_add(Weight::from_ref_time(3_716_590).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy LowestUnbaked (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:0) + // Storage: Democracy LastTabledWasExternal (r:1 w:0) + // Storage: Democracy NextExternal (r:1 w:0) + // Storage: Democracy PublicProps (r:1 w:0) + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + // Minimum execution time: 15_630 nanoseconds. + Weight::from_ref_time(19_692_582) + // Standard Error: 5_563 + .saturating_add(Weight::from_ref_time(3_718_003).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy VotingOf (r:3 w:3) + // Storage: Balances Locks (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. + fn delegate(r: u32, ) -> Weight { + // Minimum execution time: 74_416 nanoseconds. + Weight::from_ref_time(82_689_875) + // Standard Error: 8_213 + .saturating_add(Weight::from_ref_time(5_600_273).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + } + // Storage: Democracy VotingOf (r:2 w:2) + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. + fn undelegate(r: u32, ) -> Weight { + // Minimum execution time: 44_648 nanoseconds. + Weight::from_ref_time(47_188_871) + // Standard Error: 7_770 + .saturating_add(Weight::from_ref_time(5_567_156).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + } + // Storage: Democracy PublicProps (r:0 w:1) + fn clear_public_proposals() -> Weight { + // Minimum execution time: 9_496 nanoseconds. + Weight::from_ref_time(9_825_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `r` is `[0, 99]`. + fn unlock_remove(r: u32, ) -> Weight { + // Minimum execution time: 42_856 nanoseconds. + Weight::from_ref_time(54_333_578) + // Standard Error: 2_716 + .saturating_add(Weight::from_ref_time(137_559).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `r` is `[0, 99]`. + fn unlock_set(r: u32, ) -> Weight { + // Minimum execution time: 51_587 nanoseconds. + Weight::from_ref_time(53_375_363) + // Standard Error: 1_537 + .saturating_add(Weight::from_ref_time(201_853).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + /// The range of component `r` is `[1, 100]`. + fn remove_vote(r: u32, ) -> Weight { + // Minimum execution time: 28_377 nanoseconds. + Weight::from_ref_time(31_506_120) + // Standard Error: 1_622 + .saturating_add(Weight::from_ref_time(194_730).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + /// The range of component `r` is `[1, 100]`. + fn remove_other_vote(r: u32, ) -> Weight { + // Minimum execution time: 28_098 nanoseconds. + Weight::from_ref_time(31_538_319) + // Standard Error: 1_701 + .saturating_add(Weight::from_ref_time(196_032).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/heiko/src/weights/pallet_farming.rs b/runtime/heiko/src/weights/pallet_farming.rs index 89d83f3db..068567cc0 100644 --- a/runtime/heiko/src/weights/pallet_farming.rs +++ b/runtime/heiko/src/weights/pallet_farming.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_farming` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,64 +31,73 @@ pub struct WeightInfo(PhantomData); impl pallet_farming::WeightInfo for WeightInfo { // Storage: Farming Pools (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(35_722_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 38_741 nanoseconds. + Weight::from_ref_time(39_957_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn set_pool_status() -> Weight { - Weight::from_ref_time(35_782_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_954 nanoseconds. + Weight::from_ref_time(40_636_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn set_pool_cool_down_duration() -> Weight { - Weight::from_ref_time(35_637_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_313 nanoseconds. + Weight::from_ref_time(40_946_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn reset_pool_unlock_height() -> Weight { - Weight::from_ref_time(36_801_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 41_338 nanoseconds. + Weight::from_ref_time(42_167_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) // Storage: System Account (r:1 w:1) fn deposit() -> Weight { - Weight::from_ref_time(113_250_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 118_342 nanoseconds. + Weight::from_ref_time(119_578_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(77_258_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 84_651 nanoseconds. + Weight::from_ref_time(85_678_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Farming Pools (r:1 w:0) // Storage: Farming Positions (r:1 w:1) // Storage: System Account (r:1 w:1) fn redeem() -> Weight { - Weight::from_ref_time(80_729_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 87_949 nanoseconds. + Weight::from_ref_time(89_099_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(99_485_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 107_444 nanoseconds. + Weight::from_ref_time(108_521_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Farming Pools (r:1 w:1) // Storage: System Account (r:1 w:1) fn dispatch_reward() -> Weight { - Weight::from_ref_time(96_386_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 101_855 nanoseconds. + Weight::from_ref_time(103_215_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/heiko/src/weights/pallet_identity.rs b/runtime/heiko/src/weights/pallet_identity.rs index e5e2b75c2..d7fc95249 100644 --- a/runtime/heiko/src/weights/pallet_identity.rs +++ b/runtime/heiko/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -32,189 +32,207 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(28_581_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(295_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_451 nanoseconds. + Weight::from_ref_time(31_968_629) + // Standard Error: 4_393 + .saturating_add(Weight::from_ref_time(323_990).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(57_089_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(328_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(671_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 70_144 nanoseconds. + Weight::from_ref_time(64_394_158) + // Standard Error: 7_422 + .saturating_add(Weight::from_ref_time(354_570).saturating_mul(r.into())) + // Standard Error: 1_448 + .saturating_add(Weight::from_ref_time(759_629).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(50_832_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(6_070_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 19_527 nanoseconds. + Weight::from_ref_time(51_874_670) + // Standard Error: 8_030 + .saturating_add(Weight::from_ref_time(4_866_277).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(50_113_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_993_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 19_424 nanoseconds. + Weight::from_ref_time(52_419_977) + // Standard Error: 7_635 + .saturating_add(Weight::from_ref_time(2_036_592).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `s` is `[0, 100]`. + /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - Weight::from_ref_time(57_333_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(276_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_009_000 as u64).saturating_mul(s as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(361_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 105_264 nanoseconds. + Weight::from_ref_time(71_498_058) + // Standard Error: 11_660 + .saturating_add(Weight::from_ref_time(123_600).saturating_mul(r.into())) + // Standard Error: 2_277 + .saturating_add(Weight::from_ref_time(1_980_485).saturating_mul(s.into())) + // Standard Error: 2_277 + .saturating_add(Weight::from_ref_time(383_269).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(60_956_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(683_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 70_860 nanoseconds. + Weight::from_ref_time(65_909_222) + // Standard Error: 6_971 + .saturating_add(Weight::from_ref_time(358_697).saturating_mul(r.into())) + // Standard Error: 1_360 + .saturating_add(Weight::from_ref_time(784_560).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(56_114_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(264_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(685_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 65_403 nanoseconds. + Weight::from_ref_time(61_121_777) + // Standard Error: 6_859 + .saturating_add(Weight::from_ref_time(303_915).saturating_mul(r.into())) + // Standard Error: 1_338 + .saturating_add(Weight::from_ref_time(774_840).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(13_526_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(236_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_953 nanoseconds. + Weight::from_ref_time(16_998_832) + // Standard Error: 3_458 + .saturating_add(Weight::from_ref_time(256_543).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(13_894_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(225_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_440 nanoseconds. + Weight::from_ref_time(17_346_227) + // Standard Error: 3_114 + .saturating_add(Weight::from_ref_time(260_729).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(13_696_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(224_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_033 nanoseconds. + Weight::from_ref_time(16_858_969) + // Standard Error: 2_838 + .saturating_add(Weight::from_ref_time(253_503).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(42_523_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(270_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(678_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 52_803 nanoseconds. + Weight::from_ref_time(49_219_092) + // Standard Error: 5_028 + .saturating_add(Weight::from_ref_time(309_384).saturating_mul(r.into())) + // Standard Error: 930 + .saturating_add(Weight::from_ref_time(1_259_875).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity IdentityOf (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. - fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { - Weight::from_ref_time(85_189_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_008_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + /// The range of component `s` is `[0, 100]`. + /// The range of component `x` is `[0, 100]`. + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + // Minimum execution time: 126_699 nanoseconds. + Weight::from_ref_time(90_328_997) + // Standard Error: 12_405 + .saturating_add(Weight::from_ref_time(174_248).saturating_mul(r.into())) + // Standard Error: 2_422 + .saturating_add(Weight::from_ref_time(1_963_912).saturating_mul(s.into())) + // Standard Error: 2_422 + .saturating_add(Weight::from_ref_time(401_213).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(64_056_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 60_936 nanoseconds. + Weight::from_ref_time(69_830_097) + // Standard Error: 2_352 + .saturating_add(Weight::from_ref_time(198_077).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(23_525_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_688 nanoseconds. + Weight::from_ref_time(28_506_843) + // Standard Error: 1_181 + .saturating_add(Weight::from_ref_time(106_948).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(64_858_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 67_778 nanoseconds. + Weight::from_ref_time(72_352_391) + // Standard Error: 1_963 + .saturating_add(Weight::from_ref_time(188_084).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(45_475_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(153_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 46_931 nanoseconds. + Weight::from_ref_time(51_475_569) + // Standard Error: 1_744 + .saturating_add(Weight::from_ref_time(176_631).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/heiko/src/weights/pallet_liquid_staking.rs b/runtime/heiko/src/weights/pallet_liquid_staking.rs index aaaf48fa7..922411211 100644 --- a/runtime/heiko/src/weights/pallet_liquid_staking.rs +++ b/runtime/heiko/src/weights/pallet_liquid_staking.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquid_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -40,9 +40,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(191_939_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 198_841 nanoseconds. + Weight::from_ref_time(200_682_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: LiquidStaking ExchangeRate (r:1 w:0) // Storage: LiquidStaking Unlockings (r:1 w:1) @@ -52,9 +53,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(84_517_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 93_168 nanoseconds. + Weight::from_ref_time(94_782_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking StakingLedgerCap (r:1 w:0) @@ -72,9 +74,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(137_884_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 152_484 nanoseconds. + Weight::from_ref_time(154_557_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: XcmHelper XcmWeightFee (r:1 w:0) @@ -90,9 +93,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(126_180_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 146_600 nanoseconds. + Weight::from_ref_time(148_425_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking StakingLedgerCap (r:1 w:0) @@ -110,17 +114,19 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(140_667_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 160_312 nanoseconds. + Weight::from_ref_time(162_746_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:1) // Storage: LiquidStaking IsUpdated (r:1 w:1) // Storage: LiquidStaking XcmRequests (r:1 w:0) fn force_set_staking_ledger() -> Weight { - Weight::from_ref_time(51_741_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 54_746 nanoseconds. + Weight::from_ref_time(56_417_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -137,9 +143,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(131_196_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 150_750 nanoseconds. + Weight::from_ref_time(152_610_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -156,9 +163,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(130_325_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 152_612 nanoseconds. + Weight::from_ref_time(155_389_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking CurrentEra (r:1 w:0) // Storage: LiquidStaking StakingLedgers (r:1 w:0) @@ -175,26 +183,36 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(132_311_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 156_538 nanoseconds. + Weight::from_ref_time(158_424_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: LiquidStaking ReserveFactor (r:1 w:1) fn update_reserve_factor() -> Weight { - Weight::from_ref_time(26_745_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_832 nanoseconds. + Weight::from_ref_time(31_874_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking CommissionRate (r:0 w:1) fn update_commission_rate() -> Weight { - Weight::from_ref_time(23_681_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_676 nanoseconds. + Weight::from_ref_time(26_265_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: LiquidStaking Incentive (r:0 w:1) + fn update_incentive() -> Weight { + // Minimum execution time: 25_703 nanoseconds. + Weight::from_ref_time(26_527_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking StakingLedgerCap (r:1 w:1) fn update_staking_ledger_cap() -> Weight { - Weight::from_ref_time(26_846_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_266 nanoseconds. + Weight::from_ref_time(29_936_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking XcmRequests (r:1 w:1) // Storage: LiquidStaking StakingLedgers (r:1 w:1) @@ -204,9 +222,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(94_750_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 108_408 nanoseconds. + Weight::from_ref_time(109_887_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: LiquidStaking CurrentEra (r:1 w:0) // Storage: LiquidStaking Unlockings (r:1 w:1) @@ -216,27 +235,31 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(109_068_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 120_168 nanoseconds. + Weight::from_ref_time(121_266_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking EraStartBlock (r:0 w:1) fn force_set_era_start_block() -> Weight { - Weight::from_ref_time(8_488_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 9_843 nanoseconds. + Weight::from_ref_time(10_393_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking CurrentEra (r:0 w:1) // Storage: LiquidStaking IsMatched (r:0 w:1) fn force_set_current_era() -> Weight { - Weight::from_ref_time(9_685_000 as u64) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 11_272 nanoseconds. + Weight::from_ref_time(11_560_000) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: ParachainSystem ValidationData (r:1 w:0) // Storage: LiquidStaking IsMatched (r:1 w:0) // Storage: LiquidStaking EraStartBlock (r:1 w:0) fn on_initialize() -> Weight { - Weight::from_ref_time(12_624_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) + // Minimum execution time: 14_229 nanoseconds. + Weight::from_ref_time(14_604_000) + .saturating_add(T::DbWeight::get().reads(3)) } // Storage: LiquidStaking StakingLedgers (r:10 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -260,9 +283,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(358_801_000 as u64) - .saturating_add(T::DbWeight::get().reads(28 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Minimum execution time: 363_233 nanoseconds. + Weight::from_ref_time(367_641_000) + .saturating_add(T::DbWeight::get().reads(28)) + .saturating_add(T::DbWeight::get().writes(14)) } // Storage: LiquidStaking StakingLedgers (r:10 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -282,27 +306,30 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(304_997_000 as u64) - .saturating_add(T::DbWeight::get().reads(24 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 316_670 nanoseconds. + Weight::from_ref_time(320_224_000) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: LiquidStaking TotalReserves (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn reduce_reserves() -> Weight { - Weight::from_ref_time(85_536_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 95_706 nanoseconds. + Weight::from_ref_time(97_132_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking FastUnstakeRequests (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:0) fn cancel_unstake() -> Weight { - Weight::from_ref_time(52_267_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 60_449 nanoseconds. + Weight::from_ref_time(61_244_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking FastUnstakeRequests (r:1 w:1) // Storage: Assets Metadata (r:2 w:0) @@ -313,17 +340,13 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(62_681_000 as u64) - // Standard Error: 40_000 - .saturating_add(Weight::from_ref_time(128_519_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(6 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(n as u64))) - } - - fn update_incentive() -> Weight { - Weight::from_ref_time(23_681_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 210_972 nanoseconds. + Weight::from_ref_time(84_882_405) + // Standard Error: 36_581 + .saturating_add(Weight::from_ref_time(134_258_470).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) } } diff --git a/runtime/heiko/src/weights/pallet_loans.rs b/runtime/heiko/src/weights/pallet_loans.rs index d036e7c68..4ad9759a6 100644 --- a/runtime/heiko/src/weights/pallet_loans.rs +++ b/runtime/heiko/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -34,46 +34,53 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans ExchangeRate (r:0 w:1) // Storage: Loans BorrowIndex (r:0 w:1) fn add_market() -> Weight { - Weight::from_ref_time(44_067_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 43_442 nanoseconds. + Weight::from_ref_time(44_432_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans Markets (r:1 w:1) fn activate_market() -> Weight { - Weight::from_ref_time(30_663_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 33_533 nanoseconds. + Weight::from_ref_time(34_233_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:1 w:1) fn update_rate_model() -> Weight { - Weight::from_ref_time(32_021_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 34_103 nanoseconds. + Weight::from_ref_time(34_961_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:1 w:1) fn update_market() -> Weight { - Weight::from_ref_time(34_256_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 37_214 nanoseconds. + Weight::from_ref_time(37_874_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans UnderlyingAssetId (r:1 w:1) // Storage: Loans Markets (r:1 w:1) fn force_update_market() -> Weight { - Weight::from_ref_time(40_976_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 42_995 nanoseconds. + Weight::from_ref_time(43_734_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn add_reward() -> Weight { - Weight::from_ref_time(71_608_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 71_823 nanoseconds. + Weight::from_ref_time(73_074_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn withdraw_missing_reward() -> Weight { - Weight::from_ref_time(58_086_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 58_943 nanoseconds. + Weight::from_ref_time(59_958_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans RewardSupplySpeed (r:1 w:1) @@ -81,9 +88,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplyState (r:1 w:1) // Storage: Loans RewardBorrowState (r:1 w:1) fn update_market_reward_speed() -> Weight { - Weight::from_ref_time(63_947_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 61_783 nanoseconds. + Weight::from_ref_time(62_495_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans RewardSupplyState (r:1 w:1) @@ -100,9 +108,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountBorrows (r:1 w:0) // Storage: System Account (r:1 w:1) fn claim_reward() -> Weight { - Weight::from_ref_time(172_270_000 as u64) - .saturating_add(T::DbWeight::get().reads(15 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 168_740 nanoseconds. + Weight::from_ref_time(170_728_000) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Loans RewardSupplyState (r:1 w:1) // Storage: Loans RewardSupplySpeed (r:1 w:0) @@ -118,9 +127,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountBorrows (r:1 w:0) // Storage: System Account (r:1 w:1) fn claim_reward_for_market() -> Weight { - Weight::from_ref_time(158_486_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 154_897 nanoseconds. + Weight::from_ref_time(156_143_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Loans Markets (r:2 w:0) // Storage: Assets Account (r:2 w:2) @@ -138,9 +148,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountEarned (r:1 w:1) // Storage: System Account (r:1 w:1) fn mint() -> Weight { - Weight::from_ref_time(187_169_000 as u64) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 179_833 nanoseconds. + Weight::from_ref_time(181_927_000) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -161,9 +172,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardAccured (r:1 w:1) // Storage: Loans BorrowIndex (r:1 w:0) fn borrow() -> Weight { - Weight::from_ref_time(260_329_000 as u64) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 259_984 nanoseconds. + Weight::from_ref_time(261_657_000) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -180,9 +192,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplierIndex (r:1 w:1) // Storage: Loans RewardAccured (r:1 w:1) fn redeem() -> Weight { - Weight::from_ref_time(207_076_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 212_435 nanoseconds. + Weight::from_ref_time(213_917_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -200,9 +213,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardAccured (r:1 w:1) // Storage: System Account (r:1 w:1) fn redeem_all() -> Weight { - Weight::from_ref_time(221_542_000 as u64) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 227_598 nanoseconds. + Weight::from_ref_time(229_920_000) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -217,9 +231,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: Loans TotalBorrows (r:1 w:1) fn repay_borrow() -> Weight { - Weight::from_ref_time(167_155_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 172_365 nanoseconds. + Weight::from_ref_time(174_078_000) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -234,16 +249,18 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: Loans TotalBorrows (r:1 w:1) fn repay_borrow_all() -> Weight { - Weight::from_ref_time(182_907_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 188_808 nanoseconds. + Weight::from_ref_time(191_004_000) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans AccountDeposits (r:1 w:1) fn collateral_asset() -> Weight { - Weight::from_ref_time(63_902_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 68_783 nanoseconds. + Weight::from_ref_time(69_983_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans LiquidationFreeCollaterals (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -267,9 +284,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplySpeed (r:1 w:0) // Storage: Loans RewardSupplierIndex (r:3 w:3) fn liquidate_borrow() -> Weight { - Weight::from_ref_time(504_649_000 as u64) - .saturating_add(T::DbWeight::get().reads(39 as u64)) - .saturating_add(T::DbWeight::get().writes(19 as u64)) + // Minimum execution time: 484_936 nanoseconds. + Weight::from_ref_time(489_479_000) + .saturating_add(T::DbWeight::get().reads(39)) + .saturating_add(T::DbWeight::get().writes(19)) } // Storage: Loans Markets (r:2 w:0) // Storage: Assets Asset (r:1 w:1) @@ -277,23 +295,26 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Loans TotalReserves (r:1 w:1) fn add_reserves() -> Weight { - Weight::from_ref_time(106_588_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 111_241 nanoseconds. + Weight::from_ref_time(112_914_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans TotalReserves (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn reduce_reserves() -> Weight { - Weight::from_ref_time(93_709_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 103_169 nanoseconds. + Weight::from_ref_time(104_686_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans LiquidationFreeCollaterals (r:1 w:1) fn update_liquidation_free_collateral() -> Weight { - Weight::from_ref_time(27_181_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_384 nanoseconds. + Weight::from_ref_time(29_962_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/pallet_membership.rs b/runtime/heiko/src/weights/pallet_membership.rs index 133804606..f561aae47 100644 --- a/runtime/heiko/src/weights/pallet_membership.rs +++ b/runtime/heiko/src/weights/pallet_membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -35,11 +35,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(33_604_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 35_836 nanoseconds. + Weight::from_ref_time(37_120_705) + // Standard Error: 631 + .saturating_add(Weight::from_ref_time(54_185).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -48,11 +49,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(38_772_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_557 nanoseconds. + Weight::from_ref_time(41_320_702) + // Standard Error: 635 + .saturating_add(Weight::from_ref_time(47_322).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -61,11 +63,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(38_880_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_936 nanoseconds. + Weight::from_ref_time(41_420_892) + // Standard Error: 761 + .saturating_add(Weight::from_ref_time(66_911).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -74,11 +77,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_121_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(218_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 38_859 nanoseconds. + Weight::from_ref_time(41_493_670) + // Standard Error: 1_199 + .saturating_add(Weight::from_ref_time(221_691).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -87,30 +91,31 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(40_470_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 41_010 nanoseconds. + Weight::from_ref_time(43_084_312) + // Standard Error: 758 + .saturating_add(Weight::from_ref_time(62_938).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:0) // Storage: TechnicalCommitteeMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(13_000_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(24_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 15_154 nanoseconds. + Weight::from_ref_time(15_691_013) + // Standard Error: 257 + .saturating_add(Weight::from_ref_time(11_952).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: TechnicalCommitteeMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(m: u32, ) -> Weight { - Weight::from_ref_time(8_199_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + fn clear_prime(_m: u32, ) -> Weight { + // Minimum execution time: 8_843 nanoseconds. + Weight::from_ref_time(9_330_865) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/heiko/src/weights/pallet_multisig.rs b/runtime/heiko/src/weights/pallet_multisig.rs new file mode 100644 index 000000000..55817cfcf --- /dev/null +++ b/runtime/heiko/src/weights/pallet_multisig.rs @@ -0,0 +1,111 @@ + +//! Autogenerated weights for `pallet_multisig` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_multisig +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_multisig.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_multisig`. +pub struct WeightInfo(PhantomData); +impl pallet_multisig::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. + fn as_multi_threshold_1(z: u32, ) -> Weight { + // Minimum execution time: 29_409 nanoseconds. + Weight::from_ref_time(30_777_700) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_022).saturating_mul(z.into())) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_create(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 83_490 nanoseconds. + Weight::from_ref_time(64_807_382) + // Standard Error: 1_511 + .saturating_add(Weight::from_ref_time(204_537).saturating_mul(s.into())) + // Standard Error: 14 + .saturating_add(Weight::from_ref_time(2_184).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[3, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_approve(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 62_915 nanoseconds. + Weight::from_ref_time(45_262_981) + // Standard Error: 1_150 + .saturating_add(Weight::from_ref_time(194_869).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_ref_time(2_187).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 89_794 nanoseconds. + Weight::from_ref_time(67_893_633) + // Standard Error: 1_405 + .saturating_add(Weight::from_ref_time(231_623).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_ref_time(2_494).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_create(s: u32, ) -> Weight { + // Minimum execution time: 59_536 nanoseconds. + Weight::from_ref_time(62_378_046) + // Standard Error: 1_956 + .saturating_add(Weight::from_ref_time(217_406).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_approve(s: u32, ) -> Weight { + // Minimum execution time: 41_388 nanoseconds. + Weight::from_ref_time(43_201_626) + // Standard Error: 1_458 + .saturating_add(Weight::from_ref_time(202_373).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + fn cancel_as_multi(s: u32, ) -> Weight { + // Minimum execution time: 58_305 nanoseconds. + Weight::from_ref_time(60_790_190) + // Standard Error: 1_392 + .saturating_add(Weight::from_ref_time(210_558).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/heiko/src/weights/pallet_preimage.rs b/runtime/heiko/src/weights/pallet_preimage.rs index 7624ca155..4302df632 100644 --- a/runtime/heiko/src/weights/pallet_preimage.rs +++ b/runtime/heiko/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -29,92 +29,103 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 53_856 nanoseconds. + Weight::from_ref_time(54_293_000) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_198).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 36_536 nanoseconds. + Weight::from_ref_time(36_915_000) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(3_234).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 33_769 nanoseconds. + Weight::from_ref_time(34_243_000) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_220).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(89_270_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 90_925 nanoseconds. + Weight::from_ref_time(95_819_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(63_235_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 67_098 nanoseconds. + Weight::from_ref_time(72_516_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(88_370_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 64_498 nanoseconds. + Weight::from_ref_time(71_217_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(63_379_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_359 nanoseconds. + Weight::from_ref_time(47_374_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(37_837_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 37_273 nanoseconds. + Weight::from_ref_time(40_239_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(13_983_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 17_082 nanoseconds. + Weight::from_ref_time(17_561_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(66_589_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 64_520 nanoseconds. + Weight::from_ref_time(71_116_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(36_295_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 17_060 nanoseconds. + Weight::from_ref_time(17_691_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(14_152_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_660 nanoseconds. + Weight::from_ref_time(17_232_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/pallet_proxy.rs b/runtime/heiko/src/weights/pallet_proxy.rs new file mode 100644 index 000000000..07c059d2a --- /dev/null +++ b/runtime/heiko/src/weights/pallet_proxy.rs @@ -0,0 +1,150 @@ + +//! Autogenerated weights for `pallet_proxy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_proxy +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_proxy.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_proxy`. +pub struct WeightInfo(PhantomData); +impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: Proxy Proxies (r:1 w:0) + /// The range of component `p` is `[1, 31]`. + fn proxy(p: u32, ) -> Weight { + // Minimum execution time: 37_456 nanoseconds. + Weight::from_ref_time(38_631_951) + // Standard Error: 2_966 + .saturating_add(Weight::from_ref_time(90_091).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn proxy_announced(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 70_532 nanoseconds. + Weight::from_ref_time(71_222_816) + // Standard Error: 2_707 + .saturating_add(Weight::from_ref_time(282_807).saturating_mul(a.into())) + // Standard Error: 2_797 + .saturating_add(Weight::from_ref_time(63_358).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn remove_announcement(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 47_515 nanoseconds. + Weight::from_ref_time(49_168_605) + // Standard Error: 2_412 + .saturating_add(Weight::from_ref_time(271_875).saturating_mul(a.into())) + // Standard Error: 2_492 + .saturating_add(Weight::from_ref_time(17_171).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn reject_announcement(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 46_940 nanoseconds. + Weight::from_ref_time(49_275_591) + // Standard Error: 2_482 + .saturating_add(Weight::from_ref_time(270_698).saturating_mul(a.into())) + // Standard Error: 2_565 + .saturating_add(Weight::from_ref_time(14_683).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn announce(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 62_236 nanoseconds. + Weight::from_ref_time(63_543_998) + // Standard Error: 2_788 + .saturating_add(Weight::from_ref_time(276_430).saturating_mul(a.into())) + // Standard Error: 2_880 + .saturating_add(Weight::from_ref_time(64_104).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn add_proxy(p: u32, ) -> Weight { + // Minimum execution time: 52_058 nanoseconds. + Weight::from_ref_time(53_394_137) + // Standard Error: 2_667 + .saturating_add(Weight::from_ref_time(114_806).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn remove_proxy(p: u32, ) -> Weight { + // Minimum execution time: 51_126 nanoseconds. + Weight::from_ref_time(53_379_221) + // Standard Error: 3_246 + .saturating_add(Weight::from_ref_time(137_404).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn remove_proxies(p: u32, ) -> Weight { + // Minimum execution time: 44_342 nanoseconds. + Weight::from_ref_time(45_577_348) + // Standard Error: 2_036 + .saturating_add(Weight::from_ref_time(70_707).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn create_pure(p: u32, ) -> Weight { + // Minimum execution time: 58_343 nanoseconds. + Weight::from_ref_time(59_956_734) + // Standard Error: 2_577 + .saturating_add(Weight::from_ref_time(48_855).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[0, 30]`. + fn kill_pure(p: u32, ) -> Weight { + // Minimum execution time: 47_446 nanoseconds. + Weight::from_ref_time(48_692_196) + // Standard Error: 2_171 + .saturating_add(Weight::from_ref_time(69_633).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/heiko/src/weights/pallet_router.rs b/runtime/heiko/src/weights/pallet_router.rs index 30cfdd627..39003e296 100644 --- a/runtime/heiko/src/weights/pallet_router.rs +++ b/runtime/heiko/src/weights/pallet_router.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_router` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -33,16 +33,18 @@ impl pallet_router::WeightInfo for WeightInfo { // Storage: Assets Account (r:4 w:4) // Storage: AMM Pools (r:1 w:1) fn swap_exact_tokens_for_tokens() -> Weight { - Weight::from_ref_time(154_439_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 162_033 nanoseconds. + Weight::from_ref_time(163_500_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: AMM Pools (r:1 w:1) // Storage: Assets Asset (r:2 w:2) // Storage: Assets Account (r:4 w:4) fn swap_tokens_for_exact_tokens() -> Weight { - Weight::from_ref_time(154_500_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 162_807 nanoseconds. + Weight::from_ref_time(164_482_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } } diff --git a/runtime/heiko/src/weights/pallet_scheduler.rs b/runtime/heiko/src/weights/pallet_scheduler.rs new file mode 100644 index 000000000..c03cef71b --- /dev/null +++ b/runtime/heiko/src/weights/pallet_scheduler.rs @@ -0,0 +1,125 @@ + +//! Autogenerated weights for `pallet_scheduler` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=heiko-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_scheduler +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/heiko/src/weights/pallet_scheduler.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_scheduler`. +pub struct WeightInfo(PhantomData); +impl pallet_scheduler::WeightInfo for WeightInfo { + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + // Minimum execution time: 7_393 nanoseconds. + Weight::from_ref_time(7_812_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + // Minimum execution time: 6_719 nanoseconds. + Weight::from_ref_time(11_668_451) + // Standard Error: 2_819 + .saturating_add(Weight::from_ref_time(1_190_581).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_base() -> Weight { + // Minimum execution time: 17_316 nanoseconds. + Weight::from_ref_time(17_672_000) + } + // Storage: Preimage PreimageFor (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + // Minimum execution time: 39_384 nanoseconds. + Weight::from_ref_time(39_805_000) + // Standard Error: 19 + .saturating_add(Weight::from_ref_time(1_991).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:0 w:1) + fn service_task_named() -> Weight { + // Minimum execution time: 20_298 nanoseconds. + Weight::from_ref_time(20_578_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_periodic() -> Weight { + // Minimum execution time: 17_287 nanoseconds. + Weight::from_ref_time(17_630_000) + } + fn execute_dispatch_signed() -> Weight { + // Minimum execution time: 8_334 nanoseconds. + Weight::from_ref_time(8_524_000) + } + fn execute_dispatch_unsigned() -> Weight { + // Minimum execution time: 7_549 nanoseconds. + Weight::from_ref_time(7_875_000) + } + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 49]`. + fn schedule(s: u32, ) -> Weight { + // Minimum execution time: 30_557 nanoseconds. + Weight::from_ref_time(36_380_603) + // Standard Error: 3_484 + .saturating_add(Weight::from_ref_time(1_275_811).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Lookup (r:0 w:1) + /// The range of component `s` is `[1, 50]`. + fn cancel(s: u32, ) -> Weight { + // Minimum execution time: 34_192 nanoseconds. + Weight::from_ref_time(35_759_259) + // Standard Error: 2_374 + .saturating_add(Weight::from_ref_time(1_256_515).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 49]`. + fn schedule_named(s: u32, ) -> Weight { + // Minimum execution time: 35_908 nanoseconds. + Weight::from_ref_time(42_653_617) + // Standard Error: 4_174 + .saturating_add(Weight::from_ref_time(1_314_810).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[1, 50]`. + fn cancel_named(s: u32, ) -> Weight { + // Minimum execution time: 36_485 nanoseconds. + Weight::from_ref_time(39_166_460) + // Standard Error: 3_197 + .saturating_add(Weight::from_ref_time(1_280_160).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/heiko/src/weights/pallet_streaming.rs b/runtime/heiko/src/weights/pallet_streaming.rs index bdeecf6f5..9098e8638 100644 --- a/runtime/heiko/src/weights/pallet_streaming.rs +++ b/runtime/heiko/src/weights/pallet_streaming.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_streaming` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -38,9 +38,10 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: Streaming StreamLibrary (r:4 w:4) // Storage: Streaming Streams (r:0 w:1) fn create() -> Weight { - Weight::from_ref_time(123_707_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 121_637 nanoseconds. + Weight::from_ref_time(123_046_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Streaming Streams (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) @@ -49,9 +50,10 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Streaming StreamLibrary (r:2 w:2) fn cancel() -> Weight { - Weight::from_ref_time(124_340_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 132_915 nanoseconds. + Weight::from_ref_time(134_222_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Streaming Streams (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) @@ -59,13 +61,15 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(99_552_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 108_244 nanoseconds. + Weight::from_ref_time(109_698_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Streaming MinimumDeposits (r:0 w:1) fn set_minimum_deposit() -> Weight { - Weight::from_ref_time(25_143_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 26_523 nanoseconds. + Weight::from_ref_time(27_200_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/heiko/src/weights/pallet_timestamp.rs b/runtime/heiko/src/weights/pallet_timestamp.rs index 087d80ce5..075c98ba4 100644 --- a/runtime/heiko/src/weights/pallet_timestamp.rs +++ b/runtime/heiko/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,11 +31,13 @@ pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - Weight::from_ref_time(12_393_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 13_360 nanoseconds. + Weight::from_ref_time(13_729_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - Weight::from_ref_time(4_600_000 as u64) + // Minimum execution time: 7_093 nanoseconds. + Weight::from_ref_time(7_334_000) } } diff --git a/runtime/heiko/src/weights/pallet_treasury.rs b/runtime/heiko/src/weights/pallet_treasury.rs index 8e564bc76..7dadc503d 100644 --- a/runtime/heiko/src/weights/pallet_treasury.rs +++ b/runtime/heiko/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -30,49 +30,57 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(379_000 as u64) + // Minimum execution time: 354 nanoseconds. + Weight::from_ref_time(395_000) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(48_455_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 49_717 nanoseconds. + Weight::from_ref_time(50_339_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(52_385_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 57_815 nanoseconds. + Weight::from_ref_time(58_702_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(19_081_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 17_886 nanoseconds. + Weight::from_ref_time(24_992_144) + // Standard Error: 3_090 + .saturating_add(Weight::from_ref_time(167_081).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(12_180_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 14_590 nanoseconds. + Weight::from_ref_time(15_002_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:0) + // Storage: Treasury Inactive (r:1 w:1) + // Storage: Balances InactiveIssuance (r:1 w:1) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:2 w:2) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(38_361_000 as u64) - // Standard Error: 29_000 - .saturating_add(Weight::from_ref_time(57_658_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64))) + // Minimum execution time: 52_370 nanoseconds. + Weight::from_ref_time(68_334_278) + // Standard Error: 20_756 + .saturating_add(Weight::from_ref_time(51_789_111).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) } } diff --git a/runtime/heiko/src/weights/pallet_utility.rs b/runtime/heiko/src/weights/pallet_utility.rs index 0e680a6d1..4799ab6b0 100644 --- a/runtime/heiko/src/weights/pallet_utility.rs +++ b/runtime/heiko/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,26 +31,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(29_782_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(8_355_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_450 nanoseconds. + Weight::from_ref_time(32_416_541) + // Standard Error: 2_617 + .saturating_add(Weight::from_ref_time(8_462_329).saturating_mul(c.into())) } fn as_derivative() -> Weight { - Weight::from_ref_time(11_295_000 as u64) + // Minimum execution time: 12_403 nanoseconds. + Weight::from_ref_time(12_588_000) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(40_856_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(8_678_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_153 nanoseconds. + Weight::from_ref_time(22_958_862) + // Standard Error: 2_221 + .saturating_add(Weight::from_ref_time(8_909_848).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - Weight::from_ref_time(24_597_000 as u64) + // Minimum execution time: 25_340 nanoseconds. + Weight::from_ref_time(25_735_000) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(22_668_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(8_364_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_321 nanoseconds. + Weight::from_ref_time(26_900_973) + // Standard Error: 2_119 + .saturating_add(Weight::from_ref_time(8_469_583).saturating_mul(c.into())) } } diff --git a/runtime/heiko/src/weights/pallet_xcm_helper.rs b/runtime/heiko/src/weights/pallet_xcm_helper.rs index 1faa5580f..ede5b0937 100644 --- a/runtime/heiko/src/weights/pallet_xcm_helper.rs +++ b/runtime/heiko/src/weights/pallet_xcm_helper.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm_helper` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 @@ -31,8 +31,9 @@ pub struct WeightInfo(PhantomData); impl pallet_xcm_helper::WeightInfo for WeightInfo { // Storage: XcmHelper XcmWeightFee (r:1 w:1) fn update_xcm_weight_fee() -> Weight { - Weight::from_ref_time(28_291_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_045 nanoseconds. + Weight::from_ref_time(30_369_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/lib.rs b/runtime/parallel/src/lib.rs index 61d215b63..03e7f1a51 100644 --- a/runtime/parallel/src/lib.rs +++ b/runtime/parallel/src/lib.rs @@ -499,7 +499,7 @@ impl pallet_assets::Config for Runtime { type ApprovalDeposit = ApprovalDeposit; type StringLimit = AssetsStringLimit; type Freezer = (); - type WeightInfo = pallet_assets::weights::SubstrateWeight; + type WeightInfo = weights::pallet_assets::WeightInfo; type Extra = (); type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; #[cfg(feature = "runtime-benchmarks")] @@ -734,7 +734,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorId = ::AccountId; type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; - type WeightInfo = (); + type WeightInfo = weights::pallet_collator_selection::WeightInfo; } parameter_types! { @@ -1047,7 +1047,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = MaxProxies; - type WeightInfo = pallet_proxy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_proxy::WeightInfo; type MaxPending = MaxPending; type CallHasher = BlakeTwo256; type AnnouncementDepositBase = AnnouncementDepositBase; @@ -1426,7 +1426,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; - type WeightInfo = pallet_multisig::weights::SubstrateWeight; + type WeightInfo = weights::pallet_multisig::WeightInfo; } parameter_types! { @@ -1515,7 +1515,7 @@ impl pallet_democracy::Config for Runtime { type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; - type WeightInfo = pallet_democracy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; type VoteLockingPeriod = EnactmentPeriod; type Preimages = Preimage; @@ -1538,7 +1538,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = GeneralCouncilMaxProposals; type MaxMembers = GeneralCouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective::WeightInfo; } type GeneralCouncilMembershipInstance = pallet_membership::Instance1; @@ -1570,7 +1570,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective::WeightInfo; } type TechnicalCommitteeMembershipInstance = pallet_membership::Instance2; @@ -1617,7 +1617,7 @@ impl pallet_scheduler::Config for Runtime { type ScheduleOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type MaxScheduledPerBlock = MaxScheduledPerBlock; type OriginPrivilegeCmp = EqualPrivilegeOnly; - type WeightInfo = pallet_scheduler::weights::SubstrateWeight; + type WeightInfo = weights::pallet_scheduler::WeightInfo; type Preimages = Preimage; } diff --git a/runtime/parallel/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/parallel/src/weights/cumulus_pallet_xcmp_queue.rs index f2948fd18..a8f3e6d89 100644 --- a/runtime/parallel/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/parallel/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,14 +31,16 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(10_467_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 11_698 nanoseconds. + Weight::from_ref_time(12_115_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(10_354_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 11_549 nanoseconds. + Weight::from_ref_time(12_060_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/frame_system.rs b/runtime/parallel/src/weights/frame_system.rs index 8cca802e6..62c942757 100644 --- a/runtime/parallel/src/weights/frame_system.rs +++ b/runtime/parallel/src/weights/frame_system.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,45 +31,51 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - Weight::from_ref_time(6_300_000 as u64) + // Minimum execution time: 6_481 nanoseconds. + Weight::from_ref_time(4_767_780) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(534).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 21_901 nanoseconds. + Weight::from_ref_time(21_647_896) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_289).saturating_mul(b.into())) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(10_223_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 14_255 nanoseconds. + Weight::from_ref_time(14_545_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_024_000 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 6_675 nanoseconds. + Weight::from_ref_time(6_762_000) + // Standard Error: 2_748 + .saturating_add(Weight::from_ref_time(1_087_702).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(2_166_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(816_000 as u64).saturating_mul(i as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) + // Minimum execution time: 6_520 nanoseconds. + Weight::from_ref_time(6_634_000) + // Standard Error: 979 + .saturating_add(Weight::from_ref_time(750_554).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_581_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 9_647 nanoseconds. + Weight::from_ref_time(9_812_000) + // Standard Error: 1_271 + .saturating_add(Weight::from_ref_time(1_510_401).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } } diff --git a/runtime/parallel/src/weights/mod.rs b/runtime/parallel/src/weights/mod.rs index 31f092b6f..012eaf198 100644 --- a/runtime/parallel/src/weights/mod.rs +++ b/runtime/parallel/src/weights/mod.rs @@ -1,4 +1,11 @@ pub mod frame_system; +pub mod pallet_assets; +pub mod pallet_collator_selection; +pub mod pallet_collective; +pub mod pallet_democracy; +pub mod pallet_multisig; +pub mod pallet_proxy; +pub mod pallet_scheduler; pub mod pallet_amm; pub mod pallet_asset_registry; pub mod pallet_balances; diff --git a/runtime/parallel/src/weights/pallet_amm.rs b/runtime/parallel/src/weights/pallet_amm.rs index eb7518e29..80688be75 100644 --- a/runtime/parallel/src/weights/pallet_amm.rs +++ b/runtime/parallel/src/weights/pallet_amm.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_amm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -34,18 +34,20 @@ impl pallet_amm::WeightInfo for WeightInfo { // Storage: Assets Asset (r:3 w:3) // Storage: Assets Account (r:5 w:5) fn add_liquidity() -> Weight { - Weight::from_ref_time(164_668_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 168_870 nanoseconds. + Weight::from_ref_time(170_464_000) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: AMM Pools (r:1 w:1) // Storage: AMM ProtocolFee (r:1 w:0) // Storage: Assets Asset (r:3 w:3) // Storage: Assets Account (r:5 w:5) fn remove_liquidity() -> Weight { - Weight::from_ref_time(175_266_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 184_600 nanoseconds. + Weight::from_ref_time(186_948_000) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: AMM Pools (r:1 w:1) // Storage: Assets Asset (r:3 w:3) @@ -53,18 +55,21 @@ impl pallet_amm::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: AMM ProtocolFee (r:1 w:0) fn create_pool() -> Weight { - Weight::from_ref_time(220_380_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) + // Minimum execution time: 209_601 nanoseconds. + Weight::from_ref_time(211_368_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(12)) } // Storage: AMM ProtocolFee (r:0 w:1) fn update_protocol_fee() -> Weight { - Weight::from_ref_time(23_679_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 23_972 nanoseconds. + Weight::from_ref_time(24_403_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: AMM ProtocolFeeReceiver (r:0 w:1) fn update_protocol_fee_receiver() -> Weight { - Weight::from_ref_time(25_003_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 24_587 nanoseconds. + Weight::from_ref_time(25_100_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/pallet_asset_registry.rs b/runtime/parallel/src/weights/pallet_asset_registry.rs index 6b18ecb2f..defaefc6f 100644 --- a/runtime/parallel/src/weights/pallet_asset_registry.rs +++ b/runtime/parallel/src/weights/pallet_asset_registry.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_asset_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -32,41 +32,46 @@ impl pallet_asset_registry::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(30_002_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 32_213 nanoseconds. + Weight::from_ref_time(33_079_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry AssetTypeId (r:1 w:0) // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) fn update_asset_units_per_second() -> Weight { - Weight::from_ref_time(36_715_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 40_282 nanoseconds. + Weight::from_ref_time(41_064_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetIdType (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:1 w:2) // Storage: AssetRegistry AssetTypeId (r:0 w:2) fn update_asset_type() -> Weight { - Weight::from_ref_time(50_182_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 51_843 nanoseconds. + Weight::from_ref_time(52_426_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) fn remove_fee_payment_asset() -> Weight { - Weight::from_ref_time(31_283_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 34_322 nanoseconds. + Weight::from_ref_time(34_997_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: AssetRegistry SupportedFeePaymentAssets (r:1 w:1) // Storage: AssetRegistry AssetIdType (r:1 w:1) // Storage: AssetRegistry AssetTypeUnitsPerSecond (r:0 w:1) // Storage: AssetRegistry AssetTypeId (r:0 w:1) fn deregister_asset() -> Weight { - Weight::from_ref_time(39_260_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 40_914 nanoseconds. + Weight::from_ref_time(41_719_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/parallel/src/weights/pallet_assets.rs b/runtime/parallel/src/weights/pallet_assets.rs new file mode 100644 index 000000000..35f9181f7 --- /dev/null +++ b/runtime/parallel/src/weights/pallet_assets.rs @@ -0,0 +1,260 @@ + +//! Autogenerated weights for `pallet_assets` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_assets +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_assets.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_assets`. +pub struct WeightInfo(PhantomData); +impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) + // Storage: System Account (r:1 w:1) + fn create() -> Weight { + // Minimum execution time: 48_463 nanoseconds. + Weight::from_ref_time(49_532_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + fn force_create() -> Weight { + // Minimum execution time: 29_414 nanoseconds. + Weight::from_ref_time(30_017_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn start_destroy() -> Weight { + // Minimum execution time: 31_451 nanoseconds. + Weight::from_ref_time(32_102_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:0) + // Storage: System Account (r:20 w:20) + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Minimum execution time: 37_375 nanoseconds. + Weight::from_ref_time(37_775_000) + // Standard Error: 19_656 + .saturating_add(Weight::from_ref_time(23_268_510).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)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:0) + /// The range of component `a` is `[0, 1000]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Minimum execution time: 39_429 nanoseconds. + Weight::from_ref_time(39_895_000) + // Standard Error: 11_870 + .saturating_add(Weight::from_ref_time(23_924_764).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) + fn finish_destroy() -> Weight { + // Minimum execution time: 31_414 nanoseconds. + Weight::from_ref_time(31_933_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) + fn mint() -> Weight { + // Minimum execution time: 52_727 nanoseconds. + Weight::from_ref_time(53_912_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) + fn burn() -> Weight { + // Minimum execution time: 66_562 nanoseconds. + Weight::from_ref_time(67_818_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer() -> Weight { + // Minimum execution time: 86_404 nanoseconds. + Weight::from_ref_time(87_928_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_keep_alive() -> Weight { + // Minimum execution time: 73_818 nanoseconds. + Weight::from_ref_time(74_500_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn force_transfer() -> Weight { + // Minimum execution time: 86_159 nanoseconds. + Weight::from_ref_time(87_148_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) + fn freeze() -> Weight { + // Minimum execution time: 37_843 nanoseconds. + Weight::from_ref_time(39_697_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) + fn thaw() -> Weight { + // Minimum execution time: 37_538 nanoseconds. + Weight::from_ref_time(38_592_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn freeze_asset() -> Weight { + // Minimum execution time: 31_252 nanoseconds. + Weight::from_ref_time(31_878_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn thaw_asset() -> Weight { + // Minimum execution time: 31_237 nanoseconds. + Weight::from_ref_time(31_915_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) + fn transfer_ownership() -> Weight { + // Minimum execution time: 32_861 nanoseconds. + Weight::from_ref_time(33_458_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn set_team() -> Weight { + // Minimum execution time: 30_836 nanoseconds. + Weight::from_ref_time(31_792_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32, ) -> Weight { + // Minimum execution time: 53_902 nanoseconds. + Weight::from_ref_time(55_304_967) + // Standard Error: 908 + .saturating_add(Weight::from_ref_time(2_593).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + fn clear_metadata() -> Weight { + // Minimum execution time: 54_795 nanoseconds. + Weight::from_ref_time(55_566_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(n: u32, s: u32, ) -> Weight { + // Minimum execution time: 31_722 nanoseconds. + Weight::from_ref_time(32_367_630) + // Standard Error: 738 + .saturating_add(Weight::from_ref_time(185).saturating_mul(n.into())) + // Standard Error: 738 + .saturating_add(Weight::from_ref_time(5_904).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) + fn force_clear_metadata() -> Weight { + // Minimum execution time: 53_769 nanoseconds. + Weight::from_ref_time(55_094_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + fn force_asset_status() -> Weight { + // Minimum execution time: 29_392 nanoseconds. + Weight::from_ref_time(30_099_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn approve_transfer() -> Weight { + // Minimum execution time: 60_067 nanoseconds. + Weight::from_ref_time(60_751_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_approved() -> Weight { + // Minimum execution time: 110_654 nanoseconds. + Weight::from_ref_time(113_211_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn cancel_approval() -> Weight { + // Minimum execution time: 64_488 nanoseconds. + Weight::from_ref_time(65_596_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) + fn force_cancel_approval() -> Weight { + // Minimum execution time: 65_911 nanoseconds. + Weight::from_ref_time(66_717_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/parallel/src/weights/pallet_balances.rs b/runtime/parallel/src/weights/pallet_balances.rs index 38a008562..1ffac3f82 100644 --- a/runtime/parallel/src/weights/pallet_balances.rs +++ b/runtime/parallel/src/weights/pallet_balances.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,44 +31,51 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - Weight::from_ref_time(93_334_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 90_268 nanoseconds. + Weight::from_ref_time(91_458_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(58_544_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 57_569 nanoseconds. + Weight::from_ref_time(58_360_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(38_050_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_240 nanoseconds. + Weight::from_ref_time(40_927_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(44_255_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 44_827 nanoseconds. + Weight::from_ref_time(46_046_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - Weight::from_ref_time(92_762_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 90_511 nanoseconds. + Weight::from_ref_time(91_474_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(69_845_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 68_050 nanoseconds. + Weight::from_ref_time(68_922_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(34_769_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 35_058 nanoseconds. + Weight::from_ref_time(36_281_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/pallet_bridge.rs b/runtime/parallel/src/weights/pallet_bridge.rs index 14e05ddfb..0080bef48 100644 --- a/runtime/parallel/src/weights/pallet_bridge.rs +++ b/runtime/parallel/src/weights/pallet_bridge.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_bridge` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -32,67 +32,76 @@ impl pallet_bridge::WeightInfo for WeightInfo { // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge BridgeRegistry (r:0 w:1) fn register_chain() -> Weight { - Weight::from_ref_time(32_915_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 32_794 nanoseconds. + Weight::from_ref_time(33_594_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge BridgeRegistry (r:0 w:1) fn unregister_chain() -> Weight { - Weight::from_ref_time(32_213_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 34_087 nanoseconds. + Weight::from_ref_time(34_754_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge BridgeTokens (r:1 w:1) // Storage: Bridge AssetIds (r:1 w:1) fn register_bridge_token() -> Weight { - Weight::from_ref_time(36_661_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 35_985 nanoseconds. + Weight::from_ref_time(36_410_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge AssetIds (r:1 w:1) // Storage: Bridge BridgeTokens (r:0 w:1) fn unregister_bridge_token() -> Weight { - Weight::from_ref_time(34_383_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 35_108 nanoseconds. + Weight::from_ref_time(35_730_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_fee() -> Weight { - Weight::from_ref_time(39_103_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_933 nanoseconds. + Weight::from_ref_time(40_985_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_status() -> Weight { - Weight::from_ref_time(38_088_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 40_238 nanoseconds. + Weight::from_ref_time(40_926_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn set_bridge_token_cap() -> Weight { - Weight::from_ref_time(38_428_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_895 nanoseconds. + Weight::from_ref_time(40_410_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) fn clean_cap_accumulated_value() -> Weight { - Weight::from_ref_time(38_176_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_735 nanoseconds. + Weight::from_ref_time(40_535_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bridge ChainNonces (r:1 w:1) // Storage: Bridge AssetIds (r:1 w:0) // Storage: Bridge BridgeTokens (r:1 w:1) // Storage: System Account (r:1 w:1) fn teleport() -> Weight { - Weight::from_ref_time(100_605_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 100_459 nanoseconds. + Weight::from_ref_time(101_460_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Bridge ChainNonces (r:1 w:0) // Storage: Bridge BridgeRegistry (r:1 w:1) @@ -104,8 +113,9 @@ impl pallet_bridge::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:1) // Storage: Assets Metadata (r:1 w:0) fn materialize() -> Weight { - Weight::from_ref_time(161_366_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 158_397 nanoseconds. + Weight::from_ref_time(159_940_000) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(4)) } } diff --git a/runtime/parallel/src/weights/pallet_collator_selection.rs b/runtime/parallel/src/weights/pallet_collator_selection.rs new file mode 100644 index 000000000..15cbc65ce --- /dev/null +++ b/runtime/parallel/src/weights/pallet_collator_selection.rs @@ -0,0 +1,107 @@ + +//! Autogenerated weights for `pallet_collator_selection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_collator_selection +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_collator_selection.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collator_selection`. +pub struct WeightInfo(PhantomData); +impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:0 w:1) + /// The range of component `b` is `[1, 100]`. + fn set_invulnerables(b: u32, ) -> Weight { + // Minimum execution time: 34_135 nanoseconds. + Weight::from_ref_time(37_271_714) + // Standard Error: 5_518 + .saturating_add(Weight::from_ref_time(4_116_870).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection DesiredCandidates (r:0 w:1) + fn set_desired_candidates() -> Weight { + // Minimum execution time: 21_565 nanoseconds. + Weight::from_ref_time(22_145_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection CandidacyBond (r:0 w:1) + fn set_candidacy_bond() -> Weight { + // Minimum execution time: 22_039 nanoseconds. + Weight::from_ref_time(22_671_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + /// The range of component `c` is `[1, 999]`. + fn register_as_candidate(c: u32, ) -> Weight { + // Minimum execution time: 76_656 nanoseconds. + Weight::from_ref_time(76_272_615) + // Standard Error: 2_132 + .saturating_add(Weight::from_ref_time(212_237).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + /// The range of component `c` is `[2, 1000]`. + fn leave_intent(c: u32, ) -> Weight { + // Minimum execution time: 56_988 nanoseconds. + Weight::from_ref_time(52_627_619) + // Standard Error: 2_094 + .saturating_add(Weight::from_ref_time(207_030).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: System Account (r:2 w:2) + // Storage: System BlockWeight (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + fn note_author() -> Weight { + // Minimum execution time: 60_976 nanoseconds. + Weight::from_ref_time(61_530_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) + // Storage: System Account (r:1 w:1) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: System BlockWeight (r:1 w:1) + /// The range of component `r` is `[1, 1000]`. + /// The range of component `c` is `[1, 1000]`. + fn new_session(_r: u32, c: u32, ) -> Weight { + // Minimum execution time: 35_619 nanoseconds. + Weight::from_ref_time(36_271_000) + // Standard Error: 1_139_502 + .saturating_add(Weight::from_ref_time(40_968_371).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(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + } +} diff --git a/runtime/parallel/src/weights/pallet_collective.rs b/runtime/parallel/src/weights/pallet_collective.rs new file mode 100644 index 000000000..a59c34dc3 --- /dev/null +++ b/runtime/parallel/src/weights/pallet_collective.rs @@ -0,0 +1,191 @@ + +//! Autogenerated weights for `pallet_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_collective +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_collective.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + // Storage: TechnicalCommittee Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Minimum execution time: 27_310 nanoseconds. + Weight::from_ref_time(27_504_000) + // Standard Error: 95_202 + .saturating_add(Weight::from_ref_time(7_513_706).saturating_mul(m.into())) + // Standard Error: 95_202 + .saturating_add(Weight::from_ref_time(11_688_776).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn execute(b: u32, m: u32, ) -> Weight { + // Minimum execution time: 35_089 nanoseconds. + Weight::from_ref_time(34_392_561) + // Standard Error: 39 + .saturating_add(Weight::from_ref_time(2_243).saturating_mul(b.into())) + // Standard Error: 410 + .saturating_add(Weight::from_ref_time(20_040).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:0) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn propose_execute(b: u32, m: u32, ) -> Weight { + // Minimum execution time: 39_742 nanoseconds. + Weight::from_ref_time(38_344_327) + // Standard Error: 51 + .saturating_add(Weight::from_ref_time(2_526).saturating_mul(b.into())) + // Standard Error: 531 + .saturating_add(Weight::from_ref_time(27_997).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalCount (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 49_178 nanoseconds. + Weight::from_ref_time(52_484_105) + // Standard Error: 222 + .saturating_add(Weight::from_ref_time(4_577).saturating_mul(b.into())) + // Standard Error: 2_320 + .saturating_add(Weight::from_ref_time(36_915).saturating_mul(m.into())) + // Standard Error: 2_290 + .saturating_add(Weight::from_ref_time(304_414).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Voting (r:1 w:1) + /// The range of component `m` is `[5, 100]`. + fn vote(m: u32, ) -> Weight { + // Minimum execution time: 56_935 nanoseconds. + Weight::from_ref_time(58_911_783) + // Standard Error: 1_300 + .saturating_add(Weight::from_ref_time(50_736).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + // Minimum execution time: 54_102 nanoseconds. + Weight::from_ref_time(57_299_004) + // Standard Error: 1_729 + .saturating_add(Weight::from_ref_time(42_870).saturating_mul(m.into())) + // Standard Error: 1_686 + .saturating_add(Weight::from_ref_time(278_895).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 74_176 nanoseconds. + Weight::from_ref_time(75_836_036) + // Standard Error: 180 + .saturating_add(Weight::from_ref_time(4_753).saturating_mul(b.into())) + // Standard Error: 1_911 + .saturating_add(Weight::from_ref_time(29_186).saturating_mul(m.into())) + // Standard Error: 1_863 + .saturating_add(Weight::from_ref_time(309_329).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_disapproved(m: u32, p: u32, ) -> Weight { + // Minimum execution time: 59_649 nanoseconds. + Weight::from_ref_time(61_562_205) + // Standard Error: 1_702 + .saturating_add(Weight::from_ref_time(41_938).saturating_mul(m.into())) + // Standard Error: 1_660 + .saturating_add(Weight::from_ref_time(279_342).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Minimum execution time: 78_797 nanoseconds. + Weight::from_ref_time(81_235_716) + // Standard Error: 201 + .saturating_add(Weight::from_ref_time(4_116).saturating_mul(b.into())) + // Standard Error: 2_127 + .saturating_add(Weight::from_ref_time(27_026).saturating_mul(m.into())) + // Standard Error: 2_073 + .saturating_add(Weight::from_ref_time(305_312).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `p` is `[1, 100]`. + fn disapprove_proposal(p: u32, ) -> Weight { + // Minimum execution time: 34_561 nanoseconds. + Weight::from_ref_time(40_445_446) + // Standard Error: 2_730 + .saturating_add(Weight::from_ref_time(294_540).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/parallel/src/weights/pallet_crowdloans.rs b/runtime/parallel/src/weights/pallet_crowdloans.rs index fabf7203a..8f07c7b2b 100644 --- a/runtime/parallel/src/weights/pallet_crowdloans.rs +++ b/runtime/parallel/src/weights/pallet_crowdloans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_crowdloans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -35,17 +35,19 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: ParachainSystem ValidationData (r:1 w:0) // Storage: Crowdloans NextTrieIndex (r:1 w:1) fn create_vault() -> Weight { - Weight::from_ref_time(61_017_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 62_770 nanoseconds. + Weight::from_ref_time(63_378_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) // Storage: ParachainSystem ValidationData (r:1 w:0) fn update_vault() -> Weight { - Weight::from_ref_time(49_011_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 54_852 nanoseconds. + Weight::from_ref_time(55_972_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -66,52 +68,60 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: PolkadotXcm Queries (r:0 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(211_135_000 as u64) - .saturating_add(T::DbWeight::get().reads(18 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) + // Minimum execution time: 218_502 nanoseconds. + Weight::from_ref_time(221_513_000) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(12)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn open() -> Weight { - Weight::from_ref_time(46_258_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_531 nanoseconds. + Weight::from_ref_time(51_773_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn close() -> Weight { - Weight::from_ref_time(46_173_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_297 nanoseconds. + Weight::from_ref_time(51_909_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans IsVrf (r:0 w:1) fn set_vrf() -> Weight { - Weight::from_ref_time(24_057_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 24_747 nanoseconds. + Weight::from_ref_time(25_284_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans ProxyAddress (r:0 w:1) fn update_proxy() -> Weight { - Weight::from_ref_time(25_325_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_828 nanoseconds. + Weight::from_ref_time(26_394_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesBonus (r:0 w:1) fn update_leases_bonus() -> Weight { - Weight::from_ref_time(28_426_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_404 nanoseconds. + Weight::from_ref_time(30_444_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn reopen() -> Weight { - Weight::from_ref_time(46_601_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_106 nanoseconds. + Weight::from_ref_time(52_159_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) fn auction_succeeded() -> Weight { - Weight::from_ref_time(46_541_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_462 nanoseconds. + Weight::from_ref_time(51_901_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -128,9 +138,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Crowdloans XcmRequests (r:0 w:1) // Storage: PolkadotXcm Queries (r:0 w:1) fn auction_failed() -> Weight { - Weight::from_ref_time(143_462_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 160_245 nanoseconds. + Weight::from_ref_time(161_811_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Crowdloans CTokensRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:0) @@ -140,27 +151,30 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(103_245_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 109_882 nanoseconds. + Weight::from_ref_time(111_106_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(86_342_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 96_239 nanoseconds. + Weight::from_ref_time(97_297_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans CTokensRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:2 w:2) // Storage: Assets Account (r:2 w:2) fn redeem() -> Weight { - Weight::from_ref_time(121_438_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 135_121 nanoseconds. + Weight::from_ref_time(136_154_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -177,9 +191,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: Crowdloans XcmRequests (r:0 w:1) // Storage: PolkadotXcm Queries (r:0 w:1) fn slot_expired() -> Weight { - Weight::from_ref_time(143_350_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 160_119 nanoseconds. + Weight::from_ref_time(162_491_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Crowdloans LeasesRegistry (r:1 w:0) // Storage: Crowdloans Vaults (r:1 w:1) @@ -199,9 +214,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: unknown [0x] (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:2 w:2) fn migrate_pending() -> Weight { - Weight::from_ref_time(221_947_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 225_744 nanoseconds. + Weight::from_ref_time(228_866_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Crowdloans XcmRequests (r:1 w:1) // Storage: Crowdloans Vaults (r:1 w:1) @@ -210,9 +226,10 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:2 w:2) fn notification_received() -> Weight { - Weight::from_ref_time(130_032_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 138_229 nanoseconds. + Weight::from_ref_time(139_934_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) @@ -220,17 +237,19 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: unknown [0x] (r:3 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn refund() -> Weight { - Weight::from_ref_time(169_835_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 157_685 nanoseconds. + Weight::from_ref_time(172_971_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Crowdloans LeasesRegistry (r:1 w:1) // Storage: unknown [0x] (r:3 w:0) fn dissolve_vault() -> Weight { - Weight::from_ref_time(111_735_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 115_318 nanoseconds. + Weight::from_ref_time(116_935_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Crowdloans Vaults (r:1 w:1) // Storage: Assets Asset (r:1 w:1) @@ -238,8 +257,9 @@ impl pallet_crowdloans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn refund_for() -> Weight { - Weight::from_ref_time(122_452_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 131_633 nanoseconds. + Weight::from_ref_time(132_824_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } } diff --git a/runtime/parallel/src/weights/pallet_democracy.rs b/runtime/parallel/src/weights/pallet_democracy.rs new file mode 100644 index 000000000..d4b520b1f --- /dev/null +++ b/runtime/parallel/src/weights/pallet_democracy.rs @@ -0,0 +1,247 @@ + +//! Autogenerated weights for `pallet_democracy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_democracy +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_democracy.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_democracy`. +pub struct WeightInfo(PhantomData); +impl pallet_democracy::WeightInfo for WeightInfo { + // Storage: Democracy PublicPropCount (r:1 w:1) + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:0) + // Storage: Democracy DepositOf (r:0 w:1) + fn propose() -> Weight { + // Minimum execution time: 83_611 nanoseconds. + Weight::from_ref_time(87_029_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy DepositOf (r:1 w:1) + fn second() -> Weight { + // Minimum execution time: 75_239 nanoseconds. + Weight::from_ref_time(77_987_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + fn vote_new() -> Weight { + // Minimum execution time: 92_950 nanoseconds. + Weight::from_ref_time(94_604_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + fn vote_existing() -> Weight { + // Minimum execution time: 92_950 nanoseconds. + Weight::from_ref_time(94_198_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy Cancellations (r:1 w:1) + fn emergency_cancel() -> Weight { + // Minimum execution time: 36_252 nanoseconds. + Weight::from_ref_time(37_016_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:2 w:2) + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy Blacklist (r:0 w:1) + fn blacklist() -> Weight { + // Minimum execution time: 149_524 nanoseconds. + Weight::from_ref_time(151_400_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(7)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:0) + fn external_propose() -> Weight { + // Minimum execution time: 26_855 nanoseconds. + Weight::from_ref_time(27_506_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:0 w:1) + fn external_propose_majority() -> Weight { + // Minimum execution time: 8_278 nanoseconds. + Weight::from_ref_time(8_485_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:0 w:1) + fn external_propose_default() -> Weight { + // Minimum execution time: 8_172 nanoseconds. + Weight::from_ref_time(8_413_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:0 w:1) + fn fast_track() -> Weight { + // Minimum execution time: 36_311 nanoseconds. + Weight::from_ref_time(36_946_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy NextExternal (r:1 w:1) + // Storage: Democracy Blacklist (r:1 w:1) + fn veto_external() -> Weight { + // Minimum execution time: 44_422 nanoseconds. + Weight::from_ref_time(45_390_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:2 w:2) + fn cancel_proposal() -> Weight { + // Minimum execution time: 125_137 nanoseconds. + Weight::from_ref_time(128_161_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: Democracy ReferendumInfoOf (r:0 w:1) + fn cancel_referendum() -> Weight { + // Minimum execution time: 24_033 nanoseconds. + Weight::from_ref_time(24_784_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy LowestUnbaked (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:0) + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base(r: u32, ) -> Weight { + // Minimum execution time: 11_057 nanoseconds. + Weight::from_ref_time(14_551_168) + // Standard Error: 5_515 + .saturating_add(Weight::from_ref_time(3_664_988).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy LowestUnbaked (r:1 w:1) + // Storage: Democracy ReferendumCount (r:1 w:0) + // Storage: Democracy LastTabledWasExternal (r:1 w:0) + // Storage: Democracy NextExternal (r:1 w:0) + // Storage: Democracy PublicProps (r:1 w:0) + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + // Minimum execution time: 15_544 nanoseconds. + Weight::from_ref_time(19_379_798) + // Standard Error: 6_188 + .saturating_add(Weight::from_ref_time(3_675_158).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy VotingOf (r:3 w:3) + // Storage: Balances Locks (r:1 w:1) + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. + fn delegate(r: u32, ) -> Weight { + // Minimum execution time: 72_710 nanoseconds. + Weight::from_ref_time(81_200_374) + // Standard Error: 8_964 + .saturating_add(Weight::from_ref_time(5_610_007).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + } + // Storage: Democracy VotingOf (r:2 w:2) + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. + fn undelegate(r: u32, ) -> Weight { + // Minimum execution time: 44_027 nanoseconds. + Weight::from_ref_time(47_077_413) + // Standard Error: 8_236 + .saturating_add(Weight::from_ref_time(5_574_482).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + } + // Storage: Democracy PublicProps (r:0 w:1) + fn clear_public_proposals() -> Weight { + // Minimum execution time: 9_110 nanoseconds. + Weight::from_ref_time(9_371_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `r` is `[0, 99]`. + fn unlock_remove(r: u32, ) -> Weight { + // Minimum execution time: 41_916 nanoseconds. + Weight::from_ref_time(53_430_633) + // Standard Error: 2_761 + .saturating_add(Weight::from_ref_time(136_886).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy VotingOf (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `r` is `[0, 99]`. + fn unlock_set(r: u32, ) -> Weight { + // Minimum execution time: 50_721 nanoseconds. + Weight::from_ref_time(52_887_572) + // Standard Error: 1_388 + .saturating_add(Weight::from_ref_time(186_281).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + /// The range of component `r` is `[1, 100]`. + fn remove_vote(r: u32, ) -> Weight { + // Minimum execution time: 27_386 nanoseconds. + Weight::from_ref_time(30_891_175) + // Standard Error: 1_666 + .saturating_add(Weight::from_ref_time(186_634).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Democracy ReferendumInfoOf (r:1 w:1) + // Storage: Democracy VotingOf (r:1 w:1) + /// The range of component `r` is `[1, 100]`. + fn remove_other_vote(r: u32, ) -> Weight { + // Minimum execution time: 27_353 nanoseconds. + Weight::from_ref_time(30_886_677) + // Standard Error: 1_576 + .saturating_add(Weight::from_ref_time(188_054).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/parallel/src/weights/pallet_farming.rs b/runtime/parallel/src/weights/pallet_farming.rs index f6886e24a..b029da9f3 100644 --- a/runtime/parallel/src/weights/pallet_farming.rs +++ b/runtime/parallel/src/weights/pallet_farming.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_farming` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,27 +31,31 @@ pub struct WeightInfo(PhantomData); impl pallet_farming::WeightInfo for WeightInfo { // Storage: Farming Pools (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(36_558_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 38_529 nanoseconds. + Weight::from_ref_time(39_354_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn set_pool_status() -> Weight { - Weight::from_ref_time(36_132_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 38_823 nanoseconds. + Weight::from_ref_time(39_419_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn set_pool_cool_down_duration() -> Weight { - Weight::from_ref_time(36_106_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 38_768 nanoseconds. + Weight::from_ref_time(39_593_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) fn reset_pool_unlock_height() -> Weight { - Weight::from_ref_time(37_044_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 39_825 nanoseconds. + Weight::from_ref_time(40_540_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) @@ -59,42 +63,47 @@ impl pallet_farming::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn deposit() -> Weight { - Weight::from_ref_time(124_253_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 131_780 nanoseconds. + Weight::from_ref_time(133_002_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(76_477_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 84_933 nanoseconds. + Weight::from_ref_time(86_076_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Farming Pools (r:1 w:0) // Storage: Farming Positions (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn redeem() -> Weight { - Weight::from_ref_time(93_230_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 102_952 nanoseconds. + Weight::from_ref_time(103_990_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Farming Pools (r:1 w:1) // Storage: Farming Positions (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn claim() -> Weight { - Weight::from_ref_time(112_411_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 123_329 nanoseconds. + Weight::from_ref_time(124_640_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Farming Pools (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn dispatch_reward() -> Weight { - Weight::from_ref_time(105_775_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 112_949 nanoseconds. + Weight::from_ref_time(114_528_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } } diff --git a/runtime/parallel/src/weights/pallet_identity.rs b/runtime/parallel/src/weights/pallet_identity.rs index d91b39f21..52776c164 100644 --- a/runtime/parallel/src/weights/pallet_identity.rs +++ b/runtime/parallel/src/weights/pallet_identity.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -32,191 +32,207 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(29_000_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_789 nanoseconds. + Weight::from_ref_time(31_114_853) + // Standard Error: 4_084 + .saturating_add(Weight::from_ref_time(325_036).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(56_100_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(697_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 68_187 nanoseconds. + Weight::from_ref_time(62_349_359) + // Standard Error: 4_156 + .saturating_add(Weight::from_ref_time(355_638).saturating_mul(r.into())) + // Standard Error: 810 + .saturating_add(Weight::from_ref_time(714_575).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(50_537_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(6_277_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 18_558 nanoseconds. + Weight::from_ref_time(49_562_463) + // Standard Error: 7_764 + .saturating_add(Weight::from_ref_time(4_627_707).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(50_994_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_097_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) + // Minimum execution time: 18_612 nanoseconds. + Weight::from_ref_time(50_057_660) + // Standard Error: 7_372 + .saturating_add(Weight::from_ref_time(1_993_967).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `s` is `[0, 100]`. + /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - Weight::from_ref_time(60_045_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(226_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_122_000 as u64).saturating_mul(s as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(351_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 100_864 nanoseconds. + Weight::from_ref_time(69_459_332) + // Standard Error: 14_930 + .saturating_add(Weight::from_ref_time(99_096).saturating_mul(r.into())) + // Standard Error: 2_915 + .saturating_add(Weight::from_ref_time(1_922_427).saturating_mul(s.into())) + // Standard Error: 2_915 + .saturating_add(Weight::from_ref_time(353_449).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(60_566_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(352_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(704_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 69_134 nanoseconds. + Weight::from_ref_time(64_031_607) + // Standard Error: 6_297 + .saturating_add(Weight::from_ref_time(365_117).saturating_mul(r.into())) + // Standard Error: 1_228 + .saturating_add(Weight::from_ref_time(727_385).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(56_352_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(241_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(705_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 63_389 nanoseconds. + Weight::from_ref_time(59_128_108) + // Standard Error: 5_046 + .saturating_add(Weight::from_ref_time(314_893).saturating_mul(r.into())) + // Standard Error: 984 + .saturating_add(Weight::from_ref_time(733_859).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(13_783_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(247_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_750 nanoseconds. + Weight::from_ref_time(16_629_642) + // Standard Error: 2_789 + .saturating_add(Weight::from_ref_time(235_453).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(14_045_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(238_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_095 nanoseconds. + Weight::from_ref_time(16_880_058) + // Standard Error: 2_670 + .saturating_add(Weight::from_ref_time(232_021).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(13_970_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(238_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_798 nanoseconds. + Weight::from_ref_time(16_647_225) + // Standard Error: 2_274 + .saturating_add(Weight::from_ref_time(236_781).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(42_057_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(287_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(696_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 51_624 nanoseconds. + Weight::from_ref_time(48_606_591) + // Standard Error: 6_955 + .saturating_add(Weight::from_ref_time(298_642).saturating_mul(r.into())) + // Standard Error: 1_286 + .saturating_add(Weight::from_ref_time(1_177_092).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity IdentityOf (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `s` is `[0, 100]`. + /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - Weight::from_ref_time(83_554_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(156_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_112_000 as u64).saturating_mul(s as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(6_000 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 122_907 nanoseconds. + Weight::from_ref_time(87_299_362) + // Standard Error: 9_484 + .saturating_add(Weight::from_ref_time(196_744).saturating_mul(r.into())) + // Standard Error: 1_852 + .saturating_add(Weight::from_ref_time(1_939_120).saturating_mul(s.into())) + // Standard Error: 1_852 + .saturating_add(Weight::from_ref_time(363_776).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(63_668_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 59_163 nanoseconds. + Weight::from_ref_time(67_183_582) + // Standard Error: 2_241 + .saturating_add(Weight::from_ref_time(207_411).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(23_740_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_139 nanoseconds. + Weight::from_ref_time(27_713_547) + // Standard Error: 1_070 + .saturating_add(Weight::from_ref_time(109_233).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(64_843_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 65_212 nanoseconds. + Weight::from_ref_time(69_992_136) + // Standard Error: 1_744 + .saturating_add(Weight::from_ref_time(181_169).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(45_375_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 45_364 nanoseconds. + Weight::from_ref_time(50_011_492) + // Standard Error: 1_694 + .saturating_add(Weight::from_ref_time(170_298).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/parallel/src/weights/pallet_liquid_staking.rs b/runtime/parallel/src/weights/pallet_liquid_staking.rs index 2f9eacd69..75ef80ea9 100644 --- a/runtime/parallel/src/weights/pallet_liquid_staking.rs +++ b/runtime/parallel/src/weights/pallet_liquid_staking.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_liquid_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -40,9 +40,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(193_284_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 193_241 nanoseconds. + Weight::from_ref_time(195_328_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: LiquidStaking ExchangeRate (r:1 w:0) // Storage: LiquidStaking Unlockings (r:1 w:1) @@ -52,9 +53,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(84_314_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 91_306 nanoseconds. + Weight::from_ref_time(92_093_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking StakingLedgerCap (r:1 w:0) @@ -72,9 +74,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(138_777_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 148_258 nanoseconds. + Weight::from_ref_time(150_590_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: XcmHelper XcmWeightFee (r:1 w:0) @@ -90,9 +93,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(126_868_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 142_306 nanoseconds. + Weight::from_ref_time(143_796_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking StakingLedgerCap (r:1 w:0) @@ -110,17 +114,19 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(140_629_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 155_036 nanoseconds. + Weight::from_ref_time(157_369_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:1) // Storage: LiquidStaking IsUpdated (r:1 w:1) // Storage: LiquidStaking XcmRequests (r:1 w:0) fn force_set_staking_ledger() -> Weight { - Weight::from_ref_time(52_105_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 53_018 nanoseconds. + Weight::from_ref_time(54_300_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -137,9 +143,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(133_487_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 147_196 nanoseconds. + Weight::from_ref_time(149_071_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking StakingLedgers (r:1 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -156,9 +163,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(132_868_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 147_793 nanoseconds. + Weight::from_ref_time(149_351_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: LiquidStaking CurrentEra (r:1 w:0) // Storage: LiquidStaking StakingLedgers (r:1 w:0) @@ -175,26 +183,36 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(135_770_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 151_907 nanoseconds. + Weight::from_ref_time(154_112_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: LiquidStaking ReserveFactor (r:1 w:1) fn update_reserve_factor() -> Weight { - Weight::from_ref_time(27_628_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_041 nanoseconds. + Weight::from_ref_time(30_559_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking CommissionRate (r:0 w:1) fn update_commission_rate() -> Weight { - Weight::from_ref_time(24_057_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 25_259 nanoseconds. + Weight::from_ref_time(25_664_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: LiquidStaking Incentive (r:0 w:1) + fn update_incentive() -> Weight { + // Minimum execution time: 25_110 nanoseconds. + Weight::from_ref_time(25_596_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking StakingLedgerCap (r:1 w:1) fn update_staking_ledger_cap() -> Weight { - Weight::from_ref_time(27_313_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 28_073 nanoseconds. + Weight::from_ref_time(28_890_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking XcmRequests (r:1 w:1) // Storage: LiquidStaking StakingLedgers (r:1 w:1) @@ -204,9 +222,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(95_915_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 106_248 nanoseconds. + Weight::from_ref_time(107_701_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: LiquidStaking CurrentEra (r:1 w:0) // Storage: LiquidStaking Unlockings (r:1 w:1) @@ -216,27 +235,31 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(109_948_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 117_611 nanoseconds. + Weight::from_ref_time(118_897_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking EraStartBlock (r:0 w:1) fn force_set_era_start_block() -> Weight { - Weight::from_ref_time(8_767_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 9_698 nanoseconds. + Weight::from_ref_time(9_944_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking CurrentEra (r:0 w:1) // Storage: LiquidStaking IsMatched (r:0 w:1) fn force_set_current_era() -> Weight { - Weight::from_ref_time(10_220_000 as u64) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 10_585 nanoseconds. + Weight::from_ref_time(10_952_000) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: ParachainSystem ValidationData (r:1 w:0) // Storage: LiquidStaking IsMatched (r:1 w:0) // Storage: LiquidStaking EraStartBlock (r:1 w:0) fn on_initialize() -> Weight { - Weight::from_ref_time(12_855_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) + // Minimum execution time: 14_040 nanoseconds. + Weight::from_ref_time(14_300_000) + .saturating_add(T::DbWeight::get().reads(3)) } // Storage: LiquidStaking StakingLedgers (r:7 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -260,9 +283,10 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(341_121_000 as u64) - .saturating_add(T::DbWeight::get().reads(25 as u64)) - .saturating_add(T::DbWeight::get().writes(14 as u64)) + // Minimum execution time: 337_220 nanoseconds. + Weight::from_ref_time(342_165_000) + .saturating_add(T::DbWeight::get().reads(25)) + .saturating_add(T::DbWeight::get().writes(14)) } // Storage: LiquidStaking StakingLedgers (r:7 w:0) // Storage: LiquidStaking MatchingPool (r:1 w:1) @@ -282,27 +306,30 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(288_269_000 as u64) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 291_627 nanoseconds. + Weight::from_ref_time(294_665_000) + .saturating_add(T::DbWeight::get().reads(21)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: LiquidStaking TotalReserves (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn reduce_reserves() -> Weight { - Weight::from_ref_time(86_375_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 93_224 nanoseconds. + Weight::from_ref_time(94_455_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: LiquidStaking FastUnstakeRequests (r:1 w:1) // Storage: Assets Metadata (r:1 w:0) // Storage: Assets Asset (r:1 w:0) // Storage: Assets Account (r:1 w:0) fn cancel_unstake() -> Weight { - Weight::from_ref_time(52_318_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 58_979 nanoseconds. + Weight::from_ref_time(59_815_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: LiquidStaking FastUnstakeRequests (r:1 w:1) // Storage: Assets Metadata (r:2 w:0) @@ -313,17 +340,13 @@ impl pallet_liquid_staking::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(59_217_000 as u64) - // Standard Error: 53_000 - .saturating_add(Weight::from_ref_time(129_142_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(6 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(n as u64))) - } - - fn update_incentive() -> Weight { - Weight::from_ref_time(24_057_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 206_262 nanoseconds. + Weight::from_ref_time(81_150_569) + // Standard Error: 32_545 + .saturating_add(Weight::from_ref_time(130_436_493).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) } } diff --git a/runtime/parallel/src/weights/pallet_loans.rs b/runtime/parallel/src/weights/pallet_loans.rs index 2cbd7bb37..64aaa08d9 100644 --- a/runtime/parallel/src/weights/pallet_loans.rs +++ b/runtime/parallel/src/weights/pallet_loans.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_loans` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -34,46 +34,53 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans ExchangeRate (r:0 w:1) // Storage: Loans BorrowIndex (r:0 w:1) fn add_market() -> Weight { - Weight::from_ref_time(45_400_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 43_161 nanoseconds. + Weight::from_ref_time(44_181_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans Markets (r:1 w:1) fn activate_market() -> Weight { - Weight::from_ref_time(31_577_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 33_711 nanoseconds. + Weight::from_ref_time(34_428_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:1 w:1) fn update_rate_model() -> Weight { - Weight::from_ref_time(32_396_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 34_623 nanoseconds. + Weight::from_ref_time(35_312_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:1 w:1) fn update_market() -> Weight { - Weight::from_ref_time(34_702_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 36_957 nanoseconds. + Weight::from_ref_time(37_915_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans UnderlyingAssetId (r:1 w:1) // Storage: Loans Markets (r:1 w:1) fn force_update_market() -> Weight { - Weight::from_ref_time(40_868_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 43_368 nanoseconds. + Weight::from_ref_time(43_792_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn add_reward() -> Weight { - Weight::from_ref_time(73_116_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 72_050 nanoseconds. + Weight::from_ref_time(73_315_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn withdraw_missing_reward() -> Weight { - Weight::from_ref_time(58_778_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 59_150 nanoseconds. + Weight::from_ref_time(60_357_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans RewardSupplySpeed (r:1 w:1) @@ -81,9 +88,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplyState (r:1 w:1) // Storage: Loans RewardBorrowState (r:1 w:1) fn update_market_reward_speed() -> Weight { - Weight::from_ref_time(63_448_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 61_958 nanoseconds. + Weight::from_ref_time(63_050_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans RewardSupplyState (r:1 w:1) @@ -100,9 +108,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountBorrows (r:1 w:0) // Storage: System Account (r:1 w:1) fn claim_reward() -> Weight { - Weight::from_ref_time(174_691_000 as u64) - .saturating_add(T::DbWeight::get().reads(15 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 171_101 nanoseconds. + Weight::from_ref_time(173_415_000) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Loans RewardSupplyState (r:1 w:1) // Storage: Loans RewardSupplySpeed (r:1 w:0) @@ -118,9 +127,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountBorrows (r:1 w:0) // Storage: System Account (r:1 w:1) fn claim_reward_for_market() -> Weight { - Weight::from_ref_time(159_725_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 157_063 nanoseconds. + Weight::from_ref_time(158_145_000) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Loans Markets (r:2 w:0) // Storage: Assets Account (r:2 w:2) @@ -138,9 +148,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans AccountEarned (r:1 w:1) // Storage: System Account (r:1 w:1) fn mint() -> Weight { - Weight::from_ref_time(186_065_000 as u64) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 182_561 nanoseconds. + Weight::from_ref_time(184_482_000) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -161,9 +172,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardAccured (r:1 w:1) // Storage: Loans BorrowIndex (r:1 w:0) fn borrow() -> Weight { - Weight::from_ref_time(262_684_000 as u64) - .saturating_add(T::DbWeight::get().reads(23 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 264_045 nanoseconds. + Weight::from_ref_time(266_343_000) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -180,9 +192,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplierIndex (r:1 w:1) // Storage: Loans RewardAccured (r:1 w:1) fn redeem() -> Weight { - Weight::from_ref_time(206_621_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 218_487 nanoseconds. + Weight::from_ref_time(219_746_000) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -200,9 +213,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardAccured (r:1 w:1) // Storage: System Account (r:1 w:1) fn redeem_all() -> Weight { - Weight::from_ref_time(220_747_000 as u64) - .saturating_add(T::DbWeight::get().reads(17 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 230_896 nanoseconds. + Weight::from_ref_time(234_595_000) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(11)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -217,9 +231,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: Loans TotalBorrows (r:1 w:1) fn repay_borrow() -> Weight { - Weight::from_ref_time(166_815_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 175_791 nanoseconds. + Weight::from_ref_time(178_062_000) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -234,16 +249,18 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: Loans TotalBorrows (r:1 w:1) fn repay_borrow_all() -> Weight { - Weight::from_ref_time(182_978_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 191_013 nanoseconds. + Weight::from_ref_time(193_213_000) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(9)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans AccountDeposits (r:1 w:1) fn collateral_asset() -> Weight { - Weight::from_ref_time(65_091_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 69_066 nanoseconds. + Weight::from_ref_time(69_532_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Loans LiquidationFreeCollaterals (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) @@ -267,9 +284,10 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: Loans RewardSupplySpeed (r:1 w:0) // Storage: Loans RewardSupplierIndex (r:3 w:3) fn liquidate_borrow() -> Weight { - Weight::from_ref_time(491_170_000 as u64) - .saturating_add(T::DbWeight::get().reads(42 as u64)) - .saturating_add(T::DbWeight::get().writes(19 as u64)) + // Minimum execution time: 478_883 nanoseconds. + Weight::from_ref_time(483_656_000) + .saturating_add(T::DbWeight::get().reads(42)) + .saturating_add(T::DbWeight::get().writes(19)) } // Storage: Loans Markets (r:2 w:0) // Storage: Assets Asset (r:1 w:1) @@ -277,23 +295,26 @@ impl pallet_loans::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Loans TotalReserves (r:1 w:1) fn add_reserves() -> Weight { - Weight::from_ref_time(106_926_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 112_321 nanoseconds. + Weight::from_ref_time(113_337_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Loans Markets (r:2 w:0) // Storage: Loans TotalReserves (r:1 w:1) // Storage: Assets Asset (r:1 w:1) // Storage: Assets Account (r:2 w:2) fn reduce_reserves() -> Weight { - Weight::from_ref_time(95_062_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 104_587 nanoseconds. + Weight::from_ref_time(105_606_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Loans LiquidationFreeCollaterals (r:1 w:1) fn update_liquidation_free_collateral() -> Weight { - Weight::from_ref_time(27_986_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 29_265 nanoseconds. + Weight::from_ref_time(30_049_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/pallet_membership.rs b/runtime/parallel/src/weights/pallet_membership.rs index d8c757fb3..a72f23470 100644 --- a/runtime/parallel/src/weights/pallet_membership.rs +++ b/runtime/parallel/src/weights/pallet_membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -35,11 +35,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(34_232_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 35_655 nanoseconds. + Weight::from_ref_time(36_952_946) + // Standard Error: 628 + .saturating_add(Weight::from_ref_time(48_149).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -48,11 +49,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_073_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_474 nanoseconds. + Weight::from_ref_time(40_991_788) + // Standard Error: 624 + .saturating_add(Weight::from_ref_time(46_025).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -61,11 +63,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_273_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_941 nanoseconds. + Weight::from_ref_time(41_518_372) + // Standard Error: 741 + .saturating_add(Weight::from_ref_time(60_016).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -74,11 +77,12 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_125_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(231_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_074 nanoseconds. + Weight::from_ref_time(41_676_426) + // Standard Error: 1_089 + .saturating_add(Weight::from_ref_time(207_854).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -87,30 +91,31 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(40_740_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 41_061 nanoseconds. + Weight::from_ref_time(43_037_091) + // Standard Error: 771 + .saturating_add(Weight::from_ref_time(60_214).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: TechnicalCommitteeMembership Members (r:1 w:0) // Storage: TechnicalCommitteeMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(13_220_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 15_354 nanoseconds. + Weight::from_ref_time(15_708_303) + // Standard Error: 278 + .saturating_add(Weight::from_ref_time(12_081).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: TechnicalCommitteeMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(m: u32, ) -> Weight { - Weight::from_ref_time(8_382_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + fn clear_prime(_m: u32, ) -> Weight { + // Minimum execution time: 8_710 nanoseconds. + Weight::from_ref_time(9_191_815) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/parallel/src/weights/pallet_multisig.rs b/runtime/parallel/src/weights/pallet_multisig.rs new file mode 100644 index 000000000..601a8227e --- /dev/null +++ b/runtime/parallel/src/weights/pallet_multisig.rs @@ -0,0 +1,111 @@ + +//! Autogenerated weights for `pallet_multisig` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_multisig +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_multisig.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_multisig`. +pub struct WeightInfo(PhantomData); +impl pallet_multisig::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. + fn as_multi_threshold_1(z: u32, ) -> Weight { + // Minimum execution time: 27_953 nanoseconds. + Weight::from_ref_time(29_752_147) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(841).saturating_mul(z.into())) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_create(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 80_620 nanoseconds. + Weight::from_ref_time(63_262_646) + // Standard Error: 1_535 + .saturating_add(Weight::from_ref_time(202_188).saturating_mul(s.into())) + // Standard Error: 15 + .saturating_add(Weight::from_ref_time(2_107).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[3, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_approve(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 62_020 nanoseconds. + Weight::from_ref_time(44_138_132) + // Standard Error: 1_136 + .saturating_add(Weight::from_ref_time(192_420).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_ref_time(2_115).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + // Minimum execution time: 85_817 nanoseconds. + Weight::from_ref_time(65_611_920) + // Standard Error: 1_353 + .saturating_add(Weight::from_ref_time(230_369).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_ref_time(2_367).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_create(s: u32, ) -> Weight { + // Minimum execution time: 58_150 nanoseconds. + Weight::from_ref_time(61_313_764) + // Standard Error: 3_197 + .saturating_add(Weight::from_ref_time(220_880).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_approve(s: u32, ) -> Weight { + // Minimum execution time: 40_748 nanoseconds. + Weight::from_ref_time(42_531_316) + // Standard Error: 1_407 + .saturating_add(Weight::from_ref_time(197_921).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Multisig Multisigs (r:1 w:1) + /// The range of component `s` is `[2, 100]`. + fn cancel_as_multi(s: u32, ) -> Weight { + // Minimum execution time: 57_432 nanoseconds. + Weight::from_ref_time(59_983_999) + // Standard Error: 1_622 + .saturating_add(Weight::from_ref_time(207_220).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/parallel/src/weights/pallet_preimage.rs b/runtime/parallel/src/weights/pallet_preimage.rs index beb598ab0..e2521ef86 100644 --- a/runtime/parallel/src/weights/pallet_preimage.rs +++ b/runtime/parallel/src/weights/pallet_preimage.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -29,92 +29,103 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 53_645 nanoseconds. + Weight::from_ref_time(54_498_000) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_161).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 36_328 nanoseconds. + Weight::from_ref_time(36_688_000) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(3_204).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 33_967 nanoseconds. + Weight::from_ref_time(34_427_000) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_167).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(93_901_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 91_029 nanoseconds. + Weight::from_ref_time(99_614_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(64_822_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 71_596 nanoseconds. + Weight::from_ref_time(75_204_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(85_377_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 66_701 nanoseconds. + Weight::from_ref_time(70_470_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(59_246_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 37_375 nanoseconds. + Weight::from_ref_time(40_425_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(36_162_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 36_759 nanoseconds. + Weight::from_ref_time(38_614_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(13_853_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 17_169 nanoseconds. + Weight::from_ref_time(17_560_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(54_647_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 65_669 nanoseconds. + Weight::from_ref_time(69_126_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(33_353_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 17_173 nanoseconds. + Weight::from_ref_time(17_766_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(13_312_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_463 nanoseconds. + Weight::from_ref_time(17_036_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/pallet_proxy.rs b/runtime/parallel/src/weights/pallet_proxy.rs new file mode 100644 index 000000000..9966d65b7 --- /dev/null +++ b/runtime/parallel/src/weights/pallet_proxy.rs @@ -0,0 +1,150 @@ + +//! Autogenerated weights for `pallet_proxy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_proxy +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_proxy.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_proxy`. +pub struct WeightInfo(PhantomData); +impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: Proxy Proxies (r:1 w:0) + /// The range of component `p` is `[1, 31]`. + fn proxy(p: u32, ) -> Weight { + // Minimum execution time: 37_055 nanoseconds. + Weight::from_ref_time(38_157_563) + // Standard Error: 2_809 + .saturating_add(Weight::from_ref_time(77_158).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn proxy_announced(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 69_030 nanoseconds. + Weight::from_ref_time(69_864_530) + // Standard Error: 2_719 + .saturating_add(Weight::from_ref_time(262_188).saturating_mul(a.into())) + // Standard Error: 2_809 + .saturating_add(Weight::from_ref_time(54_877).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn remove_announcement(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 46_347 nanoseconds. + Weight::from_ref_time(48_365_751) + // Standard Error: 2_604 + .saturating_add(Weight::from_ref_time(261_908).saturating_mul(a.into())) + // Standard Error: 2_690 + .saturating_add(Weight::from_ref_time(14_702).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn reject_announcement(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 46_359 nanoseconds. + Weight::from_ref_time(48_276_137) + // Standard Error: 2_695 + .saturating_add(Weight::from_ref_time(265_252).saturating_mul(a.into())) + // Standard Error: 2_784 + .saturating_add(Weight::from_ref_time(15_035).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn announce(a: u32, p: u32, ) -> Weight { + // Minimum execution time: 61_549 nanoseconds. + Weight::from_ref_time(63_213_112) + // Standard Error: 2_911 + .saturating_add(Weight::from_ref_time(255_685).saturating_mul(a.into())) + // Standard Error: 3_008 + .saturating_add(Weight::from_ref_time(56_073).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn add_proxy(p: u32, ) -> Weight { + // Minimum execution time: 51_254 nanoseconds. + Weight::from_ref_time(52_502_075) + // Standard Error: 2_235 + .saturating_add(Weight::from_ref_time(111_595).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn remove_proxy(p: u32, ) -> Weight { + // Minimum execution time: 50_018 nanoseconds. + Weight::from_ref_time(52_375_838) + // Standard Error: 3_015 + .saturating_add(Weight::from_ref_time(141_315).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn remove_proxies(p: u32, ) -> Weight { + // Minimum execution time: 43_615 nanoseconds. + Weight::from_ref_time(44_861_199) + // Standard Error: 2_112 + .saturating_add(Weight::from_ref_time(76_850).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[1, 31]`. + fn create_pure(p: u32, ) -> Weight { + // Minimum execution time: 57_302 nanoseconds. + Weight::from_ref_time(58_693_576) + // Standard Error: 2_293 + .saturating_add(Weight::from_ref_time(47_026).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Proxy Proxies (r:1 w:1) + /// The range of component `p` is `[0, 30]`. + fn kill_pure(p: u32, ) -> Weight { + // Minimum execution time: 45_966 nanoseconds. + Weight::from_ref_time(47_661_004) + // Standard Error: 1_851 + .saturating_add(Weight::from_ref_time(71_768).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/parallel/src/weights/pallet_router.rs b/runtime/parallel/src/weights/pallet_router.rs index 76d565c2d..1625f019c 100644 --- a/runtime/parallel/src/weights/pallet_router.rs +++ b/runtime/parallel/src/weights/pallet_router.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_router` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -33,16 +33,18 @@ impl pallet_router::WeightInfo for WeightInfo { // Storage: Assets Account (r:4 w:4) // Storage: AMM Pools (r:1 w:1) fn swap_exact_tokens_for_tokens() -> Weight { - Weight::from_ref_time(154_252_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 159_385 nanoseconds. + Weight::from_ref_time(161_069_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: AMM Pools (r:1 w:1) // Storage: Assets Asset (r:2 w:2) // Storage: Assets Account (r:4 w:4) fn swap_tokens_for_exact_tokens() -> Weight { - Weight::from_ref_time(154_703_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 159_751 nanoseconds. + Weight::from_ref_time(161_736_000) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } } diff --git a/runtime/parallel/src/weights/pallet_scheduler.rs b/runtime/parallel/src/weights/pallet_scheduler.rs new file mode 100644 index 000000000..b6835a1a7 --- /dev/null +++ b/runtime/parallel/src/weights/pallet_scheduler.rs @@ -0,0 +1,125 @@ + +//! Autogenerated weights for `pallet_scheduler` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/parallel +// benchmark +// pallet +// --chain=parallel-dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet=pallet_scheduler +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtime/parallel/src/weights/pallet_scheduler.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_scheduler`. +pub struct WeightInfo(PhantomData); +impl pallet_scheduler::WeightInfo for WeightInfo { + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + // Minimum execution time: 7_443 nanoseconds. + Weight::from_ref_time(7_695_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + // Minimum execution time: 6_798 nanoseconds. + Weight::from_ref_time(11_784_085) + // Standard Error: 2_626 + .saturating_add(Weight::from_ref_time(992_225).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_base() -> Weight { + // Minimum execution time: 17_057 nanoseconds. + Weight::from_ref_time(17_440_000) + } + // Storage: Preimage PreimageFor (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + // Minimum execution time: 39_247 nanoseconds. + Weight::from_ref_time(39_464_000) + // Standard Error: 18 + .saturating_add(Weight::from_ref_time(1_999).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:0 w:1) + fn service_task_named() -> Weight { + // Minimum execution time: 19_867 nanoseconds. + Weight::from_ref_time(20_342_000) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_periodic() -> Weight { + // Minimum execution time: 17_364 nanoseconds. + Weight::from_ref_time(17_667_000) + } + fn execute_dispatch_signed() -> Weight { + // Minimum execution time: 7_916 nanoseconds. + Weight::from_ref_time(8_254_000) + } + fn execute_dispatch_unsigned() -> Weight { + // Minimum execution time: 7_386 nanoseconds. + Weight::from_ref_time(7_605_000) + } + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 49]`. + fn schedule(s: u32, ) -> Weight { + // Minimum execution time: 30_319 nanoseconds. + Weight::from_ref_time(36_330_054) + // Standard Error: 3_417 + .saturating_add(Weight::from_ref_time(1_075_559).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Lookup (r:0 w:1) + /// The range of component `s` is `[1, 50]`. + fn cancel(s: u32, ) -> Weight { + // Minimum execution time: 34_235 nanoseconds. + Weight::from_ref_time(35_989_643) + // Standard Error: 2_595 + .saturating_add(Weight::from_ref_time(1_057_299).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[0, 49]`. + fn schedule_named(s: u32, ) -> Weight { + // Minimum execution time: 35_779 nanoseconds. + Weight::from_ref_time(42_562_816) + // Standard Error: 4_390 + .saturating_add(Weight::from_ref_time(1_121_527).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + /// The range of component `s` is `[1, 50]`. + fn cancel_named(s: u32, ) -> Weight { + // Minimum execution time: 36_416 nanoseconds. + Weight::from_ref_time(39_284_228) + // Standard Error: 3_100 + .saturating_add(Weight::from_ref_time(1_083_364).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/parallel/src/weights/pallet_streaming.rs b/runtime/parallel/src/weights/pallet_streaming.rs index 1a438752d..39d6c1717 100644 --- a/runtime/parallel/src/weights/pallet_streaming.rs +++ b/runtime/parallel/src/weights/pallet_streaming.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_streaming` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -38,9 +38,10 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: Streaming StreamLibrary (r:4 w:4) // Storage: Streaming Streams (r:0 w:1) fn create() -> Weight { - Weight::from_ref_time(125_839_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(10 as u64)) + // Minimum execution time: 120_957 nanoseconds. + Weight::from_ref_time(122_126_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } // Storage: Streaming Streams (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) @@ -49,9 +50,10 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Streaming StreamLibrary (r:2 w:2) fn cancel() -> Weight { - Weight::from_ref_time(124_784_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 131_479 nanoseconds. + Weight::from_ref_time(132_774_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Streaming Streams (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) @@ -59,13 +61,15 @@ impl pallet_streaming::WeightInfo for WeightInfo { // Storage: Assets Account (r:2 w:2) // Storage: System Account (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(100_181_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 107_584 nanoseconds. + Weight::from_ref_time(108_849_000) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Streaming MinimumDeposits (r:0 w:1) fn set_minimum_deposit() -> Weight { - Weight::from_ref_time(25_529_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 26_785 nanoseconds. + Weight::from_ref_time(27_346_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/parallel/src/weights/pallet_timestamp.rs b/runtime/parallel/src/weights/pallet_timestamp.rs index 89c4ad082..65a96373b 100644 --- a/runtime/parallel/src/weights/pallet_timestamp.rs +++ b/runtime/parallel/src/weights/pallet_timestamp.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,11 +31,13 @@ pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - Weight::from_ref_time(12_648_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 12_990 nanoseconds. + Weight::from_ref_time(13_596_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - Weight::from_ref_time(4_694_000 as u64) + // Minimum execution time: 7_204 nanoseconds. + Weight::from_ref_time(7_489_000) } } diff --git a/runtime/parallel/src/weights/pallet_treasury.rs b/runtime/parallel/src/weights/pallet_treasury.rs index 842113425..6f7ecdccc 100644 --- a/runtime/parallel/src/weights/pallet_treasury.rs +++ b/runtime/parallel/src/weights/pallet_treasury.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -30,49 +30,57 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(394_000 as u64) + // Minimum execution time: 368 nanoseconds. + Weight::from_ref_time(453_000) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(48_428_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 49_422 nanoseconds. + Weight::from_ref_time(50_391_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(53_189_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 57_044 nanoseconds. + Weight::from_ref_time(57_810_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(19_177_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 17_767 nanoseconds. + Weight::from_ref_time(24_622_843) + // Standard Error: 2_809 + .saturating_add(Weight::from_ref_time(153_308).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(12_280_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 14_219 nanoseconds. + Weight::from_ref_time(14_531_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:0) + // Storage: Treasury Inactive (r:1 w:1) + // Storage: Balances InactiveIssuance (r:1 w:1) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:2 w:2) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(39_439_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(57_799_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64))) + // Minimum execution time: 52_430 nanoseconds. + Weight::from_ref_time(75_193_859) + // Standard Error: 16_345 + .saturating_add(Weight::from_ref_time(50_967_623).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) } } diff --git a/runtime/parallel/src/weights/pallet_utility.rs b/runtime/parallel/src/weights/pallet_utility.rs index 225654bd5..754f73d26 100644 --- a/runtime/parallel/src/weights/pallet_utility.rs +++ b/runtime/parallel/src/weights/pallet_utility.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,26 +31,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(31_614_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(8_819_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_041 nanoseconds. + Weight::from_ref_time(37_722_957) + // Standard Error: 2_140 + .saturating_add(Weight::from_ref_time(7_780_596).saturating_mul(c.into())) } fn as_derivative() -> Weight { - Weight::from_ref_time(11_701_000 as u64) + // Minimum execution time: 11_677 nanoseconds. + Weight::from_ref_time(11_976_000) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(30_824_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(9_227_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_157 nanoseconds. + Weight::from_ref_time(31_688_389) + // Standard Error: 2_072 + .saturating_add(Weight::from_ref_time(8_200_339).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - Weight::from_ref_time(25_158_000 as u64) + // Minimum execution time: 24_883 nanoseconds. + Weight::from_ref_time(25_367_000) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(26_969_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(8_786_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 21_128 nanoseconds. + Weight::from_ref_time(32_997_782) + // Standard Error: 2_313 + .saturating_add(Weight::from_ref_time(7_808_716).saturating_mul(c.into())) } } diff --git a/runtime/parallel/src/weights/pallet_xcm_helper.rs b/runtime/parallel/src/weights/pallet_xcm_helper.rs index c3c462f9b..8a9bbf3a3 100644 --- a/runtime/parallel/src/weights/pallet_xcm_helper.rs +++ b/runtime/parallel/src/weights/pallet_xcm_helper.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_xcm_helper` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 @@ -31,8 +31,9 @@ pub struct WeightInfo(PhantomData); impl pallet_xcm_helper::WeightInfo for WeightInfo { // Storage: XcmHelper XcmWeightFee (r:1 w:1) fn update_xcm_weight_fee() -> Weight { - Weight::from_ref_time(28_547_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 30_135 nanoseconds. + Weight::from_ref_time(30_699_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 0e2eb28ac..386cc27e2 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -14,11 +14,22 @@ parallelChain=parallel-dev heikoChain=heiko-dev pallets=( - frame_system - pallet_balances - pallet_timestamp - pallet_multisig - pallet_membership + # frame_system + # pallet_assets + # pallet_balances + # pallet_timestamp + # pallet_multisig + # pallet_membership + # pallet_collator_selection + # pallet_proxy + # pallet_utility + # cumulus_pallet_xcmp_queue + # pallet_identity + # pallet_democracy + # pallet_collective + # pallet_preimage + # pallet_scheduler + # pallet_treasury pallet_amm pallet_asset_registry pallet_bridge @@ -29,14 +40,6 @@ pallets=( pallet_xcm_helper pallet_streaming pallet_liquid_staking - pallet_proxy - pallet_utility - cumulus_pallet_xcmp_queue - pallet_identity - pallet_democracy - pallet_preimage - pallet_scheduler - pallet_treasury ) for p in ${pallets[@]}