diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 8acf3db19..f38684390 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -53,6 +53,11 @@ macro_rules! fast_runtime_or_not { }; } +#[cfg(not(feature = "runtime-benchmarks"))] +pub const EXISTENTIAL_DEPOSIT: Balance = 0; +#[cfg(feature = "runtime-benchmarks")] +pub const EXISTENTIAL_DEPOSIT: Balance = 1; + /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the /// node's balance type. /// diff --git a/runtime/crab/src/pallets/balances.rs b/runtime/crab/src/pallets/balances.rs index 70d65b7c1..c9a61fcd0 100644 --- a/runtime/crab/src/pallets/balances.rs +++ b/runtime/crab/src/pallets/balances.rs @@ -20,7 +20,7 @@ use crate::*; frame_support::parameter_types! { - pub const ExistentialDeposit:Balance = 0; + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } impl pallet_balances::Config for Runtime { diff --git a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs index 04283bfd6..bdcb32cec 100644 --- a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 4_330_000 picoseconds. - Weight::from_parts(4_622_000, 0) + // Minimum execution time: 4_007_000 picoseconds. + Weight::from_parts(4_196_000, 0) .saturating_add(Weight::from_parts(0, 1527)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 4_327_000 picoseconds. - Weight::from_parts(4_526_000, 0) + // Minimum execution time: 3_970_000 picoseconds. + Weight::from_parts(4_307_000, 0) .saturating_add(Weight::from_parts(0, 1527)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/crab/src/weights/darwinia_account_migration.rs b/runtime/crab/src/weights/darwinia_account_migration.rs index f6b3e0d50..2f62cc321 100644 --- a/runtime/crab/src/weights/darwinia_account_migration.rs +++ b/runtime/crab/src/weights/darwinia_account_migration.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); @@ -63,10 +64,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -78,24 +75,22 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn migrate() -> Weight { // Proof Size summary in bytes: - // Measured: `30224` - // Estimated: `113012` - // Minimum execution time: 142_559_000 picoseconds. - Weight::from_parts(147_029_000, 0) - .saturating_add(Weight::from_parts(0, 113012)) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(18)) + // Measured: `29142` + // Estimated: `32607` + // Minimum execution time: 146_143_000 picoseconds. + Weight::from_parts(149_786_000, 0) + .saturating_add(Weight::from_parts(0, 32607)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: AccountMigration Multisigs (r:0 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -105,10 +100,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -120,13 +111,11 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) /// The range of component `x` is `[0, 99]`. @@ -135,16 +124,16 @@ impl darwinia_account_migration::WeightInfo for WeightI fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `5 + x * (570 ±0) + z * (570 ±0)` - // Minimum execution time: 8_138_000 picoseconds. - Weight::from_parts(23_149_624, 0) - .saturating_add(Weight::from_parts(0, 5)) - // Standard Error: 12_670 - .saturating_add(Weight::from_parts(15_273, 0).saturating_mul(x.into())) + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_819_000 picoseconds. + Weight::from_parts(23_005_586, 0) + .saturating_add(Weight::from_parts(0, 2)) + // Standard Error: 13_028 + .saturating_add(Weight::from_parts(2_801, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(x.into())) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -153,10 +142,10 @@ impl darwinia_account_migration::WeightInfo for WeightI fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 9_778_000 picoseconds. - Weight::from_parts(10_122_000, 0) - .saturating_add(Weight::from_parts(0, 10545)) + // Estimated: `6964` + // Minimum execution time: 8_515_000 picoseconds. + Weight::from_parts(8_883_000, 0) + .saturating_add(Weight::from_parts(0, 6964)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/darwinia_deposit.rs b/runtime/crab/src/weights/darwinia_deposit.rs index b728afa06..3b3483725 100644 --- a/runtime/crab/src/weights/darwinia_deposit.rs +++ b/runtime/crab/src/weights/darwinia_deposit.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); @@ -66,14 +67,14 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26779` - // Estimated: `41879` - // Minimum execution time: 62_153_000 picoseconds. - Weight::from_parts(69_199_000, 0) - .saturating_add(Weight::from_parts(0, 41879)) + // Estimated: `29615` + // Minimum execution time: 73_525_000 picoseconds. + Weight::from_parts(79_299_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,10 +87,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26546` - // Estimated: `34689` - // Minimum execution time: 1_413_394_000 picoseconds. - Weight::from_parts(1_439_556_000, 0) - .saturating_add(Weight::from_parts(0, 34689)) + // Estimated: `29615` + // Minimum execution time: 1_261_970_000 picoseconds. + Weight::from_parts(1_286_830_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,16 +99,16 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn claim_with_penalty() -> Weight { // Proof Size summary in bytes: // Measured: `26668` - // Estimated: `38298` - // Minimum execution time: 54_872_000 picoseconds. - Weight::from_parts(65_645_000, 0) - .saturating_add(Weight::from_parts(0, 38298)) + // Estimated: `29615` + // Minimum execution time: 49_495_000 picoseconds. + Weight::from_parts(53_007_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/crab/src/weights/darwinia_ecdsa_authority.rs b/runtime/crab/src/weights/darwinia_ecdsa_authority.rs index 834281b80..749f98ece 100644 --- a/runtime/crab/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/crab/src/weights/darwinia_ecdsa_authority.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); @@ -66,10 +67,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 10_503_000 picoseconds. - Weight::from_parts(11_694_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 9_972_000 picoseconds. + Weight::from_parts(10_599_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,10 +83,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 14_073_000 picoseconds. - Weight::from_parts(14_905_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 13_112_000 picoseconds. + Weight::from_parts(13_595_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,10 +99,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 14_391_000 picoseconds. - Weight::from_parts(14_989_000, 0) - .saturating_add(Weight::from_parts(0, 4953)) + // Estimated: `1651` + // Minimum execution time: 13_773_000 picoseconds. + Weight::from_parts(14_163_000, 0) + .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,10 +115,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 15_032_000 picoseconds. - Weight::from_parts(15_642_000, 0) - .saturating_add(Weight::from_parts(0, 5256)) + // Estimated: `1752` + // Minimum execution time: 14_058_000 picoseconds. + Weight::from_parts(14_492_000, 0) + .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,10 +135,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 22_739_000 picoseconds. - Weight::from_parts(23_675_000, 0) - .saturating_add(Weight::from_parts(0, 7195)) + // Estimated: `1736` + // Minimum execution time: 41_722_000 picoseconds. + Weight::from_parts(42_351_000, 0) + .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -148,10 +149,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 12_181_000 picoseconds. - Weight::from_parts(12_763_000, 0) - .saturating_add(Weight::from_parts(0, 3460)) + // Estimated: `1730` + // Minimum execution time: 31_374_000 picoseconds. + Weight::from_parts(32_082_000, 0) + .saturating_add(Weight::from_parts(0, 1730)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/darwinia_staking.rs b/runtime/crab/src/weights/darwinia_staking.rs index 64a9a86ae..af73a5e85 100644 --- a/runtime/crab/src/weights/darwinia_staking.rs +++ b/runtime/crab/src/weights/darwinia_staking.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); @@ -66,7 +67,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking KtonPool (r:1 w:1) /// Proof: DarwiniaStaking KtonPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) @@ -74,13 +75,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1847` - // Estimated: `51255` - // Minimum execution time: 53_849_000 picoseconds. - Weight::from_parts(125_223_039, 0) - .saturating_add(Weight::from_parts(0, 51255)) - // Standard Error: 1_691 - .saturating_add(Weight::from_parts(9_797, 0).saturating_mul(x.into())) + // Measured: `1815` + // Estimated: `29615` + // Minimum execution time: 64_633_000 picoseconds. + Weight::from_parts(124_140_920, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 1_358 + .saturating_add(Weight::from_parts(8_323, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -95,13 +96,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1531` - // Estimated: `37915` - // Minimum execution time: 11_275_000 picoseconds. - Weight::from_parts(55_093_599, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 979 - .saturating_add(Weight::from_parts(5_809, 0).saturating_mul(x.into())) + // Measured: `1464` + // Estimated: `29615` + // Minimum execution time: 10_890_000 picoseconds. + Weight::from_parts(54_530_992, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 972 + .saturating_add(Weight::from_parts(4_573, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,13 +117,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1635` - // Estimated: `37915` - // Minimum execution time: 10_346_000 picoseconds. - Weight::from_parts(46_302_487, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 815 - .saturating_add(Weight::from_parts(4_660, 0).saturating_mul(x.into())) + // Measured: `1568` + // Estimated: `29615` + // Minimum execution time: 9_710_000 picoseconds. + Weight::from_parts(45_713_092, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 809 + .saturating_add(Weight::from_parts(4_816, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -133,16 +134,16 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2157` - // Estimated: `48253` - // Minimum execution time: 92_379_000 picoseconds. - Weight::from_parts(95_371_000, 0) - .saturating_add(Weight::from_parts(0, 48253)) + // Measured: `2090` + // Estimated: `29615` + // Minimum execution time: 93_678_000 picoseconds. + Weight::from_parts(96_203_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -150,10 +151,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `426` + // Measured: `355` // Estimated: `3497` - // Minimum execution time: 5_623_000 picoseconds. - Weight::from_parts(5_943_000, 0) + // Minimum execution time: 5_499_000 picoseconds. + Weight::from_parts(5_834_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,11 +167,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `731` - // Estimated: `12308` - // Minimum execution time: 10_387_000 picoseconds. - Weight::from_parts(10_876_000, 0) - .saturating_add(Weight::from_parts(0, 12308)) + // Measured: `523` + // Estimated: `5298` + // Minimum execution time: 9_606_000 picoseconds. + Weight::from_parts(10_707_000, 0) + .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,8 +183,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_427_000 picoseconds. - Weight::from_parts(3_886_000, 0) + // Minimum execution time: 3_544_000 picoseconds. + Weight::from_parts(3_707_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -193,8 +194,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_051_000 picoseconds. - Weight::from_parts(2_175_000, 0) + // Minimum execution time: 1_871_000 picoseconds. + Weight::from_parts(2_010_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_assets.rs b/runtime/crab/src/weights/pallet_assets.rs index b002f8d87..3d5707271 100644 --- a/runtime/crab/src/weights/pallet_assets.rs +++ b/runtime/crab/src/weights/pallet_assets.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 9_598_000 picoseconds. - Weight::from_parts(10_128_000, 0) + // Minimum execution time: 8_645_000 picoseconds. + Weight::from_parts(9_083_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_831_000 picoseconds. - Weight::from_parts(9_372_000, 0) + // Minimum execution time: 8_151_000 picoseconds. + Weight::from_parts(8_601_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_112_000 picoseconds. - Weight::from_parts(9_392_000, 0) + // Minimum execution time: 8_391_000 picoseconds. + Weight::from_parts(8_876_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,24 +97,24 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1000 w:1000) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `436 + c * (183 ±0)` - // Estimated: `8180 + c * (5160 ±0)` - // Minimum execution time: 11_986_000 picoseconds. - Weight::from_parts(12_327_000, 0) - .saturating_add(Weight::from_parts(0, 8180)) - // Standard Error: 7_344 - .saturating_add(Weight::from_parts(9_149_083, 0).saturating_mul(c.into())) + // Estimated: `3631 + c * (2591 ±0)` + // Minimum execution time: 11_363_000 picoseconds. + Weight::from_parts(11_559_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 4_477 + .saturating_add(Weight::from_parts(8_626_515, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5160).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into())) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) @@ -123,12 +124,12 @@ impl pallet_assets::WeightInfo for WeightInfo { fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` - // Estimated: `7224 + a * (2603 ±0)` - // Minimum execution time: 11_655_000 picoseconds. - Weight::from_parts(12_010_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) - // Standard Error: 3_133 - .saturating_add(Weight::from_parts(3_256_973, 0).saturating_mul(a.into())) + // Estimated: `3631 + a * (2603 ±0)` + // Minimum execution time: 11_312_000 picoseconds. + Weight::from_parts(11_577_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 1_981 + .saturating_add(Weight::from_parts(3_198_062, 0).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)) @@ -142,114 +143,114 @@ impl pallet_assets::WeightInfo for WeightInfo { fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 10_298_000 picoseconds. - Weight::from_parts(10_932_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_816_000 picoseconds. + Weight::from_parts(10_262_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7190` - // Minimum execution time: 18_850_000 picoseconds. - Weight::from_parts(19_885_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 17_203_000 picoseconds. + Weight::from_parts(17_742_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 23_068_000 picoseconds. - Weight::from_parts(23_683_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 21_925_000 picoseconds. + Weight::from_parts(22_526_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 32_747_000 picoseconds. - Weight::from_parts(33_471_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_525_000 picoseconds. + Weight::from_parts(31_785_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 29_509_000 picoseconds. - Weight::from_parts(32_432_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 27_174_000 picoseconds. + Weight::from_parts(27_744_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 32_363_000 picoseconds. - Weight::from_parts(33_166_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_563_000 picoseconds. + Weight::from_parts(31_543_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_801_000 picoseconds. - Weight::from_parts(12_138_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 11_024_000 picoseconds. + Weight::from_parts(11_372_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_772_000 picoseconds. - Weight::from_parts(12_095_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 11_097_000 picoseconds. + Weight::from_parts(11_362_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_981_000 picoseconds. - Weight::from_parts(9_724_000, 0) + // Minimum execution time: 8_394_000 picoseconds. + Weight::from_parts(8_660_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -271,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_915_000 picoseconds. - Weight::from_parts(9_312_000, 0) + // Minimum execution time: 8_306_000 picoseconds. + Weight::from_parts(8_623_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,10 +285,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 10_888_000 picoseconds. - Weight::from_parts(11_348_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_006_000 picoseconds. + Weight::from_parts(10_535_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -297,8 +298,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_690_000 picoseconds. - Weight::from_parts(21_303_000, 0) + // Minimum execution time: 8_716_000 picoseconds. + Weight::from_parts(9_077_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -309,15 +310,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 11_128_000 picoseconds. - Weight::from_parts(13_001_666, 0) - .saturating_add(Weight::from_parts(0, 7240)) - // Standard Error: 5_910 - .saturating_add(Weight::from_parts(7_178, 0).saturating_mul(s.into())) + // Estimated: `3631` + // Minimum execution time: 10_103_000 picoseconds. + Weight::from_parts(9_528_814, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 4_313 + .saturating_add(Weight::from_parts(22_190, 0).saturating_mul(n.into())) + // Standard Error: 4_313 + .saturating_add(Weight::from_parts(20_751, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -328,10 +331,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 11_429_000 picoseconds. - Weight::from_parts(12_255_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_551_000 picoseconds. + Weight::from_parts(10_856_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -341,13 +344,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// 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 { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `200` - // Estimated: `7240` - // Minimum execution time: 10_571_000 picoseconds. - Weight::from_parts(14_882_981, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_629_000 picoseconds. + Weight::from_parts(10_087_683, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 655 + .saturating_add(Weight::from_parts(4_644, 0).saturating_mul(n.into())) + // Standard Error: 655 + .saturating_add(Weight::from_parts(2_710, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -358,10 +365,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 10_980_000 picoseconds. - Weight::from_parts(11_551_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_514_000 picoseconds. + Weight::from_parts(10_778_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -371,8 +378,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 20_599_000 picoseconds. - Weight::from_parts(21_407_000, 0) + // Minimum execution time: 8_443_000 picoseconds. + Weight::from_parts(8_659_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -384,10 +391,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` - // Estimated: `7224` - // Minimum execution time: 13_299_000 picoseconds. - Weight::from_parts(13_836_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 12_431_000 picoseconds. + Weight::from_parts(13_010_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -396,16 +403,16 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Approvals (r:1 w:1) /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `562` - // Estimated: `16933` - // Minimum execution time: 38_031_000 picoseconds. - Weight::from_parts(38_990_000, 0) - .saturating_add(Weight::from_parts(0, 16933)) + // Estimated: `6168` + // Minimum execution time: 36_271_000 picoseconds. + Weight::from_parts(37_737_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -416,10 +423,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 14_628_000 picoseconds. - Weight::from_parts(15_052_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 13_997_000 picoseconds. + Weight::from_parts(14_446_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -430,10 +437,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 14_556_000 picoseconds. - Weight::from_parts(15_252_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 14_171_000 picoseconds. + Weight::from_parts(14_704_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,79 +450,84 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_971_000 picoseconds. - Weight::from_parts(10_225_000, 0) + // Minimum execution time: 9_130_000 picoseconds. + Weight::from_parts(9_782_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `453` - // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `441` + // Estimated: `3631` + // Minimum execution time: 24_759_000 picoseconds. + Weight::from_parts(25_552_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) + // Measured: `313` + // Estimated: `3631` + // Minimum execution time: 22_689_000 picoseconds. + Weight::from_parts(22_972_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `579` - // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `519` + // Estimated: `3631` + // Minimum execution time: 22_762_000 picoseconds. + Weight::from_parts(24_093_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `411` + // Estimated: `3631` + // Minimum execution time: 20_869_000 picoseconds. + Weight::from_parts(21_557_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `373` + // Estimated: `3631` + // Minimum execution time: 10_972_000 picoseconds. + Weight::from_parts(11_647_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/crab/src/weights/pallet_balances.rs b/runtime/crab/src/weights/pallet_balances.rs index af108a934..89dcd8d8c 100644 --- a/runtime/crab/src/weights/pallet_balances.rs +++ b/runtime/crab/src/weights/pallet_balances.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 22_973_000 picoseconds. - Weight::from_parts(23_592_000, 0) + // Minimum execution time: 37_450_000 picoseconds. + Weight::from_parts(38_464_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 19_468_000 picoseconds. - Weight::from_parts(19_942_000, 0) + // Minimum execution time: 31_366_000 picoseconds. + Weight::from_parts(32_063_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_799_000 picoseconds. - Weight::from_parts(11_295_000, 0) + // Minimum execution time: 12_052_000 picoseconds. + Weight::from_parts(12_816_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 13_677_000 picoseconds. - Weight::from_parts(14_380_000, 0) + // Minimum execution time: 17_078_000 picoseconds. + Weight::from_parts(17_572_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 24_254_000 picoseconds. - Weight::from_parts(25_278_000, 0) + // Minimum execution time: 39_031_000 picoseconds. + Weight::from_parts(40_122_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -123,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 24_822_000 picoseconds. - Weight::from_parts(25_369_000, 0) + // Minimum execution time: 38_943_000 picoseconds. + Weight::from_parts(39_695_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +136,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_707_000 picoseconds. - Weight::from_parts(11_454_000, 0) + // Minimum execution time: 14_007_000 picoseconds. + Weight::from_parts(14_369_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `58 + u * (124 ±0)` + // Estimated: `990 + u * (2591 ±0)` + // Minimum execution time: 12_940_000 picoseconds. + Weight::from_parts(13_053_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 7_440 + .saturating_add(Weight::from_parts(10_709_023, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(u.into())) } } diff --git a/runtime/crab/src/weights/pallet_bridge_grandpa.rs b/runtime/crab/src/weights/pallet_bridge_grandpa.rs index e8bfcd1d4..d7489c624 100644 --- a/runtime/crab/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/crab/src/weights/pallet_bridge_grandpa.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); @@ -73,15 +74,17 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { + fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2544 + p * (40 ±0)` - // Estimated: `243854` - // Minimum execution time: 1_584_217_000 picoseconds. - Weight::from_parts(1_617_253_000, 0) - .saturating_add(Weight::from_parts(0, 243854)) - // Standard Error: 160_970 - .saturating_add(Weight::from_parts(20_351_393, 0).saturating_mul(p.into())) + // Estimated: `165335` + // Minimum execution time: 1_614_068_000 picoseconds. + Weight::from_parts(34_962_678, 0) + .saturating_add(Weight::from_parts(0, 165335)) + // Standard Error: 40_625 + .saturating_add(Weight::from_parts(28_551_102, 0).saturating_mul(p.into())) + // Standard Error: 41_589 + .saturating_add(Weight::from_parts(1_516_431, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/crab/src/weights/pallet_bridge_messages.rs b/runtime/crab/src/weights/pallet_bridge_messages.rs index 3695f3bd4..185be8ade 100644 --- a/runtime/crab/src/weights/pallet_bridge_messages.rs +++ b/runtime/crab/src/weights/pallet_bridge_messages.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); @@ -70,10 +71,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` - // Estimated: `13092` - // Minimum execution time: 47_412_000 picoseconds. - Weight::from_parts(48_953_000, 0) - .saturating_add(Weight::from_parts(0, 13092)) + // Estimated: `6172` + // Minimum execution time: 56_980_000 picoseconds. + Weight::from_parts(59_023_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -90,10 +91,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` - // Estimated: `13092` - // Minimum execution time: 47_978_000 picoseconds. - Weight::from_parts(49_616_000, 0) - .saturating_add(Weight::from_parts(0, 13092)) + // Estimated: `6172` + // Minimum execution time: 57_743_000 picoseconds. + Weight::from_parts(58_978_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -110,10 +111,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` - // Estimated: `13092` - // Minimum execution time: 55_097_000 picoseconds. - Weight::from_parts(58_194_000, 0) - .saturating_add(Weight::from_parts(0, 13092)) + // Estimated: `6172` + // Minimum execution time: 62_656_000 picoseconds. + Weight::from_parts(64_352_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -126,10 +127,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 29_399_000 picoseconds. - Weight::from_parts(30_737_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 28_366_000 picoseconds. + Weight::from_parts(29_640_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,10 +143,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 41_167_000 picoseconds. - Weight::from_parts(42_489_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 39_964_000 picoseconds. + Weight::from_parts(40_425_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,10 +159,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 33_541_000 picoseconds. - Weight::from_parts(34_606_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 32_245_000 picoseconds. + Weight::from_parts(33_001_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +175,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 34_621_000 picoseconds. - Weight::from_parts(36_057_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 33_556_000 picoseconds. + Weight::from_parts(34_376_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,10 +191,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 72_042_000 picoseconds. - Weight::from_parts(79_729_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 67_810_000 picoseconds. + Weight::from_parts(71_277_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +207,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `576` - // Estimated: `79645` - // Minimum execution time: 29_064_000 picoseconds. - Weight::from_parts(30_609_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 28_418_000 picoseconds. + Weight::from_parts(29_726_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,10 +225,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `694` - // Estimated: `78188` - // Minimum execution time: 23_785_000 picoseconds. - Weight::from_parts(25_249_000, 0) - .saturating_add(Weight::from_parts(0, 78188)) + // Estimated: `69033` + // Minimum execution time: 22_913_000 picoseconds. + Weight::from_parts(23_589_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,10 +243,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight { // Proof Size summary in bytes: // Measured: `694` - // Estimated: `80663` - // Minimum execution time: 25_724_000 picoseconds. - Weight::from_parts(26_348_000, 0) - .saturating_add(Weight::from_parts(0, 80663)) + // Estimated: `69033` + // Minimum execution time: 24_934_000 picoseconds. + Weight::from_parts(25_597_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -260,10 +261,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight { // Proof Size summary in bytes: // Measured: `694` - // Estimated: `80663` - // Minimum execution time: 25_977_000 picoseconds. - Weight::from_parts(27_035_000, 0) - .saturating_add(Weight::from_parts(0, 80663)) + // Estimated: `69033` + // Minimum execution time: 25_322_000 picoseconds. + Weight::from_parts(26_072_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_bridge_parachains.rs b/runtime/crab/src/weights/pallet_bridge_parachains.rs index bf390022c..ef3609a47 100644 --- a/runtime/crab/src/weights/pallet_bridge_parachains.rs +++ b/runtime/crab/src/weights/pallet_bridge_parachains.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); @@ -71,16 +72,16 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `485` - // Estimated: `72499 + p * (5074 ±0)` - // Minimum execution time: 23_588_000 picoseconds. - Weight::from_parts(24_031_000, 0) - .saturating_add(Weight::from_parts(0, 72499)) - // Standard Error: 23_116 - .saturating_add(Weight::from_parts(18_957_485, 0).saturating_mul(p.into())) + // Estimated: `69033 + p * (2539 ±0)` + // Minimum execution time: 23_108_000 picoseconds. + Weight::from_parts(23_580_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) + // Standard Error: 19_937 + .saturating_add(Weight::from_parts(17_963_928, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5074).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2539).saturating_mul(p.into())) } /// Storage: BridgePolkadotParachain PalletOperatingMode (r:1 w:0) /// Proof: BridgePolkadotParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) @@ -95,10 +96,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_1kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `485` - // Estimated: `77573` - // Minimum execution time: 29_118_000 picoseconds. - Weight::from_parts(29_990_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Estimated: `69033` + // Minimum execution time: 28_557_000 picoseconds. + Weight::from_parts(29_446_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,10 +116,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_16kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `485` - // Estimated: `77573` - // Minimum execution time: 65_323_000 picoseconds. - Weight::from_parts(68_631_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Estimated: `69033` + // Minimum execution time: 62_801_000 picoseconds. + Weight::from_parts(64_590_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/crab/src/weights/pallet_collective_council.rs b/runtime/crab/src/weights/pallet_collective_council.rs index 354a596bc..aaae55613 100644 --- a/runtime/crab/src/weights/pallet_collective_council.rs +++ b/runtime/crab/src/weights/pallet_collective_council.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15220 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 9_759_000 picoseconds. - Weight::from_parts(10_198_000, 0) - .saturating_add(Weight::from_parts(0, 15220)) - // Standard Error: 22_447 - .saturating_add(Weight::from_parts(2_418_740, 0).saturating_mul(m.into())) - // Standard Error: 22_447 - .saturating_add(Weight::from_parts(4_732_509, 0).saturating_mul(p.into())) + // Estimated: `12163 + m * (1231 ±11) + p * (3660 ±11)` + // Minimum execution time: 9_652_000 picoseconds. + Weight::from_parts(10_074_000, 0) + .saturating_add(Weight::from_parts(0, 12163)) + // Standard Error: 20_471 + .saturating_add(Weight::from_parts(2_182_858, 0).saturating_mul(m.into())) + // Standard Error: 20_471 + .saturating_add(Weight::from_parts(4_336_347, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `1517 + m * (20 ±0)` - // Minimum execution time: 10_513_000 picoseconds. - Weight::from_parts(10_858_895, 0) + // Minimum execution time: 10_085_000 picoseconds. + Weight::from_parts(9_620_991, 0) .saturating_add(Weight::from_parts(0, 1517)) - // Standard Error: 199 - .saturating_add(Weight::from_parts(1_150, 0).saturating_mul(b.into())) - // Standard Error: 2_056 - .saturating_add(Weight::from_parts(8_102, 0).saturating_mul(m.into())) + // Standard Error: 96 + .saturating_add(Weight::from_parts(1_285, 0).saturating_mul(b.into())) + // Standard Error: 994 + .saturating_add(Weight::from_parts(10_830, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,16 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` - // Estimated: `5014 + m * (40 ±0)` - // Minimum execution time: 12_187_000 picoseconds. - Weight::from_parts(11_805_401, 0) - .saturating_add(Weight::from_parts(0, 5014)) - // Standard Error: 197 - .saturating_add(Weight::from_parts(1_273, 0).saturating_mul(b.into())) - // Standard Error: 2_038 - .saturating_add(Weight::from_parts(21_007, 0).saturating_mul(m.into())) + // Estimated: `3497 + m * (20 ±0)` + // Minimum execution time: 11_837_000 picoseconds. + Weight::from_parts(12_154_627, 0) + .saturating_add(Weight::from_parts(0, 3497)) + // Standard Error: 30 + .saturating_add(Weight::from_parts(857, 0).saturating_mul(b.into())) + // Standard Error: 312 + .saturating_add(Weight::from_parts(7_712, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -150,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `320 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9165 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_017_000 picoseconds. - Weight::from_parts(17_286_514, 0) - .saturating_add(Weight::from_parts(0, 9165)) - // Standard Error: 130 - .saturating_add(Weight::from_parts(2_870, 0).saturating_mul(b.into())) - // Standard Error: 1_361 - .saturating_add(Weight::from_parts(12_709, 0).saturating_mul(m.into())) - // Standard Error: 1_343 - .saturating_add(Weight::from_parts(167_632, 0).saturating_mul(p.into())) + // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_123_000 picoseconds. + Weight::from_parts(15_737_378, 0) + .saturating_add(Weight::from_parts(0, 3714)) + // Standard Error: 89 + .saturating_add(Weight::from_parts(2_273, 0).saturating_mul(b.into())) + // Standard Error: 933 + .saturating_add(Weight::from_parts(12_402, 0).saturating_mul(m.into())) + // Standard Error: 921 + .saturating_add(Weight::from_parts(156_769, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -174,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + m * (40 ±0)` - // Estimated: `6538 + m * (80 ±0)` - // Minimum execution time: 17_235_000 picoseconds. - Weight::from_parts(20_957_411, 0) - .saturating_add(Weight::from_parts(0, 6538)) - // Standard Error: 1_172 - .saturating_add(Weight::from_parts(18_945, 0).saturating_mul(m.into())) + // Estimated: `4259 + m * (40 ±0)` + // Minimum execution time: 16_110_000 picoseconds. + Weight::from_parts(18_376_263, 0) + .saturating_add(Weight::from_parts(0, 4259)) + // Standard Error: 864 + .saturating_add(Weight::from_parts(17_098, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -199,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `372 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `7843 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 18_768_000 picoseconds. - Weight::from_parts(21_167_347, 0) - .saturating_add(Weight::from_parts(0, 7843)) - // Standard Error: 1_080 - .saturating_add(Weight::from_parts(10_993, 0).saturating_mul(m.into())) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(157_164, 0).saturating_mul(p.into())) + // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_135_000 picoseconds. + Weight::from_parts(19_280_711, 0) + .saturating_add(Weight::from_parts(0, 3817)) + // Standard Error: 942 + .saturating_add(Weight::from_parts(16_255, 0).saturating_mul(m.into())) + // Standard Error: 919 + .saturating_add(Weight::from_parts(144_479, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -229,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `674 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12004 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_071_000 picoseconds. - Weight::from_parts(29_483_003, 0) - .saturating_add(Weight::from_parts(0, 12004)) - // Standard Error: 119 - .saturating_add(Weight::from_parts(1_952, 0).saturating_mul(b.into())) - // Standard Error: 1_264 - .saturating_add(Weight::from_parts(12_664, 0).saturating_mul(m.into())) - // Standard Error: 1_232 - .saturating_add(Weight::from_parts(187_702, 0).saturating_mul(p.into())) + // Estimated: `3991 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_829_000 picoseconds. + Weight::from_parts(26_994_775, 0) + .saturating_add(Weight::from_parts(0, 3991)) + // Standard Error: 99 + .saturating_add(Weight::from_parts(1_798, 0).saturating_mul(b.into())) + // Standard Error: 1_049 + .saturating_add(Weight::from_parts(14_368, 0).saturating_mul(m.into())) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(177_214, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -262,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `392 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `9780 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 20_205_000 picoseconds. - Weight::from_parts(23_081_022, 0) - .saturating_add(Weight::from_parts(0, 9780)) - // Standard Error: 1_163 - .saturating_add(Weight::from_parts(15_449, 0).saturating_mul(m.into())) - // Standard Error: 1_134 - .saturating_add(Weight::from_parts(157_810, 0).saturating_mul(p.into())) + // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 19_958_000 picoseconds. + Weight::from_parts(21_196_648, 0) + .saturating_add(Weight::from_parts(0, 3837)) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(16_311, 0).saturating_mul(m.into())) + // Standard Error: 1_000 + .saturating_add(Weight::from_parts(147_608, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -294,19 +295,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14115 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_747_000 picoseconds. - Weight::from_parts(31_561_137, 0) - .saturating_add(Weight::from_parts(0, 14115)) - // Standard Error: 140 - .saturating_add(Weight::from_parts(2_772, 0).saturating_mul(b.into())) - // Standard Error: 1_450 - .saturating_add(Weight::from_parts(204_275, 0).saturating_mul(p.into())) + // Estimated: `4011 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 28_073_000 picoseconds. + Weight::from_parts(29_311_198, 0) + .saturating_add(Weight::from_parts(0, 4011)) + // Standard Error: 102 + .saturating_add(Weight::from_parts(1_900, 0).saturating_mul(b.into())) + // Standard Error: 1_087 + .saturating_add(Weight::from_parts(3_738, 0).saturating_mul(m.into())) + // Standard Error: 1_059 + .saturating_add(Weight::from_parts(191_050, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -319,14 +322,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `189 + p * (32 ±0)` - // Estimated: `2052 + p * (96 ±0)` - // Minimum execution time: 10_409_000 picoseconds. - Weight::from_parts(12_258_329, 0) - .saturating_add(Weight::from_parts(0, 2052)) - // Standard Error: 1_026 - .saturating_add(Weight::from_parts(153_715, 0).saturating_mul(p.into())) + // Estimated: `1674 + p * (32 ±0)` + // Minimum execution time: 10_353_000 picoseconds. + Weight::from_parts(11_345_489, 0) + .saturating_add(Weight::from_parts(0, 1674)) + // Standard Error: 720 + .saturating_add(Weight::from_parts(135_557, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/crab/src/weights/pallet_collective_technical_committee.rs b/runtime/crab/src/weights/pallet_collective_technical_committee.rs index 0bf370ccb..4c86946ab 100644 --- a/runtime/crab/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/crab/src/weights/pallet_collective_technical_committee.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15636 + m * (4872 ±11) + p * (7368 ±11)` - // Minimum execution time: 10_709_000 picoseconds. - Weight::from_parts(10_900_000, 0) - .saturating_add(Weight::from_parts(0, 15636)) - // Standard Error: 22_560 - .saturating_add(Weight::from_parts(2_426_642, 0).saturating_mul(m.into())) - // Standard Error: 22_560 - .saturating_add(Weight::from_parts(4_745_666, 0).saturating_mul(p.into())) + // Estimated: `12267 + m * (1231 ±11) + p * (3660 ±11)` + // Minimum execution time: 10_556_000 picoseconds. + Weight::from_parts(10_729_000, 0) + .saturating_add(Weight::from_parts(0, 12267)) + // Standard Error: 19_913 + .saturating_add(Weight::from_parts(2_114_807, 0).saturating_mul(m.into())) + // Standard Error: 19_913 + .saturating_add(Weight::from_parts(4_301_606, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136 + m * (20 ±0)` // Estimated: `1621 + m * (20 ±0)` - // Minimum execution time: 10_658_000 picoseconds. - Weight::from_parts(10_401_114, 0) + // Minimum execution time: 10_331_000 picoseconds. + Weight::from_parts(10_070_562, 0) .saturating_add(Weight::from_parts(0, 1621)) - // Standard Error: 93 - .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(b.into())) - // Standard Error: 958 - .saturating_add(Weight::from_parts(10_222, 0).saturating_mul(m.into())) + // Standard Error: 119 + .saturating_add(Weight::from_parts(1_075, 0).saturating_mul(b.into())) + // Standard Error: 1_230 + .saturating_add(Weight::from_parts(10_790, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,16 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `136 + m * (20 ±0)` - // Estimated: `5222 + m * (40 ±0)` - // Minimum execution time: 12_645_000 picoseconds. - Weight::from_parts(11_733_177, 0) - .saturating_add(Weight::from_parts(0, 5222)) - // Standard Error: 78 - .saturating_add(Weight::from_parts(1_495, 0).saturating_mul(b.into())) - // Standard Error: 811 - .saturating_add(Weight::from_parts(16_094, 0).saturating_mul(m.into())) + // Estimated: `3601 + m * (20 ±0)` + // Minimum execution time: 12_157_000 picoseconds. + Weight::from_parts(12_195_153, 0) + .saturating_add(Weight::from_parts(0, 3601)) + // Standard Error: 25 + .saturating_add(Weight::from_parts(838, 0).saturating_mul(b.into())) + // Standard Error: 264 + .saturating_add(Weight::from_parts(9_032, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -150,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `424 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9685 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_269_000 picoseconds. - Weight::from_parts(18_399_880, 0) - .saturating_add(Weight::from_parts(0, 9685)) - // Standard Error: 100 - .saturating_add(Weight::from_parts(2_217, 0).saturating_mul(b.into())) - // Standard Error: 1_047 - .saturating_add(Weight::from_parts(7_399, 0).saturating_mul(m.into())) - // Standard Error: 1_033 - .saturating_add(Weight::from_parts(171_221, 0).saturating_mul(p.into())) + // Estimated: `3818 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_531_000 picoseconds. + Weight::from_parts(15_798_974, 0) + .saturating_add(Weight::from_parts(0, 3818)) + // Standard Error: 82 + .saturating_add(Weight::from_parts(2_213, 0).saturating_mul(b.into())) + // Standard Error: 857 + .saturating_add(Weight::from_parts(13_090, 0).saturating_mul(m.into())) + // Standard Error: 846 + .saturating_add(Weight::from_parts(161_714, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -174,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `899 + m * (40 ±0)` - // Estimated: `6746 + m * (80 ±0)` - // Minimum execution time: 17_979_000 picoseconds. - Weight::from_parts(21_162_015, 0) - .saturating_add(Weight::from_parts(0, 6746)) - // Standard Error: 1_084 - .saturating_add(Weight::from_parts(21_442, 0).saturating_mul(m.into())) + // Estimated: `4363 + m * (40 ±0)` + // Minimum execution time: 16_354_000 picoseconds. + Weight::from_parts(18_808_518, 0) + .saturating_add(Weight::from_parts(0, 4363)) + // Standard Error: 811 + .saturating_add(Weight::from_parts(18_055, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -199,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `476 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `8259 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 19_070_000 picoseconds. - Weight::from_parts(21_615_569, 0) - .saturating_add(Weight::from_parts(0, 8259)) - // Standard Error: 1_067 - .saturating_add(Weight::from_parts(11_448, 0).saturating_mul(m.into())) - // Standard Error: 1_040 - .saturating_add(Weight::from_parts(156_366, 0).saturating_mul(p.into())) + // Estimated: `3921 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_873_000 picoseconds. + Weight::from_parts(19_602_729, 0) + .saturating_add(Weight::from_parts(0, 3921)) + // Standard Error: 754 + .saturating_add(Weight::from_parts(14_387, 0).saturating_mul(m.into())) + // Standard Error: 736 + .saturating_add(Weight::from_parts(149_095, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -229,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `778 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12420 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 26_897_000 picoseconds. - Weight::from_parts(29_115_171, 0) - .saturating_add(Weight::from_parts(0, 12420)) - // Standard Error: 133 - .saturating_add(Weight::from_parts(2_618, 0).saturating_mul(b.into())) - // Standard Error: 1_411 - .saturating_add(Weight::from_parts(6_789, 0).saturating_mul(m.into())) - // Standard Error: 1_376 - .saturating_add(Weight::from_parts(206_192, 0).saturating_mul(p.into())) + // Estimated: `4095 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 26_219_000 picoseconds. + Weight::from_parts(27_451_478, 0) + .saturating_add(Weight::from_parts(0, 4095)) + // Standard Error: 105 + .saturating_add(Weight::from_parts(2_281, 0).saturating_mul(b.into())) + // Standard Error: 1_118 + .saturating_add(Weight::from_parts(5_343, 0).saturating_mul(m.into())) + // Standard Error: 1_089 + .saturating_add(Weight::from_parts(191_110, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -262,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `496 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `10300 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 21_234_000 picoseconds. - Weight::from_parts(23_243_128, 0) - .saturating_add(Weight::from_parts(0, 10300)) - // Standard Error: 981 - .saturating_add(Weight::from_parts(15_990, 0).saturating_mul(m.into())) - // Standard Error: 956 - .saturating_add(Weight::from_parts(158_283, 0).saturating_mul(p.into())) + // Estimated: `3941 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_299_000 picoseconds. + Weight::from_parts(21_532_531, 0) + .saturating_add(Weight::from_parts(0, 3941)) + // Standard Error: 815 + .saturating_add(Weight::from_parts(16_938, 0).saturating_mul(m.into())) + // Standard Error: 795 + .saturating_add(Weight::from_parts(150_142, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -294,21 +295,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `798 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14635 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_998_000 picoseconds. - Weight::from_parts(32_188_394, 0) - .saturating_add(Weight::from_parts(0, 14635)) - // Standard Error: 137 - .saturating_add(Weight::from_parts(2_298, 0).saturating_mul(b.into())) - // Standard Error: 1_448 - .saturating_add(Weight::from_parts(1_320, 0).saturating_mul(m.into())) - // Standard Error: 1_411 - .saturating_add(Weight::from_parts(206_290, 0).saturating_mul(p.into())) + // Estimated: `4115 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_926_000 picoseconds. + Weight::from_parts(30_330_391, 0) + .saturating_add(Weight::from_parts(0, 4115)) + // Standard Error: 110 + .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(b.into())) + // Standard Error: 1_136 + .saturating_add(Weight::from_parts(191_980, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -321,14 +320,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (32 ±0)` - // Estimated: `2364 + p * (96 ±0)` - // Minimum execution time: 10_930_000 picoseconds. - Weight::from_parts(12_559_573, 0) - .saturating_add(Weight::from_parts(0, 2364)) - // Standard Error: 924 - .saturating_add(Weight::from_parts(154_242, 0).saturating_mul(p.into())) + // Estimated: `1778 + p * (32 ±0)` + // Minimum execution time: 10_799_000 picoseconds. + Weight::from_parts(11_671_651, 0) + .saturating_add(Weight::from_parts(0, 1778)) + // Standard Error: 759 + .saturating_add(Weight::from_parts(139_368, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/crab/src/weights/pallet_democracy.rs b/runtime/crab/src/weights/pallet_democracy.rs index e8353f116..b1e3d75de 100644 --- a/runtime/crab/src/weights/pallet_democracy.rs +++ b/runtime/crab/src/weights/pallet_democracy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -68,10 +69,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3844` - // Estimated: `23979` - // Minimum execution time: 31_271_000 picoseconds. - Weight::from_parts(34_113_000, 0) - .saturating_add(Weight::from_parts(0, 23979)) + // Estimated: `16987` + // Minimum execution time: 32_791_000 picoseconds. + Weight::from_parts(36_481_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +82,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2593` // Estimated: `5495` - // Minimum execution time: 27_053_000 picoseconds. - Weight::from_parts(30_516_000, 0) + // Minimum execution time: 28_199_000 picoseconds. + Weight::from_parts(29_664_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,14 +94,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3440` - // Estimated: `15666` - // Minimum execution time: 38_073_000 picoseconds. - Weight::from_parts(43_075_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 39_405_000 picoseconds. + Weight::from_parts(42_304_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -109,14 +112,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3462` - // Estimated: `15666` - // Minimum execution time: 38_256_000 picoseconds. - Weight::from_parts(43_474_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 41_271_000 picoseconds. + Weight::from_parts(46_906_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -128,10 +133,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` - // Estimated: `10682` - // Minimum execution time: 18_044_000 picoseconds. - Weight::from_parts(18_965_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 17_705_000 picoseconds. + Weight::from_parts(18_381_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,10 +157,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4954` - // Estimated: `42511` - // Minimum execution time: 73_987_000 picoseconds. - Weight::from_parts(80_618_000, 0) - .saturating_add(Weight::from_parts(0, 42511)) + // Estimated: `16987` + // Minimum execution time: 78_536_000 picoseconds. + Weight::from_parts(81_088_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -166,10 +171,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2195` - // Estimated: `7120` - // Minimum execution time: 8_811_000 picoseconds. - Weight::from_parts(9_269_000, 0) - .saturating_add(Weight::from_parts(0, 7120)) + // Estimated: `5503` + // Minimum execution time: 8_624_000 picoseconds. + Weight::from_parts(9_036_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_173_000 picoseconds. - Weight::from_parts(2_383_000, 0) + // Minimum execution time: 2_197_000 picoseconds. + Weight::from_parts(2_289_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,8 +195,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_204_000 picoseconds. - Weight::from_parts(2_374_000, 0) + // Minimum execution time: 2_191_000 picoseconds. + Weight::from_parts(2_315_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +211,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `6624` - // Minimum execution time: 19_526_000 picoseconds. - Weight::from_parts(20_447_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 18_849_000 picoseconds. + Weight::from_parts(19_668_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -222,10 +227,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2298` - // Estimated: `10638` - // Minimum execution time: 21_674_000 picoseconds. - Weight::from_parts(22_196_000, 0) - .saturating_add(Weight::from_parts(0, 10638)) + // Estimated: `5503` + // Minimum execution time: 19_847_000 picoseconds. + Weight::from_parts(20_381_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -240,10 +245,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4886` - // Estimated: `32172` - // Minimum execution time: 60_565_000 picoseconds. - Weight::from_parts(63_300_000, 0) - .saturating_add(Weight::from_parts(0, 32172)) + // Estimated: `16987` + // Minimum execution time: 63_534_000 picoseconds. + Weight::from_parts(67_007_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -255,8 +260,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 13_745_000 picoseconds. - Weight::from_parts(14_233_000, 0) + // Minimum execution time: 13_969_000 picoseconds. + Weight::from_parts(16_214_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -271,12 +276,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 5_076_000 picoseconds. - Weight::from_parts(6_278_864, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 4_564 - .saturating_add(Weight::from_parts(2_246_501, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 5_046_000 picoseconds. + Weight::from_parts(6_374_136, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 5_604 + .saturating_add(Weight::from_parts(2_053_872, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,12 +303,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `24058 + r * (2676 ±0)` - // Minimum execution time: 7_195_000 picoseconds. - Weight::from_parts(9_434_165, 0) - .saturating_add(Weight::from_parts(0, 24058)) - // Standard Error: 4_034 - .saturating_add(Weight::from_parts(2_242_605, 0).saturating_mul(r.into())) + // Estimated: `16987 + r * (2676 ±0)` + // Minimum execution time: 7_403_000 picoseconds. + Weight::from_parts(8_815_914, 0) + .saturating_add(Weight::from_parts(0, 16987)) + // Standard Error: 4_568 + .saturating_add(Weight::from_parts(2_058_136, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -315,17 +320,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` - // Estimated: `25506 + r * (2676 ±0)` - // Minimum execution time: 26_271_000 picoseconds. - Weight::from_parts(31_620_208, 0) - .saturating_add(Weight::from_parts(0, 25506)) - // Standard Error: 7_986 - .saturating_add(Weight::from_parts(3_227_647, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19764 + r * (2676 ±0)` + // Minimum execution time: 28_261_000 picoseconds. + Weight::from_parts(33_066_772, 0) + .saturating_add(Weight::from_parts(0, 19764)) + // Standard Error: 5_971 + .saturating_add(Weight::from_parts(2_676_529, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -339,12 +346,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (108 ±0)` - // Estimated: `14496 + r * (2676 ±0)` - // Minimum execution time: 14_668_000 picoseconds. - Weight::from_parts(16_338_517, 0) - .saturating_add(Weight::from_parts(0, 14496)) - // Standard Error: 5_393 - .saturating_add(Weight::from_parts(3_183_533, 0).saturating_mul(r.into())) + // Estimated: `13506 + r * (2676 ±0)` + // Minimum execution time: 12_992_000 picoseconds. + Weight::from_parts(15_011_778, 0) + .saturating_add(Weight::from_parts(0, 13506)) + // Standard Error: 6_247 + .saturating_add(Weight::from_parts(2_655_680, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -357,8 +364,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_204_000 picoseconds. - Weight::from_parts(2_292_000, 0) + // Minimum execution time: 2_136_000 picoseconds. + Weight::from_parts(2_267_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -366,38 +373,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `419` - // Estimated: `15581` - // Minimum execution time: 13_261_000 picoseconds. - Weight::from_parts(18_705_928, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 2_144 - .saturating_add(Weight::from_parts(86_709, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 16_855_000 picoseconds. + Weight::from_parts(26_436_673, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_812 + .saturating_add(Weight::from_parts(100_452, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `420 + r * (22 ±0)` - // Estimated: `15581` - // Minimum execution time: 16_892_000 picoseconds. - Weight::from_parts(18_324_309, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 1_863 - .saturating_add(Weight::from_parts(107_275, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 23_821_000 picoseconds. + Weight::from_parts(25_288_624, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_851 + .saturating_add(Weight::from_parts(107_251, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -408,12 +419,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_219_000 picoseconds. - Weight::from_parts(13_728_270, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_723 - .saturating_add(Weight::from_parts(97_034, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 9_938_000 picoseconds. + Weight::from_parts(12_585_007, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_629 + .saturating_add(Weight::from_parts(76_953, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -425,12 +436,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_389_000 picoseconds. - Weight::from_parts(13_558_949, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_804 - .saturating_add(Weight::from_parts(102_359, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 9_941_000 picoseconds. + Weight::from_parts(12_279_717, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_396 + .saturating_add(Weight::from_parts(80_088, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,10 +454,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `5161` - // Minimum execution time: 12_686_000 picoseconds. - Weight::from_parts(13_741_000, 0) - .saturating_add(Weight::from_parts(0, 5161)) + // Estimated: `3544` + // Minimum execution time: 12_390_000 picoseconds. + Weight::from_parts(12_745_000, 0) + .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -457,10 +468,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `5135` - // Minimum execution time: 11_134_000 picoseconds. - Weight::from_parts(11_778_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 11_101_000 picoseconds. + Weight::from_parts(11_351_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -473,10 +484,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3655` - // Estimated: `20531` - // Minimum execution time: 29_304_000 picoseconds. - Weight::from_parts(31_992_000, 0) - .saturating_add(Weight::from_parts(0, 20531)) + // Estimated: `16987` + // Minimum execution time: 28_377_000 picoseconds. + Weight::from_parts(30_291_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -487,10 +498,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3589` - // Estimated: `20505` - // Minimum execution time: 27_504_000 picoseconds. - Weight::from_parts(29_072_000, 0) - .saturating_add(Weight::from_parts(0, 20505)) + // Estimated: `16987` + // Minimum execution time: 26_137_000 picoseconds. + Weight::from_parts(28_512_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -502,8 +513,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_987_000 picoseconds. - Weight::from_parts(10_250_000, 0) + // Minimum execution time: 9_761_000 picoseconds. + Weight::from_parts(10_232_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -515,10 +526,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `7184` - // Minimum execution time: 12_943_000 picoseconds. - Weight::from_parts(14_138_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 12_460_000 picoseconds. + Weight::from_parts(12_672_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_elections_phragmen.rs b/runtime/crab/src/weights/pallet_elections_phragmen.rs index cbadd0932..927c3850f 100644 --- a/runtime/crab/src/weights/pallet_elections_phragmen.rs +++ b/runtime/crab/src/weights/pallet_elections_phragmen.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -67,19 +68,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `438 + v * (56 ±0)` - // Estimated: `14420 + v * (224 ±0)` - // Minimum execution time: 19_396_000 picoseconds. - Weight::from_parts(20_506_348, 0) - .saturating_add(Weight::from_parts(0, 14420)) - // Standard Error: 6_780 - .saturating_add(Weight::from_parts(173_261, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 23_034_000 picoseconds. + Weight::from_parts(23_475_140, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 9_511 + .saturating_add(Weight::from_parts(213_763, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -91,19 +94,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `418 + v * (56 ±0)` - // Estimated: `14344 + v * (224 ±0)` - // Minimum execution time: 27_004_000 picoseconds. - Weight::from_parts(28_198_270, 0) - .saturating_add(Weight::from_parts(0, 14344)) - // Standard Error: 7_228 - .saturating_add(Weight::from_parts(166_278, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_564_000 picoseconds. + Weight::from_parts(33_684_760, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 7_199 + .saturating_add(Weight::from_parts(130_788, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -115,32 +120,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `438 + v * (56 ±0)` - // Estimated: `14424 + v * (224 ±0)` - // Minimum execution time: 27_143_000 picoseconds. - Weight::from_parts(28_165_398, 0) - .saturating_add(Weight::from_parts(0, 14424)) - // Standard Error: 13_203 - .saturating_add(Weight::from_parts(226_939, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_548_000 picoseconds. + Weight::from_parts(33_197_773, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 7_057 + .saturating_add(Weight::from_parts(193_992, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `768` - // Estimated: `8985` - // Minimum execution time: 25_650_000 picoseconds. - Weight::from_parts(27_093_000, 0) - .saturating_add(Weight::from_parts(0, 8985)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 34_832_000 picoseconds. + Weight::from_parts(36_753_000, 0) + .saturating_add(Weight::from_parts(0, 4752)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -153,15 +162,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1149 + c * (36 ±0)` - // Estimated: `7875 + c * (111 ±0)` - // Minimum execution time: 22_958_000 picoseconds. - Weight::from_parts(25_157_675, 0) - .saturating_add(Weight::from_parts(0, 7875)) - // Standard Error: 5_176 - .saturating_add(Weight::from_parts(56_100, 0).saturating_mul(c.into())) + // Estimated: `2625 + c * (37 ±0)` + // Minimum execution time: 25_413_000 picoseconds. + Weight::from_parts(27_504_316, 0) + .saturating_add(Weight::from_parts(0, 2625)) + // Standard Error: 5_670 + .saturating_add(Weight::from_parts(98_678, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 111).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -170,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `408 + c * (38 ±0)` // Estimated: `1890 + c * (39 ±0)` - // Minimum execution time: 20_594_000 picoseconds. - Weight::from_parts(22_446_039, 0) + // Minimum execution time: 23_152_000 picoseconds. + Weight::from_parts(24_916_571, 0) .saturating_add(Weight::from_parts(0, 1890)) - // Standard Error: 4_576 - .saturating_add(Weight::from_parts(64_683, 0).saturating_mul(c.into())) + // Standard Error: 5_100 + .saturating_add(Weight::from_parts(90_634, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -192,10 +201,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1170` - // Estimated: `11790` - // Minimum execution time: 30_345_000 picoseconds. - Weight::from_parts(32_472_000, 0) - .saturating_add(Weight::from_parts(0, 11790)) + // Estimated: `2655` + // Minimum execution time: 31_201_000 picoseconds. + Weight::from_parts(32_469_000, 0) + .saturating_add(Weight::from_parts(0, 2655)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -205,8 +214,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `733` // Estimated: `2218` - // Minimum execution time: 20_696_000 picoseconds. - Weight::from_parts(21_870_000, 0) + // Minimum execution time: 22_941_000 picoseconds. + Weight::from_parts(24_368_000, 0) .saturating_add(Weight::from_parts(0, 2218)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,10 +245,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1365` - // Estimated: `18937` - // Minimum execution time: 44_088_000 picoseconds. - Weight::from_parts(47_529_000, 0) - .saturating_add(Weight::from_parts(0, 18937)) + // Estimated: `6172` + // Minimum execution time: 46_579_000 picoseconds. + Weight::from_parts(49_192_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -253,6 +262,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:300 w:300) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:300 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:300 w:300) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `v` is `[150, 300]`. @@ -260,16 +271,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `973 + v * (582 ±0)` - // Estimated: `13872 + v * (11160 ±0)` - // Minimum execution time: 6_491_318_000 picoseconds. - Weight::from_parts(6_584_232_000, 0) - .saturating_add(Weight::from_parts(0, 13872)) - // Standard Error: 180_782 - .saturating_add(Weight::from_parts(27_270_280, 0).saturating_mul(v.into())) + // Estimated: `4458 + v * (3762 ±0)` + // Minimum execution time: 7_803_617_000 picoseconds. + Weight::from_parts(7_848_760_000, 0) + .saturating_add(Weight::from_parts(0, 4458)) + // Standard Error: 218_794 + .saturating_add(Weight::from_parts(32_467_152, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 11160).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3762).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -294,24 +305,24 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (3085 ±0) + v * (400 ±0) + e * (18 ±0)` - // Estimated: `141720 + v * (3891 ±4) + e * (35 ±0) + c * (1738 ±10)` - // Minimum execution time: 457_244_000 picoseconds. - Weight::from_parts(465_630_000, 0) - .saturating_add(Weight::from_parts(0, 141720)) - // Standard Error: 2_234_265 - .saturating_add(Weight::from_parts(13_230_443, 0).saturating_mul(c.into())) - // Standard Error: 222_446 - .saturating_add(Weight::from_parts(6_815_234, 0).saturating_mul(v.into())) - // Standard Error: 14_270 - .saturating_add(Weight::from_parts(171_505, 0).saturating_mul(e.into())) + // Measured: `0 + c * (3085 ±0) + e * (18 ±0) + v * (400 ±0)` + // Estimated: `84016 + c * (1738 ±10) + e * (5 ±0) + v * (2547 ±4)` + // Minimum execution time: 506_717_000 picoseconds. + Weight::from_parts(513_363_000, 0) + .saturating_add(Weight::from_parts(0, 84016)) + // Standard Error: 2_248_388 + .saturating_add(Weight::from_parts(15_678_580, 0).saturating_mul(c.into())) + // Standard Error: 223_852 + .saturating_add(Weight::from_parts(6_559_673, 0).saturating_mul(v.into())) + // Standard Error: 14_360 + .saturating_add(Weight::from_parts(162_722, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 3891).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 1738).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2547).saturating_mul(v.into())) } } diff --git a/runtime/crab/src/weights/pallet_fee_market.rs b/runtime/crab/src/weights/pallet_fee_market.rs index 24a7f5477..067aa810c 100644 --- a/runtime/crab/src/weights/pallet_fee_market.rs +++ b/runtime/crab/src/weights/pallet_fee_market.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); @@ -63,6 +64,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: DarwiniaFeeMarket RelayersMap (r:10 w:1) /// Proof Skipped: DarwiniaFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: DarwiniaFeeMarket Orders (r:1 w:0) @@ -74,11 +77,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1716` - // Estimated: `49088` - // Minimum execution time: 84_906_000 picoseconds. - Weight::from_parts(87_630_000, 0) - .saturating_add(Weight::from_parts(0, 49088)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27456` + // Minimum execution time: 89_652_000 picoseconds. + Weight::from_parts(92_084_000, 0) + .saturating_add(Weight::from_parts(0, 27456)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: DarwiniaFeeMarket Relayers (r:1 w:0) @@ -89,6 +92,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: DarwiniaFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: DarwiniaFeeMarket Orders (r:1 w:0) /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:1 w:0) @@ -98,11 +103,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1788` - // Estimated: `49448` - // Minimum execution time: 81_501_000 picoseconds. - Weight::from_parts(83_383_000, 0) - .saturating_add(Weight::from_parts(0, 49448)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27528` + // Minimum execution time: 84_700_000 picoseconds. + Weight::from_parts(86_896_000, 0) + .saturating_add(Weight::from_parts(0, 27528)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: DarwiniaFeeMarket Relayers (r:1 w:0) @@ -115,6 +120,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:1 w:0) /// Proof Skipped: DarwiniaFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) /// Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) @@ -122,11 +129,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1788` - // Estimated: `49448` - // Minimum execution time: 92_556_000 picoseconds. - Weight::from_parts(95_235_000, 0) - .saturating_add(Weight::from_parts(0, 49448)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27528` + // Minimum execution time: 103_890_000 picoseconds. + Weight::from_parts(106_713_000, 0) + .saturating_add(Weight::from_parts(0, 27528)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: DarwiniaFeeMarket Relayers (r:1 w:0) @@ -142,10 +149,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1369` - // Estimated: `39020` - // Minimum execution time: 68_531_000 picoseconds. - Weight::from_parts(71_168_000, 0) - .saturating_add(Weight::from_parts(0, 39020)) + // Estimated: `27109` + // Minimum execution time: 66_216_000 picoseconds. + Weight::from_parts(68_599_000, 0) + .saturating_add(Weight::from_parts(0, 27109)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -155,6 +162,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: DarwiniaFeeMarket AssignedRelayers (r:1 w:1) @@ -166,11 +175,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1855` - // Estimated: `48793` - // Minimum execution time: 81_365_000 picoseconds. - Weight::from_parts(83_726_000, 0) - .saturating_add(Weight::from_parts(0, 48793)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `25120` + // Minimum execution time: 87_009_000 picoseconds. + Weight::from_parts(88_679_000, 0) + .saturating_add(Weight::from_parts(0, 25120)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: DarwiniaFeeMarket CollateralSlashProtect (r:0 w:1) @@ -179,8 +188,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_229_000 picoseconds. - Weight::from_parts(5_402_000, 0) + // Minimum execution time: 4_914_000 picoseconds. + Weight::from_parts(5_255_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,10 +206,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1369` - // Estimated: `37535` - // Minimum execution time: 66_600_000 picoseconds. - Weight::from_parts(69_161_000, 0) - .saturating_add(Weight::from_parts(0, 37535)) + // Estimated: `27109` + // Minimum execution time: 64_328_000 picoseconds. + Weight::from_parts(66_152_000, 0) + .saturating_add(Weight::from_parts(0, 27109)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_identity.rs b/runtime/crab/src/weights/pallet_identity.rs index 0aacfaaa0..398a193c6 100644 --- a/runtime/crab/src/weights/pallet_identity.rs +++ b/runtime/crab/src/weights/pallet_identity.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 8_381_000 picoseconds. - Weight::from_parts(8_868_632, 0) + // Minimum execution time: 7_852_000 picoseconds. + Weight::from_parts(8_128_266, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_346 - .saturating_add(Weight::from_parts(113_386, 0).saturating_mul(r.into())) + // Standard Error: 5_938 + .saturating_add(Weight::from_parts(122_791, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,13 +81,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 22_946_000 picoseconds. - Weight::from_parts(21_739_744, 0) + // Minimum execution time: 24_589_000 picoseconds. + Weight::from_parts(21_451_410, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 13_766 - .saturating_add(Weight::from_parts(227_692, 0).saturating_mul(r.into())) - // Standard Error: 2_686 - .saturating_add(Weight::from_parts(401_865, 0).saturating_mul(x.into())) + // Standard Error: 12_183 + .saturating_add(Weight::from_parts(226_542, 0).saturating_mul(r.into())) + // Standard Error: 2_377 + .saturating_add(Weight::from_parts(403_891, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,12 +101,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` - // Estimated: `17492 + s * (2565 ±0)` - // Minimum execution time: 6_101_000 picoseconds. - Weight::from_parts(15_667_784, 0) - .saturating_add(Weight::from_parts(0, 17492)) - // Standard Error: 20_377 - .saturating_add(Weight::from_parts(2_429_547, 0).saturating_mul(s.into())) + // Estimated: `10991 + s * (2565 ±0)` + // Minimum execution time: 5_951_000 picoseconds. + Weight::from_parts(17_921_657, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 26_524 + .saturating_add(Weight::from_parts(2_389_594, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,12 +123,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` - // Estimated: `16502` - // Minimum execution time: 5_924_000 picoseconds. - Weight::from_parts(14_795_413, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 3_383 - .saturating_add(Weight::from_parts(970_994, 0).saturating_mul(p.into())) + // Estimated: `10991` + // Minimum execution time: 5_777_000 picoseconds. + Weight::from_parts(16_683_646, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 3_034 + .saturating_add(Weight::from_parts(955_415, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -144,16 +145,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `16502` - // Minimum execution time: 41_507_000 picoseconds. - Weight::from_parts(20_838_885, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 11_969 - .saturating_add(Weight::from_parts(242_727, 0).saturating_mul(r.into())) - // Standard Error: 2_337 - .saturating_add(Weight::from_parts(951_773, 0).saturating_mul(s.into())) - // Standard Error: 2_337 - .saturating_add(Weight::from_parts(225_182, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 43_210_000 picoseconds. + Weight::from_parts(23_563_869, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 11_610 + .saturating_add(Weight::from_parts(291_802, 0).saturating_mul(r.into())) + // Standard Error: 2_267 + .saturating_add(Weight::from_parts(950_752, 0).saturating_mul(s.into())) + // Standard Error: 2_267 + .saturating_add(Weight::from_parts(199_144, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -164,17 +165,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn request_judgement(r: u32, x: u32, ) -> Weight { + fn request_judgement(_r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 22_527_000 picoseconds. - Weight::from_parts(22_084_526, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 28_898 - .saturating_add(Weight::from_parts(193_944, 0).saturating_mul(r.into())) - // Standard Error: 5_638 - .saturating_add(Weight::from_parts(410_796, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 23_336_000 picoseconds. + Weight::from_parts(26_455_631, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 5_113 + .saturating_add(Weight::from_parts(385_443, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +185,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_362_000 picoseconds. - Weight::from_parts(19_424_255, 0) + // Minimum execution time: 22_034_000 picoseconds. + Weight::from_parts(20_977_240, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 9_713 - .saturating_add(Weight::from_parts(151_538, 0).saturating_mul(r.into())) - // Standard Error: 1_895 - .saturating_add(Weight::from_parts(416_362, 0).saturating_mul(x.into())) + // Standard Error: 7_023 + .saturating_add(Weight::from_parts(88_402, 0).saturating_mul(r.into())) + // Standard Error: 1_370 + .saturating_add(Weight::from_parts(403_256, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,11 +202,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_426_000 picoseconds. - Weight::from_parts(6_179_364, 0) + // Minimum execution time: 4_831_000 picoseconds. + Weight::from_parts(5_158_821, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 7_103 - .saturating_add(Weight::from_parts(57_458, 0).saturating_mul(r.into())) + // Standard Error: 1_658 + .saturating_add(Weight::from_parts(69_500, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +217,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_063_000 picoseconds. - Weight::from_parts(5_362_055, 0) + // Minimum execution time: 4_586_000 picoseconds. + Weight::from_parts(4_979_869, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 6_395 - .saturating_add(Weight::from_parts(105_864, 0).saturating_mul(r.into())) + // Standard Error: 1_455 + .saturating_add(Weight::from_parts(46_606, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -233,11 +232,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_013_000 picoseconds. - Weight::from_parts(5_298_644, 0) + // Minimum execution time: 4_374_000 picoseconds. + Weight::from_parts(4_742_590, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_791 - .saturating_add(Weight::from_parts(90_389, 0).saturating_mul(r.into())) + // Standard Error: 1_307 + .saturating_add(Weight::from_parts(59_257, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -250,14 +249,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 16_485_000 picoseconds. - Weight::from_parts(17_524_599, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 25_895 - .saturating_add(Weight::from_parts(116_107, 0).saturating_mul(r.into())) - // Standard Error: 4_791 - .saturating_add(Weight::from_parts(657_870, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 15_295_000 picoseconds. + Weight::from_parts(15_319_037, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 33_753 + .saturating_add(Weight::from_parts(47_543, 0).saturating_mul(r.into())) + // Standard Error: 6_245 + .saturating_add(Weight::from_parts(633_441, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -275,16 +274,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `22674` - // Minimum execution time: 56_049_000 picoseconds. - Weight::from_parts(30_651_396, 0) - .saturating_add(Weight::from_parts(0, 22674)) - // Standard Error: 13_058 - .saturating_add(Weight::from_parts(432_631, 0).saturating_mul(r.into())) - // Standard Error: 2_550 - .saturating_add(Weight::from_parts(963_569, 0).saturating_mul(s.into())) - // Standard Error: 2_550 - .saturating_add(Weight::from_parts(239_398, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 58_991_000 picoseconds. + Weight::from_parts(39_015_442, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 13_278 + .saturating_add(Weight::from_parts(348_397, 0).saturating_mul(r.into())) + // Standard Error: 2_593 + .saturating_add(Weight::from_parts(929_312, 0).saturating_mul(s.into())) + // Standard Error: 2_593 + .saturating_add(Weight::from_parts(217_488, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -299,12 +298,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` - // Estimated: `20057` - // Minimum execution time: 18_667_000 picoseconds. - Weight::from_parts(22_535_725, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 1_924 - .saturating_add(Weight::from_parts(62_065, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 20_480_000 picoseconds. + Weight::from_parts(23_980_507, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_442 + .saturating_add(Weight::from_parts(51_586, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -316,12 +315,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` - // Estimated: `14546` - // Minimum execution time: 8_177_000 picoseconds. - Weight::from_parts(11_259_197, 0) - .saturating_add(Weight::from_parts(0, 14546)) - // Standard Error: 3_353 - .saturating_add(Weight::from_parts(16_625, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 8_308_000 picoseconds. + Weight::from_parts(9_741_885, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_754 + .saturating_add(Weight::from_parts(32_942, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -335,12 +334,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` - // Estimated: `20057` - // Minimum execution time: 20_742_000 picoseconds. - Weight::from_parts(24_810_010, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 6_320 - .saturating_add(Weight::from_parts(61_725, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 22_781_000 picoseconds. + Weight::from_parts(26_532_940, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 6_774 + .saturating_add(Weight::from_parts(49_610, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -348,17 +347,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + s * (24 ±0)` - // Estimated: `9066` - // Minimum execution time: 13_390_000 picoseconds. - Weight::from_parts(16_146_532, 0) - .saturating_add(Weight::from_parts(0, 9066)) - // Standard Error: 3_269 - .saturating_add(Weight::from_parts(47_908, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `622 + s * (24 ±0)` + // Estimated: `5511` + // Minimum execution time: 16_241_000 picoseconds. + Weight::from_parts(18_353_351, 0) + .saturating_add(Weight::from_parts(0, 5511)) + // Standard Error: 2_174 + .saturating_add(Weight::from_parts(55_499, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/crab/src/weights/pallet_membership.rs b/runtime/crab/src/weights/pallet_membership.rs index 80065f44f..55fa6e5e0 100644 --- a/runtime/crab/src/weights/pallet_membership.rs +++ b/runtime/crab/src/weights/pallet_membership.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -69,15 +70,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `168 + m * (40 ±0)` - // Estimated: `5476 + m * (120 ±0)` - // Minimum execution time: 11_128_000 picoseconds. - Weight::from_parts(13_130_222, 0) - .saturating_add(Weight::from_parts(0, 5476)) - // Standard Error: 5_843 - .saturating_add(Weight::from_parts(19_178, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 10_637_000 picoseconds. + Weight::from_parts(11_593_648, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 1_047 + .saturating_add(Weight::from_parts(15_381, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -93,15 +94,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` - // Estimated: `7221 + m * (120 ±0)` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(14_058_087, 0) - .saturating_add(Weight::from_parts(0, 7221)) - // Standard Error: 4_012 - .saturating_add(Weight::from_parts(22_923, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_379_000 picoseconds. + Weight::from_parts(13_495_533, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 5_841 + .saturating_add(Weight::from_parts(27_499, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -117,13 +118,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` - // Estimated: `7221 + m * (120 ±0)` - // Minimum execution time: 12_981_000 picoseconds. - Weight::from_parts(16_914_101, 0) - .saturating_add(Weight::from_parts(0, 7221)) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_503_000 picoseconds. + Weight::from_parts(13_332_110, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 716 + .saturating_add(Weight::from_parts(17_623, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -139,15 +142,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` - // Estimated: `7221 + m * (120 ±0)` - // Minimum execution time: 12_428_000 picoseconds. - Weight::from_parts(15_257_080, 0) - .saturating_add(Weight::from_parts(0, 7221)) - // Standard Error: 7_489 - .saturating_add(Weight::from_parts(88_148, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_264_000 picoseconds. + Weight::from_parts(13_704_433, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 844 + .saturating_add(Weight::from_parts(74_032, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -163,15 +166,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` - // Estimated: `7221 + m * (120 ±0)` - // Minimum execution time: 13_224_000 picoseconds. - Weight::from_parts(16_149_750, 0) - .saturating_add(Weight::from_parts(0, 7221)) - // Standard Error: 5_843 - .saturating_add(Weight::from_parts(12_657, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 13_002_000 picoseconds. + Weight::from_parts(13_911_926, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 864 + .saturating_add(Weight::from_parts(22_424, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -183,12 +186,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` - // Estimated: `3518 + m * (20 ±0)` - // Minimum execution time: 4_999_000 picoseconds. - Weight::from_parts(6_074_421, 0) - .saturating_add(Weight::from_parts(0, 3518)) - // Standard Error: 1_623 - .saturating_add(Weight::from_parts(1_096, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (20 ±0)` + // Minimum execution time: 5_229_000 picoseconds. + Weight::from_parts(5_879_371, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 350 + .saturating_add(Weight::from_parts(1_609, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) @@ -198,13 +201,15 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_095_000 picoseconds. - Weight::from_parts(2_834_634, 0) + // Minimum execution time: 2_065_000 picoseconds. + Weight::from_parts(2_323_759, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 577 + .saturating_add(Weight::from_parts(2_377, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/crab/src/weights/pallet_preimage.rs b/runtime/crab/src/weights/pallet_preimage.rs index 98747ae0b..590237b24 100644 --- a/runtime/crab/src/weights/pallet_preimage.rs +++ b/runtime/crab/src/weights/pallet_preimage.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -66,11 +67,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 19_115_000 picoseconds. - Weight::from_parts(19_328_000, 0) + // Minimum execution time: 22_973_000 picoseconds. + Weight::from_parts(23_490_000, 0) .saturating_add(Weight::from_parts(0, 3544)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_447, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_508, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +84,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_882_000 picoseconds. - Weight::from_parts(12_158_000, 0) + // Minimum execution time: 11_268_000 picoseconds. + Weight::from_parts(11_508_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_419, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +101,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_123_000 picoseconds. - Weight::from_parts(11_314_000, 0) + // Minimum execution time: 10_599_000 picoseconds. + Weight::from_parts(10_846_000, 0) .saturating_add(Weight::from_parts(0, 3544)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_462, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_383, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 36_474_000 picoseconds. - Weight::from_parts(39_468_000, 0) + // Minimum execution time: 37_862_000 picoseconds. + Weight::from_parts(42_176_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +131,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 25_332_000 picoseconds. - Weight::from_parts(28_574_000, 0) + // Minimum execution time: 21_675_000 picoseconds. + Weight::from_parts(25_606_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -142,8 +143,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 21_289_000 picoseconds. - Weight::from_parts(23_652_000, 0) + // Minimum execution time: 20_611_000 picoseconds. + Weight::from_parts(23_597_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +155,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 13_865_000 picoseconds. - Weight::from_parts(16_851_000, 0) + // Minimum execution time: 12_080_000 picoseconds. + Weight::from_parts(14_802_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 14_556_000 picoseconds. - Weight::from_parts(17_656_000, 0) + // Minimum execution time: 12_408_000 picoseconds. + Weight::from_parts(16_166_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_020_000 picoseconds. - Weight::from_parts(9_208_000, 0) + // Minimum execution time: 7_290_000 picoseconds. + Weight::from_parts(7_850_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +193,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 23_327_000 picoseconds. - Weight::from_parts(24_686_000, 0) + // Minimum execution time: 20_568_000 picoseconds. + Weight::from_parts(23_426_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -204,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_157_000 picoseconds. - Weight::from_parts(9_563_000, 0) + // Minimum execution time: 7_523_000 picoseconds. + Weight::from_parts(8_046_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,8 +217,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_458_000 picoseconds. - Weight::from_parts(9_585_000, 0) + // Minimum execution time: 7_036_000 picoseconds. + Weight::from_parts(8_053_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/crab/src/weights/pallet_proxy.rs b/runtime/crab/src/weights/pallet_proxy.rs index 7d29a7f75..84efa59a0 100644 --- a/runtime/crab/src/weights/pallet_proxy.rs +++ b/runtime/crab/src/weights/pallet_proxy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 10_135_000 picoseconds. - Weight::from_parts(10_714_752, 0) + // Minimum execution time: 9_899_000 picoseconds. + Weight::from_parts(11_372_484, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 13_062 - .saturating_add(Weight::from_parts(74_884, 0).saturating_mul(p.into())) + // Standard Error: 5_045 + .saturating_add(Weight::from_parts(9_102, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -82,14 +83,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 22_768_000 picoseconds. - Weight::from_parts(25_171_643, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 10_535 - .saturating_add(Weight::from_parts(143_707, 0).saturating_mul(a.into())) - // Standard Error: 10_884 - .saturating_add(Weight::from_parts(58_895, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 25_237_000 picoseconds. + Weight::from_parts(26_535_766, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 4_043 + .saturating_add(Weight::from_parts(101_014, 0).saturating_mul(a.into())) + // Standard Error: 4_177 + .saturating_add(Weight::from_parts(44_771, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,17 +100,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_045_000 picoseconds. - Weight::from_parts(15_584_779, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 3_347 - .saturating_add(Weight::from_parts(156_877, 0).saturating_mul(a.into())) - // Standard Error: 3_458 - .saturating_add(Weight::from_parts(9_250, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 17_306_000 picoseconds. + Weight::from_parts(19_027_234, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 4_009 + .saturating_add(Weight::from_parts(80_478, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,17 +118,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_405_000 picoseconds. - Weight::from_parts(14_955_751, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 3_960 - .saturating_add(Weight::from_parts(157_603, 0).saturating_mul(a.into())) - // Standard Error: 4_091 - .saturating_add(Weight::from_parts(38_337, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 16_506_000 picoseconds. + Weight::from_parts(19_260_658, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 4_081 + .saturating_add(Weight::from_parts(90_638, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -141,15 +138,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, _p: u32, ) -> Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 20_476_000 picoseconds. - Weight::from_parts(24_645_290, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 11_612 - .saturating_add(Weight::from_parts(128_124, 0).saturating_mul(a.into())) + // Estimated: `5302` + // Minimum execution time: 22_642_000 picoseconds. + Weight::from_parts(23_315_170, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 3_433 + .saturating_add(Weight::from_parts(135_528, 0).saturating_mul(a.into())) + // Standard Error: 3_547 + .saturating_add(Weight::from_parts(28_216, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -160,11 +159,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_734_000 picoseconds. - Weight::from_parts(16_438_554, 0) + // Minimum execution time: 17_121_000 picoseconds. + Weight::from_parts(18_148_212, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 13_130 - .saturating_add(Weight::from_parts(83_486, 0).saturating_mul(p.into())) + // Standard Error: 3_933 + .saturating_add(Weight::from_parts(39_120, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,11 +174,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_530_000 picoseconds. - Weight::from_parts(16_656_764, 0) + // Minimum execution time: 17_521_000 picoseconds. + Weight::from_parts(18_445_943, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 9_701 - .saturating_add(Weight::from_parts(99_760, 0).saturating_mul(p.into())) + // Standard Error: 3_781 + .saturating_add(Weight::from_parts(33_679, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,11 +189,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_497_000 picoseconds. - Weight::from_parts(13_181_930, 0) + // Minimum execution time: 15_538_000 picoseconds. + Weight::from_parts(16_260_929, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 12_332 - .saturating_add(Weight::from_parts(66_021, 0).saturating_mul(p.into())) + // Standard Error: 2_093 + .saturating_add(Weight::from_parts(36_160, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,26 +204,24 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 17_174_000 picoseconds. - Weight::from_parts(18_122_566, 0) + // Minimum execution time: 18_695_000 picoseconds. + Weight::from_parts(19_238_460, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_925 - .saturating_add(Weight::from_parts(36_066, 0).saturating_mul(p.into())) + // Standard Error: 3_449 + .saturating_add(Weight::from_parts(52_962, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) /// The range of component `p` is `[0, 30]`. - fn kill_pure(p: u32, ) -> Weight { + fn kill_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_910_000 picoseconds. - Weight::from_parts(14_160_027, 0) + // Minimum execution time: 16_100_000 picoseconds. + Weight::from_parts(17_912_966, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 8_031 - .saturating_add(Weight::from_parts(20_023, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_scheduler.rs b/runtime/crab/src/weights/pallet_scheduler.rs index 4b17e5734..380990ba8 100644 --- a/runtime/crab/src/weights/pallet_scheduler.rs +++ b/runtime/crab/src/weights/pallet_scheduler.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_365_000 picoseconds. - Weight::from_parts(2_504_000, 0) + // Minimum execution time: 2_358_000 picoseconds. + Weight::from_parts(2_445_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,11 +77,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_246_000 picoseconds. - Weight::from_parts(5_582_012, 0) + // Minimum execution time: 2_243_000 picoseconds. + Weight::from_parts(4_782_613, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 7_047 - .saturating_add(Weight::from_parts(536_780, 0).saturating_mul(s.into())) + // Standard Error: 2_049 + .saturating_add(Weight::from_parts(431_701, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,8 +89,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_742_000 picoseconds. - Weight::from_parts(3_883_000, 0) + // Minimum execution time: 3_514_000 picoseconds. + Weight::from_parts(3_702_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -100,12 +101,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7188 + s * (1 ±0)` - // Minimum execution time: 14_248_000 picoseconds. - Weight::from_parts(14_513_000, 0) - .saturating_add(Weight::from_parts(0, 7188)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_059, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 13_743_000 picoseconds. + Weight::from_parts(13_918_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(676, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -116,8 +117,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_746_000 picoseconds. - Weight::from_parts(5_097_000, 0) + // Minimum execution time: 4_387_000 picoseconds. + Weight::from_parts(4_541_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,24 +126,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_859_000 picoseconds. - Weight::from_parts(3_995_000, 0) + // Minimum execution time: 3_614_000 picoseconds. + Weight::from_parts(3_790_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_884_000 picoseconds. - Weight::from_parts(1_984_000, 0) + // Minimum execution time: 1_815_000 picoseconds. + Weight::from_parts(1_981_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_873_000 picoseconds. - Weight::from_parts(1_987_000, 0) + // Minimum execution time: 1_826_000 picoseconds. + Weight::from_parts(1_935_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -152,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_692_000 picoseconds. - Weight::from_parts(12_656_655, 0) + // Minimum execution time: 8_075_000 picoseconds. + Weight::from_parts(10_484_795, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 8_988 - .saturating_add(Weight::from_parts(547_617, 0).saturating_mul(s.into())) + // Standard Error: 3_257 + .saturating_add(Weight::from_parts(459_284, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_835_000 picoseconds. - Weight::from_parts(13_631_613, 0) + // Minimum execution time: 11_374_000 picoseconds. + Weight::from_parts(11_117_282, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 16_294 - .saturating_add(Weight::from_parts(972_554, 0).saturating_mul(s.into())) + // Standard Error: 3_613 + .saturating_add(Weight::from_parts(819_492, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,12 +186,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 10_668_000 picoseconds. - Weight::from_parts(15_229_098, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 12_124 - .saturating_add(Weight::from_parts(598_742, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 9_454_000 picoseconds. + Weight::from_parts(12_905_415, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 3_824 + .saturating_add(Weight::from_parts(498_810, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,12 +203,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 12_809_000 picoseconds. - Weight::from_parts(13_400_323, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 4_433 - .saturating_add(Weight::from_parts(1_024_780, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 12_611_000 picoseconds. + Weight::from_parts(12_252_417, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 3_837 + .saturating_add(Weight::from_parts(848_132, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_session.rs b/runtime/crab/src/weights/pallet_session.rs index 241e822b8..7ed59305c 100644 --- a/runtime/crab/src/weights/pallet_session.rs +++ b/runtime/crab/src/weights/pallet_session.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -63,11 +64,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `7564` - // Minimum execution time: 11_578_000 picoseconds. - Weight::from_parts(12_576_000, 0) - .saturating_add(Weight::from_parts(0, 7564)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 10_841_000 picoseconds. + Weight::from_parts(11_328_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,11 +78,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `299` - // Estimated: `4063` - // Minimum execution time: 8_173_000 picoseconds. - Weight::from_parts(8_680_000, 0) - .saturating_add(Weight::from_parts(0, 4063)) + // Measured: `228` + // Estimated: `3693` + // Minimum execution time: 7_466_000 picoseconds. + Weight::from_parts(7_826_000, 0) + .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_timestamp.rs b/runtime/crab/src/weights/pallet_timestamp.rs index e7a5344c2..73a54a352 100644 --- a/runtime/crab/src/weights/pallet_timestamp.rs +++ b/runtime/crab/src/weights/pallet_timestamp.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 4_803_000 picoseconds. - Weight::from_parts(5_111_000, 0) + // Minimum execution time: 4_639_000 picoseconds. + Weight::from_parts(4_900_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +74,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 3_116_000 picoseconds. - Weight::from_parts(3_312_000, 0) + // Minimum execution time: 2_950_000 picoseconds. + Weight::from_parts(3_149_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/crab/src/weights/pallet_tips.rs b/runtime/crab/src/weights/pallet_tips.rs index 19c575da1..3447ef753 100644 --- a/runtime/crab/src/weights/pallet_tips.rs +++ b/runtime/crab/src/weights/pallet_tips.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -65,12 +66,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 17_260_000 picoseconds. - Weight::from_parts(18_937_589, 0) - .saturating_add(Weight::from_parts(0, 6938)) - // Standard Error: 62 - .saturating_add(Weight::from_parts(1_038, 0).saturating_mul(r.into())) + // Estimated: `3469` + // Minimum execution time: 20_908_000 picoseconds. + Weight::from_parts(22_054_772, 0) + .saturating_add(Weight::from_parts(0, 3469)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(924, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,10 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `197` - // Estimated: `3859` - // Minimum execution time: 16_767_000 picoseconds. - Weight::from_parts(17_294_000, 0) - .saturating_add(Weight::from_parts(0, 3859)) + // Estimated: `3662` + // Minimum execution time: 20_147_000 picoseconds. + Weight::from_parts(20_637_000, 0) + .saturating_add(Weight::from_parts(0, 3662)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,17 +100,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `141 + t * (52 ±0)` - // Estimated: `5370 + t * (156 ±0)` - // Minimum execution time: 12_926_000 picoseconds. - Weight::from_parts(12_769_961, 0) - .saturating_add(Weight::from_parts(0, 5370)) - // Standard Error: 27 - .saturating_add(Weight::from_parts(897, 0).saturating_mul(r.into())) - // Standard Error: 69_428 - .saturating_add(Weight::from_parts(377_483, 0).saturating_mul(t.into())) + // Estimated: `3605 + t * (52 ±0)` + // Minimum execution time: 12_759_000 picoseconds. + Weight::from_parts(12_151_782, 0) + .saturating_add(Weight::from_parts(0, 3605)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(901, 0).saturating_mul(r.into())) + // Standard Error: 16_230 + .saturating_add(Weight::from_parts(273_958, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 156).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -119,13 +120,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `338 + t * (88 ±0)` - // Estimated: `5624 + t * (176 ±0)` - // Minimum execution time: 10_575_000 picoseconds. - Weight::from_parts(12_946_346, 0) - .saturating_add(Weight::from_parts(0, 5624)) + // Estimated: `3802 + t * (88 ±0)` + // Minimum execution time: 10_082_000 picoseconds. + Weight::from_parts(10_739_776, 0) + .saturating_add(Weight::from_parts(0, 3802)) + // Standard Error: 4_560 + .saturating_add(Weight::from_parts(131_601, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 176).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 88).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -139,15 +142,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `506 + t * (88 ±0)` - // Estimated: `12583 + t * (270 ±0)` - // Minimum execution time: 34_105_000 picoseconds. - Weight::from_parts(35_795_180, 0) - .saturating_add(Weight::from_parts(0, 12583)) - // Standard Error: 20_418 - .saturating_add(Weight::from_parts(195_197, 0).saturating_mul(t.into())) + // Estimated: `6172 + t * (90 ±0)` + // Minimum execution time: 44_890_000 picoseconds. + Weight::from_parts(46_601_045, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 17_907 + .saturating_add(Weight::from_parts(230_775, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 270).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -157,12 +160,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `3931` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(10_533_018, 0) - .saturating_add(Weight::from_parts(0, 3931)) - // Standard Error: 7_516 - .saturating_add(Weight::from_parts(8_519, 0).saturating_mul(t.into())) + // Estimated: `3698` + // Minimum execution time: 9_474_000 picoseconds. + Weight::from_parts(10_174_342, 0) + .saturating_add(Weight::from_parts(0, 3698)) + // Standard Error: 4_992 + .saturating_add(Weight::from_parts(6_836, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_treasury.rs b/runtime/crab/src/weights/pallet_treasury.rs index 6b58d7f9f..fe6069e47 100644 --- a/runtime/crab/src/weights/pallet_treasury.rs +++ b/runtime/crab/src/weights/pallet_treasury.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -61,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 309_000 picoseconds. - Weight::from_parts(342_000, 0) + // Minimum execution time: 153_000 picoseconds. + Weight::from_parts(189_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -73,8 +74,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 18_023_000 picoseconds. - Weight::from_parts(20_500_000, 0) + // Minimum execution time: 20_359_000 picoseconds. + Weight::from_parts(21_389_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,10 +87,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `504` - // Estimated: `9721` - // Minimum execution time: 27_672_000 picoseconds. - Weight::from_parts(28_903_000, 0) - .saturating_add(Weight::from_parts(0, 9721)) + // Estimated: `6172` + // Minimum execution time: 32_645_000 picoseconds. + Weight::from_parts(33_382_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -101,12 +102,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` - // Estimated: `5436` - // Minimum execution time: 6_364_000 picoseconds. - Weight::from_parts(8_339_370, 0) - .saturating_add(Weight::from_parts(0, 5436)) - // Standard Error: 1_452 - .saturating_add(Weight::from_parts(61_875, 0).saturating_mul(p.into())) + // Estimated: `3549` + // Minimum execution time: 6_064_000 picoseconds. + Weight::from_parts(8_216_511, 0) + .saturating_add(Weight::from_parts(0, 3549)) + // Standard Error: 1_356 + .saturating_add(Weight::from_parts(57_900, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,8 +117,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 5_298_000 picoseconds. - Weight::from_parts(5_654_000, 0) + // Minimum execution time: 5_221_000 picoseconds. + Weight::from_parts(5_463_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,12 +137,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` - // Estimated: `9460 + p * (2559 ±0)` - // Minimum execution time: 22_187_000 picoseconds. - Weight::from_parts(25_332_703, 0) - .saturating_add(Weight::from_parts(0, 9460)) - // Standard Error: 15_911 - .saturating_add(Weight::from_parts(2_075_274, 0).saturating_mul(p.into())) + // Estimated: `3581 + p * (2559 ±0)` + // Minimum execution time: 21_071_000 picoseconds. + Weight::from_parts(20_156_780, 0) + .saturating_add(Weight::from_parts(0, 3581)) + // Standard Error: 4_454 + .saturating_add(Weight::from_parts(1_985_424, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/crab/src/weights/pallet_utility.rs b/runtime/crab/src/weights/pallet_utility.rs index b6966eaac..10ac40a9b 100644 --- a/runtime/crab/src/weights/pallet_utility.rs +++ b/runtime/crab/src/weights/pallet_utility.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -62,18 +63,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_675_000 picoseconds. - Weight::from_parts(10_113_152, 0) + // Minimum execution time: 4_528_000 picoseconds. + Weight::from_parts(4_610_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_357 - .saturating_add(Weight::from_parts(3_830_422, 0).saturating_mul(c.into())) + // Standard Error: 8_989 + .saturating_add(Weight::from_parts(3_665_976, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_739_000 picoseconds. - Weight::from_parts(3_959_000, 0) + // Minimum execution time: 3_299_000 picoseconds. + Weight::from_parts(3_494_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -81,18 +82,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_800_000 picoseconds. - Weight::from_parts(4_894_000, 0) + // Minimum execution time: 4_370_000 picoseconds. + Weight::from_parts(6_986_286, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_845 - .saturating_add(Weight::from_parts(4_090_270, 0).saturating_mul(c.into())) + // Standard Error: 2_410 + .saturating_add(Weight::from_parts(3_853_339, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_509_000 picoseconds. - Weight::from_parts(7_139_000, 0) + // Minimum execution time: 5_906_000 picoseconds. + Weight::from_parts(6_178_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -100,10 +101,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_705_000 picoseconds. - Weight::from_parts(16_630_190, 0) + // Minimum execution time: 4_370_000 picoseconds. + Weight::from_parts(5_976_494, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6_335 - .saturating_add(Weight::from_parts(3_804_898, 0).saturating_mul(c.into())) + // Standard Error: 2_019 + .saturating_add(Weight::from_parts(3_566_198, 0).saturating_mul(c.into())) } } diff --git a/runtime/crab/src/weights/pallet_vesting.rs b/runtime/crab/src/weights/pallet_vesting.rs index 50a6aab03..0dbbe68a4 100644 --- a/runtime/crab/src/weights/pallet_vesting.rs +++ b/runtime/crab/src/weights/pallet_vesting.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("crab-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -61,46 +62,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9262` - // Minimum execution time: 19_909_000 picoseconds. - Weight::from_parts(19_417_354, 0) - .saturating_add(Weight::from_parts(0, 9262)) - // Standard Error: 5_033 - .saturating_add(Weight::from_parts(51_243, 0).saturating_mul(l.into())) - // Standard Error: 8_955 - .saturating_add(Weight::from_parts(140_140, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 22_178_000 picoseconds. + Weight::from_parts(22_838_703, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_410 + .saturating_add(Weight::from_parts(33_931, 0).saturating_mul(l.into())) + // Standard Error: 6_068 + .saturating_add(Weight::from_parts(107_350, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9262` - // Minimum execution time: 19_690_000 picoseconds. - Weight::from_parts(18_856_289, 0) - .saturating_add(Weight::from_parts(0, 9262)) - // Standard Error: 3_673 - .saturating_add(Weight::from_parts(53_073, 0).saturating_mul(l.into())) - // Standard Error: 6_536 - .saturating_add(Weight::from_parts(114_685, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 24_913_000 picoseconds. + Weight::from_parts(26_444_599, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_667 + .saturating_add(Weight::from_parts(23_048, 0).saturating_mul(l.into())) + // Standard Error: 6_525 + .saturating_add(Weight::from_parts(87_024, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -108,21 +115,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 21_784_000 picoseconds. - Weight::from_parts(21_173_667, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 4_207 - .saturating_add(Weight::from_parts(59_460, 0).saturating_mul(l.into())) - // Standard Error: 7_485 - .saturating_add(Weight::from_parts(140_459, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 24_356_000 picoseconds. + Weight::from_parts(24_207_081, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_916 + .saturating_add(Weight::from_parts(43_168, 0).saturating_mul(l.into())) + // Standard Error: 6_967 + .saturating_add(Weight::from_parts(131_368, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -130,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 21_641_000 picoseconds. - Weight::from_parts(21_661_462, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 5_749 - .saturating_add(Weight::from_parts(47_023, 0).saturating_mul(l.into())) - // Standard Error: 10_230 - .saturating_add(Weight::from_parts(106_223, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 26_492_000 picoseconds. + Weight::from_parts(27_492_329, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 4_022 + .saturating_add(Weight::from_parts(34_620, 0).saturating_mul(l.into())) + // Standard Error: 7_157 + .saturating_add(Weight::from_parts(122_254, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -147,20 +156,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `307 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 33_600_000 picoseconds. - Weight::from_parts(36_578_743, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 8_569 - .saturating_add(Weight::from_parts(9_534, 0).saturating_mul(l.into())) - // Standard Error: 15_246 - .saturating_add(Weight::from_parts(87_182, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 50_002_000 picoseconds. + Weight::from_parts(52_613_822, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 7_210 + .saturating_add(Weight::from_parts(61_292, 0).saturating_mul(l.into())) + // Standard Error: 12_828 + .saturating_add(Weight::from_parts(181_399, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -169,26 +180,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15434` - // Minimum execution time: 34_890_000 picoseconds. - Weight::from_parts(38_076_180, 0) - .saturating_add(Weight::from_parts(0, 15434)) - // Standard Error: 8_219 - .saturating_add(Weight::from_parts(35_784, 0).saturating_mul(l.into())) - // Standard Error: 14_624 - .saturating_add(Weight::from_parts(58_125, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6172` + // Minimum execution time: 53_046_000 picoseconds. + Weight::from_parts(54_385_364, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 6_778 + .saturating_add(Weight::from_parts(56_290, 0).saturating_mul(l.into())) + // Standard Error: 12_059 + .saturating_add(Weight::from_parts(191_510, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -196,21 +211,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 23_342_000 picoseconds. - Weight::from_parts(23_574_359, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 5_766 - .saturating_add(Weight::from_parts(40_084, 0).saturating_mul(l.into())) - // Standard Error: 10_650 - .saturating_add(Weight::from_parts(130_432, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 25_393_000 picoseconds. + Weight::from_parts(24_947_540, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_771 + .saturating_add(Weight::from_parts(48_646, 0).saturating_mul(l.into())) + // Standard Error: 6_964 + .saturating_add(Weight::from_parts(138_703, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -218,15 +235,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 23_264_000 picoseconds. - Weight::from_parts(22_415_554, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 4_214 - .saturating_add(Weight::from_parts(63_530, 0).saturating_mul(l.into())) - // Standard Error: 7_782 - .saturating_add(Weight::from_parts(134_845, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 28_474_000 picoseconds. + Weight::from_parts(28_367_212, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 4_181 + .saturating_add(Weight::from_parts(37_476, 0).saturating_mul(l.into())) + // Standard Error: 7_722 + .saturating_add(Weight::from_parts(138_137, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/darwinia/src/pallets/balances.rs b/runtime/darwinia/src/pallets/balances.rs index 70d65b7c1..c9a61fcd0 100644 --- a/runtime/darwinia/src/pallets/balances.rs +++ b/runtime/darwinia/src/pallets/balances.rs @@ -20,7 +20,7 @@ use crate::*; frame_support::parameter_types! { - pub const ExistentialDeposit:Balance = 0; + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } impl pallet_balances::Config for Runtime { diff --git a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs index 73df23cba..c0b51239e 100644 --- a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_373_000 picoseconds. - Weight::from_parts(4_560_000, 0) + // Minimum execution time: 4_015_000 picoseconds. + Weight::from_parts(4_287_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_393_000 picoseconds. - Weight::from_parts(4_921_000, 0) + // Minimum execution time: 3_758_000 picoseconds. + Weight::from_parts(4_099_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/darwinia/src/weights/darwinia_account_migration.rs b/runtime/darwinia/src/weights/darwinia_account_migration.rs index b1a4080f9..5017d258f 100644 --- a/runtime/darwinia/src/weights/darwinia_account_migration.rs +++ b/runtime/darwinia/src/weights/darwinia_account_migration.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); @@ -63,10 +64,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -78,24 +75,22 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn migrate() -> Weight { // Proof Size summary in bytes: - // Measured: `30224` - // Estimated: `113012` - // Minimum execution time: 147_672_000 picoseconds. - Weight::from_parts(155_025_000, 0) - .saturating_add(Weight::from_parts(0, 113012)) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(18)) + // Measured: `29142` + // Estimated: `32607` + // Minimum execution time: 146_659_000 picoseconds. + Weight::from_parts(149_487_000, 0) + .saturating_add(Weight::from_parts(0, 32607)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: AccountMigration Multisigs (r:0 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -105,10 +100,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -120,13 +111,11 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) /// The range of component `x` is `[0, 99]`. @@ -135,16 +124,16 @@ impl darwinia_account_migration::WeightInfo for WeightI fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `5 + x * (570 ±0) + z * (570 ±0)` - // Minimum execution time: 8_382_000 picoseconds. - Weight::from_parts(25_012_372, 0) - .saturating_add(Weight::from_parts(0, 5)) - // Standard Error: 13_446 - .saturating_add(Weight::from_parts(11_940, 0).saturating_mul(x.into())) + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_826_000 picoseconds. + Weight::from_parts(22_277_717, 0) + .saturating_add(Weight::from_parts(0, 2)) + // Standard Error: 12_851 + .saturating_add(Weight::from_parts(7_678, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(x.into())) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -153,10 +142,10 @@ impl darwinia_account_migration::WeightInfo for WeightI fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 9_777_000 picoseconds. - Weight::from_parts(10_385_000, 0) - .saturating_add(Weight::from_parts(0, 10545)) + // Estimated: `6964` + // Minimum execution time: 8_703_000 picoseconds. + Weight::from_parts(9_096_000, 0) + .saturating_add(Weight::from_parts(0, 6964)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/darwinia_deposit.rs b/runtime/darwinia/src/weights/darwinia_deposit.rs index 0386c57ab..2c6c3d595 100644 --- a/runtime/darwinia/src/weights/darwinia_deposit.rs +++ b/runtime/darwinia/src/weights/darwinia_deposit.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); @@ -66,14 +67,14 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26745` - // Estimated: `41879` - // Minimum execution time: 67_233_000 picoseconds. - Weight::from_parts(74_502_000, 0) - .saturating_add(Weight::from_parts(0, 41879)) + // Estimated: `29615` + // Minimum execution time: 74_061_000 picoseconds. + Weight::from_parts(77_393_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,10 +87,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26512` - // Estimated: `34689` - // Minimum execution time: 1_380_858_000 picoseconds. - Weight::from_parts(1_461_790_000, 0) - .saturating_add(Weight::from_parts(0, 34689)) + // Estimated: `29615` + // Minimum execution time: 1_233_136_000 picoseconds. + Weight::from_parts(1_314_639_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,16 +99,16 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn claim_with_penalty() -> Weight { // Proof Size summary in bytes: // Measured: `26634` - // Estimated: `38298` - // Minimum execution time: 54_498_000 picoseconds. - Weight::from_parts(59_287_000, 0) - .saturating_add(Weight::from_parts(0, 38298)) + // Estimated: `29615` + // Minimum execution time: 50_124_000 picoseconds. + Weight::from_parts(52_953_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs b/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs index 4763aa0d4..311ec7daa 100644 --- a/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); @@ -66,10 +67,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 10_465_000 picoseconds. - Weight::from_parts(10_858_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 10_019_000 picoseconds. + Weight::from_parts(10_299_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,10 +83,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 14_235_000 picoseconds. - Weight::from_parts(14_935_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 13_278_000 picoseconds. + Weight::from_parts(13_614_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,10 +99,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 14_770_000 picoseconds. - Weight::from_parts(15_442_000, 0) - .saturating_add(Weight::from_parts(0, 4953)) + // Estimated: `1651` + // Minimum execution time: 13_544_000 picoseconds. + Weight::from_parts(13_933_000, 0) + .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,10 +115,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 15_647_000 picoseconds. - Weight::from_parts(17_436_000, 0) - .saturating_add(Weight::from_parts(0, 5256)) + // Estimated: `1752` + // Minimum execution time: 13_812_000 picoseconds. + Weight::from_parts(14_399_000, 0) + .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,10 +135,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 22_304_000 picoseconds. - Weight::from_parts(22_966_000, 0) - .saturating_add(Weight::from_parts(0, 7195)) + // Estimated: `1736` + // Minimum execution time: 41_624_000 picoseconds. + Weight::from_parts(42_345_000, 0) + .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -148,10 +149,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 12_428_000 picoseconds. - Weight::from_parts(13_143_000, 0) - .saturating_add(Weight::from_parts(0, 3460)) + // Estimated: `1730` + // Minimum execution time: 31_498_000 picoseconds. + Weight::from_parts(32_315_000, 0) + .saturating_add(Weight::from_parts(0, 1730)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/darwinia_staking.rs b/runtime/darwinia/src/weights/darwinia_staking.rs index c9799d260..8c7cb0b94 100644 --- a/runtime/darwinia/src/weights/darwinia_staking.rs +++ b/runtime/darwinia/src/weights/darwinia_staking.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); @@ -66,7 +67,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking KtonPool (r:1 w:1) /// Proof: DarwiniaStaking KtonPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) @@ -74,13 +75,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1779` - // Estimated: `51255` - // Minimum execution time: 52_657_000 picoseconds. - Weight::from_parts(127_001_332, 0) - .saturating_add(Weight::from_parts(0, 51255)) - // Standard Error: 1_871 - .saturating_add(Weight::from_parts(7_469, 0).saturating_mul(x.into())) + // Measured: `1747` + // Estimated: `29615` + // Minimum execution time: 63_830_000 picoseconds. + Weight::from_parts(123_267_566, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 1_323 + .saturating_add(Weight::from_parts(6_979, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -95,13 +96,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1463` - // Estimated: `37915` - // Minimum execution time: 11_482_000 picoseconds. - Weight::from_parts(54_442_906, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 1_730 - .saturating_add(Weight::from_parts(9_447, 0).saturating_mul(x.into())) + // Measured: `1396` + // Estimated: `29615` + // Minimum execution time: 11_287_000 picoseconds. + Weight::from_parts(53_162_020, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 914 + .saturating_add(Weight::from_parts(5_407, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,13 +117,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1567` - // Estimated: `37915` - // Minimum execution time: 10_204_000 picoseconds. - Weight::from_parts(46_352_901, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 804 - .saturating_add(Weight::from_parts(4_432, 0).saturating_mul(x.into())) + // Measured: `1500` + // Estimated: `29615` + // Minimum execution time: 9_702_000 picoseconds. + Weight::from_parts(44_786_318, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 783 + .saturating_add(Weight::from_parts(4_135, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -133,16 +134,16 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2089` - // Estimated: `48253` - // Minimum execution time: 91_964_000 picoseconds. - Weight::from_parts(95_743_000, 0) - .saturating_add(Weight::from_parts(0, 48253)) + // Measured: `2022` + // Estimated: `29615` + // Minimum execution time: 88_179_000 picoseconds. + Weight::from_parts(92_989_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -150,10 +151,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `392` + // Measured: `321` // Estimated: `3497` - // Minimum execution time: 5_749_000 picoseconds. - Weight::from_parts(6_015_000, 0) + // Minimum execution time: 4_929_000 picoseconds. + Weight::from_parts(5_424_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,11 +167,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `697` - // Estimated: `12308` - // Minimum execution time: 10_390_000 picoseconds. - Weight::from_parts(11_083_000, 0) - .saturating_add(Weight::from_parts(0, 12308)) + // Measured: `489` + // Estimated: `5298` + // Minimum execution time: 9_024_000 picoseconds. + Weight::from_parts(9_807_000, 0) + .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,8 +183,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_624_000 picoseconds. - Weight::from_parts(3_840_000, 0) + // Minimum execution time: 3_412_000 picoseconds. + Weight::from_parts(3_664_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -193,8 +194,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_009_000 picoseconds. - Weight::from_parts(2_175_000, 0) + // Minimum execution time: 1_811_000 picoseconds. + Weight::from_parts(1_985_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_assets.rs b/runtime/darwinia/src/weights/pallet_assets.rs index 689fc1c87..f1c6026ad 100644 --- a/runtime/darwinia/src/weights/pallet_assets.rs +++ b/runtime/darwinia/src/weights/pallet_assets.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 9_499_000 picoseconds. - Weight::from_parts(10_085_000, 0) + // Minimum execution time: 8_545_000 picoseconds. + Weight::from_parts(8_931_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_985_000 picoseconds. - Weight::from_parts(9_401_000, 0) + // Minimum execution time: 8_220_000 picoseconds. + Weight::from_parts(8_956_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_218_000 picoseconds. - Weight::from_parts(9_573_000, 0) + // Minimum execution time: 8_453_000 picoseconds. + Weight::from_parts(8_821_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,24 +97,24 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1000 w:1000) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `436 + c * (183 ±0)` - // Estimated: `8180 + c * (5160 ±0)` - // Minimum execution time: 12_150_000 picoseconds. - Weight::from_parts(12_308_000, 0) - .saturating_add(Weight::from_parts(0, 8180)) - // Standard Error: 6_771 - .saturating_add(Weight::from_parts(9_053_468, 0).saturating_mul(c.into())) + // Estimated: `3631 + c * (2591 ±0)` + // Minimum execution time: 11_627_000 picoseconds. + Weight::from_parts(12_119_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 5_933 + .saturating_add(Weight::from_parts(8_592_864, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5160).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into())) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) @@ -123,12 +124,12 @@ impl pallet_assets::WeightInfo for WeightInfo { fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` - // Estimated: `7224 + a * (2603 ±0)` - // Minimum execution time: 11_996_000 picoseconds. - Weight::from_parts(12_464_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) - // Standard Error: 2_807 - .saturating_add(Weight::from_parts(3_246_130, 0).saturating_mul(a.into())) + // Estimated: `3631 + a * (2603 ±0)` + // Minimum execution time: 11_282_000 picoseconds. + Weight::from_parts(11_522_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 2_419 + .saturating_add(Weight::from_parts(3_212_243, 0).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)) @@ -142,114 +143,114 @@ impl pallet_assets::WeightInfo for WeightInfo { fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 10_510_000 picoseconds. - Weight::from_parts(10_880_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_250_000 picoseconds. + Weight::from_parts(9_596_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7190` - // Minimum execution time: 19_096_000 picoseconds. - Weight::from_parts(19_711_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 17_453_000 picoseconds. + Weight::from_parts(18_350_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 24_066_000 picoseconds. - Weight::from_parts(24_924_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 21_754_000 picoseconds. + Weight::from_parts(22_407_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 33_055_000 picoseconds. - Weight::from_parts(35_233_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_689_000 picoseconds. + Weight::from_parts(31_860_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 29_223_000 picoseconds. - Weight::from_parts(30_620_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 26_718_000 picoseconds. + Weight::from_parts(27_518_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 33_159_000 picoseconds. - Weight::from_parts(34_284_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_636_000 picoseconds. + Weight::from_parts(31_885_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_759_000 picoseconds. - Weight::from_parts(14_192_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 10_819_000 picoseconds. + Weight::from_parts(11_305_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_786_000 picoseconds. - Weight::from_parts(12_294_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 10_898_000 picoseconds. + Weight::from_parts(11_241_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_965_000 picoseconds. - Weight::from_parts(9_437_000, 0) + // Minimum execution time: 8_213_000 picoseconds. + Weight::from_parts(8_482_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -271,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_824_000 picoseconds. - Weight::from_parts(9_410_000, 0) + // Minimum execution time: 8_237_000 picoseconds. + Weight::from_parts(8_507_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,10 +285,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 11_213_000 picoseconds. - Weight::from_parts(11_996_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_105_000 picoseconds. + Weight::from_parts(10_615_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -297,8 +298,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_642_000 picoseconds. - Weight::from_parts(9_988_000, 0) + // Minimum execution time: 8_437_000 picoseconds. + Weight::from_parts(8_800_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -309,13 +310,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 11_048_000 picoseconds. - Weight::from_parts(12_857_483, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_669_000 picoseconds. + Weight::from_parts(10_420_770, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 1_387 + .saturating_add(Weight::from_parts(5_143, 0).saturating_mul(n.into())) + // Standard Error: 1_387 + .saturating_add(Weight::from_parts(8_143, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -326,10 +331,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 11_329_000 picoseconds. - Weight::from_parts(11_711_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_041_000 picoseconds. + Weight::from_parts(10_605_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -339,15 +344,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// 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 { + fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `200` - // Estimated: `7240` - // Minimum execution time: 10_399_000 picoseconds. - Weight::from_parts(11_466_587, 0) - .saturating_add(Weight::from_parts(0, 7240)) - // Standard Error: 4_340 - .saturating_add(Weight::from_parts(5_630, 0).saturating_mul(n.into())) + // Estimated: `3631` + // Minimum execution time: 9_059_000 picoseconds. + Weight::from_parts(10_399_697, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -358,10 +361,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 11_025_000 picoseconds. - Weight::from_parts(11_495_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_422_000 picoseconds. + Weight::from_parts(10_908_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -371,8 +374,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_214_000 picoseconds. - Weight::from_parts(9_706_000, 0) + // Minimum execution time: 8_418_000 picoseconds. + Weight::from_parts(8_923_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -384,10 +387,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` - // Estimated: `7224` - // Minimum execution time: 13_668_000 picoseconds. - Weight::from_parts(14_010_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 12_496_000 picoseconds. + Weight::from_parts(12_936_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -396,16 +399,16 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Approvals (r:1 w:1) /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `562` - // Estimated: `16933` - // Minimum execution time: 39_393_000 picoseconds. - Weight::from_parts(40_846_000, 0) - .saturating_add(Weight::from_parts(0, 16933)) + // Estimated: `6168` + // Minimum execution time: 35_954_000 picoseconds. + Weight::from_parts(36_649_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -416,10 +419,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 14_924_000 picoseconds. - Weight::from_parts(15_358_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 13_974_000 picoseconds. + Weight::from_parts(14_303_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -430,10 +433,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 15_314_000 picoseconds. - Weight::from_parts(15_725_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 13_933_000 picoseconds. + Weight::from_parts(14_226_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,79 +446,84 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 10_087_000 picoseconds. - Weight::from_parts(10_589_000, 0) + // Minimum execution time: 8_973_000 picoseconds. + Weight::from_parts(9_415_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `453` - // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `441` + // Estimated: `3631` + // Minimum execution time: 24_401_000 picoseconds. + Weight::from_parts(25_499_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) + // Measured: `313` + // Estimated: `3631` + // Minimum execution time: 22_752_000 picoseconds. + Weight::from_parts(25_179_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `579` - // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `519` + // Estimated: `3631` + // Minimum execution time: 22_320_000 picoseconds. + Weight::from_parts(22_659_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `411` + // Estimated: `3631` + // Minimum execution time: 20_292_000 picoseconds. + Weight::from_parts(21_235_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `373` + // Estimated: `3631` + // Minimum execution time: 10_859_000 picoseconds. + Weight::from_parts(11_609_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/darwinia/src/weights/pallet_balances.rs b/runtime/darwinia/src/weights/pallet_balances.rs index b215b1303..f997286a8 100644 --- a/runtime/darwinia/src/weights/pallet_balances.rs +++ b/runtime/darwinia/src/weights/pallet_balances.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 22_874_000 picoseconds. - Weight::from_parts(23_510_000, 0) + // Minimum execution time: 36_851_000 picoseconds. + Weight::from_parts(37_805_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 19_756_000 picoseconds. - Weight::from_parts(20_450_000, 0) + // Minimum execution time: 31_204_000 picoseconds. + Weight::from_parts(32_040_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_907_000 picoseconds. - Weight::from_parts(11_326_000, 0) + // Minimum execution time: 11_676_000 picoseconds. + Weight::from_parts(12_218_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 13_740_000 picoseconds. - Weight::from_parts(14_553_000, 0) + // Minimum execution time: 16_811_000 picoseconds. + Weight::from_parts(17_564_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 24_905_000 picoseconds. - Weight::from_parts(25_601_000, 0) + // Minimum execution time: 39_590_000 picoseconds. + Weight::from_parts(48_916_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -123,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 25_020_000 picoseconds. - Weight::from_parts(25_490_000, 0) + // Minimum execution time: 38_839_000 picoseconds. + Weight::from_parts(40_551_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +136,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_771_000 picoseconds. - Weight::from_parts(11_106_000, 0) + // Minimum execution time: 13_877_000 picoseconds. + Weight::from_parts(14_389_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `58 + u * (124 ±0)` + // Estimated: `990 + u * (2591 ±0)` + // Minimum execution time: 12_860_000 picoseconds. + Weight::from_parts(13_684_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 9_661 + .saturating_add(Weight::from_parts(10_634_787, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(u.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs b/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs index 1ebaf9570..edb8c0ce2 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); @@ -73,15 +74,17 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { + fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2510 + p * (40 ±0)` - // Estimated: `309390` - // Minimum execution time: 1_631_919_000 picoseconds. - Weight::from_parts(1_645_635_000, 0) - .saturating_add(Weight::from_parts(0, 309390)) - // Standard Error: 151_839 - .saturating_add(Weight::from_parts(20_149_687, 0).saturating_mul(p.into())) + // Estimated: `165335` + // Minimum execution time: 1_558_608_000 picoseconds. + Weight::from_parts(51_715_724, 0) + .saturating_add(Weight::from_parts(0, 165335)) + // Standard Error: 59_639 + .saturating_add(Weight::from_parts(28_626_955, 0).saturating_mul(p.into())) + // Standard Error: 61_054 + .saturating_add(Weight::from_parts(1_340_357, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/darwinia/src/weights/pallet_bridge_messages.rs b/runtime/darwinia/src/weights/pallet_bridge_messages.rs index ee3d88513..6494998f0 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_messages.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_messages.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); @@ -70,10 +71,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` - // Estimated: `13025` - // Minimum execution time: 47_415_000 picoseconds. - Weight::from_parts(49_023_000, 0) - .saturating_add(Weight::from_parts(0, 13025)) + // Estimated: `6172` + // Minimum execution time: 57_895_000 picoseconds. + Weight::from_parts(59_416_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -90,10 +91,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` - // Estimated: `13025` - // Minimum execution time: 48_788_000 picoseconds. - Weight::from_parts(50_357_000, 0) - .saturating_add(Weight::from_parts(0, 13025)) + // Estimated: `6172` + // Minimum execution time: 57_546_000 picoseconds. + Weight::from_parts(60_148_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -110,10 +111,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` - // Estimated: `13025` - // Minimum execution time: 55_161_000 picoseconds. - Weight::from_parts(57_547_000, 0) - .saturating_add(Weight::from_parts(0, 13025)) + // Estimated: `6172` + // Minimum execution time: 64_032_000 picoseconds. + Weight::from_parts(70_288_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -126,10 +127,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 29_407_000 picoseconds. - Weight::from_parts(30_778_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 28_032_000 picoseconds. + Weight::from_parts(28_718_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,10 +143,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 42_646_000 picoseconds. - Weight::from_parts(44_192_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 40_944_000 picoseconds. + Weight::from_parts(43_195_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,10 +159,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 34_158_000 picoseconds. - Weight::from_parts(35_471_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 32_507_000 picoseconds. + Weight::from_parts(33_365_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +175,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 35_125_000 picoseconds. - Weight::from_parts(36_188_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 33_724_000 picoseconds. + Weight::from_parts(35_885_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,10 +191,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 70_296_000 picoseconds. - Weight::from_parts(73_937_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 66_360_000 picoseconds. + Weight::from_parts(71_160_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +207,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `145181` - // Minimum execution time: 29_480_000 picoseconds. - Weight::from_parts(30_331_000, 0) - .saturating_add(Weight::from_parts(0, 145181)) + // Estimated: `134569` + // Minimum execution time: 28_123_000 picoseconds. + Weight::from_parts(29_359_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,10 +225,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `593` - // Estimated: `143623` - // Minimum execution time: 23_955_000 picoseconds. - Weight::from_parts(24_879_000, 0) - .saturating_add(Weight::from_parts(0, 143623)) + // Estimated: `134569` + // Minimum execution time: 22_981_000 picoseconds. + Weight::from_parts(23_786_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,10 +243,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight { // Proof Size summary in bytes: // Measured: `593` - // Estimated: `146098` - // Minimum execution time: 26_402_000 picoseconds. - Weight::from_parts(27_032_000, 0) - .saturating_add(Weight::from_parts(0, 146098)) + // Estimated: `134569` + // Minimum execution time: 25_040_000 picoseconds. + Weight::from_parts(25_708_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -260,10 +261,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight { // Proof Size summary in bytes: // Measured: `593` - // Estimated: `146098` - // Minimum execution time: 54_645_000 picoseconds. - Weight::from_parts(55_768_000, 0) - .saturating_add(Weight::from_parts(0, 146098)) + // Estimated: `134569` + // Minimum execution time: 25_548_000 picoseconds. + Weight::from_parts(26_243_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_bridge_parachains.rs b/runtime/darwinia/src/weights/pallet_bridge_parachains.rs index 8715d42f4..aec74fc9f 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_parachains.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_parachains.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); @@ -71,16 +72,16 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `138035 + p * (5074 ±0)` - // Minimum execution time: 23_886_000 picoseconds. - Weight::from_parts(24_620_000, 0) - .saturating_add(Weight::from_parts(0, 138035)) - // Standard Error: 23_592 - .saturating_add(Weight::from_parts(18_509_533, 0).saturating_mul(p.into())) + // Estimated: `134569 + p * (2539 ±0)` + // Minimum execution time: 21_921_000 picoseconds. + Weight::from_parts(22_507_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) + // Standard Error: 23_472 + .saturating_add(Weight::from_parts(18_390_047, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5074).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2539).saturating_mul(p.into())) } /// Storage: BridgeKusamaParachain PalletOperatingMode (r:1 w:0) /// Proof: BridgeKusamaParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) @@ -95,10 +96,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_1kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `143109` - // Minimum execution time: 30_081_000 picoseconds. - Weight::from_parts(33_242_000, 0) - .saturating_add(Weight::from_parts(0, 143109)) + // Estimated: `134569` + // Minimum execution time: 28_678_000 picoseconds. + Weight::from_parts(29_631_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,10 +116,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_16kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `143109` - // Minimum execution time: 64_833_000 picoseconds. - Weight::from_parts(68_539_000, 0) - .saturating_add(Weight::from_parts(0, 143109)) + // Estimated: `134569` + // Minimum execution time: 64_228_000 picoseconds. + Weight::from_parts(67_652_000, 0) + .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/darwinia/src/weights/pallet_collective_council.rs b/runtime/darwinia/src/weights/pallet_collective_council.rs index eb35c650e..cacca0654 100644 --- a/runtime/darwinia/src/weights/pallet_collective_council.rs +++ b/runtime/darwinia/src/weights/pallet_collective_council.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15368 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 10_787_000 picoseconds. - Weight::from_parts(11_050_000, 0) - .saturating_add(Weight::from_parts(0, 15368)) - // Standard Error: 23_339 - .saturating_add(Weight::from_parts(2_497_089, 0).saturating_mul(m.into())) - // Standard Error: 23_339 - .saturating_add(Weight::from_parts(4_802_512, 0).saturating_mul(p.into())) + // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 10_422_000 picoseconds. + Weight::from_parts(10_750_000, 0) + .saturating_add(Weight::from_parts(0, 12200)) + // Standard Error: 20_736 + .saturating_add(Weight::from_parts(2_163_565, 0).saturating_mul(m.into())) + // Standard Error: 20_736 + .saturating_add(Weight::from_parts(4_362_928, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -95,13 +96,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(_b: u32, m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 10_878_000 picoseconds. - Weight::from_parts(13_019_717, 0) + // Minimum execution time: 10_040_000 picoseconds. + Weight::from_parts(10_893_334, 0) .saturating_add(Weight::from_parts(0, 1554)) + // Standard Error: 28 + .saturating_add(Weight::from_parts(481, 0).saturating_mul(b.into())) + // Standard Error: 296 + .saturating_add(Weight::from_parts(3_478, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -116,14 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` - // Estimated: `5088 + m * (40 ±0)` - // Minimum execution time: 12_450_000 picoseconds. - Weight::from_parts(15_699_341, 0) - .saturating_add(Weight::from_parts(0, 5088)) - // Standard Error: 218 - .saturating_add(Weight::from_parts(430, 0).saturating_mul(b.into())) + // Estimated: `3534 + m * (20 ±0)` + // Minimum execution time: 11_854_000 picoseconds. + Weight::from_parts(12_027_562, 0) + .saturating_add(Weight::from_parts(0, 3534)) + // Standard Error: 38 + .saturating_add(Weight::from_parts(1_035, 0).saturating_mul(b.into())) + // Standard Error: 397 + .saturating_add(Weight::from_parts(10_814, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -144,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `357 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9350 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_356_000 picoseconds. - Weight::from_parts(17_525_784, 0) - .saturating_add(Weight::from_parts(0, 9350)) - // Standard Error: 102 - .saturating_add(Weight::from_parts(2_414, 0).saturating_mul(b.into())) - // Standard Error: 1_070 - .saturating_add(Weight::from_parts(14_355, 0).saturating_mul(m.into())) - // Standard Error: 1_056 - .saturating_add(Weight::from_parts(175_160, 0).saturating_mul(p.into())) + // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 15_800_000 picoseconds. + Weight::from_parts(15_990_621, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 89 + .saturating_add(Weight::from_parts(2_196, 0).saturating_mul(b.into())) + // Standard Error: 935 + .saturating_add(Weight::from_parts(13_978, 0).saturating_mul(m.into())) + // Standard Error: 923 + .saturating_add(Weight::from_parts(152_767, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -168,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + m * (40 ±0)` - // Estimated: `6612 + m * (80 ±0)` - // Minimum execution time: 18_316_000 picoseconds. - Weight::from_parts(21_017_527, 0) - .saturating_add(Weight::from_parts(0, 6612)) - // Standard Error: 1_055 - .saturating_add(Weight::from_parts(25_348, 0).saturating_mul(m.into())) + // Estimated: `4296 + m * (40 ±0)` + // Minimum execution time: 15_710_000 picoseconds. + Weight::from_parts(18_487_685, 0) + .saturating_add(Weight::from_parts(0, 4296)) + // Standard Error: 851 + .saturating_add(Weight::from_parts(13_864, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -193,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `409 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `7991 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 19_061_000 picoseconds. - Weight::from_parts(21_336_648, 0) - .saturating_add(Weight::from_parts(0, 7991)) - // Standard Error: 1_000 - .saturating_add(Weight::from_parts(13_355, 0).saturating_mul(m.into())) - // Standard Error: 975 - .saturating_add(Weight::from_parts(159_731, 0).saturating_mul(p.into())) + // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_408_000 picoseconds. + Weight::from_parts(19_407_011, 0) + .saturating_add(Weight::from_parts(0, 3854)) + // Standard Error: 893 + .saturating_add(Weight::from_parts(13_887, 0).saturating_mul(m.into())) + // Standard Error: 870 + .saturating_add(Weight::from_parts(141_763, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -223,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `711 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12152 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_225_000 picoseconds. - Weight::from_parts(29_902_412, 0) - .saturating_add(Weight::from_parts(0, 12152)) - // Standard Error: 136 - .saturating_add(Weight::from_parts(2_373, 0).saturating_mul(b.into())) - // Standard Error: 1_446 - .saturating_add(Weight::from_parts(6_034, 0).saturating_mul(m.into())) - // Standard Error: 1_409 - .saturating_add(Weight::from_parts(204_837, 0).saturating_mul(p.into())) + // Estimated: `4028 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 24_668_000 picoseconds. + Weight::from_parts(27_051_290, 0) + .saturating_add(Weight::from_parts(0, 4028)) + // Standard Error: 119 + .saturating_add(Weight::from_parts(1_771, 0).saturating_mul(b.into())) + // Standard Error: 1_265 + .saturating_add(Weight::from_parts(2_718, 0).saturating_mul(m.into())) + // Standard Error: 1_234 + .saturating_add(Weight::from_parts(187_297, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -256,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `429 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `9965 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 20_816_000 picoseconds. - Weight::from_parts(22_925_884, 0) - .saturating_add(Weight::from_parts(0, 9965)) - // Standard Error: 1_059 - .saturating_add(Weight::from_parts(18_253, 0).saturating_mul(m.into())) - // Standard Error: 1_033 - .saturating_add(Weight::from_parts(163_962, 0).saturating_mul(p.into())) + // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_074_000 picoseconds. + Weight::from_parts(21_332_177, 0) + .saturating_add(Weight::from_parts(0, 3874)) + // Standard Error: 900 + .saturating_add(Weight::from_parts(14_138, 0).saturating_mul(m.into())) + // Standard Error: 878 + .saturating_add(Weight::from_parts(142_661, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -288,21 +295,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `731 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14300 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_809_000 picoseconds. - Weight::from_parts(31_104_701, 0) - .saturating_add(Weight::from_parts(0, 14300)) - // Standard Error: 133 - .saturating_add(Weight::from_parts(2_217, 0).saturating_mul(b.into())) - // Standard Error: 1_407 - .saturating_add(Weight::from_parts(19_421, 0).saturating_mul(m.into())) - // Standard Error: 1_371 - .saturating_add(Weight::from_parts(212_183, 0).saturating_mul(p.into())) + // Estimated: `4048 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_761_000 picoseconds. + Weight::from_parts(29_103_986, 0) + .saturating_add(Weight::from_parts(0, 4048)) + // Standard Error: 114 + .saturating_add(Weight::from_parts(2_120, 0).saturating_mul(b.into())) + // Standard Error: 1_214 + .saturating_add(Weight::from_parts(14_478, 0).saturating_mul(m.into())) + // Standard Error: 1_184 + .saturating_add(Weight::from_parts(181_791, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -315,14 +322,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` - // Estimated: `2163 + p * (96 ±0)` - // Minimum execution time: 10_799_000 picoseconds. - Weight::from_parts(12_607_448, 0) - .saturating_add(Weight::from_parts(0, 2163)) - // Standard Error: 1_016 - .saturating_add(Weight::from_parts(160_573, 0).saturating_mul(p.into())) + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 10_625_000 picoseconds. + Weight::from_parts(11_673_801, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 843 + .saturating_add(Weight::from_parts(132_209, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs b/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs index d45039caf..a79168db8 100644 --- a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15504 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 10_991_000 picoseconds. - Weight::from_parts(11_121_000, 0) - .saturating_add(Weight::from_parts(0, 15504)) - // Standard Error: 22_432 - .saturating_add(Weight::from_parts(2_438_410, 0).saturating_mul(m.into())) - // Standard Error: 22_432 - .saturating_add(Weight::from_parts(4_679_362, 0).saturating_mul(p.into())) + // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 10_511_000 picoseconds. + Weight::from_parts(10_804_000, 0) + .saturating_add(Weight::from_parts(0, 12234)) + // Standard Error: 20_528 + .saturating_add(Weight::from_parts(2_123_149, 0).saturating_mul(m.into())) + // Standard Error: 20_528 + .saturating_add(Weight::from_parts(4_345_524, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `1588 + m * (20 ±0)` - // Minimum execution time: 10_867_000 picoseconds. - Weight::from_parts(11_604_911, 0) + // Minimum execution time: 9_861_000 picoseconds. + Weight::from_parts(10_327_062, 0) .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 166 - .saturating_add(Weight::from_parts(296, 0).saturating_mul(b.into())) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(6_688, 0).saturating_mul(m.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(813, 0).saturating_mul(b.into())) + // Standard Error: 272 + .saturating_add(Weight::from_parts(6_150, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,14 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` - // Estimated: `5156 + m * (40 ±0)` - // Minimum execution time: 12_331_000 picoseconds. - Weight::from_parts(14_404_015, 0) - .saturating_add(Weight::from_parts(0, 5156)) - // Standard Error: 186 - .saturating_add(Weight::from_parts(552, 0).saturating_mul(b.into())) + // Estimated: `3568 + m * (20 ±0)` + // Minimum execution time: 11_611_000 picoseconds. + Weight::from_parts(12_086_398, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 32 + .saturating_add(Weight::from_parts(794, 0).saturating_mul(b.into())) + // Standard Error: 339 + .saturating_add(Weight::from_parts(9_731, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -148,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9520 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_204_000 picoseconds. - Weight::from_parts(17_478_648, 0) - .saturating_add(Weight::from_parts(0, 9520)) - // Standard Error: 104 - .saturating_add(Weight::from_parts(2_359, 0).saturating_mul(b.into())) - // Standard Error: 1_091 - .saturating_add(Weight::from_parts(13_241, 0).saturating_mul(m.into())) - // Standard Error: 1_078 - .saturating_add(Weight::from_parts(177_531, 0).saturating_mul(p.into())) + // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 15_624_000 picoseconds. + Weight::from_parts(16_695_966, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 87 + .saturating_add(Weight::from_parts(1_886, 0).saturating_mul(b.into())) + // Standard Error: 910 + .saturating_add(Weight::from_parts(10_402, 0).saturating_mul(m.into())) + // Standard Error: 898 + .saturating_add(Weight::from_parts(150_351, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -172,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `866 + m * (40 ±0)` - // Estimated: `6680 + m * (80 ±0)` - // Minimum execution time: 18_210_000 picoseconds. - Weight::from_parts(21_085_567, 0) - .saturating_add(Weight::from_parts(0, 6680)) - // Standard Error: 859 - .saturating_add(Weight::from_parts(25_010, 0).saturating_mul(m.into())) + // Estimated: `4330 + m * (40 ±0)` + // Minimum execution time: 16_086_000 picoseconds. + Weight::from_parts(18_767_677, 0) + .saturating_add(Weight::from_parts(0, 4330)) + // Standard Error: 865 + .saturating_add(Weight::from_parts(13_086, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -197,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `8127 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 19_186_000 picoseconds. - Weight::from_parts(20_236_420, 0) - .saturating_add(Weight::from_parts(0, 8127)) - // Standard Error: 992 - .saturating_add(Weight::from_parts(24_086, 0).saturating_mul(m.into())) - // Standard Error: 967 - .saturating_add(Weight::from_parts(167_558, 0).saturating_mul(p.into())) + // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 17_439_000 picoseconds. + Weight::from_parts(19_407_559, 0) + .saturating_add(Weight::from_parts(0, 3888)) + // Standard Error: 843 + .saturating_add(Weight::from_parts(11_374, 0).saturating_mul(m.into())) + // Standard Error: 822 + .saturating_add(Weight::from_parts(145_289, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -227,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `745 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12288 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_799_000 picoseconds. - Weight::from_parts(30_551_642, 0) - .saturating_add(Weight::from_parts(0, 12288)) - // Standard Error: 133 - .saturating_add(Weight::from_parts(1_998, 0).saturating_mul(b.into())) - // Standard Error: 1_412 - .saturating_add(Weight::from_parts(2_349, 0).saturating_mul(m.into())) - // Standard Error: 1_377 - .saturating_add(Weight::from_parts(208_239, 0).saturating_mul(p.into())) + // Estimated: `4062 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_253_000 picoseconds. + Weight::from_parts(27_437_754, 0) + .saturating_add(Weight::from_parts(0, 4062)) + // Standard Error: 121 + .saturating_add(Weight::from_parts(2_241, 0).saturating_mul(b.into())) + // Standard Error: 1_281 + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(m.into())) + // Standard Error: 1_248 + .saturating_add(Weight::from_parts(182_921, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -260,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `10135 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 21_463_000 picoseconds. - Weight::from_parts(23_459_774, 0) - .saturating_add(Weight::from_parts(0, 10135)) - // Standard Error: 1_064 - .saturating_add(Weight::from_parts(19_587, 0).saturating_mul(m.into())) - // Standard Error: 1_038 - .saturating_add(Weight::from_parts(160_760, 0).saturating_mul(p.into())) + // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_279_000 picoseconds. + Weight::from_parts(21_095_659, 0) + .saturating_add(Weight::from_parts(0, 3908)) + // Standard Error: 869 + .saturating_add(Weight::from_parts(16_030, 0).saturating_mul(m.into())) + // Standard Error: 847 + .saturating_add(Weight::from_parts(145_053, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -292,21 +295,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `765 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14470 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 29_177_000 picoseconds. - Weight::from_parts(32_503_302, 0) - .saturating_add(Weight::from_parts(0, 14470)) - // Standard Error: 128 - .saturating_add(Weight::from_parts(1_639, 0).saturating_mul(b.into())) - // Standard Error: 1_358 - .saturating_add(Weight::from_parts(14_301, 0).saturating_mul(m.into())) - // Standard Error: 1_324 - .saturating_add(Weight::from_parts(209_725, 0).saturating_mul(p.into())) + // Estimated: `4082 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 28_444_000 picoseconds. + Weight::from_parts(29_122_448, 0) + .saturating_add(Weight::from_parts(0, 4082)) + // Standard Error: 102 + .saturating_add(Weight::from_parts(2_212, 0).saturating_mul(b.into())) + // Standard Error: 1_082 + .saturating_add(Weight::from_parts(12_320, 0).saturating_mul(m.into())) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(183_680, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -319,14 +322,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` - // Estimated: `2265 + p * (96 ±0)` - // Minimum execution time: 10_871_000 picoseconds. - Weight::from_parts(12_738_646, 0) - .saturating_add(Weight::from_parts(0, 2265)) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(160_099, 0).saturating_mul(p.into())) + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 10_582_000 picoseconds. + Weight::from_parts(11_433_713, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 832 + .saturating_add(Weight::from_parts(135_817, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_democracy.rs b/runtime/darwinia/src/weights/pallet_democracy.rs index 7a1ed6e14..1267066e1 100644 --- a/runtime/darwinia/src/weights/pallet_democracy.rs +++ b/runtime/darwinia/src/weights/pallet_democracy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -68,10 +69,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3844` - // Estimated: `23979` - // Minimum execution time: 30_729_000 picoseconds. - Weight::from_parts(33_646_000, 0) - .saturating_add(Weight::from_parts(0, 23979)) + // Estimated: `16987` + // Minimum execution time: 31_861_000 picoseconds. + Weight::from_parts(36_733_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +82,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2593` // Estimated: `5495` - // Minimum execution time: 26_477_000 picoseconds. - Weight::from_parts(29_707_000, 0) + // Minimum execution time: 28_047_000 picoseconds. + Weight::from_parts(29_994_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,14 +94,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3440` - // Estimated: `15666` - // Minimum execution time: 40_016_000 picoseconds. - Weight::from_parts(45_094_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 38_858_000 picoseconds. + Weight::from_parts(43_033_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -109,14 +112,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3462` - // Estimated: `15666` - // Minimum execution time: 40_016_000 picoseconds. - Weight::from_parts(46_900_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 41_075_000 picoseconds. + Weight::from_parts(45_585_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -128,10 +133,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` - // Estimated: `10682` - // Minimum execution time: 18_277_000 picoseconds. - Weight::from_parts(18_797_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 17_660_000 picoseconds. + Weight::from_parts(18_317_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,10 +157,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4954` - // Estimated: `42511` - // Minimum execution time: 76_461_000 picoseconds. - Weight::from_parts(83_628_000, 0) - .saturating_add(Weight::from_parts(0, 42511)) + // Estimated: `16987` + // Minimum execution time: 75_418_000 picoseconds. + Weight::from_parts(82_849_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -166,10 +171,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2195` - // Estimated: `7120` - // Minimum execution time: 8_834_000 picoseconds. - Weight::from_parts(9_461_000, 0) - .saturating_add(Weight::from_parts(0, 7120)) + // Estimated: `5503` + // Minimum execution time: 8_579_000 picoseconds. + Weight::from_parts(9_011_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_255_000 picoseconds. - Weight::from_parts(2_388_000, 0) + // Minimum execution time: 2_070_000 picoseconds. + Weight::from_parts(2_183_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,8 +195,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_303_000 picoseconds. - Weight::from_parts(2_785_000, 0) + // Minimum execution time: 1_966_000 picoseconds. + Weight::from_parts(2_168_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +211,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `6624` - // Minimum execution time: 19_574_000 picoseconds. - Weight::from_parts(20_795_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 18_347_000 picoseconds. + Weight::from_parts(18_902_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -222,10 +227,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2298` - // Estimated: `10638` - // Minimum execution time: 21_887_000 picoseconds. - Weight::from_parts(22_261_000, 0) - .saturating_add(Weight::from_parts(0, 10638)) + // Estimated: `5503` + // Minimum execution time: 18_922_000 picoseconds. + Weight::from_parts(20_413_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -240,10 +245,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4886` - // Estimated: `32172` - // Minimum execution time: 61_464_000 picoseconds. - Weight::from_parts(64_657_000, 0) - .saturating_add(Weight::from_parts(0, 32172)) + // Estimated: `16987` + // Minimum execution time: 60_080_000 picoseconds. + Weight::from_parts(65_588_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -255,8 +260,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 13_825_000 picoseconds. - Weight::from_parts(14_327_000, 0) + // Minimum execution time: 12_305_000 picoseconds. + Weight::from_parts(12_986_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -271,12 +276,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 5_123_000 picoseconds. - Weight::from_parts(6_224_848, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 3_715 - .saturating_add(Weight::from_parts(2_202_249, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 4_645_000 picoseconds. + Weight::from_parts(5_545_860, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 5_572 + .saturating_add(Weight::from_parts(2_034_823, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,12 +303,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `24058 + r * (2676 ±0)` - // Minimum execution time: 14_075_000 picoseconds. - Weight::from_parts(9_420_509, 0) - .saturating_add(Weight::from_parts(0, 24058)) - // Standard Error: 8_131 - .saturating_add(Weight::from_parts(2_206_384, 0).saturating_mul(r.into())) + // Estimated: `16987 + r * (2676 ±0)` + // Minimum execution time: 6_970_000 picoseconds. + Weight::from_parts(8_193_890, 0) + .saturating_add(Weight::from_parts(0, 16987)) + // Standard Error: 4_519 + .saturating_add(Weight::from_parts(2_056_540, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -315,17 +320,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `764 + r * (108 ±0)` - // Estimated: `25506 + r * (2676 ±0)` - // Minimum execution time: 27_112_000 picoseconds. - Weight::from_parts(32_346_774, 0) - .saturating_add(Weight::from_parts(0, 25506)) - // Standard Error: 7_726 - .saturating_add(Weight::from_parts(3_236_688, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19764 + r * (2676 ±0)` + // Minimum execution time: 26_926_000 picoseconds. + Weight::from_parts(32_036_547, 0) + .saturating_add(Weight::from_parts(0, 19764)) + // Standard Error: 8_534 + .saturating_add(Weight::from_parts(2_735_368, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -339,12 +346,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (108 ±0)` - // Estimated: `14496 + r * (2676 ±0)` - // Minimum execution time: 14_590_000 picoseconds. - Weight::from_parts(15_613_132, 0) - .saturating_add(Weight::from_parts(0, 14496)) - // Standard Error: 6_426 - .saturating_add(Weight::from_parts(3_195_120, 0).saturating_mul(r.into())) + // Estimated: `13506 + r * (2676 ±0)` + // Minimum execution time: 12_480_000 picoseconds. + Weight::from_parts(14_206_500, 0) + .saturating_add(Weight::from_parts(0, 13506)) + // Standard Error: 5_470 + .saturating_add(Weight::from_parts(2_657_667, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -357,8 +364,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_419_000 picoseconds. - Weight::from_parts(3_214_000, 0) + // Minimum execution time: 2_049_000 picoseconds. + Weight::from_parts(2_203_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -366,38 +373,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `419` - // Estimated: `15581` - // Minimum execution time: 13_505_000 picoseconds. - Weight::from_parts(19_365_275, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 2_445 - .saturating_add(Weight::from_parts(78_356, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 17_120_000 picoseconds. + Weight::from_parts(26_201_990, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_823 + .saturating_add(Weight::from_parts(97_258, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `420 + r * (22 ±0)` - // Estimated: `15581` - // Minimum execution time: 17_067_000 picoseconds. - Weight::from_parts(19_735_923, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 3_324 - .saturating_add(Weight::from_parts(89_789, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 22_037_000 picoseconds. + Weight::from_parts(25_015_331, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_493 + .saturating_add(Weight::from_parts(104_872, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -408,12 +419,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_071_000 picoseconds. - Weight::from_parts(13_359_113, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_800 - .saturating_add(Weight::from_parts(105_632, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 9_996_000 picoseconds. + Weight::from_parts(11_901_446, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_506 + .saturating_add(Weight::from_parts(83_474, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -425,12 +436,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_106_000 picoseconds. - Weight::from_parts(13_739_484, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_794 - .saturating_add(Weight::from_parts(96_907, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 9_924_000 picoseconds. + Weight::from_parts(11_901_331, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_410 + .saturating_add(Weight::from_parts(82_685, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,10 +454,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `5161` - // Minimum execution time: 12_819_000 picoseconds. - Weight::from_parts(13_253_000, 0) - .saturating_add(Weight::from_parts(0, 5161)) + // Estimated: `3544` + // Minimum execution time: 12_616_000 picoseconds. + Weight::from_parts(13_118_000, 0) + .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -457,10 +468,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `5135` - // Minimum execution time: 11_384_000 picoseconds. - Weight::from_parts(11_910_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 11_036_000 picoseconds. + Weight::from_parts(11_505_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -473,10 +484,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3655` - // Estimated: `20531` - // Minimum execution time: 29_788_000 picoseconds. - Weight::from_parts(33_665_000, 0) - .saturating_add(Weight::from_parts(0, 20531)) + // Estimated: `16987` + // Minimum execution time: 27_614_000 picoseconds. + Weight::from_parts(29_018_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -487,10 +498,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3589` - // Estimated: `20505` - // Minimum execution time: 27_866_000 picoseconds. - Weight::from_parts(29_991_000, 0) - .saturating_add(Weight::from_parts(0, 20505)) + // Estimated: `16987` + // Minimum execution time: 24_479_000 picoseconds. + Weight::from_parts(27_534_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -502,8 +513,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 10_326_000 picoseconds. - Weight::from_parts(11_161_000, 0) + // Minimum execution time: 9_973_000 picoseconds. + Weight::from_parts(10_245_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -515,10 +526,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `7184` - // Minimum execution time: 12_908_000 picoseconds. - Weight::from_parts(13_564_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 12_066_000 picoseconds. + Weight::from_parts(12_669_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_elections_phragmen.rs b/runtime/darwinia/src/weights/pallet_elections_phragmen.rs index 0e574099a..b03803772 100644 --- a/runtime/darwinia/src/weights/pallet_elections_phragmen.rs +++ b/runtime/darwinia/src/weights/pallet_elections_phragmen.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -67,19 +68,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14288 + v * (224 ±0)` - // Minimum execution time: 19_660_000 picoseconds. - Weight::from_parts(20_379_421, 0) - .saturating_add(Weight::from_parts(0, 14288)) - // Standard Error: 13_663 - .saturating_add(Weight::from_parts(220_825, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 21_505_000 picoseconds. + Weight::from_parts(23_425_557, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 5_483 + .saturating_add(Weight::from_parts(128_428, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -91,19 +94,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385 + v * (56 ±0)` - // Estimated: `14212 + v * (224 ±0)` - // Minimum execution time: 27_349_000 picoseconds. - Weight::from_parts(27_110_638, 0) - .saturating_add(Weight::from_parts(0, 14212)) - // Standard Error: 36_021 - .saturating_add(Weight::from_parts(390_120, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 30_431_000 picoseconds. + Weight::from_parts(32_539_224, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 8_779 + .saturating_add(Weight::from_parts(210_605, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -115,32 +120,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14292 + v * (224 ±0)` - // Minimum execution time: 27_257_000 picoseconds. - Weight::from_parts(28_435_377, 0) - .saturating_add(Weight::from_parts(0, 14292)) - // Standard Error: 8_707 - .saturating_add(Weight::from_parts(181_212, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 30_832_000 picoseconds. + Weight::from_parts(32_684_361, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 10_849 + .saturating_add(Weight::from_parts(216_958, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `735` - // Estimated: `8952` - // Minimum execution time: 25_720_000 picoseconds. - Weight::from_parts(27_301_000, 0) - .saturating_add(Weight::from_parts(0, 8952)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 34_508_000 picoseconds. + Weight::from_parts(37_110_000, 0) + .saturating_add(Weight::from_parts(0, 4752)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -153,15 +162,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1116 + c * (36 ±0)` - // Estimated: `7776 + c * (111 ±0)` - // Minimum execution time: 23_073_000 picoseconds. - Weight::from_parts(24_800_815, 0) - .saturating_add(Weight::from_parts(0, 7776)) - // Standard Error: 4_568 - .saturating_add(Weight::from_parts(71_475, 0).saturating_mul(c.into())) + // Estimated: `2592 + c * (37 ±0)` + // Minimum execution time: 24_085_000 picoseconds. + Weight::from_parts(26_999_315, 0) + .saturating_add(Weight::from_parts(0, 2592)) + // Standard Error: 5_030 + .saturating_add(Weight::from_parts(71_309, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 111).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -170,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `375 + c * (38 ±0)` // Estimated: `1857 + c * (39 ±0)` - // Minimum execution time: 20_545_000 picoseconds. - Weight::from_parts(23_083_144, 0) + // Minimum execution time: 21_679_000 picoseconds. + Weight::from_parts(24_723_927, 0) .saturating_add(Weight::from_parts(0, 1857)) - // Standard Error: 6_729 - .saturating_add(Weight::from_parts(51_366, 0).saturating_mul(c.into())) + // Standard Error: 4_993 + .saturating_add(Weight::from_parts(70_424, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -192,10 +201,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1174` - // Estimated: `11810` - // Minimum execution time: 29_965_000 picoseconds. - Weight::from_parts(32_150_000, 0) - .saturating_add(Weight::from_parts(0, 11810)) + // Estimated: `2659` + // Minimum execution time: 29_701_000 picoseconds. + Weight::from_parts(32_179_000, 0) + .saturating_add(Weight::from_parts(0, 2659)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -205,8 +214,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `700` // Estimated: `2185` - // Minimum execution time: 21_189_000 picoseconds. - Weight::from_parts(23_416_000, 0) + // Minimum execution time: 22_278_000 picoseconds. + Weight::from_parts(23_941_000, 0) .saturating_add(Weight::from_parts(0, 2185)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,10 +245,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1369` - // Estimated: `18957` - // Minimum execution time: 44_902_000 picoseconds. - Weight::from_parts(47_998_000, 0) - .saturating_add(Weight::from_parts(0, 18957)) + // Estimated: `6172` + // Minimum execution time: 49_182_000 picoseconds. + Weight::from_parts(53_008_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -253,6 +262,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:300 w:300) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:300 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:300 w:300) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `v` is `[150, 300]`. @@ -260,16 +271,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `939 + v * (582 ±0)` - // Estimated: `13736 + v * (11160 ±0)` - // Minimum execution time: 6_465_999_000 picoseconds. - Weight::from_parts(6_599_155_000, 0) - .saturating_add(Weight::from_parts(0, 13736)) - // Standard Error: 187_917 - .saturating_add(Weight::from_parts(27_272_440, 0).saturating_mul(v.into())) + // Estimated: `4424 + v * (3762 ±0)` + // Minimum execution time: 7_517_420_000 picoseconds. + Weight::from_parts(7_808_159_000, 0) + .saturating_add(Weight::from_parts(0, 4424)) + // Standard Error: 218_225 + .saturating_add(Weight::from_parts(31_925_129, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 11160).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3762).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -294,24 +305,24 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (3085 ±0) + v * (400 ±0) + e * (18 ±0)` - // Estimated: `141744 + v * (3891 ±6) + e * (35 ±0) + c * (1738 ±10)` - // Minimum execution time: 458_509_000 picoseconds. - Weight::from_parts(467_410_000, 0) - .saturating_add(Weight::from_parts(0, 141744)) - // Standard Error: 2_265_614 - .saturating_add(Weight::from_parts(13_528_961, 0).saturating_mul(c.into())) - // Standard Error: 225_568 - .saturating_add(Weight::from_parts(6_793_056, 0).saturating_mul(v.into())) - // Standard Error: 14_470 - .saturating_add(Weight::from_parts(175_382, 0).saturating_mul(e.into())) + // Measured: `0 + c * (3085 ±0) + e * (18 ±0) + v * (400 ±0)` + // Estimated: `84019 + c * (1738 ±10) + e * (5 ±0) + v * (2547 ±4)` + // Minimum execution time: 484_550_000 picoseconds. + Weight::from_parts(497_854_000, 0) + .saturating_add(Weight::from_parts(0, 84019)) + // Standard Error: 2_150_057 + .saturating_add(Weight::from_parts(14_758_287, 0).saturating_mul(c.into())) + // Standard Error: 214_063 + .saturating_add(Weight::from_parts(6_475_351, 0).saturating_mul(v.into())) + // Standard Error: 13_732 + .saturating_add(Weight::from_parts(158_557, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 3891).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 1738).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2547).saturating_mul(v.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_fee_market.rs b/runtime/darwinia/src/weights/pallet_fee_market.rs index 7fd1f8e23..f28d41b9a 100644 --- a/runtime/darwinia/src/weights/pallet_fee_market.rs +++ b/runtime/darwinia/src/weights/pallet_fee_market.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); @@ -63,6 +64,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: CrabFeeMarket RelayersMap (r:10 w:1) /// Proof Skipped: CrabFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: CrabFeeMarket Orders (r:1 w:0) @@ -74,11 +77,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1649` - // Estimated: `48753` - // Minimum execution time: 84_750_000 picoseconds. - Weight::from_parts(86_957_000, 0) - .saturating_add(Weight::from_parts(0, 48753)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27389` + // Minimum execution time: 89_683_000 picoseconds. + Weight::from_parts(90_913_000, 0) + .saturating_add(Weight::from_parts(0, 27389)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: CrabFeeMarket Relayers (r:1 w:0) @@ -89,6 +92,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: CrabFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: CrabFeeMarket Orders (r:1 w:0) /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: CrabFeeMarket AssignedRelayersNumber (r:1 w:0) @@ -98,11 +103,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` - // Estimated: `49113` - // Minimum execution time: 80_678_000 picoseconds. - Weight::from_parts(82_569_000, 0) - .saturating_add(Weight::from_parts(0, 49113)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27461` + // Minimum execution time: 81_180_000 picoseconds. + Weight::from_parts(86_373_000, 0) + .saturating_add(Weight::from_parts(0, 27461)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: CrabFeeMarket Relayers (r:1 w:0) @@ -115,6 +120,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: CrabFeeMarket AssignedRelayersNumber (r:1 w:0) /// Proof Skipped: CrabFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) /// Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) @@ -122,11 +129,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` - // Estimated: `49113` - // Minimum execution time: 91_325_000 picoseconds. - Weight::from_parts(94_458_000, 0) - .saturating_add(Weight::from_parts(0, 49113)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27461` + // Minimum execution time: 103_588_000 picoseconds. + Weight::from_parts(107_039_000, 0) + .saturating_add(Weight::from_parts(0, 27461)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: CrabFeeMarket Relayers (r:1 w:0) @@ -142,10 +149,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1302` - // Estimated: `38685` - // Minimum execution time: 69_130_000 picoseconds. - Weight::from_parts(70_890_000, 0) - .saturating_add(Weight::from_parts(0, 38685)) + // Estimated: `27042` + // Minimum execution time: 63_250_000 picoseconds. + Weight::from_parts(65_712_000, 0) + .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -155,6 +162,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: CrabFeeMarket AssignedRelayers (r:1 w:1) @@ -166,11 +175,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1788` - // Estimated: `48458` - // Minimum execution time: 82_240_000 picoseconds. - Weight::from_parts(84_843_000, 0) - .saturating_add(Weight::from_parts(0, 48458)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `25053` + // Minimum execution time: 87_268_000 picoseconds. + Weight::from_parts(88_773_000, 0) + .saturating_add(Weight::from_parts(0, 25053)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: CrabFeeMarket CollateralSlashProtect (r:0 w:1) @@ -179,8 +188,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_265_000 picoseconds. - Weight::from_parts(5_557_000, 0) + // Minimum execution time: 4_616_000 picoseconds. + Weight::from_parts(4_823_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,10 +206,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1302` - // Estimated: `37200` - // Minimum execution time: 66_904_000 picoseconds. - Weight::from_parts(68_967_000, 0) - .saturating_add(Weight::from_parts(0, 37200)) + // Estimated: `27042` + // Minimum execution time: 64_735_000 picoseconds. + Weight::from_parts(66_603_000, 0) + .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_identity.rs b/runtime/darwinia/src/weights/pallet_identity.rs index 1fce2c7a1..957690ce3 100644 --- a/runtime/darwinia/src/weights/pallet_identity.rs +++ b/runtime/darwinia/src/weights/pallet_identity.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 8_430_000 picoseconds. - Weight::from_parts(8_973_608, 0) + // Minimum execution time: 7_842_000 picoseconds. + Weight::from_parts(8_657_122, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 4_069 - .saturating_add(Weight::from_parts(132_908, 0).saturating_mul(r.into())) + // Standard Error: 2_905 + .saturating_add(Weight::from_parts(72_203, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,13 +81,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 23_234_000 picoseconds. - Weight::from_parts(20_182_311, 0) + // Minimum execution time: 22_838_000 picoseconds. + Weight::from_parts(21_813_170, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 16_975 - .saturating_add(Weight::from_parts(255_174, 0).saturating_mul(r.into())) - // Standard Error: 3_312 - .saturating_add(Weight::from_parts(424_251, 0).saturating_mul(x.into())) + // Standard Error: 9_461 + .saturating_add(Weight::from_parts(202_158, 0).saturating_mul(r.into())) + // Standard Error: 1_846 + .saturating_add(Weight::from_parts(385_111, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,12 +101,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` - // Estimated: `17492 + s * (2565 ±0)` - // Minimum execution time: 6_095_000 picoseconds. - Weight::from_parts(15_549_089, 0) - .saturating_add(Weight::from_parts(0, 17492)) - // Standard Error: 3_654 - .saturating_add(Weight::from_parts(2_411_087, 0).saturating_mul(s.into())) + // Estimated: `10991 + s * (2565 ±0)` + // Minimum execution time: 5_858_000 picoseconds. + Weight::from_parts(16_930_663, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 4_903 + .saturating_add(Weight::from_parts(2_338_923, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,12 +123,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` - // Estimated: `16502` - // Minimum execution time: 5_762_000 picoseconds. - Weight::from_parts(14_662_409, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 2_827 - .saturating_add(Weight::from_parts(984_740, 0).saturating_mul(p.into())) + // Estimated: `10991` + // Minimum execution time: 5_844_000 picoseconds. + Weight::from_parts(17_036_647, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 3_500 + .saturating_add(Weight::from_parts(939_863, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -144,16 +145,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `16502` - // Minimum execution time: 43_268_000 picoseconds. - Weight::from_parts(21_040_152, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 12_293 - .saturating_add(Weight::from_parts(199_555, 0).saturating_mul(r.into())) - // Standard Error: 2_400 - .saturating_add(Weight::from_parts(956_620, 0).saturating_mul(s.into())) - // Standard Error: 2_400 - .saturating_add(Weight::from_parts(229_101, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 43_674_000 picoseconds. + Weight::from_parts(23_675_746, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 13_124 + .saturating_add(Weight::from_parts(215_902, 0).saturating_mul(r.into())) + // Standard Error: 2_562 + .saturating_add(Weight::from_parts(925_255, 0).saturating_mul(s.into())) + // Standard Error: 2_562 + .saturating_add(Weight::from_parts(213_303, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -167,14 +168,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 23_312_000 picoseconds. - Weight::from_parts(23_393_148, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 20_611 - .saturating_add(Weight::from_parts(66_101, 0).saturating_mul(r.into())) - // Standard Error: 4_021 - .saturating_add(Weight::from_parts(424_955, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 23_277_000 picoseconds. + Weight::from_parts(22_587_610, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 10_576 + .saturating_add(Weight::from_parts(117_101, 0).saturating_mul(r.into())) + // Standard Error: 2_063 + .saturating_add(Weight::from_parts(395_625, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +187,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_856_000 picoseconds. - Weight::from_parts(18_697_260, 0) + // Minimum execution time: 21_387_000 picoseconds. + Weight::from_parts(20_046_699, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 8_153 - .saturating_add(Weight::from_parts(177_532, 0).saturating_mul(r.into())) - // Standard Error: 1_590 - .saturating_add(Weight::from_parts(429_755, 0).saturating_mul(x.into())) + // Standard Error: 7_089 + .saturating_add(Weight::from_parts(127_553, 0).saturating_mul(r.into())) + // Standard Error: 1_383 + .saturating_add(Weight::from_parts(400_952, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,11 +204,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_498_000 picoseconds. - Weight::from_parts(5_897_270, 0) + // Minimum execution time: 4_757_000 picoseconds. + Weight::from_parts(5_260_919, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_673 - .saturating_add(Weight::from_parts(97_487, 0).saturating_mul(r.into())) + // Standard Error: 1_385 + .saturating_add(Weight::from_parts(63_244, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +219,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_087_000 picoseconds. - Weight::from_parts(5_641_269, 0) + // Minimum execution time: 4_463_000 picoseconds. + Weight::from_parts(4_853_158, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 5_576 - .saturating_add(Weight::from_parts(96_713, 0).saturating_mul(r.into())) + // Standard Error: 1_456 + .saturating_add(Weight::from_parts(57_299, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -233,11 +234,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_989_000 picoseconds. - Weight::from_parts(5_432_133, 0) + // Minimum execution time: 4_175_000 picoseconds. + Weight::from_parts(4_730_480, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_279 - .saturating_add(Weight::from_parts(100_045, 0).saturating_mul(r.into())) + // Standard Error: 1_155 + .saturating_add(Weight::from_parts(58_141, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -247,15 +248,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_r: u32, x: u32, ) -> Weight { + fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 16_794_000 picoseconds. - Weight::from_parts(20_436_993, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 5_405 - .saturating_add(Weight::from_parts(663_549, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 14_354_000 picoseconds. + Weight::from_parts(15_085_696, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 7_526 + .saturating_add(Weight::from_parts(77_444, 0).saturating_mul(r.into())) + // Standard Error: 1_392 + .saturating_add(Weight::from_parts(617_748, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -273,16 +276,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `22674` - // Minimum execution time: 56_031_000 picoseconds. - Weight::from_parts(32_580_908, 0) - .saturating_add(Weight::from_parts(0, 22674)) - // Standard Error: 15_071 - .saturating_add(Weight::from_parts(358_486, 0).saturating_mul(r.into())) - // Standard Error: 2_943 - .saturating_add(Weight::from_parts(967_561, 0).saturating_mul(s.into())) - // Standard Error: 2_943 - .saturating_add(Weight::from_parts(236_474, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 55_537_000 picoseconds. + Weight::from_parts(38_109_879, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 15_110 + .saturating_add(Weight::from_parts(313_049, 0).saturating_mul(r.into())) + // Standard Error: 2_950 + .saturating_add(Weight::from_parts(909_918, 0).saturating_mul(s.into())) + // Standard Error: 2_950 + .saturating_add(Weight::from_parts(211_748, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -297,12 +300,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` - // Estimated: `20057` - // Minimum execution time: 19_213_000 picoseconds. - Weight::from_parts(23_686_732, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 5_858 - .saturating_add(Weight::from_parts(69_070, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 19_235_000 picoseconds. + Weight::from_parts(23_419_205, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_842 + .saturating_add(Weight::from_parts(51_166, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -314,12 +317,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` - // Estimated: `14546` - // Minimum execution time: 8_395_000 picoseconds. - Weight::from_parts(11_009_976, 0) - .saturating_add(Weight::from_parts(0, 14546)) - // Standard Error: 3_359 - .saturating_add(Weight::from_parts(26_436, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 7_738_000 picoseconds. + Weight::from_parts(9_492_097, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_144 + .saturating_add(Weight::from_parts(31_984, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -333,12 +336,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` - // Estimated: `20057` - // Minimum execution time: 20_967_000 picoseconds. - Weight::from_parts(25_987_322, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 6_666 - .saturating_add(Weight::from_parts(56_914, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 22_609_000 picoseconds. + Weight::from_parts(24_687_217, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 2_186 + .saturating_add(Weight::from_parts(58_758, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -346,17 +349,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + s * (24 ±0)` - // Estimated: `9066` - // Minimum execution time: 13_496_000 picoseconds. - Weight::from_parts(15_860_692, 0) - .saturating_add(Weight::from_parts(0, 9066)) - // Standard Error: 2_633 - .saturating_add(Weight::from_parts(63_873, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `622 + s * (24 ±0)` + // Estimated: `5511` + // Minimum execution time: 14_737_000 picoseconds. + Weight::from_parts(16_956_281, 0) + .saturating_add(Weight::from_parts(0, 5511)) + // Standard Error: 1_643 + .saturating_add(Weight::from_parts(49_574, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/darwinia/src/weights/pallet_membership.rs b/runtime/darwinia/src/weights/pallet_membership.rs index ece6757da..2fc9b684a 100644 --- a/runtime/darwinia/src/weights/pallet_membership.rs +++ b/runtime/darwinia/src/weights/pallet_membership.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -69,15 +70,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (40 ±0)` - // Estimated: `5377 + m * (120 ±0)` - // Minimum execution time: 10_671_000 picoseconds. - Weight::from_parts(12_104_354, 0) - .saturating_add(Weight::from_parts(0, 5377)) - // Standard Error: 1_339 - .saturating_add(Weight::from_parts(19_397, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 10_051_000 picoseconds. + Weight::from_parts(11_203_455, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 1_414 + .saturating_add(Weight::from_parts(11_801, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -93,15 +94,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_868_000 picoseconds. - Weight::from_parts(14_186_545, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 5_636 - .saturating_add(Weight::from_parts(29_602, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_036_000 picoseconds. + Weight::from_parts(13_009_534, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(10_318, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -117,15 +118,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_884_000 picoseconds. - Weight::from_parts(14_472_734, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 2_966 - .saturating_add(Weight::from_parts(23_103, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 11_975_000 picoseconds. + Weight::from_parts(13_138_294, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 1_111 + .saturating_add(Weight::from_parts(21_222, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -141,15 +142,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_418_000 picoseconds. - Weight::from_parts(15_154_198, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 6_153 - .saturating_add(Weight::from_parts(91_198, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_015_000 picoseconds. + Weight::from_parts(13_782_528, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 1_211 + .saturating_add(Weight::from_parts(72_925, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -165,15 +166,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 13_177_000 picoseconds. - Weight::from_parts(14_808_649, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 3_589 - .saturating_add(Weight::from_parts(28_216, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_583_000 picoseconds. + Weight::from_parts(13_770_491, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 745 + .saturating_add(Weight::from_parts(12_264, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -185,12 +186,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` - // Estimated: `3518 + m * (20 ±0)` - // Minimum execution time: 4_920_000 picoseconds. - Weight::from_parts(5_641_837, 0) - .saturating_add(Weight::from_parts(0, 3518)) - // Standard Error: 469 - .saturating_add(Weight::from_parts(6_777, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (20 ±0)` + // Minimum execution time: 4_871_000 picoseconds. + Weight::from_parts(5_538_072, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 302 + .saturating_add(Weight::from_parts(4_718, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) @@ -200,13 +201,15 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_055_000 picoseconds. - Weight::from_parts(2_801_094, 0) + // Minimum execution time: 1_914_000 picoseconds. + Weight::from_parts(2_215_119, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 163 + .saturating_add(Weight::from_parts(92, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/darwinia/src/weights/pallet_preimage.rs b/runtime/darwinia/src/weights/pallet_preimage.rs index fcb2a5c0a..16602f6f3 100644 --- a/runtime/darwinia/src/weights/pallet_preimage.rs +++ b/runtime/darwinia/src/weights/pallet_preimage.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -66,11 +67,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 19_274_000 picoseconds. - Weight::from_parts(19_696_000, 0) + // Minimum execution time: 21_798_000 picoseconds. + Weight::from_parts(22_170_000, 0) .saturating_add(Weight::from_parts(0, 3544)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_450, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_419, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +84,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_716_000 picoseconds. - Weight::from_parts(11_919_000, 0) + // Minimum execution time: 10_743_000 picoseconds. + Weight::from_parts(10_825_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_460, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +101,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_866_000 picoseconds. - Weight::from_parts(11_205_000, 0) + // Minimum execution time: 10_786_000 picoseconds. + Weight::from_parts(11_121_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_424, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_305, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 33_040_000 picoseconds. - Weight::from_parts(36_238_000, 0) + // Minimum execution time: 33_278_000 picoseconds. + Weight::from_parts(39_734_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +131,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 23_221_000 picoseconds. - Weight::from_parts(25_299_000, 0) + // Minimum execution time: 17_993_000 picoseconds. + Weight::from_parts(22_864_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -142,8 +143,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 20_704_000 picoseconds. - Weight::from_parts(22_346_000, 0) + // Minimum execution time: 16_597_000 picoseconds. + Weight::from_parts(20_973_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +155,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 13_839_000 picoseconds. - Weight::from_parts(16_051_000, 0) + // Minimum execution time: 9_761_000 picoseconds. + Weight::from_parts(11_944_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 13_491_000 picoseconds. - Weight::from_parts(16_143_000, 0) + // Minimum execution time: 12_136_000 picoseconds. + Weight::from_parts(15_296_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_380_000 picoseconds. - Weight::from_parts(8_834_000, 0) + // Minimum execution time: 6_742_000 picoseconds. + Weight::from_parts(7_506_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +193,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 20_272_000 picoseconds. - Weight::from_parts(24_745_000, 0) + // Minimum execution time: 18_027_000 picoseconds. + Weight::from_parts(21_647_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -204,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_524_000 picoseconds. - Weight::from_parts(9_131_000, 0) + // Minimum execution time: 6_707_000 picoseconds. + Weight::from_parts(7_418_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,8 +217,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_521_000 picoseconds. - Weight::from_parts(9_241_000, 0) + // Minimum execution time: 6_830_000 picoseconds. + Weight::from_parts(7_423_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/darwinia/src/weights/pallet_proxy.rs b/runtime/darwinia/src/weights/pallet_proxy.rs index 586a2a62e..98105b422 100644 --- a/runtime/darwinia/src/weights/pallet_proxy.rs +++ b/runtime/darwinia/src/weights/pallet_proxy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 10_116_000 picoseconds. - Weight::from_parts(10_722_865, 0) + // Minimum execution time: 9_632_000 picoseconds. + Weight::from_parts(10_221_481, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 9_714 - .saturating_add(Weight::from_parts(53_629, 0).saturating_mul(p.into())) + // Standard Error: 2_095 + .saturating_add(Weight::from_parts(35_720, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -82,14 +83,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 23_072_000 picoseconds. - Weight::from_parts(23_404_951, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 7_296 - .saturating_add(Weight::from_parts(180_904, 0).saturating_mul(a.into())) - // Standard Error: 7_539 - .saturating_add(Weight::from_parts(72_102, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 24_865_000 picoseconds. + Weight::from_parts(25_507_421, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 4_046 + .saturating_add(Weight::from_parts(127_375, 0).saturating_mul(a.into())) + // Standard Error: 4_180 + .saturating_add(Weight::from_parts(39_062, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,14 +103,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_573_000 picoseconds. - Weight::from_parts(15_449_865, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 3_575 - .saturating_add(Weight::from_parts(148_540, 0).saturating_mul(a.into())) - // Standard Error: 3_694 - .saturating_add(Weight::from_parts(17_473, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 15_617_000 picoseconds. + Weight::from_parts(17_086_136, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 2_582 + .saturating_add(Weight::from_parts(117_978, 0).saturating_mul(a.into())) + // Standard Error: 2_668 + .saturating_add(Weight::from_parts(9_187, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -122,14 +123,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_207_000 picoseconds. - Weight::from_parts(15_464_710, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 3_427 - .saturating_add(Weight::from_parts(146_699, 0).saturating_mul(a.into())) - // Standard Error: 3_541 - .saturating_add(Weight::from_parts(19_046, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 15_627_000 picoseconds. + Weight::from_parts(17_213_779, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 2_559 + .saturating_add(Weight::from_parts(115_624, 0).saturating_mul(a.into())) + // Standard Error: 2_644 + .saturating_add(Weight::from_parts(6_004, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,14 +145,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 20_741_000 picoseconds. - Weight::from_parts(22_257_680, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 4_384 - .saturating_add(Weight::from_parts(159_481, 0).saturating_mul(a.into())) - // Standard Error: 4_530 - .saturating_add(Weight::from_parts(23_322, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 21_785_000 picoseconds. + Weight::from_parts(22_233_432, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 3_361 + .saturating_add(Weight::from_parts(138_345, 0).saturating_mul(a.into())) + // Standard Error: 3_473 + .saturating_add(Weight::from_parts(46_585, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -162,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_802_000 picoseconds. - Weight::from_parts(17_002_956, 0) + // Minimum execution time: 16_340_000 picoseconds. + Weight::from_parts(17_638_034, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 10_213 - .saturating_add(Weight::from_parts(58_635, 0).saturating_mul(p.into())) + // Standard Error: 3_566 + .saturating_add(Weight::from_parts(48_624, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_581_000 picoseconds. - Weight::from_parts(16_801_078, 0) + // Minimum execution time: 16_575_000 picoseconds. + Weight::from_parts(18_299_954, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 9_041 - .saturating_add(Weight::from_parts(75_458, 0).saturating_mul(p.into())) + // Standard Error: 3_672 + .saturating_add(Weight::from_parts(27_134, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_444_000 picoseconds. - Weight::from_parts(13_708_257, 0) + // Minimum execution time: 14_788_000 picoseconds. + Weight::from_parts(16_638_043, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 11_974 - .saturating_add(Weight::from_parts(37_805, 0).saturating_mul(p.into())) + // Standard Error: 4_984 + .saturating_add(Weight::from_parts(12_163, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -207,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 17_328_000 picoseconds. - Weight::from_parts(18_345_399, 0) + // Minimum execution time: 17_752_000 picoseconds. + Weight::from_parts(19_131_718, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 14_465 - .saturating_add(Weight::from_parts(51_736, 0).saturating_mul(p.into())) + // Standard Error: 3_705 + .saturating_add(Weight::from_parts(40_922, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -222,11 +223,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_995_000 picoseconds. - Weight::from_parts(13_611_951, 0) + // Minimum execution time: 15_070_000 picoseconds. + Weight::from_parts(16_888_315, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 10_790 - .saturating_add(Weight::from_parts(68_920, 0).saturating_mul(p.into())) + // Standard Error: 3_635 + .saturating_add(Weight::from_parts(27_630, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_scheduler.rs b/runtime/darwinia/src/weights/pallet_scheduler.rs index 54e3c1f30..894b799e8 100644 --- a/runtime/darwinia/src/weights/pallet_scheduler.rs +++ b/runtime/darwinia/src/weights/pallet_scheduler.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_917_000 picoseconds. - Weight::from_parts(3_115_000, 0) + // Minimum execution time: 2_753_000 picoseconds. + Weight::from_parts(2_948_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,11 +77,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_796_000 picoseconds. - Weight::from_parts(4_854_969, 0) + // Minimum execution time: 2_666_000 picoseconds. + Weight::from_parts(4_477_068, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_226 - .saturating_add(Weight::from_parts(556_171, 0).saturating_mul(s.into())) + // Standard Error: 2_037 + .saturating_add(Weight::from_parts(458_285, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,8 +89,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_844_000 picoseconds. - Weight::from_parts(4_066_000, 0) + // Minimum execution time: 3_537_000 picoseconds. + Weight::from_parts(3_705_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -100,12 +101,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7188 + s * (1 ±0)` - // Minimum execution time: 14_246_000 picoseconds. - Weight::from_parts(14_718_000, 0) - .saturating_add(Weight::from_parts(0, 7188)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(890, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 13_664_000 picoseconds. + Weight::from_parts(13_904_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(668, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -116,8 +117,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_841_000 picoseconds. - Weight::from_parts(5_098_000, 0) + // Minimum execution time: 4_246_000 picoseconds. + Weight::from_parts(4_445_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,24 +126,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_942_000 picoseconds. - Weight::from_parts(4_080_000, 0) + // Minimum execution time: 3_326_000 picoseconds. + Weight::from_parts(3_495_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_928_000 picoseconds. - Weight::from_parts(2_134_000, 0) + // Minimum execution time: 1_705_000 picoseconds. + Weight::from_parts(1_857_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_008_000 picoseconds. - Weight::from_parts(2_080_000, 0) + // Minimum execution time: 1_656_000 picoseconds. + Weight::from_parts(1_767_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -152,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_983_000 picoseconds. - Weight::from_parts(12_718_644, 0) + // Minimum execution time: 8_298_000 picoseconds. + Weight::from_parts(9_857_641, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 10_011 - .saturating_add(Weight::from_parts(555_467, 0).saturating_mul(s.into())) + // Standard Error: 4_039 + .saturating_add(Weight::from_parts(498_547, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_778_000 picoseconds. - Weight::from_parts(12_868_800, 0) + // Minimum execution time: 11_277_000 picoseconds. + Weight::from_parts(10_836_413, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 11_018 - .saturating_add(Weight::from_parts(992_099, 0).saturating_mul(s.into())) + // Standard Error: 4_977 + .saturating_add(Weight::from_parts(878_339, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,12 +186,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 11_279_000 picoseconds. - Weight::from_parts(14_077_477, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 5_435 - .saturating_add(Weight::from_parts(620_819, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 10_209_000 picoseconds. + Weight::from_parts(13_134_654, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 4_046 + .saturating_add(Weight::from_parts(497_632, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,12 +203,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 12_973_000 picoseconds. - Weight::from_parts(13_486_044, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 9_306 - .saturating_add(Weight::from_parts(1_047_582, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 12_613_000 picoseconds. + Weight::from_parts(12_975_605, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 4_310 + .saturating_add(Weight::from_parts(864_602, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_session.rs b/runtime/darwinia/src/weights/pallet_session.rs index cd5dffd00..e5c2d24b3 100644 --- a/runtime/darwinia/src/weights/pallet_session.rs +++ b/runtime/darwinia/src/weights/pallet_session.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -63,11 +64,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `7564` - // Minimum execution time: 10_972_000 picoseconds. - Weight::from_parts(11_295_000, 0) - .saturating_add(Weight::from_parts(0, 7564)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 10_484_000 picoseconds. + Weight::from_parts(10_875_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,11 +78,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `299` - // Estimated: `4063` - // Minimum execution time: 8_247_000 picoseconds. - Weight::from_parts(9_098_000, 0) - .saturating_add(Weight::from_parts(0, 4063)) + // Measured: `228` + // Estimated: `3693` + // Minimum execution time: 7_385_000 picoseconds. + Weight::from_parts(7_818_000, 0) + .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_timestamp.rs b/runtime/darwinia/src/weights/pallet_timestamp.rs index 7022553dd..5ff627034 100644 --- a/runtime/darwinia/src/weights/pallet_timestamp.rs +++ b/runtime/darwinia/src/weights/pallet_timestamp.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 4_576_000 picoseconds. - Weight::from_parts(4_843_000, 0) + // Minimum execution time: 4_628_000 picoseconds. + Weight::from_parts(4_990_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +74,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 3_052_000 picoseconds. - Weight::from_parts(3_244_000, 0) + // Minimum execution time: 2_958_000 picoseconds. + Weight::from_parts(3_177_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/darwinia/src/weights/pallet_tips.rs b/runtime/darwinia/src/weights/pallet_tips.rs index 7da29400c..6822bb003 100644 --- a/runtime/darwinia/src/weights/pallet_tips.rs +++ b/runtime/darwinia/src/weights/pallet_tips.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -65,12 +66,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 17_693_000 picoseconds. - Weight::from_parts(18_695_621, 0) - .saturating_add(Weight::from_parts(0, 6938)) - // Standard Error: 21 - .saturating_add(Weight::from_parts(922, 0).saturating_mul(r.into())) + // Estimated: `3469` + // Minimum execution time: 20_260_000 picoseconds. + Weight::from_parts(21_240_211, 0) + .saturating_add(Weight::from_parts(0, 3469)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(950, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,10 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `197` - // Estimated: `3859` - // Minimum execution time: 17_066_000 picoseconds. - Weight::from_parts(18_360_000, 0) - .saturating_add(Weight::from_parts(0, 3859)) + // Estimated: `3662` + // Minimum execution time: 19_970_000 picoseconds. + Weight::from_parts(20_829_000, 0) + .saturating_add(Weight::from_parts(0, 3662)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,17 +100,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + t * (52 ±0)` - // Estimated: `5271 + t * (156 ±0)` - // Minimum execution time: 13_055_000 picoseconds. - Weight::from_parts(12_123_156, 0) - .saturating_add(Weight::from_parts(0, 5271)) + // Estimated: `3572 + t * (52 ±0)` + // Minimum execution time: 12_744_000 picoseconds. + Weight::from_parts(12_569_989, 0) + .saturating_add(Weight::from_parts(0, 3572)) // Standard Error: 5 - .saturating_add(Weight::from_parts(914, 0).saturating_mul(r.into())) - // Standard Error: 13_709 - .saturating_add(Weight::from_parts(284_700, 0).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(873, 0).saturating_mul(r.into())) + // Standard Error: 13_570 + .saturating_add(Weight::from_parts(172_287, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 156).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -119,15 +120,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305 + t * (88 ±0)` - // Estimated: `5558 + t * (176 ±0)` - // Minimum execution time: 10_746_000 picoseconds. - Weight::from_parts(11_216_799, 0) - .saturating_add(Weight::from_parts(0, 5558)) - // Standard Error: 5_111 - .saturating_add(Weight::from_parts(151_516, 0).saturating_mul(t.into())) + // Estimated: `3769 + t * (88 ±0)` + // Minimum execution time: 9_959_000 picoseconds. + Weight::from_parts(10_823_861, 0) + .saturating_add(Weight::from_parts(0, 3769)) + // Standard Error: 6_370 + .saturating_add(Weight::from_parts(72_260, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 176).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 88).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -141,28 +142,30 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + t * (88 ±0)` - // Estimated: `12484 + t * (270 ±0)` - // Minimum execution time: 33_959_000 picoseconds. - Weight::from_parts(35_711_275, 0) - .saturating_add(Weight::from_parts(0, 12484)) - // Standard Error: 21_319 - .saturating_add(Weight::from_parts(248_662, 0).saturating_mul(t.into())) + // Estimated: `6172 + t * (90 ±0)` + // Minimum execution time: 43_366_000 picoseconds. + Weight::from_parts(46_817_301, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 15_434 + .saturating_add(Weight::from_parts(18_089, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 270).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) /// Storage: Tips Reasons (r:0 w:1) /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[1, 7]`. - fn slash_tip(_t: u32, ) -> Weight { + fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `3931` - // Minimum execution time: 9_898_000 picoseconds. - Weight::from_parts(10_681_109, 0) - .saturating_add(Weight::from_parts(0, 3931)) + // Estimated: `3698` + // Minimum execution time: 8_929_000 picoseconds. + Weight::from_parts(9_865_686, 0) + .saturating_add(Weight::from_parts(0, 3698)) + // Standard Error: 6_875 + .saturating_add(Weight::from_parts(31_951, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_treasury.rs b/runtime/darwinia/src/weights/pallet_treasury.rs index 3b7a9f50c..7e7891c93 100644 --- a/runtime/darwinia/src/weights/pallet_treasury.rs +++ b/runtime/darwinia/src/weights/pallet_treasury.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -61,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 158_000 picoseconds. - Weight::from_parts(199_000, 0) + // Minimum execution time: 160_000 picoseconds. + Weight::from_parts(187_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -73,8 +74,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `1489` - // Minimum execution time: 17_515_000 picoseconds. - Weight::from_parts(18_456_000, 0) + // Minimum execution time: 20_336_000 picoseconds. + Weight::from_parts(20_951_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,10 +87,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `470` - // Estimated: `9721` - // Minimum execution time: 28_264_000 picoseconds. - Weight::from_parts(29_164_000, 0) - .saturating_add(Weight::from_parts(0, 9721)) + // Estimated: `6172` + // Minimum execution time: 32_360_000 picoseconds. + Weight::from_parts(33_786_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -101,12 +102,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` - // Estimated: `5436` - // Minimum execution time: 6_171_000 picoseconds. - Weight::from_parts(8_202_671, 0) - .saturating_add(Weight::from_parts(0, 5436)) - // Standard Error: 1_689 - .saturating_add(Weight::from_parts(62_768, 0).saturating_mul(p.into())) + // Estimated: `3549` + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_114_101, 0) + .saturating_add(Weight::from_parts(0, 3549)) + // Standard Error: 1_385 + .saturating_add(Weight::from_parts(52_484, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,8 +117,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 5_163_000 picoseconds. - Weight::from_parts(5_583_000, 0) + // Minimum execution time: 5_197_000 picoseconds. + Weight::from_parts(5_448_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,12 +137,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `218 + p * (97 ±0)` - // Estimated: `9460 + p * (2559 ±0)` - // Minimum execution time: 22_618_000 picoseconds. - Weight::from_parts(21_762_495, 0) - .saturating_add(Weight::from_parts(0, 9460)) - // Standard Error: 4_926 - .saturating_add(Weight::from_parts(2_117_981, 0).saturating_mul(p.into())) + // Estimated: `3581 + p * (2559 ±0)` + // Minimum execution time: 20_632_000 picoseconds. + Weight::from_parts(19_448_705, 0) + .saturating_add(Weight::from_parts(0, 3581)) + // Standard Error: 5_484 + .saturating_add(Weight::from_parts(1_977_489, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/darwinia/src/weights/pallet_utility.rs b/runtime/darwinia/src/weights/pallet_utility.rs index a9d074ca0..211c5ef32 100644 --- a/runtime/darwinia/src/weights/pallet_utility.rs +++ b/runtime/darwinia/src/weights/pallet_utility.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -62,18 +63,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_852_000 picoseconds. - Weight::from_parts(4_988_000, 0) + // Minimum execution time: 4_277_000 picoseconds. + Weight::from_parts(1_845_665, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6_119 - .saturating_add(Weight::from_parts(3_926_323, 0).saturating_mul(c.into())) + // Standard Error: 5_764 + .saturating_add(Weight::from_parts(3_626_171, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_884_000 picoseconds. - Weight::from_parts(4_102_000, 0) + // Minimum execution time: 3_059_000 picoseconds. + Weight::from_parts(3_357_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -81,18 +82,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_790_000 picoseconds. - Weight::from_parts(5_398_927, 0) + // Minimum execution time: 4_194_000 picoseconds. + Weight::from_parts(4_463_544, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_388 - .saturating_add(Weight::from_parts(4_140_536, 0).saturating_mul(c.into())) + // Standard Error: 5_655 + .saturating_add(Weight::from_parts(3_821_469, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_422_000 picoseconds. - Weight::from_parts(6_729_000, 0) + // Minimum execution time: 5_855_000 picoseconds. + Weight::from_parts(6_118_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -100,10 +101,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_700_000 picoseconds. - Weight::from_parts(6_543_115, 0) + // Minimum execution time: 4_198_000 picoseconds. + Weight::from_parts(5_414_267, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_982 - .saturating_add(Weight::from_parts(3_901_574, 0).saturating_mul(c.into())) + // Standard Error: 5_722 + .saturating_add(Weight::from_parts(3_565_693, 0).saturating_mul(c.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_vesting.rs b/runtime/darwinia/src/weights/pallet_vesting.rs index 3351df951..d6c1842e5 100644 --- a/runtime/darwinia/src/weights/pallet_vesting.rs +++ b/runtime/darwinia/src/weights/pallet_vesting.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -61,46 +62,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9262` - // Minimum execution time: 20_408_000 picoseconds. - Weight::from_parts(21_423_999, 0) - .saturating_add(Weight::from_parts(0, 9262)) - // Standard Error: 6_156 - .saturating_add(Weight::from_parts(47_252, 0).saturating_mul(l.into())) - // Standard Error: 10_953 - .saturating_add(Weight::from_parts(83_356, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 21_348_000 picoseconds. + Weight::from_parts(23_100_103, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_237 + .saturating_add(Weight::from_parts(29_017, 0).saturating_mul(l.into())) + // Standard Error: 5_759 + .saturating_add(Weight::from_parts(70_227, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9262` - // Minimum execution time: 19_779_000 picoseconds. - Weight::from_parts(19_425_705, 0) - .saturating_add(Weight::from_parts(0, 9262)) - // Standard Error: 4_609 - .saturating_add(Weight::from_parts(47_793, 0).saturating_mul(l.into())) - // Standard Error: 8_200 - .saturating_add(Weight::from_parts(113_485, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 24_076_000 picoseconds. + Weight::from_parts(26_383_824, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_509 + .saturating_add(Weight::from_parts(16_098, 0).saturating_mul(l.into())) + // Standard Error: 6_243 + .saturating_add(Weight::from_parts(64_363, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -108,21 +115,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 21_894_000 picoseconds. - Weight::from_parts(21_628_817, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 4_211 - .saturating_add(Weight::from_parts(55_045, 0).saturating_mul(l.into())) - // Standard Error: 7_493 - .saturating_add(Weight::from_parts(141_127, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 23_465_000 picoseconds. + Weight::from_parts(25_213_430, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_375 + .saturating_add(Weight::from_parts(29_782, 0).saturating_mul(l.into())) + // Standard Error: 6_006 + .saturating_add(Weight::from_parts(75_066, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -130,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 21_666_000 picoseconds. - Weight::from_parts(23_052_072, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 4_416 - .saturating_add(Weight::from_parts(26_876, 0).saturating_mul(l.into())) - // Standard Error: 7_858 - .saturating_add(Weight::from_parts(87_173, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 25_508_000 picoseconds. + Weight::from_parts(27_730_644, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 2_992 + .saturating_add(Weight::from_parts(24_028, 0).saturating_mul(l.into())) + // Standard Error: 5_323 + .saturating_add(Weight::from_parts(82_242, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -147,18 +156,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(_l: u32, s: u32, ) -> Weight { + fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `307 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 33_570_000 picoseconds. - Weight::from_parts(37_828_303, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 9_853 - .saturating_add(Weight::from_parts(34_493, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 49_727_000 picoseconds. + Weight::from_parts(53_771_610, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 4_418 + .saturating_add(Weight::from_parts(36_813, 0).saturating_mul(l.into())) + // Standard Error: 7_861 + .saturating_add(Weight::from_parts(78_484, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -167,26 +180,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15434` - // Minimum execution time: 35_131_000 picoseconds. - Weight::from_parts(37_960_407, 0) - .saturating_add(Weight::from_parts(0, 15434)) - // Standard Error: 6_360 - .saturating_add(Weight::from_parts(32_682, 0).saturating_mul(l.into())) - // Standard Error: 11_316 - .saturating_add(Weight::from_parts(71_884, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6172` + // Minimum execution time: 51_809_000 picoseconds. + Weight::from_parts(55_360_018, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 5_213 + .saturating_add(Weight::from_parts(32_454, 0).saturating_mul(l.into())) + // Standard Error: 9_275 + .saturating_add(Weight::from_parts(105_164, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -194,21 +211,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 23_363_000 picoseconds. - Weight::from_parts(22_928_921, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 4_793 - .saturating_add(Weight::from_parts(55_629, 0).saturating_mul(l.into())) - // Standard Error: 8_852 - .saturating_add(Weight::from_parts(145_427, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 24_214_000 picoseconds. + Weight::from_parts(25_902_175, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_541 + .saturating_add(Weight::from_parts(20_189, 0).saturating_mul(l.into())) + // Standard Error: 6_540 + .saturating_add(Weight::from_parts(91_043, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -216,15 +235,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12843` - // Minimum execution time: 23_287_000 picoseconds. - Weight::from_parts(22_314_055, 0) - .saturating_add(Weight::from_parts(0, 12843)) - // Standard Error: 6_878 - .saturating_add(Weight::from_parts(62_185, 0).saturating_mul(l.into())) - // Standard Error: 12_703 - .saturating_add(Weight::from_parts(146_785, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4752` + // Minimum execution time: 27_204_000 picoseconds. + Weight::from_parts(28_579_665, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 3_192 + .saturating_add(Weight::from_parts(45_817, 0).saturating_mul(l.into())) + // Standard Error: 5_896 + .saturating_add(Weight::from_parts(68_796, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/pangolin/src/pallets/balances.rs b/runtime/pangolin/src/pallets/balances.rs index 70d65b7c1..c9a61fcd0 100644 --- a/runtime/pangolin/src/pallets/balances.rs +++ b/runtime/pangolin/src/pallets/balances.rs @@ -20,7 +20,7 @@ use crate::*; frame_support::parameter_types! { - pub const ExistentialDeposit:Balance = 0; + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } impl pallet_balances::Config for Runtime { diff --git a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs index b753e9752..67439a450 100644 --- a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_259_000 picoseconds. - Weight::from_parts(4_534_000, 0) + // Minimum execution time: 3_966_000 picoseconds. + Weight::from_parts(4_142_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_324_000 picoseconds. - Weight::from_parts(4_997_000, 0) + // Minimum execution time: 4_048_000 picoseconds. + Weight::from_parts(4_236_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/pangolin/src/weights/darwinia_account_migration.rs b/runtime/pangolin/src/weights/darwinia_account_migration.rs index bb6dcf471..9df560d58 100644 --- a/runtime/pangolin/src/weights/darwinia_account_migration.rs +++ b/runtime/pangolin/src/weights/darwinia_account_migration.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); @@ -63,10 +64,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -78,24 +75,22 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn migrate() -> Weight { // Proof Size summary in bytes: - // Measured: `30261` - // Estimated: `113086` - // Minimum execution time: 140_503_000 picoseconds. - Weight::from_parts(149_101_000, 0) - .saturating_add(Weight::from_parts(0, 113086)) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(18)) + // Measured: `29179` + // Estimated: `32644` + // Minimum execution time: 146_383_000 picoseconds. + Weight::from_parts(150_287_000, 0) + .saturating_add(Weight::from_parts(0, 32644)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: AccountMigration Multisigs (r:0 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -105,10 +100,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -120,13 +111,11 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) /// The range of component `x` is `[0, 99]`. @@ -135,16 +124,16 @@ impl darwinia_account_migration::WeightInfo for WeightI fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `5 + x * (570 ±0) + z * (570 ±0)` - // Minimum execution time: 8_053_000 picoseconds. - Weight::from_parts(22_620_997, 0) - .saturating_add(Weight::from_parts(0, 5)) - // Standard Error: 12_433 - .saturating_add(Weight::from_parts(17_548, 0).saturating_mul(x.into())) + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_939_000 picoseconds. + Weight::from_parts(22_706_568, 0) + .saturating_add(Weight::from_parts(0, 2)) + // Standard Error: 13_060 + .saturating_add(Weight::from_parts(6_469, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(x.into())) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -153,10 +142,10 @@ impl darwinia_account_migration::WeightInfo for WeightI fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 9_646_000 picoseconds. - Weight::from_parts(10_181_000, 0) - .saturating_add(Weight::from_parts(0, 10545)) + // Estimated: `6964` + // Minimum execution time: 8_336_000 picoseconds. + Weight::from_parts(8_770_000, 0) + .saturating_add(Weight::from_parts(0, 6964)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/darwinia_deposit.rs b/runtime/pangolin/src/weights/darwinia_deposit.rs index e883eb7bd..cf1a3ba26 100644 --- a/runtime/pangolin/src/weights/darwinia_deposit.rs +++ b/runtime/pangolin/src/weights/darwinia_deposit.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); @@ -66,14 +67,14 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26748` - // Estimated: `41879` - // Minimum execution time: 61_079_000 picoseconds. - Weight::from_parts(72_713_000, 0) - .saturating_add(Weight::from_parts(0, 41879)) + // Estimated: `29615` + // Minimum execution time: 71_802_000 picoseconds. + Weight::from_parts(77_526_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,10 +87,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26478` - // Estimated: `34689` - // Minimum execution time: 1_333_767_000 picoseconds. - Weight::from_parts(1_387_372_000, 0) - .saturating_add(Weight::from_parts(0, 34689)) + // Estimated: `29615` + // Minimum execution time: 1_300_312_000 picoseconds. + Weight::from_parts(1_322_080_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,16 +99,16 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn claim_with_penalty() -> Weight { // Proof Size summary in bytes: // Measured: `26637` - // Estimated: `38298` - // Minimum execution time: 54_867_000 picoseconds. - Weight::from_parts(61_655_000, 0) - .saturating_add(Weight::from_parts(0, 38298)) + // Estimated: `29615` + // Minimum execution time: 47_227_000 picoseconds. + Weight::from_parts(52_351_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs b/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs index 0cb3b79f8..72f36da9f 100644 --- a/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); @@ -66,10 +67,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 9_837_000 picoseconds. - Weight::from_parts(10_388_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 10_059_000 picoseconds. + Weight::from_parts(10_725_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,10 +83,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 13_808_000 picoseconds. - Weight::from_parts(14_559_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 12_859_000 picoseconds. + Weight::from_parts(13_675_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,10 +99,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 14_373_000 picoseconds. - Weight::from_parts(15_191_000, 0) - .saturating_add(Weight::from_parts(0, 4953)) + // Estimated: `1651` + // Minimum execution time: 13_216_000 picoseconds. + Weight::from_parts(13_638_000, 0) + .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,10 +115,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 15_134_000 picoseconds. - Weight::from_parts(15_791_000, 0) - .saturating_add(Weight::from_parts(0, 5256)) + // Estimated: `1752` + // Minimum execution time: 13_785_000 picoseconds. + Weight::from_parts(14_473_000, 0) + .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,10 +135,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 22_472_000 picoseconds. - Weight::from_parts(23_783_000, 0) - .saturating_add(Weight::from_parts(0, 7195)) + // Estimated: `1736` + // Minimum execution time: 41_514_000 picoseconds. + Weight::from_parts(44_496_000, 0) + .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -148,10 +149,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 12_113_000 picoseconds. - Weight::from_parts(12_629_000, 0) - .saturating_add(Weight::from_parts(0, 3460)) + // Estimated: `1730` + // Minimum execution time: 31_879_000 picoseconds. + Weight::from_parts(32_410_000, 0) + .saturating_add(Weight::from_parts(0, 1730)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/darwinia_staking.rs b/runtime/pangolin/src/weights/darwinia_staking.rs index ad9d73562..7c2957595 100644 --- a/runtime/pangolin/src/weights/darwinia_staking.rs +++ b/runtime/pangolin/src/weights/darwinia_staking.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); @@ -66,7 +67,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking KtonPool (r:1 w:1) /// Proof: DarwiniaStaking KtonPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) @@ -74,13 +75,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1850` - // Estimated: `51255` - // Minimum execution time: 51_925_000 picoseconds. - Weight::from_parts(123_335_298, 0) - .saturating_add(Weight::from_parts(0, 51255)) - // Standard Error: 1_610 - .saturating_add(Weight::from_parts(8_651, 0).saturating_mul(x.into())) + // Measured: `1818` + // Estimated: `29615` + // Minimum execution time: 64_807_000 picoseconds. + Weight::from_parts(125_205_635, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 1_353 + .saturating_add(Weight::from_parts(7_129, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -95,13 +96,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1497` - // Estimated: `37915` - // Minimum execution time: 11_180_000 picoseconds. - Weight::from_parts(54_360_457, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 957 - .saturating_add(Weight::from_parts(5_396, 0).saturating_mul(x.into())) + // Measured: `1430` + // Estimated: `29615` + // Minimum execution time: 11_194_000 picoseconds. + Weight::from_parts(54_492_965, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 936 + .saturating_add(Weight::from_parts(4_944, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,13 +117,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1601` - // Estimated: `37915` - // Minimum execution time: 10_197_000 picoseconds. - Weight::from_parts(45_909_512, 0) - .saturating_add(Weight::from_parts(0, 37915)) + // Measured: `1534` + // Estimated: `29615` + // Minimum execution time: 9_304_000 picoseconds. + Weight::from_parts(45_246_406, 0) + .saturating_add(Weight::from_parts(0, 29615)) // Standard Error: 784 - .saturating_add(Weight::from_parts(4_161, 0).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(4_635, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -133,16 +134,16 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2160` - // Estimated: `48253` - // Minimum execution time: 90_587_000 picoseconds. - Weight::from_parts(93_154_000, 0) - .saturating_add(Weight::from_parts(0, 48253)) + // Measured: `2093` + // Estimated: `29615` + // Minimum execution time: 93_222_000 picoseconds. + Weight::from_parts(96_684_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -150,10 +151,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `426` + // Measured: `355` // Estimated: `3497` - // Minimum execution time: 5_462_000 picoseconds. - Weight::from_parts(5_881_000, 0) + // Minimum execution time: 5_257_000 picoseconds. + Weight::from_parts(5_618_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,11 +167,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `731` - // Estimated: `12308` - // Minimum execution time: 10_066_000 picoseconds. - Weight::from_parts(10_547_000, 0) - .saturating_add(Weight::from_parts(0, 12308)) + // Measured: `523` + // Estimated: `5298` + // Minimum execution time: 9_477_000 picoseconds. + Weight::from_parts(9_900_000, 0) + .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,8 +183,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_553_000 picoseconds. - Weight::from_parts(3_687_000, 0) + // Minimum execution time: 3_465_000 picoseconds. + Weight::from_parts(3_764_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -193,8 +194,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_911_000 picoseconds. - Weight::from_parts(2_046_000, 0) + // Minimum execution time: 1_803_000 picoseconds. + Weight::from_parts(1_919_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_assets.rs b/runtime/pangolin/src/weights/pallet_assets.rs index 6cb3bb012..3cc3b1566 100644 --- a/runtime/pangolin/src/weights/pallet_assets.rs +++ b/runtime/pangolin/src/weights/pallet_assets.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 9_766_000 picoseconds. - Weight::from_parts(10_188_000, 0) + // Minimum execution time: 8_935_000 picoseconds. + Weight::from_parts(9_568_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 9_311_000 picoseconds. - Weight::from_parts(9_936_000, 0) + // Minimum execution time: 8_535_000 picoseconds. + Weight::from_parts(9_314_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_674_000 picoseconds. - Weight::from_parts(9_971_000, 0) + // Minimum execution time: 8_761_000 picoseconds. + Weight::from_parts(9_003_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,24 +97,24 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1000 w:1000) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + c * (183 ±0)` - // Estimated: `8180 + c * (5160 ±0)` - // Minimum execution time: 12_687_000 picoseconds. - Weight::from_parts(12_959_000, 0) - .saturating_add(Weight::from_parts(0, 8180)) - // Standard Error: 7_528 - .saturating_add(Weight::from_parts(9_032_028, 0).saturating_mul(c.into())) + // Estimated: `3631 + c * (2591 ±0)` + // Minimum execution time: 11_550_000 picoseconds. + Weight::from_parts(11_998_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 4_274 + .saturating_add(Weight::from_parts(8_552_883, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5160).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into())) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) @@ -123,12 +124,12 @@ impl pallet_assets::WeightInfo for WeightInfo { fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `458 + a * (74 ±0)` - // Estimated: `7224 + a * (2603 ±0)` - // Minimum execution time: 13_023_000 picoseconds. - Weight::from_parts(13_311_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) - // Standard Error: 3_176 - .saturating_add(Weight::from_parts(3_250_729, 0).saturating_mul(a.into())) + // Estimated: `3631 + a * (2603 ±0)` + // Minimum execution time: 12_045_000 picoseconds. + Weight::from_parts(12_434_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 2_046 + .saturating_add(Weight::from_parts(3_271_144, 0).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)) @@ -142,114 +143,114 @@ impl pallet_assets::WeightInfo for WeightInfo { fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `7240` - // Minimum execution time: 10_742_000 picoseconds. - Weight::from_parts(11_209_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_191_000 picoseconds. + Weight::from_parts(10_604_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `7190` - // Minimum execution time: 19_369_000 picoseconds. - Weight::from_parts(20_050_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 17_838_000 picoseconds. + Weight::from_parts(18_609_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `410` - // Estimated: `7190` - // Minimum execution time: 23_322_000 picoseconds. - Weight::from_parts(24_242_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 22_888_000 picoseconds. + Weight::from_parts(23_601_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `501` - // Estimated: `13340` - // Minimum execution time: 33_383_000 picoseconds. - Weight::from_parts(34_219_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_970_000 picoseconds. + Weight::from_parts(31_904_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `501` - // Estimated: `13340` - // Minimum execution time: 29_263_000 picoseconds. - Weight::from_parts(30_367_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 27_559_000 picoseconds. + Weight::from_parts(28_489_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `501` - // Estimated: `13340` - // Minimum execution time: 33_336_000 picoseconds. - Weight::from_parts(34_145_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 31_391_000 picoseconds. + Weight::from_parts(32_267_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `410` - // Estimated: `7190` - // Minimum execution time: 11_870_000 picoseconds. - Weight::from_parts(12_428_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 11_470_000 picoseconds. + Weight::from_parts(11_881_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `410` - // Estimated: `7190` - // Minimum execution time: 11_763_000 picoseconds. - Weight::from_parts(12_501_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 11_400_000 picoseconds. + Weight::from_parts(11_813_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_134_000 picoseconds. - Weight::from_parts(9_689_000, 0) + // Minimum execution time: 8_738_000 picoseconds. + Weight::from_parts(9_064_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -271,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_333_000 picoseconds. - Weight::from_parts(9_628_000, 0) + // Minimum execution time: 8_673_000 picoseconds. + Weight::from_parts(8_987_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,10 +285,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `7240` - // Minimum execution time: 11_240_000 picoseconds. - Weight::from_parts(12_347_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_565_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -297,8 +298,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_929_000 picoseconds. - Weight::from_parts(10_672_000, 0) + // Minimum execution time: 8_969_000 picoseconds. + Weight::from_parts(9_274_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -312,14 +313,14 @@ impl pallet_assets::WeightInfo for WeightInfo { fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `7240` - // Minimum execution time: 11_488_000 picoseconds. - Weight::from_parts(12_367_723, 0) - .saturating_add(Weight::from_parts(0, 7240)) - // Standard Error: 4_914 - .saturating_add(Weight::from_parts(11_040, 0).saturating_mul(n.into())) - // Standard Error: 4_914 - .saturating_add(Weight::from_parts(691, 0).saturating_mul(s.into())) + // Estimated: `3631` + // Minimum execution time: 10_583_000 picoseconds. + Weight::from_parts(10_904_861, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 2_835 + .saturating_add(Weight::from_parts(9_610, 0).saturating_mul(n.into())) + // Standard Error: 2_835 + .saturating_add(Weight::from_parts(6_496, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -330,10 +331,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `478` - // Estimated: `7240` - // Minimum execution time: 11_518_000 picoseconds. - Weight::from_parts(12_113_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_808_000 picoseconds. + Weight::from_parts(11_310_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -346,10 +347,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `237` - // Estimated: `7240` - // Minimum execution time: 10_557_000 picoseconds. - Weight::from_parts(12_663_523, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_962_000 picoseconds. + Weight::from_parts(10_882_696, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -360,10 +361,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `478` - // Estimated: `7240` - // Minimum execution time: 11_320_000 picoseconds. - Weight::from_parts(11_753_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_702_000 picoseconds. + Weight::from_parts(11_275_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -373,8 +374,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_191_000 picoseconds. - Weight::from_parts(9_470_000, 0) + // Minimum execution time: 8_820_000 picoseconds. + Weight::from_parts(9_288_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,10 +387,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `7224` - // Minimum execution time: 14_191_000 picoseconds. - Weight::from_parts(14_808_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 12_963_000 picoseconds. + Weight::from_parts(13_509_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -398,16 +399,16 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Approvals (r:1 w:1) /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `599` - // Estimated: `16933` - // Minimum execution time: 39_450_000 picoseconds. - Weight::from_parts(41_307_000, 0) - .saturating_add(Weight::from_parts(0, 16933)) + // Estimated: `6168` + // Minimum execution time: 36_733_000 picoseconds. + Weight::from_parts(37_903_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -418,10 +419,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `457` - // Estimated: `7224` - // Minimum execution time: 14_789_000 picoseconds. - Weight::from_parts(15_294_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 14_574_000 picoseconds. + Weight::from_parts(15_001_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -432,10 +433,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `457` - // Estimated: `7224` - // Minimum execution time: 15_522_000 picoseconds. - Weight::from_parts(16_284_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 14_763_000 picoseconds. + Weight::from_parts(15_361_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -445,79 +446,84 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 10_396_000 picoseconds. - Weight::from_parts(11_112_000, 0) + // Minimum execution time: 9_560_000 picoseconds. + Weight::from_parts(9_884_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `453` - // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `478` + // Estimated: `3631` + // Minimum execution time: 24_747_000 picoseconds. + Weight::from_parts(25_376_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) + // Measured: `350` + // Estimated: `3631` + // Minimum execution time: 23_428_000 picoseconds. + Weight::from_parts(23_920_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `579` - // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `556` + // Estimated: `3631` + // Minimum execution time: 22_664_000 picoseconds. + Weight::from_parts(24_001_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `448` + // Estimated: `3631` + // Minimum execution time: 21_129_000 picoseconds. + Weight::from_parts(22_003_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `410` + // Estimated: `3631` + // Minimum execution time: 11_319_000 picoseconds. + Weight::from_parts(11_780_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/pangolin/src/weights/pallet_balances.rs b/runtime/pangolin/src/weights/pallet_balances.rs index 415a396d4..05965e78a 100644 --- a/runtime/pangolin/src/weights/pallet_balances.rs +++ b/runtime/pangolin/src/weights/pallet_balances.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 23_206_000 picoseconds. - Weight::from_parts(23_671_000, 0) + // Minimum execution time: 37_563_000 picoseconds. + Weight::from_parts(38_164_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 19_900_000 picoseconds. - Weight::from_parts(21_610_000, 0) + // Minimum execution time: 31_214_000 picoseconds. + Weight::from_parts(31_864_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_831_000 picoseconds. - Weight::from_parts(11_363_000, 0) + // Minimum execution time: 11_944_000 picoseconds. + Weight::from_parts(12_868_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 13_492_000 picoseconds. - Weight::from_parts(14_018_000, 0) + // Minimum execution time: 16_999_000 picoseconds. + Weight::from_parts(17_741_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 25_065_000 picoseconds. - Weight::from_parts(25_563_000, 0) + // Minimum execution time: 39_477_000 picoseconds. + Weight::from_parts(40_610_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -123,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 25_181_000 picoseconds. - Weight::from_parts(25_696_000, 0) + // Minimum execution time: 39_561_000 picoseconds. + Weight::from_parts(40_501_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +136,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_878_000 picoseconds. - Weight::from_parts(11_262_000, 0) + // Minimum execution time: 13_986_000 picoseconds. + Weight::from_parts(14_412_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `58 + u * (124 ±0)` + // Estimated: `990 + u * (2591 ±0)` + // Minimum execution time: 12_767_000 picoseconds. + Weight::from_parts(12_948_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 7_207 + .saturating_add(Weight::from_parts(10_736_913, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(u.into())) } } diff --git a/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs b/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs index fb00ccf2c..7b7a42b53 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); @@ -73,15 +74,17 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { + fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2577 + p * (40 ±0)` - // Estimated: `243854` - // Minimum execution time: 1_570_483_000 picoseconds. - Weight::from_parts(1_592_242_000, 0) - .saturating_add(Weight::from_parts(0, 243854)) - // Standard Error: 158_449 - .saturating_add(Weight::from_parts(20_925_984, 0).saturating_mul(p.into())) + // Measured: `2544 + p * (40 ±0)` + // Estimated: `165335` + // Minimum execution time: 1_610_178_000 picoseconds. + Weight::from_parts(53_319_117, 0) + .saturating_add(Weight::from_parts(0, 165335)) + // Standard Error: 46_687 + .saturating_add(Weight::from_parts(28_544_013, 0).saturating_mul(p.into())) + // Standard Error: 47_794 + .saturating_add(Weight::from_parts(1_315_324, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/pangolin/src/weights/pallet_bridge_messages.rs b/runtime/pangolin/src/weights/pallet_bridge_messages.rs index 242ad5e1d..b64c4f1fe 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_messages.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_messages.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); @@ -70,10 +71,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` - // Estimated: `12987` - // Minimum execution time: 46_943_000 picoseconds. - Weight::from_parts(49_148_000, 0) - .saturating_add(Weight::from_parts(0, 12987)) + // Estimated: `6172` + // Minimum execution time: 57_070_000 picoseconds. + Weight::from_parts(59_163_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -90,10 +91,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` - // Estimated: `12987` - // Minimum execution time: 48_549_000 picoseconds. - Weight::from_parts(51_931_000, 0) - .saturating_add(Weight::from_parts(0, 12987)) + // Estimated: `6172` + // Minimum execution time: 57_541_000 picoseconds. + Weight::from_parts(58_844_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -110,10 +111,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` - // Estimated: `12987` - // Minimum execution time: 54_028_000 picoseconds. - Weight::from_parts(55_439_000, 0) - .saturating_add(Weight::from_parts(0, 12987)) + // Estimated: `6172` + // Minimum execution time: 62_845_000 picoseconds. + Weight::from_parts(63_755_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -125,11 +126,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 29_005_000 picoseconds. - Weight::from_parts(29_885_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 27_788_000 picoseconds. + Weight::from_parts(28_417_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -141,11 +142,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 41_271_000 picoseconds. - Weight::from_parts(42_487_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 39_138_000 picoseconds. + Weight::from_parts(40_040_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +158,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 33_023_000 picoseconds. - Weight::from_parts(33_723_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 31_632_000 picoseconds. + Weight::from_parts(32_519_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,11 +174,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 34_564_000 picoseconds. - Weight::from_parts(36_913_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 33_230_000 picoseconds. + Weight::from_parts(34_719_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,11 +190,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 68_276_000 picoseconds. - Weight::from_parts(71_721_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 66_289_000 picoseconds. + Weight::from_parts(69_308_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,11 +206,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `79645` - // Minimum execution time: 29_381_000 picoseconds. - Weight::from_parts(32_976_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Measured: `504` + // Estimated: `69033` + // Minimum execution time: 27_915_000 picoseconds. + Weight::from_parts(29_204_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -223,11 +224,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: - // Measured: `622` - // Estimated: `78116` - // Minimum execution time: 23_787_000 picoseconds. - Weight::from_parts(26_767_000, 0) - .saturating_add(Weight::from_parts(0, 78116)) + // Measured: `589` + // Estimated: `69033` + // Minimum execution time: 22_415_000 picoseconds. + Weight::from_parts(22_976_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -241,11 +242,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight { // Proof Size summary in bytes: - // Measured: `622` - // Estimated: `80591` - // Minimum execution time: 25_543_000 picoseconds. - Weight::from_parts(27_168_000, 0) - .saturating_add(Weight::from_parts(0, 80591)) + // Measured: `589` + // Estimated: `69033` + // Minimum execution time: 24_587_000 picoseconds. + Weight::from_parts(25_496_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,11 +260,11 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight { // Proof Size summary in bytes: - // Measured: `622` - // Estimated: `80591` - // Minimum execution time: 26_068_000 picoseconds. - Weight::from_parts(27_421_000, 0) - .saturating_add(Weight::from_parts(0, 80591)) + // Measured: `589` + // Estimated: `69033` + // Minimum execution time: 24_921_000 picoseconds. + Weight::from_parts(25_917_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_bridge_parachains.rs b/runtime/pangolin/src/weights/pallet_bridge_parachains.rs index b5d6ace15..1fa2e38ac 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_parachains.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_parachains.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); @@ -70,17 +71,17 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `484` - // Estimated: `72499 + p * (5074 ±0)` - // Minimum execution time: 23_523_000 picoseconds. - Weight::from_parts(23_876_000, 0) - .saturating_add(Weight::from_parts(0, 72499)) - // Standard Error: 22_973 - .saturating_add(Weight::from_parts(18_253_153, 0).saturating_mul(p.into())) + // Measured: `451` + // Estimated: `69033 + p * (2539 ±0)` + // Minimum execution time: 23_237_000 picoseconds. + Weight::from_parts(23_810_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) + // Standard Error: 21_217 + .saturating_add(Weight::from_parts(18_014_079, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5074).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2539).saturating_mul(p.into())) } /// Storage: BridgeMoonbaseParachain PalletOperatingMode (r:1 w:0) /// Proof: BridgeMoonbaseParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) @@ -94,11 +95,11 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// Proof: BridgeMoonbaseParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) fn submit_parachain_heads_with_1kb_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `484` - // Estimated: `77573` - // Minimum execution time: 29_160_000 picoseconds. - Weight::from_parts(30_932_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Measured: `451` + // Estimated: `69033` + // Minimum execution time: 28_464_000 picoseconds. + Weight::from_parts(29_470_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,11 +115,11 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// Proof: BridgeMoonbaseParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) fn submit_parachain_heads_with_16kb_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `484` - // Estimated: `77573` - // Minimum execution time: 61_659_000 picoseconds. - Weight::from_parts(64_278_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Measured: `451` + // Estimated: `69033` + // Minimum execution time: 61_637_000 picoseconds. + Weight::from_parts(63_285_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangolin/src/weights/pallet_collective_council.rs b/runtime/pangolin/src/weights/pallet_collective_council.rs index fb3ebd159..0627244a6 100644 --- a/runtime/pangolin/src/weights/pallet_collective_council.rs +++ b/runtime/pangolin/src/weights/pallet_collective_council.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15220 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 9_877_000 picoseconds. - Weight::from_parts(10_055_000, 0) - .saturating_add(Weight::from_parts(0, 15220)) - // Standard Error: 21_566 - .saturating_add(Weight::from_parts(2_288_946, 0).saturating_mul(m.into())) - // Standard Error: 21_566 - .saturating_add(Weight::from_parts(4_631_956, 0).saturating_mul(p.into())) + // Estimated: `12163 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 9_576_000 picoseconds. + Weight::from_parts(9_880_000, 0) + .saturating_add(Weight::from_parts(0, 12163)) + // Standard Error: 19_491 + .saturating_add(Weight::from_parts(2_063_006, 0).saturating_mul(m.into())) + // Standard Error: 19_491 + .saturating_add(Weight::from_parts(4_263_111, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `1517 + m * (20 ±0)` - // Minimum execution time: 10_357_000 picoseconds. - Weight::from_parts(10_155_941, 0) + // Minimum execution time: 9_866_000 picoseconds. + Weight::from_parts(9_973_314, 0) .saturating_add(Weight::from_parts(0, 1517)) - // Standard Error: 128 - .saturating_add(Weight::from_parts(1_525, 0).saturating_mul(b.into())) - // Standard Error: 1_319 - .saturating_add(Weight::from_parts(10_206, 0).saturating_mul(m.into())) + // Standard Error: 122 + .saturating_add(Weight::from_parts(1_037, 0).saturating_mul(b.into())) + // Standard Error: 1_262 + .saturating_add(Weight::from_parts(10_669, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,14 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` - // Estimated: `5014 + m * (40 ±0)` - // Minimum execution time: 12_072_000 picoseconds. - Weight::from_parts(13_788_986, 0) - .saturating_add(Weight::from_parts(0, 5014)) - // Standard Error: 190 - .saturating_add(Weight::from_parts(783, 0).saturating_mul(b.into())) + // Estimated: `3497 + m * (20 ±0)` + // Minimum execution time: 11_891_000 picoseconds. + Weight::from_parts(11_861_805, 0) + .saturating_add(Weight::from_parts(0, 3497)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_037, 0).saturating_mul(b.into())) + // Standard Error: 323 + .saturating_add(Weight::from_parts(10_779, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -148,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `320 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9165 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 16_637_000 picoseconds. - Weight::from_parts(17_376_459, 0) - .saturating_add(Weight::from_parts(0, 9165)) - // Standard Error: 93 - .saturating_add(Weight::from_parts(2_242, 0).saturating_mul(b.into())) - // Standard Error: 980 - .saturating_add(Weight::from_parts(11_116, 0).saturating_mul(m.into())) - // Standard Error: 968 - .saturating_add(Weight::from_parts(169_024, 0).saturating_mul(p.into())) + // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_200_000 picoseconds. + Weight::from_parts(16_124_254, 0) + .saturating_add(Weight::from_parts(0, 3714)) + // Standard Error: 87 + .saturating_add(Weight::from_parts(2_177, 0).saturating_mul(b.into())) + // Standard Error: 908 + .saturating_add(Weight::from_parts(13_871, 0).saturating_mul(m.into())) + // Standard Error: 896 + .saturating_add(Weight::from_parts(154_523, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -172,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + m * (40 ±0)` - // Estimated: `6538 + m * (80 ±0)` - // Minimum execution time: 17_607_000 picoseconds. - Weight::from_parts(20_409_520, 0) - .saturating_add(Weight::from_parts(0, 6538)) - // Standard Error: 1_091 - .saturating_add(Weight::from_parts(23_530, 0).saturating_mul(m.into())) + // Estimated: `4259 + m * (40 ±0)` + // Minimum execution time: 16_399_000 picoseconds. + Weight::from_parts(18_695_256, 0) + .saturating_add(Weight::from_parts(0, 4259)) + // Standard Error: 888 + .saturating_add(Weight::from_parts(17_862, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -197,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `372 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `7843 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 18_320_000 picoseconds. - Weight::from_parts(20_233_028, 0) - .saturating_add(Weight::from_parts(0, 7843)) - // Standard Error: 1_026 - .saturating_add(Weight::from_parts(22_567, 0).saturating_mul(m.into())) - // Standard Error: 1_001 - .saturating_add(Weight::from_parts(159_392, 0).saturating_mul(p.into())) + // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_091_000 picoseconds. + Weight::from_parts(19_280_155, 0) + .saturating_add(Weight::from_parts(0, 3817)) + // Standard Error: 833 + .saturating_add(Weight::from_parts(12_716, 0).saturating_mul(m.into())) + // Standard Error: 812 + .saturating_add(Weight::from_parts(149_594, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -227,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `674 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12004 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_035_000 picoseconds. - Weight::from_parts(28_814_615, 0) - .saturating_add(Weight::from_parts(0, 12004)) - // Standard Error: 121 - .saturating_add(Weight::from_parts(2_256, 0).saturating_mul(b.into())) - // Standard Error: 1_283 - .saturating_add(Weight::from_parts(9_807, 0).saturating_mul(m.into())) - // Standard Error: 1_251 - .saturating_add(Weight::from_parts(193_933, 0).saturating_mul(p.into())) + // Estimated: `3991 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_973_000 picoseconds. + Weight::from_parts(26_540_632, 0) + .saturating_add(Weight::from_parts(0, 3991)) + // Standard Error: 89 + .saturating_add(Weight::from_parts(2_091, 0).saturating_mul(b.into())) + // Standard Error: 943 + .saturating_add(Weight::from_parts(14_502, 0).saturating_mul(m.into())) + // Standard Error: 919 + .saturating_add(Weight::from_parts(180_595, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -260,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `392 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `9780 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 19_989_000 picoseconds. - Weight::from_parts(22_450_285, 0) - .saturating_add(Weight::from_parts(0, 9780)) - // Standard Error: 1_101 - .saturating_add(Weight::from_parts(17_741, 0).saturating_mul(m.into())) - // Standard Error: 1_073 - .saturating_add(Weight::from_parts(163_352, 0).saturating_mul(p.into())) + // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_083_000 picoseconds. + Weight::from_parts(21_348_611, 0) + .saturating_add(Weight::from_parts(0, 3837)) + // Standard Error: 809 + .saturating_add(Weight::from_parts(14_838, 0).saturating_mul(m.into())) + // Standard Error: 789 + .saturating_add(Weight::from_parts(147_507, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -292,21 +295,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14115 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_422_000 picoseconds. - Weight::from_parts(30_344_240, 0) - .saturating_add(Weight::from_parts(0, 14115)) - // Standard Error: 136 - .saturating_add(Weight::from_parts(2_777, 0).saturating_mul(b.into())) - // Standard Error: 1_443 - .saturating_add(Weight::from_parts(5_694, 0).saturating_mul(m.into())) - // Standard Error: 1_406 - .saturating_add(Weight::from_parts(209_630, 0).saturating_mul(p.into())) + // Estimated: `4011 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_590_000 picoseconds. + Weight::from_parts(29_840_355, 0) + .saturating_add(Weight::from_parts(0, 4011)) + // Standard Error: 108 + .saturating_add(Weight::from_parts(2_100, 0).saturating_mul(b.into())) + // Standard Error: 1_120 + .saturating_add(Weight::from_parts(191_028, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -319,14 +320,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `189 + p * (32 ±0)` - // Estimated: `2052 + p * (96 ±0)` - // Minimum execution time: 10_392_000 picoseconds. - Weight::from_parts(12_150_198, 0) - .saturating_add(Weight::from_parts(0, 2052)) - // Standard Error: 909 - .saturating_add(Weight::from_parts(153_860, 0).saturating_mul(p.into())) + // Estimated: `1674 + p * (32 ±0)` + // Minimum execution time: 10_451_000 picoseconds. + Weight::from_parts(11_338_684, 0) + .saturating_add(Weight::from_parts(0, 1674)) + // Standard Error: 734 + .saturating_add(Weight::from_parts(140_249, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs b/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs index 48ae1981f..3d0aa7ff3 100644 --- a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15504 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 10_615_000 picoseconds. - Weight::from_parts(10_981_000, 0) - .saturating_add(Weight::from_parts(0, 15504)) - // Standard Error: 21_536 - .saturating_add(Weight::from_parts(2_284_565, 0).saturating_mul(m.into())) - // Standard Error: 21_536 - .saturating_add(Weight::from_parts(4_631_862, 0).saturating_mul(p.into())) + // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 10_322_000 picoseconds. + Weight::from_parts(10_716_000, 0) + .saturating_add(Weight::from_parts(0, 12234)) + // Standard Error: 18_891 + .saturating_add(Weight::from_parts(1_958_884, 0).saturating_mul(m.into())) + // Standard Error: 18_891 + .saturating_add(Weight::from_parts(4_172_197, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `1588 + m * (20 ±0)` - // Minimum execution time: 10_791_000 picoseconds. - Weight::from_parts(10_674_182, 0) + // Minimum execution time: 10_298_000 picoseconds. + Weight::from_parts(10_539_730, 0) .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 103 - .saturating_add(Weight::from_parts(1_172, 0).saturating_mul(b.into())) - // Standard Error: 1_063 - .saturating_add(Weight::from_parts(7_426, 0).saturating_mul(m.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(877, 0).saturating_mul(b.into())) + // Standard Error: 258 + .saturating_add(Weight::from_parts(5_751, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,16 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` - // Estimated: `5156 + m * (40 ±0)` - // Minimum execution time: 12_287_000 picoseconds. - Weight::from_parts(12_438_543, 0) - .saturating_add(Weight::from_parts(0, 5156)) - // Standard Error: 149 - .saturating_add(Weight::from_parts(1_066, 0).saturating_mul(b.into())) - // Standard Error: 1_536 - .saturating_add(Weight::from_parts(10_392, 0).saturating_mul(m.into())) + // Estimated: `3568 + m * (20 ±0)` + // Minimum execution time: 12_166_000 picoseconds. + Weight::from_parts(11_925_243, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_075, 0).saturating_mul(b.into())) + // Standard Error: 232 + .saturating_add(Weight::from_parts(11_652, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -150,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9520 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_089_000 picoseconds. - Weight::from_parts(17_134_811, 0) - .saturating_add(Weight::from_parts(0, 9520)) - // Standard Error: 91 - .saturating_add(Weight::from_parts(2_658, 0).saturating_mul(b.into())) - // Standard Error: 953 - .saturating_add(Weight::from_parts(13_148, 0).saturating_mul(m.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(172_053, 0).saturating_mul(p.into())) + // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_504_000 picoseconds. + Weight::from_parts(16_509_761, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 92 + .saturating_add(Weight::from_parts(2_043, 0).saturating_mul(b.into())) + // Standard Error: 964 + .saturating_add(Weight::from_parts(14_247, 0).saturating_mul(m.into())) + // Standard Error: 952 + .saturating_add(Weight::from_parts(156_649, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -174,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `866 + m * (40 ±0)` - // Estimated: `6680 + m * (80 ±0)` - // Minimum execution time: 18_021_000 picoseconds. - Weight::from_parts(20_926_086, 0) - .saturating_add(Weight::from_parts(0, 6680)) - // Standard Error: 986 - .saturating_add(Weight::from_parts(20_863, 0).saturating_mul(m.into())) + // Estimated: `4330 + m * (40 ±0)` + // Minimum execution time: 17_127_000 picoseconds. + Weight::from_parts(19_502_278, 0) + .saturating_add(Weight::from_parts(0, 4330)) + // Standard Error: 896 + .saturating_add(Weight::from_parts(15_709, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -199,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `8127 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 19_025_000 picoseconds. - Weight::from_parts(21_368_696, 0) - .saturating_add(Weight::from_parts(0, 8127)) - // Standard Error: 1_002 - .saturating_add(Weight::from_parts(18_694, 0).saturating_mul(m.into())) - // Standard Error: 977 - .saturating_add(Weight::from_parts(153_050, 0).saturating_mul(p.into())) + // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_490_000 picoseconds. + Weight::from_parts(20_016_504, 0) + .saturating_add(Weight::from_parts(0, 3888)) + // Standard Error: 875 + .saturating_add(Weight::from_parts(12_835, 0).saturating_mul(m.into())) + // Standard Error: 853 + .saturating_add(Weight::from_parts(147_422, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -229,21 +230,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `745 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12288 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_164_000 picoseconds. - Weight::from_parts(29_099_890, 0) - .saturating_add(Weight::from_parts(0, 12288)) - // Standard Error: 132 - .saturating_add(Weight::from_parts(2_749, 0).saturating_mul(b.into())) - // Standard Error: 1_404 - .saturating_add(Weight::from_parts(5_962, 0).saturating_mul(m.into())) - // Standard Error: 1_368 - .saturating_add(Weight::from_parts(205_040, 0).saturating_mul(p.into())) + // Estimated: `4062 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_960_000 picoseconds. + Weight::from_parts(28_111_989, 0) + .saturating_add(Weight::from_parts(0, 4062)) + // Standard Error: 106 + .saturating_add(Weight::from_parts(2_229, 0).saturating_mul(b.into())) + // Standard Error: 1_095 + .saturating_add(Weight::from_parts(191_844, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -262,18 +261,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `10135 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 20_663_000 picoseconds. - Weight::from_parts(22_988_998, 0) - .saturating_add(Weight::from_parts(0, 10135)) - // Standard Error: 1_001 - .saturating_add(Weight::from_parts(17_506, 0).saturating_mul(m.into())) - // Standard Error: 976 - .saturating_add(Weight::from_parts(161_292, 0).saturating_mul(p.into())) + // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_551_000 picoseconds. + Weight::from_parts(22_128_762, 0) + .saturating_add(Weight::from_parts(0, 3908)) + // Standard Error: 746 + .saturating_add(Weight::from_parts(12_140, 0).saturating_mul(m.into())) + // Standard Error: 728 + .saturating_add(Weight::from_parts(145_536, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -294,21 +293,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `765 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14470 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_734_000 picoseconds. - Weight::from_parts(32_028_119, 0) - .saturating_add(Weight::from_parts(0, 14470)) - // Standard Error: 133 - .saturating_add(Weight::from_parts(1_774, 0).saturating_mul(b.into())) - // Standard Error: 1_408 - .saturating_add(Weight::from_parts(4_959, 0).saturating_mul(m.into())) - // Standard Error: 1_372 - .saturating_add(Weight::from_parts(205_389, 0).saturating_mul(p.into())) + // Estimated: `4082 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_977_000 picoseconds. + Weight::from_parts(29_987_024, 0) + .saturating_add(Weight::from_parts(0, 4082)) + // Standard Error: 105 + .saturating_add(Weight::from_parts(2_403, 0).saturating_mul(b.into())) + // Standard Error: 1_088 + .saturating_add(Weight::from_parts(192_424, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -321,14 +318,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` - // Estimated: `2265 + p * (96 ±0)` - // Minimum execution time: 11_119_000 picoseconds. - Weight::from_parts(12_529_020, 0) - .saturating_add(Weight::from_parts(0, 2265)) - // Standard Error: 974 - .saturating_add(Weight::from_parts(157_834, 0).saturating_mul(p.into())) + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 10_822_000 picoseconds. + Weight::from_parts(11_808_303, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 722 + .saturating_add(Weight::from_parts(139_972, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/pangolin/src/weights/pallet_democracy.rs b/runtime/pangolin/src/weights/pallet_democracy.rs index cf97b6296..8ed2e4a7e 100644 --- a/runtime/pangolin/src/weights/pallet_democracy.rs +++ b/runtime/pangolin/src/weights/pallet_democracy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -68,10 +69,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3810` - // Estimated: `23979` - // Minimum execution time: 31_092_000 picoseconds. - Weight::from_parts(34_088_000, 0) - .saturating_add(Weight::from_parts(0, 23979)) + // Estimated: `16987` + // Minimum execution time: 33_656_000 picoseconds. + Weight::from_parts(35_652_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +82,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2559` // Estimated: `5495` - // Minimum execution time: 25_262_000 picoseconds. - Weight::from_parts(29_797_000, 0) + // Minimum execution time: 28_099_000 picoseconds. + Weight::from_parts(29_703_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,14 +94,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3406` - // Estimated: `15666` - // Minimum execution time: 37_381_000 picoseconds. - Weight::from_parts(40_935_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 39_585_000 picoseconds. + Weight::from_parts(42_318_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -109,14 +112,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3428` - // Estimated: `15666` - // Minimum execution time: 37_747_000 picoseconds. - Weight::from_parts(43_440_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 42_252_000 picoseconds. + Weight::from_parts(48_419_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -128,10 +133,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `299` - // Estimated: `10682` - // Minimum execution time: 17_960_000 picoseconds. - Weight::from_parts(18_710_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 18_070_000 picoseconds. + Weight::from_parts(18_829_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,10 +157,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4920` - // Estimated: `42511` - // Minimum execution time: 75_600_000 picoseconds. - Weight::from_parts(78_849_000, 0) - .saturating_add(Weight::from_parts(0, 42511)) + // Estimated: `16987` + // Minimum execution time: 79_276_000 picoseconds. + Weight::from_parts(82_830_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -166,10 +171,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2161` - // Estimated: `7120` - // Minimum execution time: 8_742_000 picoseconds. - Weight::from_parts(9_418_000, 0) - .saturating_add(Weight::from_parts(0, 7120)) + // Estimated: `5503` + // Minimum execution time: 8_471_000 picoseconds. + Weight::from_parts(8_949_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_120_000 picoseconds. - Weight::from_parts(2_253_000, 0) + // Minimum execution time: 2_094_000 picoseconds. + Weight::from_parts(2_293_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,8 +195,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_176_000 picoseconds. - Weight::from_parts(2_415_000, 0) + // Minimum execution time: 2_144_000 picoseconds. + Weight::from_parts(2_261_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +211,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `6624` - // Minimum execution time: 19_403_000 picoseconds. - Weight::from_parts(19_944_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 19_130_000 picoseconds. + Weight::from_parts(20_155_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -222,10 +227,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2264` - // Estimated: `10638` - // Minimum execution time: 21_494_000 picoseconds. - Weight::from_parts(21_949_000, 0) - .saturating_add(Weight::from_parts(0, 10638)) + // Estimated: `5503` + // Minimum execution time: 19_877_000 picoseconds. + Weight::from_parts(20_419_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -240,10 +245,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4852` - // Estimated: `32172` - // Minimum execution time: 59_675_000 picoseconds. - Weight::from_parts(63_105_000, 0) - .saturating_add(Weight::from_parts(0, 32172)) + // Estimated: `16987` + // Minimum execution time: 62_522_000 picoseconds. + Weight::from_parts(66_118_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -255,8 +260,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 13_598_000 picoseconds. - Weight::from_parts(14_043_000, 0) + // Minimum execution time: 13_859_000 picoseconds. + Weight::from_parts(14_236_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -271,12 +276,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 5_123_000 picoseconds. - Weight::from_parts(6_622_403, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 3_720 - .saturating_add(Weight::from_parts(2_172_828, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 5_040_000 picoseconds. + Weight::from_parts(6_310_155, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 3_456 + .saturating_add(Weight::from_parts(2_044_857, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,12 +303,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` - // Estimated: `24058 + r * (2676 ±0)` - // Minimum execution time: 7_168_000 picoseconds. - Weight::from_parts(9_430_894, 0) - .saturating_add(Weight::from_parts(0, 24058)) - // Standard Error: 6_908 - .saturating_add(Weight::from_parts(2_181_176, 0).saturating_mul(r.into())) + // Estimated: `16987 + r * (2676 ±0)` + // Minimum execution time: 7_486_000 picoseconds. + Weight::from_parts(8_666_182, 0) + .saturating_add(Weight::from_parts(0, 16987)) + // Standard Error: 4_228 + .saturating_add(Weight::from_parts(2_068_178, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -315,17 +320,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `730 + r * (108 ±0)` - // Estimated: `25506 + r * (2676 ±0)` - // Minimum execution time: 26_650_000 picoseconds. - Weight::from_parts(32_591_758, 0) - .saturating_add(Weight::from_parts(0, 25506)) - // Standard Error: 5_409 - .saturating_add(Weight::from_parts(3_169_142, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19764 + r * (2676 ±0)` + // Minimum execution time: 28_615_000 picoseconds. + Weight::from_parts(33_219_301, 0) + .saturating_add(Weight::from_parts(0, 19764)) + // Standard Error: 5_220 + .saturating_add(Weight::from_parts(2_690_743, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -339,12 +346,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `388 + r * (108 ±0)` - // Estimated: `14496 + r * (2676 ±0)` - // Minimum execution time: 14_266_000 picoseconds. - Weight::from_parts(16_490_544, 0) - .saturating_add(Weight::from_parts(0, 14496)) - // Standard Error: 5_756 - .saturating_add(Weight::from_parts(3_160_373, 0).saturating_mul(r.into())) + // Estimated: `13506 + r * (2676 ±0)` + // Minimum execution time: 13_505_000 picoseconds. + Weight::from_parts(15_529_966, 0) + .saturating_add(Weight::from_parts(0, 13506)) + // Standard Error: 4_619 + .saturating_add(Weight::from_parts(2_623_105, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -357,8 +364,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_222_000 picoseconds. - Weight::from_parts(2_432_000, 0) + // Minimum execution time: 2_077_000 picoseconds. + Weight::from_parts(2_388_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -366,38 +373,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385` - // Estimated: `15581` - // Minimum execution time: 13_408_000 picoseconds. - Weight::from_parts(18_586_818, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 2_001 - .saturating_add(Weight::from_parts(82_246, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 16_636_000 picoseconds. + Weight::from_parts(26_382_910, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_572 + .saturating_add(Weight::from_parts(100_528, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + r * (22 ±0)` - // Estimated: `15581` - // Minimum execution time: 16_391_000 picoseconds. - Weight::from_parts(19_782_943, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 4_214 - .saturating_add(Weight::from_parts(82_273, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 23_291_000 picoseconds. + Weight::from_parts(25_402_471, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_678 + .saturating_add(Weight::from_parts(103_850, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -408,12 +419,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_045_000 picoseconds. - Weight::from_parts(13_774_187, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 2_192 - .saturating_add(Weight::from_parts(95_595, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 9_835_000 picoseconds. + Weight::from_parts(12_083_869, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_283 + .saturating_add(Weight::from_parts(82_813, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -425,12 +436,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 10_991_000 picoseconds. - Weight::from_parts(13_322_987, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_882 - .saturating_add(Weight::from_parts(105_313, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 10_007_000 picoseconds. + Weight::from_parts(12_155_098, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_347 + .saturating_add(Weight::from_parts(82_554, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,10 +454,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `289` - // Estimated: `5161` - // Minimum execution time: 12_949_000 picoseconds. - Weight::from_parts(14_162_000, 0) - .saturating_add(Weight::from_parts(0, 5161)) + // Estimated: `3544` + // Minimum execution time: 12_429_000 picoseconds. + Weight::from_parts(12_977_000, 0) + .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -457,10 +468,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `5135` - // Minimum execution time: 11_413_000 picoseconds. - Weight::from_parts(11_829_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 11_197_000 picoseconds. + Weight::from_parts(11_790_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -473,10 +484,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3621` - // Estimated: `20531` - // Minimum execution time: 29_401_000 picoseconds. - Weight::from_parts(32_743_000, 0) - .saturating_add(Weight::from_parts(0, 20531)) + // Estimated: `16987` + // Minimum execution time: 28_376_000 picoseconds. + Weight::from_parts(31_123_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -487,10 +498,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3555` - // Estimated: `20505` - // Minimum execution time: 26_891_000 picoseconds. - Weight::from_parts(28_168_000, 0) - .saturating_add(Weight::from_parts(0, 20505)) + // Estimated: `16987` + // Minimum execution time: 26_191_000 picoseconds. + Weight::from_parts(27_805_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -502,8 +513,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 10_124_000 picoseconds. - Weight::from_parts(10_970_000, 0) + // Minimum execution time: 9_988_000 picoseconds. + Weight::from_parts(10_409_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -515,10 +526,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `235` - // Estimated: `7184` - // Minimum execution time: 12_776_000 picoseconds. - Weight::from_parts(13_303_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 12_471_000 picoseconds. + Weight::from_parts(12_863_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_elections_phragmen.rs b/runtime/pangolin/src/weights/pallet_elections_phragmen.rs index 061535dce..f1325f962 100644 --- a/runtime/pangolin/src/weights/pallet_elections_phragmen.rs +++ b/runtime/pangolin/src/weights/pallet_elections_phragmen.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -67,19 +68,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14288 + v * (224 ±0)` - // Minimum execution time: 19_468_000 picoseconds. - Weight::from_parts(20_391_306, 0) - .saturating_add(Weight::from_parts(0, 14288)) - // Standard Error: 5_138 - .saturating_add(Weight::from_parts(158_002, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 22_836_000 picoseconds. + Weight::from_parts(23_866_625, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 4_802 + .saturating_add(Weight::from_parts(140_515, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -91,19 +94,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385 + v * (56 ±0)` - // Estimated: `14212 + v * (224 ±0)` - // Minimum execution time: 27_087_000 picoseconds. - Weight::from_parts(28_258_100, 0) - .saturating_add(Weight::from_parts(0, 14212)) - // Standard Error: 14_958 - .saturating_add(Weight::from_parts(166_798, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_174_000 picoseconds. + Weight::from_parts(33_261_992, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 8_201 + .saturating_add(Weight::from_parts(200_408, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -115,32 +120,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14292 + v * (224 ±0)` - // Minimum execution time: 26_975_000 picoseconds. - Weight::from_parts(28_684_307, 0) - .saturating_add(Weight::from_parts(0, 14292)) - // Standard Error: 16_403 - .saturating_add(Weight::from_parts(125_246, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_546_000 picoseconds. + Weight::from_parts(33_600_425, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 6_320 + .saturating_add(Weight::from_parts(157_859, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `735` - // Estimated: `8952` - // Minimum execution time: 25_733_000 picoseconds. - Weight::from_parts(26_776_000, 0) - .saturating_add(Weight::from_parts(0, 8952)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 35_033_000 picoseconds. + Weight::from_parts(36_254_000, 0) + .saturating_add(Weight::from_parts(0, 4752)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -153,15 +162,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1116 + c * (36 ±0)` - // Estimated: `7776 + c * (111 ±0)` - // Minimum execution time: 22_685_000 picoseconds. - Weight::from_parts(24_874_191, 0) - .saturating_add(Weight::from_parts(0, 7776)) - // Standard Error: 5_575 - .saturating_add(Weight::from_parts(60_018, 0).saturating_mul(c.into())) + // Estimated: `2592 + c * (37 ±0)` + // Minimum execution time: 25_676_000 picoseconds. + Weight::from_parts(27_444_740, 0) + .saturating_add(Weight::from_parts(0, 2592)) + // Standard Error: 4_103 + .saturating_add(Weight::from_parts(83_653, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 111).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -170,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `375 + c * (38 ±0)` // Estimated: `1857 + c * (39 ±0)` - // Minimum execution time: 20_518_000 picoseconds. - Weight::from_parts(22_527_053, 0) + // Minimum execution time: 23_286_000 picoseconds. + Weight::from_parts(24_864_459, 0) .saturating_add(Weight::from_parts(0, 1857)) - // Standard Error: 5_196 - .saturating_add(Weight::from_parts(64_491, 0).saturating_mul(c.into())) + // Standard Error: 3_765 + .saturating_add(Weight::from_parts(84_536, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -192,10 +201,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1137` - // Estimated: `11625` - // Minimum execution time: 29_590_000 picoseconds. - Weight::from_parts(33_275_000, 0) - .saturating_add(Weight::from_parts(0, 11625)) + // Estimated: `2622` + // Minimum execution time: 31_432_000 picoseconds. + Weight::from_parts(33_343_000, 0) + .saturating_add(Weight::from_parts(0, 2622)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -205,8 +214,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `700` // Estimated: `2185` - // Minimum execution time: 21_379_000 picoseconds. - Weight::from_parts(23_643_000, 0) + // Minimum execution time: 22_474_000 picoseconds. + Weight::from_parts(24_282_000, 0) .saturating_add(Weight::from_parts(0, 2185)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,10 +245,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1332` - // Estimated: `18772` - // Minimum execution time: 43_633_000 picoseconds. - Weight::from_parts(45_997_000, 0) - .saturating_add(Weight::from_parts(0, 18772)) + // Estimated: `6172` + // Minimum execution time: 47_679_000 picoseconds. + Weight::from_parts(49_928_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -253,6 +262,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:300 w:300) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:300 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:300 w:300) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `v` is `[150, 300]`. @@ -260,16 +271,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `939 + v * (582 ±0)` - // Estimated: `13736 + v * (11160 ±0)` - // Minimum execution time: 6_515_677_000 picoseconds. - Weight::from_parts(6_561_845_000, 0) - .saturating_add(Weight::from_parts(0, 13736)) - // Standard Error: 179_108 - .saturating_add(Weight::from_parts(27_326_917, 0).saturating_mul(v.into())) + // Estimated: `4424 + v * (3762 ±0)` + // Minimum execution time: 7_771_828_000 picoseconds. + Weight::from_parts(7_804_607_000, 0) + .saturating_add(Weight::from_parts(0, 4424)) + // Standard Error: 220_919 + .saturating_add(Weight::from_parts(32_217_369, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 11160).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3762).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -294,24 +305,24 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (3085 ±0) + v * (400 ±0) + e * (18 ±0)` - // Estimated: `141456 + v * (3891 ±4) + e * (35 ±0) + c * (1738 ±10)` - // Minimum execution time: 458_977_000 picoseconds. - Weight::from_parts(468_138_000, 0) - .saturating_add(Weight::from_parts(0, 141456)) - // Standard Error: 2_558_729 - .saturating_add(Weight::from_parts(15_133_948, 0).saturating_mul(c.into())) - // Standard Error: 254_751 - .saturating_add(Weight::from_parts(7_238_281, 0).saturating_mul(v.into())) - // Standard Error: 16_343 - .saturating_add(Weight::from_parts(200_833, 0).saturating_mul(e.into())) + // Measured: `0 + c * (3085 ±0) + e * (18 ±0) + v * (400 ±0)` + // Estimated: `83983 + c * (1738 ±10) + e * (5 ±0) + v * (2547 ±4)` + // Minimum execution time: 502_249_000 picoseconds. + Weight::from_parts(511_465_000, 0) + .saturating_add(Weight::from_parts(0, 83983)) + // Standard Error: 2_190_223 + .saturating_add(Weight::from_parts(14_891_996, 0).saturating_mul(c.into())) + // Standard Error: 218_061 + .saturating_add(Weight::from_parts(6_458_226, 0).saturating_mul(v.into())) + // Standard Error: 13_989 + .saturating_add(Weight::from_parts(161_829, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 3891).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 1738).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2547).saturating_mul(v.into())) } } diff --git a/runtime/pangolin/src/weights/pallet_fee_market.rs b/runtime/pangolin/src/weights/pallet_fee_market.rs index 9ec4ea3d9..fad3e4ead 100644 --- a/runtime/pangolin/src/weights/pallet_fee_market.rs +++ b/runtime/pangolin/src/weights/pallet_fee_market.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); @@ -63,6 +64,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangoroFeeMarket RelayersMap (r:10 w:1) /// Proof Skipped: PangoroFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: PangoroFeeMarket Orders (r:1 w:0) @@ -74,11 +77,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1683` - // Estimated: `48923` - // Minimum execution time: 85_768_000 picoseconds. - Weight::from_parts(88_731_000, 0) - .saturating_add(Weight::from_parts(0, 48923)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27423` + // Minimum execution time: 89_435_000 picoseconds. + Weight::from_parts(91_812_000, 0) + .saturating_add(Weight::from_parts(0, 27423)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: PangoroFeeMarket Relayers (r:1 w:0) @@ -89,6 +92,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangoroFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangoroFeeMarket Orders (r:1 w:0) /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: PangoroFeeMarket AssignedRelayersNumber (r:1 w:0) @@ -98,11 +103,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1755` - // Estimated: `49283` - // Minimum execution time: 81_987_000 picoseconds. - Weight::from_parts(83_931_000, 0) - .saturating_add(Weight::from_parts(0, 49283)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27495` + // Minimum execution time: 85_663_000 picoseconds. + Weight::from_parts(87_192_000, 0) + .saturating_add(Weight::from_parts(0, 27495)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: PangoroFeeMarket Relayers (r:1 w:0) @@ -115,6 +120,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangoroFeeMarket AssignedRelayersNumber (r:1 w:0) /// Proof Skipped: PangoroFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) /// Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) @@ -122,11 +129,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1755` - // Estimated: `49283` - // Minimum execution time: 91_431_000 picoseconds. - Weight::from_parts(95_536_000, 0) - .saturating_add(Weight::from_parts(0, 49283)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27495` + // Minimum execution time: 104_485_000 picoseconds. + Weight::from_parts(107_228_000, 0) + .saturating_add(Weight::from_parts(0, 27495)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: PangoroFeeMarket Relayers (r:1 w:0) @@ -142,10 +149,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1336` - // Estimated: `38855` - // Minimum execution time: 68_516_000 picoseconds. - Weight::from_parts(70_612_000, 0) - .saturating_add(Weight::from_parts(0, 38855)) + // Estimated: `27076` + // Minimum execution time: 67_038_000 picoseconds. + Weight::from_parts(68_895_000, 0) + .saturating_add(Weight::from_parts(0, 27076)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -155,6 +162,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: PangoroFeeMarket AssignedRelayers (r:1 w:1) @@ -166,11 +175,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1822` - // Estimated: `48628` - // Minimum execution time: 81_221_000 picoseconds. - Weight::from_parts(83_365_000, 0) - .saturating_add(Weight::from_parts(0, 48628)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `25087` + // Minimum execution time: 86_729_000 picoseconds. + Weight::from_parts(89_294_000, 0) + .saturating_add(Weight::from_parts(0, 25087)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: PangoroFeeMarket CollateralSlashProtect (r:0 w:1) @@ -179,8 +188,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_235_000 picoseconds. - Weight::from_parts(5_416_000, 0) + // Minimum execution time: 6_753_000 picoseconds. + Weight::from_parts(13_349_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,10 +206,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1336` - // Estimated: `37370` - // Minimum execution time: 66_941_000 picoseconds. - Weight::from_parts(68_680_000, 0) - .saturating_add(Weight::from_parts(0, 37370)) + // Estimated: `27076` + // Minimum execution time: 64_030_000 picoseconds. + Weight::from_parts(66_140_000, 0) + .saturating_add(Weight::from_parts(0, 27076)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_identity.rs b/runtime/pangolin/src/weights/pallet_identity.rs index 02d6aa48b..c56bc9f14 100644 --- a/runtime/pangolin/src/weights/pallet_identity.rs +++ b/runtime/pangolin/src/weights/pallet_identity.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 8_101_000 picoseconds. - Weight::from_parts(9_153_539, 0) + // Minimum execution time: 7_799_000 picoseconds. + Weight::from_parts(8_341_586, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 12_604 - .saturating_add(Weight::from_parts(103_866, 0).saturating_mul(r.into())) + // Standard Error: 2_652 + .saturating_add(Weight::from_parts(98_793, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,13 +81,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 22_789_000 picoseconds. - Weight::from_parts(21_035_485, 0) + // Minimum execution time: 24_136_000 picoseconds. + Weight::from_parts(22_212_582, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 9_709 - .saturating_add(Weight::from_parts(218_175, 0).saturating_mul(r.into())) - // Standard Error: 1_894 - .saturating_add(Weight::from_parts(410_942, 0).saturating_mul(x.into())) + // Standard Error: 10_405 + .saturating_add(Weight::from_parts(208_057, 0).saturating_mul(r.into())) + // Standard Error: 2_030 + .saturating_add(Weight::from_parts(399_262, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,12 +101,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` - // Estimated: `17492 + s * (2565 ±0)` - // Minimum execution time: 5_892_000 picoseconds. - Weight::from_parts(17_599_342, 0) - .saturating_add(Weight::from_parts(0, 17492)) - // Standard Error: 6_067 - .saturating_add(Weight::from_parts(2_380_389, 0).saturating_mul(s.into())) + // Estimated: `10991 + s * (2565 ±0)` + // Minimum execution time: 5_937_000 picoseconds. + Weight::from_parts(16_189_920, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 3_228 + .saturating_add(Weight::from_parts(2_391_504, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,12 +123,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` - // Estimated: `16502` - // Minimum execution time: 5_911_000 picoseconds. - Weight::from_parts(14_950_721, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 2_707 - .saturating_add(Weight::from_parts(966_260, 0).saturating_mul(p.into())) + // Estimated: `10991` + // Minimum execution time: 6_217_000 picoseconds. + Weight::from_parts(16_738_718, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 2_750 + .saturating_add(Weight::from_parts(959_623, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -144,16 +145,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `16502` - // Minimum execution time: 42_441_000 picoseconds. - Weight::from_parts(22_303_378, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 10_478 - .saturating_add(Weight::from_parts(184_219, 0).saturating_mul(r.into())) - // Standard Error: 2_046 - .saturating_add(Weight::from_parts(936_901, 0).saturating_mul(s.into())) - // Standard Error: 2_046 - .saturating_add(Weight::from_parts(214_489, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 43_837_000 picoseconds. + Weight::from_parts(24_261_004, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 10_894 + .saturating_add(Weight::from_parts(249_701, 0).saturating_mul(r.into())) + // Standard Error: 2_127 + .saturating_add(Weight::from_parts(934_217, 0).saturating_mul(s.into())) + // Standard Error: 2_127 + .saturating_add(Weight::from_parts(210_805, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -167,14 +168,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 22_661_000 picoseconds. - Weight::from_parts(19_761_586, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 9_638 - .saturating_add(Weight::from_parts(219_450, 0).saturating_mul(r.into())) - // Standard Error: 1_880 - .saturating_add(Weight::from_parts(430_968, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 23_700_000 picoseconds. + Weight::from_parts(22_920_203, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 7_443 + .saturating_add(Weight::from_parts(130_570, 0).saturating_mul(r.into())) + // Standard Error: 1_452 + .saturating_add(Weight::from_parts(397_315, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +187,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_473_000 picoseconds. - Weight::from_parts(18_863_958, 0) + // Minimum execution time: 21_485_000 picoseconds. + Weight::from_parts(22_628_475, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 25_794 - .saturating_add(Weight::from_parts(188_386, 0).saturating_mul(r.into())) - // Standard Error: 5_033 - .saturating_add(Weight::from_parts(426_069, 0).saturating_mul(x.into())) + // Standard Error: 19_787 + .saturating_add(Weight::from_parts(98_608, 0).saturating_mul(r.into())) + // Standard Error: 3_860 + .saturating_add(Weight::from_parts(386_273, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,11 +204,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_321_000 picoseconds. - Weight::from_parts(5_797_091, 0) + // Minimum execution time: 4_788_000 picoseconds. + Weight::from_parts(5_324_012, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 7_208 - .saturating_add(Weight::from_parts(103_829, 0).saturating_mul(r.into())) + // Standard Error: 1_813 + .saturating_add(Weight::from_parts(58_777, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +219,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_651_020, 0) + // Minimum execution time: 4_433_000 picoseconds. + Weight::from_parts(5_146_509, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_802 - .saturating_add(Weight::from_parts(83_963, 0).saturating_mul(r.into())) + // Standard Error: 6_479 + .saturating_add(Weight::from_parts(39_357, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -233,11 +234,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_918_000 picoseconds. - Weight::from_parts(5_405_374, 0) + // Minimum execution time: 4_324_000 picoseconds. + Weight::from_parts(4_835_999, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_005 - .saturating_add(Weight::from_parts(92_536, 0).saturating_mul(r.into())) + // Standard Error: 7_121 + .saturating_add(Weight::from_parts(58_735, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -250,14 +251,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 16_238_000 picoseconds. - Weight::from_parts(18_451_221, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 18_905 - .saturating_add(Weight::from_parts(56_766, 0).saturating_mul(r.into())) - // Standard Error: 3_497 - .saturating_add(Weight::from_parts(656_926, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 15_248_000 picoseconds. + Weight::from_parts(15_715_778, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 19_399 + .saturating_add(Weight::from_parts(110_525, 0).saturating_mul(r.into())) + // Standard Error: 3_589 + .saturating_add(Weight::from_parts(622_300, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -275,16 +276,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `22674` - // Minimum execution time: 57_471_000 picoseconds. - Weight::from_parts(32_995_583, 0) - .saturating_add(Weight::from_parts(0, 22674)) - // Standard Error: 12_215 - .saturating_add(Weight::from_parts(300_661, 0).saturating_mul(r.into())) - // Standard Error: 2_385 - .saturating_add(Weight::from_parts(959_701, 0).saturating_mul(s.into())) - // Standard Error: 2_385 - .saturating_add(Weight::from_parts(221_267, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 59_588_000 picoseconds. + Weight::from_parts(38_870_400, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 11_782 + .saturating_add(Weight::from_parts(249_224, 0).saturating_mul(r.into())) + // Standard Error: 2_300 + .saturating_add(Weight::from_parts(935_898, 0).saturating_mul(s.into())) + // Standard Error: 2_300 + .saturating_add(Weight::from_parts(221_667, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -299,12 +300,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` - // Estimated: `20057` - // Minimum execution time: 18_707_000 picoseconds. - Weight::from_parts(23_295_063, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 3_824 - .saturating_add(Weight::from_parts(56_547, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 20_713_000 picoseconds. + Weight::from_parts(23_875_954, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 3_793 + .saturating_add(Weight::from_parts(56_330, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -316,12 +317,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` - // Estimated: `14546` - // Minimum execution time: 8_287_000 picoseconds. - Weight::from_parts(10_200_293, 0) - .saturating_add(Weight::from_parts(0, 14546)) - // Standard Error: 897 - .saturating_add(Weight::from_parts(26_253, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 8_203_000 picoseconds. + Weight::from_parts(9_867_052, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_228 + .saturating_add(Weight::from_parts(27_923, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -335,12 +336,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` - // Estimated: `20057` - // Minimum execution time: 20_625_000 picoseconds. - Weight::from_parts(24_736_767, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 5_235 - .saturating_add(Weight::from_parts(53_549, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 22_968_000 picoseconds. + Weight::from_parts(25_183_790, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 6_292 + .saturating_add(Weight::from_parts(62_196, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -348,17 +349,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + s * (24 ±0)` - // Estimated: `9066` - // Minimum execution time: 13_231_000 picoseconds. - Weight::from_parts(15_496_257, 0) - .saturating_add(Weight::from_parts(0, 9066)) - // Standard Error: 1_647 - .saturating_add(Weight::from_parts(54_830, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `622 + s * (24 ±0)` + // Estimated: `5511` + // Minimum execution time: 15_737_000 picoseconds. + Weight::from_parts(17_254_371, 0) + .saturating_add(Weight::from_parts(0, 5511)) + // Standard Error: 938 + .saturating_add(Weight::from_parts(45_799, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangolin/src/weights/pallet_membership.rs b/runtime/pangolin/src/weights/pallet_membership.rs index 8b986b10a..a825d4cce 100644 --- a/runtime/pangolin/src/weights/pallet_membership.rs +++ b/runtime/pangolin/src/weights/pallet_membership.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -69,15 +70,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (40 ±0)` - // Estimated: `5377 + m * (120 ±0)` - // Minimum execution time: 10_889_000 picoseconds. - Weight::from_parts(11_648_470, 0) - .saturating_add(Weight::from_parts(0, 5377)) - // Standard Error: 1_749 - .saturating_add(Weight::from_parts(25_831, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 10_369_000 picoseconds. + Weight::from_parts(12_094_269, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 3_523 + .saturating_add(Weight::from_parts(1_325, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -93,15 +94,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_797_000 picoseconds. - Weight::from_parts(13_963_258, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 1_578 - .saturating_add(Weight::from_parts(16_802, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_404_000 picoseconds. + Weight::from_parts(13_339_434, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 502 + .saturating_add(Weight::from_parts(9_013, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -117,15 +118,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_896_000 picoseconds. - Weight::from_parts(15_143_450, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 5_142 - .saturating_add(Weight::from_parts(14_784, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_556_000 picoseconds. + Weight::from_parts(14_644_636, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 3_928 + .saturating_add(Weight::from_parts(208, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -141,15 +142,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_313_000 picoseconds. - Weight::from_parts(14_689_401, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 5_078 - .saturating_add(Weight::from_parts(86_553, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_070_000 picoseconds. + Weight::from_parts(13_532_144, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 799 + .saturating_add(Weight::from_parts(74_316, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -165,15 +166,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_947_000 picoseconds. - Weight::from_parts(13_961_617, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 3_814 - .saturating_add(Weight::from_parts(41_794, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_884_000 picoseconds. + Weight::from_parts(14_121_225, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 804 + .saturating_add(Weight::from_parts(13_145, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -185,12 +186,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` - // Estimated: `3518 + m * (20 ±0)` - // Minimum execution time: 4_935_000 picoseconds. - Weight::from_parts(5_535_615, 0) - .saturating_add(Weight::from_parts(0, 3518)) - // Standard Error: 2_277 - .saturating_add(Weight::from_parts(13_716, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (20 ±0)` + // Minimum execution time: 5_086_000 picoseconds. + Weight::from_parts(5_621_470, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 2_352 + .saturating_add(Weight::from_parts(11_067, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) @@ -204,11 +205,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_037_000 picoseconds. - Weight::from_parts(2_368_017, 0) + // Minimum execution time: 2_022_000 picoseconds. + Weight::from_parts(2_279_793, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_486 - .saturating_add(Weight::from_parts(4_151, 0).saturating_mul(m.into())) + // Standard Error: 122 + .saturating_add(Weight::from_parts(127, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangolin/src/weights/pallet_preimage.rs b/runtime/pangolin/src/weights/pallet_preimage.rs index a053db962..d1baf5eee 100644 --- a/runtime/pangolin/src/weights/pallet_preimage.rs +++ b/runtime/pangolin/src/weights/pallet_preimage.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -66,11 +67,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 18_968_000 picoseconds. - Weight::from_parts(19_595_000, 0) + // Minimum execution time: 22_018_000 picoseconds. + Weight::from_parts(88_914_760, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_356, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_304, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +84,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_336_000 picoseconds. - Weight::from_parts(11_792_000, 0) + // Minimum execution time: 11_172_000 picoseconds. + Weight::from_parts(11_515_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_329, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_376, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +101,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_681_000 picoseconds. - Weight::from_parts(11_029_000, 0) + // Minimum execution time: 10_826_000 picoseconds. + Weight::from_parts(11_135_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_377, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_323, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 36_854_000 picoseconds. - Weight::from_parts(37_904_000, 0) + // Minimum execution time: 32_838_000 picoseconds. + Weight::from_parts(37_071_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +131,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 25_042_000 picoseconds. - Weight::from_parts(26_697_000, 0) + // Minimum execution time: 19_351_000 picoseconds. + Weight::from_parts(22_238_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -142,8 +143,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 21_090_000 picoseconds. - Weight::from_parts(22_576_000, 0) + // Minimum execution time: 15_814_000 picoseconds. + Weight::from_parts(20_508_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +155,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 14_333_000 picoseconds. - Weight::from_parts(16_440_000, 0) + // Minimum execution time: 11_074_000 picoseconds. + Weight::from_parts(13_250_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 13_170_000 picoseconds. - Weight::from_parts(15_155_000, 0) + // Minimum execution time: 12_341_000 picoseconds. + Weight::from_parts(13_166_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_495_000 picoseconds. - Weight::from_parts(8_805_000, 0) + // Minimum execution time: 7_276_000 picoseconds. + Weight::from_parts(7_854_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +193,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 23_513_000 picoseconds. - Weight::from_parts(25_065_000, 0) + // Minimum execution time: 19_436_000 picoseconds. + Weight::from_parts(21_066_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -204,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_181_000 picoseconds. - Weight::from_parts(9_504_000, 0) + // Minimum execution time: 7_128_000 picoseconds. + Weight::from_parts(7_919_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,8 +217,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_831_000 picoseconds. - Weight::from_parts(9_266_000, 0) + // Minimum execution time: 7_061_000 picoseconds. + Weight::from_parts(7_577_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/pangolin/src/weights/pallet_proxy.rs b/runtime/pangolin/src/weights/pallet_proxy.rs index 7ee5fdf97..487562d7b 100644 --- a/runtime/pangolin/src/weights/pallet_proxy.rs +++ b/runtime/pangolin/src/weights/pallet_proxy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 10_083_000 picoseconds. - Weight::from_parts(11_006_329, 0) + // Minimum execution time: 9_804_000 picoseconds. + Weight::from_parts(10_369_870, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_960 - .saturating_add(Weight::from_parts(22_049, 0).saturating_mul(p.into())) + // Standard Error: 2_694 + .saturating_add(Weight::from_parts(38_799, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -82,14 +83,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 23_491_000 picoseconds. - Weight::from_parts(24_581_194, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 8_991 - .saturating_add(Weight::from_parts(177_346, 0).saturating_mul(a.into())) - // Standard Error: 9_289 - .saturating_add(Weight::from_parts(37_020, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 25_477_000 picoseconds. + Weight::from_parts(25_858_228, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 3_602 + .saturating_add(Weight::from_parts(140_904, 0).saturating_mul(a.into())) + // Standard Error: 3_722 + .saturating_add(Weight::from_parts(38_282, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,14 +103,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 13_995_000 picoseconds. - Weight::from_parts(14_810_710, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 5_067 - .saturating_add(Weight::from_parts(175_245, 0).saturating_mul(a.into())) - // Standard Error: 5_235 - .saturating_add(Weight::from_parts(26_326, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 16_248_000 picoseconds. + Weight::from_parts(17_280_437, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 2_303 + .saturating_add(Weight::from_parts(124_153, 0).saturating_mul(a.into())) + // Standard Error: 2_380 + .saturating_add(Weight::from_parts(10_141, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -122,14 +123,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_421_000 picoseconds. - Weight::from_parts(15_803_343, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 5_306 - .saturating_add(Weight::from_parts(151_381, 0).saturating_mul(a.into())) - // Standard Error: 5_482 - .saturating_add(Weight::from_parts(12_050, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 16_470_000 picoseconds. + Weight::from_parts(18_069_718, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 6_773 + .saturating_add(Weight::from_parts(98_884, 0).saturating_mul(a.into())) + // Standard Error: 6_998 + .saturating_add(Weight::from_parts(8_289, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,14 +145,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 20_565_000 picoseconds. - Weight::from_parts(21_481_191, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 6_305 - .saturating_add(Weight::from_parts(170_562, 0).saturating_mul(a.into())) - // Standard Error: 6_514 - .saturating_add(Weight::from_parts(47_185, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 22_810_000 picoseconds. + Weight::from_parts(23_938_497, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 2_776 + .saturating_add(Weight::from_parts(108_624, 0).saturating_mul(a.into())) + // Standard Error: 2_868 + .saturating_add(Weight::from_parts(23_847, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -162,24 +163,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_055_000 picoseconds. - Weight::from_parts(17_124_619, 0) + // Minimum execution time: 17_308_000 picoseconds. + Weight::from_parts(18_267_113, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 13_641 - .saturating_add(Weight::from_parts(60_864, 0).saturating_mul(p.into())) + // Standard Error: 6_141 + .saturating_add(Weight::from_parts(25_824, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(_p: u32, ) -> Weight { + fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_779_000 picoseconds. - Weight::from_parts(20_604_750, 0) + // Minimum execution time: 17_271_000 picoseconds. + Weight::from_parts(18_462_221, 0) .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 2_628 + .saturating_add(Weight::from_parts(29_477, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_507_000 picoseconds. - Weight::from_parts(13_005_878, 0) + // Minimum execution time: 15_616_000 picoseconds. + Weight::from_parts(16_397_164, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_491 - .saturating_add(Weight::from_parts(56_705, 0).saturating_mul(p.into())) + // Standard Error: 2_614 + .saturating_add(Weight::from_parts(33_658, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 17_261_000 picoseconds. - Weight::from_parts(18_355_856, 0) + // Minimum execution time: 18_811_000 picoseconds. + Weight::from_parts(19_847_998, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_896 - .saturating_add(Weight::from_parts(6_661, 0).saturating_mul(p.into())) + // Standard Error: 3_113 + .saturating_add(Weight::from_parts(21_027, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -220,11 +223,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_856_000 picoseconds. - Weight::from_parts(14_146_127, 0) + // Minimum execution time: 15_998_000 picoseconds. + Weight::from_parts(16_759_655, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 11_555 - .saturating_add(Weight::from_parts(46_229, 0).saturating_mul(p.into())) + // Standard Error: 2_326 + .saturating_add(Weight::from_parts(41_860, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_scheduler.rs b/runtime/pangolin/src/weights/pallet_scheduler.rs index 80bfec66e..a629cad00 100644 --- a/runtime/pangolin/src/weights/pallet_scheduler.rs +++ b/runtime/pangolin/src/weights/pallet_scheduler.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_335_000 picoseconds. - Weight::from_parts(2_501_000, 0) + // Minimum execution time: 2_260_000 picoseconds. + Weight::from_parts(2_424_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,11 +77,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_293_000 picoseconds. - Weight::from_parts(4_876_902, 0) + // Minimum execution time: 2_273_000 picoseconds. + Weight::from_parts(4_178_714, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_055 - .saturating_add(Weight::from_parts(536_773, 0).saturating_mul(s.into())) + // Standard Error: 1_997 + .saturating_add(Weight::from_parts(503_010, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,8 +89,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_843_000 picoseconds. - Weight::from_parts(3_942_000, 0) + // Minimum execution time: 3_572_000 picoseconds. + Weight::from_parts(3_834_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -100,12 +101,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7188 + s * (1 ±0)` - // Minimum execution time: 14_052_000 picoseconds. - Weight::from_parts(14_316_000, 0) - .saturating_add(Weight::from_parts(0, 7188)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_127, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 14_191_000 picoseconds. + Weight::from_parts(14_522_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(665, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -116,8 +117,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_949_000 picoseconds. - Weight::from_parts(5_123_000, 0) + // Minimum execution time: 4_429_000 picoseconds. + Weight::from_parts(4_579_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,24 +126,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_804_000 picoseconds. - Weight::from_parts(3_987_000, 0) + // Minimum execution time: 3_659_000 picoseconds. + Weight::from_parts(3_806_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_959_000 picoseconds. - Weight::from_parts(5_126_000, 0) + // Minimum execution time: 1_829_000 picoseconds. + Weight::from_parts(1_905_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_914_000 picoseconds. - Weight::from_parts(2_007_000, 0) + // Minimum execution time: 1_699_000 picoseconds. + Weight::from_parts(1_914_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -152,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_768_000 picoseconds. - Weight::from_parts(12_361_358, 0) + // Minimum execution time: 8_058_000 picoseconds. + Weight::from_parts(10_010_332, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 12_457 - .saturating_add(Weight::from_parts(572_655, 0).saturating_mul(s.into())) + // Standard Error: 5_426 + .saturating_add(Weight::from_parts(528_116, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_829_000 picoseconds. - Weight::from_parts(11_620_021, 0) + // Minimum execution time: 11_646_000 picoseconds. + Weight::from_parts(11_175_234, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_831 - .saturating_add(Weight::from_parts(996_575, 0).saturating_mul(s.into())) + // Standard Error: 5_129 + .saturating_add(Weight::from_parts(910_485, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,12 +186,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 10_968_000 picoseconds. - Weight::from_parts(15_678_207, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 11_524 - .saturating_add(Weight::from_parts(561_478, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 10_324_000 picoseconds. + Weight::from_parts(13_013_961, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 3_581 + .saturating_add(Weight::from_parts(535_183, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,12 +203,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 13_182_000 picoseconds. - Weight::from_parts(13_936_387, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 8_673 - .saturating_add(Weight::from_parts(995_875, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 12_635_000 picoseconds. + Weight::from_parts(12_321_991, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 4_451 + .saturating_add(Weight::from_parts(942_643, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_session.rs b/runtime/pangolin/src/weights/pallet_session.rs index 9f4c4743b..7d4521378 100644 --- a/runtime/pangolin/src/weights/pallet_session.rs +++ b/runtime/pangolin/src/weights/pallet_session.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -63,11 +64,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `318` - // Estimated: `7566` - // Minimum execution time: 11_524_000 picoseconds. - Weight::from_parts(11_946_000, 0) - .saturating_add(Weight::from_parts(0, 7566)) + // Measured: `247` + // Estimated: `3712` + // Minimum execution time: 10_740_000 picoseconds. + Weight::from_parts(11_138_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,11 +78,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `300` - // Estimated: `4065` - // Minimum execution time: 8_322_000 picoseconds. - Weight::from_parts(8_500_000, 0) - .saturating_add(Weight::from_parts(0, 4065)) + // Measured: `229` + // Estimated: `3694` + // Minimum execution time: 7_513_000 picoseconds. + Weight::from_parts(7_941_000, 0) + .saturating_add(Weight::from_parts(0, 3694)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_timestamp.rs b/runtime/pangolin/src/weights/pallet_timestamp.rs index 83135f90e..e9c317531 100644 --- a/runtime/pangolin/src/weights/pallet_timestamp.rs +++ b/runtime/pangolin/src/weights/pallet_timestamp.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 4_916_000 picoseconds. - Weight::from_parts(5_310_000, 0) + // Minimum execution time: 4_737_000 picoseconds. + Weight::from_parts(4_988_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +74,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_050_000 picoseconds. - Weight::from_parts(3_277_000, 0) + // Minimum execution time: 2_969_000 picoseconds. + Weight::from_parts(3_131_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/pangolin/src/weights/pallet_tips.rs b/runtime/pangolin/src/weights/pallet_tips.rs index 4e894c885..0207549d0 100644 --- a/runtime/pangolin/src/weights/pallet_tips.rs +++ b/runtime/pangolin/src/weights/pallet_tips.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -65,12 +66,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 17_641_000 picoseconds. - Weight::from_parts(18_486_846, 0) - .saturating_add(Weight::from_parts(0, 6938)) - // Standard Error: 53 - .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(r.into())) + // Estimated: `3469` + // Minimum execution time: 20_749_000 picoseconds. + Weight::from_parts(21_891_635, 0) + .saturating_add(Weight::from_parts(0, 3469)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(928, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,10 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `197` - // Estimated: `3859` - // Minimum execution time: 17_091_000 picoseconds. - Weight::from_parts(17_943_000, 0) - .saturating_add(Weight::from_parts(0, 3859)) + // Estimated: `3662` + // Minimum execution time: 19_812_000 picoseconds. + Weight::from_parts(20_521_000, 0) + .saturating_add(Weight::from_parts(0, 3662)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,17 +100,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + t * (52 ±0)` - // Estimated: `5271 + t * (156 ±0)` - // Minimum execution time: 13_023_000 picoseconds. - Weight::from_parts(8_933_899, 0) - .saturating_add(Weight::from_parts(0, 5271)) - // Standard Error: 25 - .saturating_add(Weight::from_parts(1_059, 0).saturating_mul(r.into())) - // Standard Error: 64_435 - .saturating_add(Weight::from_parts(665_715, 0).saturating_mul(t.into())) + // Estimated: `3572 + t * (52 ±0)` + // Minimum execution time: 12_794_000 picoseconds. + Weight::from_parts(12_218_515, 0) + .saturating_add(Weight::from_parts(0, 3572)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(912, 0).saturating_mul(r.into())) + // Standard Error: 8_531 + .saturating_add(Weight::from_parts(215_224, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 156).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -119,15 +120,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305 + t * (88 ±0)` - // Estimated: `5558 + t * (176 ±0)` - // Minimum execution time: 10_467_000 picoseconds. - Weight::from_parts(11_152_149, 0) - .saturating_add(Weight::from_parts(0, 5558)) - // Standard Error: 6_903 - .saturating_add(Weight::from_parts(157_517, 0).saturating_mul(t.into())) + // Estimated: `3769 + t * (88 ±0)` + // Minimum execution time: 10_052_000 picoseconds. + Weight::from_parts(10_584_093, 0) + .saturating_add(Weight::from_parts(0, 3769)) + // Standard Error: 4_576 + .saturating_add(Weight::from_parts(138_985, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 176).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 88).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -141,15 +142,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + t * (88 ±0)` - // Estimated: `12484 + t * (270 ±0)` - // Minimum execution time: 33_957_000 picoseconds. - Weight::from_parts(36_063_462, 0) - .saturating_add(Weight::from_parts(0, 12484)) - // Standard Error: 30_667 - .saturating_add(Weight::from_parts(203_951, 0).saturating_mul(t.into())) + // Estimated: `6172 + t * (90 ±0)` + // Minimum execution time: 44_967_000 picoseconds. + Weight::from_parts(46_737_803, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 17_789 + .saturating_add(Weight::from_parts(168_402, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 270).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -159,12 +160,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `3931` - // Minimum execution time: 9_831_000 picoseconds. - Weight::from_parts(10_675_357, 0) - .saturating_add(Weight::from_parts(0, 3931)) - // Standard Error: 9_384 - .saturating_add(Weight::from_parts(5_052, 0).saturating_mul(t.into())) + // Estimated: `3698` + // Minimum execution time: 9_404_000 picoseconds. + Weight::from_parts(9_986_151, 0) + .saturating_add(Weight::from_parts(0, 3698)) + // Standard Error: 4_102 + .saturating_add(Weight::from_parts(20_038, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_treasury.rs b/runtime/pangolin/src/weights/pallet_treasury.rs index 64d7856c1..d4a0f5297 100644 --- a/runtime/pangolin/src/weights/pallet_treasury.rs +++ b/runtime/pangolin/src/weights/pallet_treasury.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -61,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 164_000 picoseconds. - Weight::from_parts(180_000, 0) + // Minimum execution time: 169_000 picoseconds. + Weight::from_parts(195_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -73,8 +74,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `1489` - // Minimum execution time: 17_914_000 picoseconds. - Weight::from_parts(18_825_000, 0) + // Minimum execution time: 20_404_000 picoseconds. + Weight::from_parts(21_462_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,10 +87,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `470` - // Estimated: `9721` - // Minimum execution time: 28_286_000 picoseconds. - Weight::from_parts(29_632_000, 0) - .saturating_add(Weight::from_parts(0, 9721)) + // Estimated: `6172` + // Minimum execution time: 32_767_000 picoseconds. + Weight::from_parts(33_525_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -101,12 +102,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` - // Estimated: `5436` - // Minimum execution time: 6_068_000 picoseconds. - Weight::from_parts(8_708_757, 0) - .saturating_add(Weight::from_parts(0, 5436)) - // Standard Error: 2_425 - .saturating_add(Weight::from_parts(59_919, 0).saturating_mul(p.into())) + // Estimated: `3549` + // Minimum execution time: 6_069_000 picoseconds. + Weight::from_parts(8_016_843, 0) + .saturating_add(Weight::from_parts(0, 3549)) + // Standard Error: 1_146 + .saturating_add(Weight::from_parts(58_198, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,8 +117,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 5_170_000 picoseconds. - Weight::from_parts(5_469_000, 0) + // Minimum execution time: 5_184_000 picoseconds. + Weight::from_parts(5_428_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,12 +137,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `218 + p * (97 ±0)` - // Estimated: `9460 + p * (2559 ±0)` - // Minimum execution time: 22_042_000 picoseconds. - Weight::from_parts(22_762_433, 0) - .saturating_add(Weight::from_parts(0, 9460)) - // Standard Error: 5_317 - .saturating_add(Weight::from_parts(2_072_148, 0).saturating_mul(p.into())) + // Estimated: `3581 + p * (2559 ±0)` + // Minimum execution time: 20_520_000 picoseconds. + Weight::from_parts(20_262_987, 0) + .saturating_add(Weight::from_parts(0, 3581)) + // Standard Error: 3_545 + .saturating_add(Weight::from_parts(1_977_897, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/pangolin/src/weights/pallet_utility.rs b/runtime/pangolin/src/weights/pallet_utility.rs index ee6bb66c2..a690bf59d 100644 --- a/runtime/pangolin/src/weights/pallet_utility.rs +++ b/runtime/pangolin/src/weights/pallet_utility.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -62,18 +63,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_783_000 picoseconds. - Weight::from_parts(4_945_000, 0) + // Minimum execution time: 4_367_000 picoseconds. + Weight::from_parts(21_863_185, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_981 - .saturating_add(Weight::from_parts(3_886_116, 0).saturating_mul(c.into())) + // Standard Error: 9_157 + .saturating_add(Weight::from_parts(3_701_408, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_686_000 picoseconds. - Weight::from_parts(4_162_000, 0) + // Minimum execution time: 3_188_000 picoseconds. + Weight::from_parts(3_418_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -81,18 +82,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_696_000 picoseconds. - Weight::from_parts(21_557_080, 0) + // Minimum execution time: 4_307_000 picoseconds. + Weight::from_parts(8_309_769, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 9_985 - .saturating_add(Weight::from_parts(4_062_032, 0).saturating_mul(c.into())) + // Standard Error: 2_315 + .saturating_add(Weight::from_parts(3_951_113, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_381_000 picoseconds. - Weight::from_parts(6_721_000, 0) + // Minimum execution time: 6_007_000 picoseconds. + Weight::from_parts(6_347_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -100,10 +101,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_556_000 picoseconds. - Weight::from_parts(4_094_932, 0) + // Minimum execution time: 4_414_000 picoseconds. + Weight::from_parts(6_109_501, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_543 - .saturating_add(Weight::from_parts(3_877_679, 0).saturating_mul(c.into())) + // Standard Error: 2_150 + .saturating_add(Weight::from_parts(3_726_962, 0).saturating_mul(c.into())) } } diff --git a/runtime/pangoro/src/pallets/balances.rs b/runtime/pangoro/src/pallets/balances.rs index 70d65b7c1..c9a61fcd0 100644 --- a/runtime/pangoro/src/pallets/balances.rs +++ b/runtime/pangoro/src/pallets/balances.rs @@ -20,7 +20,7 @@ use crate::*; frame_support::parameter_types! { - pub const ExistentialDeposit:Balance = 0; + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } impl pallet_balances::Config for Runtime { diff --git a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs index c409847fd..efa6d9b36 100644 --- a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_381_000 picoseconds. - Weight::from_parts(4_713_000, 0) + // Minimum execution time: 3_900_000 picoseconds. + Weight::from_parts(4_186_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_303_000 picoseconds. - Weight::from_parts(4_472_000, 0) + // Minimum execution time: 3_769_000 picoseconds. + Weight::from_parts(4_077_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/pangoro/src/weights/darwinia_account_migration.rs b/runtime/pangoro/src/weights/darwinia_account_migration.rs index 72580334e..8f6da2703 100644 --- a/runtime/pangoro/src/weights/darwinia_account_migration.rs +++ b/runtime/pangoro/src/weights/darwinia_account_migration.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); @@ -63,10 +64,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -78,24 +75,22 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn migrate() -> Weight { // Proof Size summary in bytes: - // Measured: `30224` - // Estimated: `113012` - // Minimum execution time: 142_632_000 picoseconds. - Weight::from_parts(146_828_000, 0) - .saturating_add(Weight::from_parts(0, 113012)) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(18)) + // Measured: `29142` + // Estimated: `32607` + // Minimum execution time: 146_615_000 picoseconds. + Weight::from_parts(149_125_000, 0) + .saturating_add(Weight::from_parts(0, 32607)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: AccountMigration Multisigs (r:0 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -105,10 +100,6 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Proof: AccountMigration KtonAccounts (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: AccountMigration Vestings (r:1 w:1) - /// Proof Skipped: AccountMigration Vestings (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) /// Storage: AccountMigration Identities (r:1 w:1) /// Proof: AccountMigration Identities (max_values: None, max_size: Some(9219), added: 11694, mode: MaxEncodedLen) /// Storage: Identity Registrars (r:1 w:1) @@ -120,13 +111,11 @@ impl darwinia_account_migration::WeightInfo for WeightI /// Storage: System Account (r:2 w:3) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking Ledgers (r:0 w:1) /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) /// Storage: Identity IdentityOf (r:0 w:1) /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Vesting Vesting (r:0 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1045), added: 3520, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:0 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) /// The range of component `x` is `[0, 99]`. @@ -135,16 +124,16 @@ impl darwinia_account_migration::WeightInfo for WeightI fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `5 + x * (570 ±0) + z * (570 ±0)` - // Minimum execution time: 8_135_000 picoseconds. - Weight::from_parts(23_855_910, 0) - .saturating_add(Weight::from_parts(0, 5)) - // Standard Error: 12_598 - .saturating_add(Weight::from_parts(9_347, 0).saturating_mul(x.into())) + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_816_000 picoseconds. + Weight::from_parts(22_268_275, 0) + .saturating_add(Weight::from_parts(0, 2)) + // Standard Error: 13_016 + .saturating_add(Weight::from_parts(7_507, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(x.into())) - .saturating_add(Weight::from_parts(0, 570).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 165).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -153,10 +142,10 @@ impl darwinia_account_migration::WeightInfo for WeightI fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 9_831_000 picoseconds. - Weight::from_parts(10_378_000, 0) - .saturating_add(Weight::from_parts(0, 10545)) + // Estimated: `6964` + // Minimum execution time: 8_566_000 picoseconds. + Weight::from_parts(8_913_000, 0) + .saturating_add(Weight::from_parts(0, 6964)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/darwinia_deposit.rs b/runtime/pangoro/src/weights/darwinia_deposit.rs index 7ee71f94a..1ef4bd5a9 100644 --- a/runtime/pangoro/src/weights/darwinia_deposit.rs +++ b/runtime/pangoro/src/weights/darwinia_deposit.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); @@ -66,14 +67,14 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26745` - // Estimated: `41879` - // Minimum execution time: 63_228_000 picoseconds. - Weight::from_parts(70_927_000, 0) - .saturating_add(Weight::from_parts(0, 41879)) + // Estimated: `29615` + // Minimum execution time: 71_958_000 picoseconds. + Weight::from_parts(78_621_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -86,10 +87,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26512` - // Estimated: `34689` - // Minimum execution time: 1_384_702_000 picoseconds. - Weight::from_parts(1_458_078_000, 0) - .saturating_add(Weight::from_parts(0, 34689)) + // Estimated: `29615` + // Minimum execution time: 1_259_934_000 picoseconds. + Weight::from_parts(1_287_995_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,16 +99,16 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn claim_with_penalty() -> Weight { // Proof Size summary in bytes: // Measured: `26634` - // Estimated: `38298` - // Minimum execution time: 53_737_000 picoseconds. - Weight::from_parts(59_240_000, 0) - .saturating_add(Weight::from_parts(0, 38298)) + // Estimated: `29615` + // Minimum execution time: 48_591_000 picoseconds. + Weight::from_parts(53_189_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs b/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs index ecb7ab65f..b90d12db9 100644 --- a/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); @@ -66,10 +67,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 10_058_000 picoseconds. - Weight::from_parts(10_649_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 9_918_000 picoseconds. + Weight::from_parts(10_293_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,10 +83,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 13_969_000 picoseconds. - Weight::from_parts(14_574_000, 0) - .saturating_add(Weight::from_parts(0, 4716)) + // Estimated: `1572` + // Minimum execution time: 13_186_000 picoseconds. + Weight::from_parts(13_695_000, 0) + .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,10 +99,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 14_937_000 picoseconds. - Weight::from_parts(15_826_000, 0) - .saturating_add(Weight::from_parts(0, 4953)) + // Estimated: `1651` + // Minimum execution time: 13_631_000 picoseconds. + Weight::from_parts(14_297_000, 0) + .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,10 +115,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 15_042_000 picoseconds. - Weight::from_parts(15_599_000, 0) - .saturating_add(Weight::from_parts(0, 5256)) + // Estimated: `1752` + // Minimum execution time: 13_891_000 picoseconds. + Weight::from_parts(14_626_000, 0) + .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,10 +135,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 22_424_000 picoseconds. - Weight::from_parts(23_102_000, 0) - .saturating_add(Weight::from_parts(0, 7195)) + // Estimated: `1736` + // Minimum execution time: 41_975_000 picoseconds. + Weight::from_parts(43_277_000, 0) + .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -148,10 +149,10 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 12_413_000 picoseconds. - Weight::from_parts(12_985_000, 0) - .saturating_add(Weight::from_parts(0, 3460)) + // Estimated: `1730` + // Minimum execution time: 31_688_000 picoseconds. + Weight::from_parts(32_750_000, 0) + .saturating_add(Weight::from_parts(0, 1730)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/darwinia_staking.rs b/runtime/pangoro/src/weights/darwinia_staking.rs index 4236c26e8..1a951ad2b 100644 --- a/runtime/pangoro/src/weights/darwinia_staking.rs +++ b/runtime/pangoro/src/weights/darwinia_staking.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); @@ -66,19 +67,21 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: DarwiniaStaking KtonPool (r:1 w:1) /// Proof: DarwiniaStaking KtonPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) /// The range of component `x` is `[0, 1023]`. - fn stake(_x: u32, ) -> Weight { + fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1813` - // Estimated: `51255` - // Minimum execution time: 52_762_000 picoseconds. - Weight::from_parts(132_429_153, 0) - .saturating_add(Weight::from_parts(0, 51255)) + // Measured: `1781` + // Estimated: `29615` + // Minimum execution time: 63_535_000 picoseconds. + Weight::from_parts(123_328_968, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 1_338 + .saturating_add(Weight::from_parts(9_153, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -93,13 +96,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1497` - // Estimated: `37915` - // Minimum execution time: 11_316_000 picoseconds. - Weight::from_parts(54_819_746, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 962 - .saturating_add(Weight::from_parts(4_414, 0).saturating_mul(x.into())) + // Measured: `1430` + // Estimated: `29615` + // Minimum execution time: 11_189_000 picoseconds. + Weight::from_parts(53_944_593, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 934 + .saturating_add(Weight::from_parts(5_440, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +117,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1601` - // Estimated: `37915` - // Minimum execution time: 9_868_000 picoseconds. - Weight::from_parts(46_314_073, 0) - .saturating_add(Weight::from_parts(0, 37915)) - // Standard Error: 797 - .saturating_add(Weight::from_parts(4_049, 0).saturating_mul(x.into())) + // Measured: `1534` + // Estimated: `29615` + // Minimum execution time: 9_838_000 picoseconds. + Weight::from_parts(46_278_799, 0) + .saturating_add(Weight::from_parts(0, 29615)) + // Standard Error: 822 + .saturating_add(Weight::from_parts(3_889, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -131,16 +134,16 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Deposit Deposits (r:1 w:1) /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2123` - // Estimated: `48253` - // Minimum execution time: 93_053_000 picoseconds. - Weight::from_parts(95_019_000, 0) - .saturating_add(Weight::from_parts(0, 48253)) + // Measured: `2056` + // Estimated: `29615` + // Minimum execution time: 92_699_000 picoseconds. + Weight::from_parts(96_981_000, 0) + .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -148,10 +151,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `392` + // Measured: `321` // Estimated: `3497` - // Minimum execution time: 5_996_000 picoseconds. - Weight::from_parts(6_912_000, 0) + // Minimum execution time: 5_205_000 picoseconds. + Weight::from_parts(5_775_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -164,11 +167,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `697` - // Estimated: `12308` - // Minimum execution time: 10_426_000 picoseconds. - Weight::from_parts(10_765_000, 0) - .saturating_add(Weight::from_parts(0, 12308)) + // Measured: `489` + // Estimated: `5298` + // Minimum execution time: 9_405_000 picoseconds. + Weight::from_parts(9_864_000, 0) + .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,8 +183,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_590_000 picoseconds. - Weight::from_parts(3_748_000, 0) + // Minimum execution time: 3_537_000 picoseconds. + Weight::from_parts(3_736_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,8 +194,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_015_000 picoseconds. - Weight::from_parts(2_153_000, 0) + // Minimum execution time: 1_855_000 picoseconds. + Weight::from_parts(1_959_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_assets.rs b/runtime/pangoro/src/weights/pallet_assets.rs index 17b329b91..4a0a13101 100644 --- a/runtime/pangoro/src/weights/pallet_assets.rs +++ b/runtime/pangoro/src/weights/pallet_assets.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 9_383_000 picoseconds. - Weight::from_parts(9_898_000, 0) + // Minimum execution time: 8_568_000 picoseconds. + Weight::from_parts(9_011_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 9_052_000 picoseconds. - Weight::from_parts(9_444_000, 0) + // Minimum execution time: 8_200_000 picoseconds. + Weight::from_parts(8_741_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_047_000 picoseconds. - Weight::from_parts(9_545_000, 0) + // Minimum execution time: 8_481_000 picoseconds. + Weight::from_parts(8_731_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,24 +97,24 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1000 w:1000) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `436 + c * (183 ±0)` - // Estimated: `8180 + c * (5160 ±0)` - // Minimum execution time: 12_110_000 picoseconds. - Weight::from_parts(12_396_000, 0) - .saturating_add(Weight::from_parts(0, 8180)) - // Standard Error: 7_728 - .saturating_add(Weight::from_parts(9_038_667, 0).saturating_mul(c.into())) + // Estimated: `3631 + c * (2591 ±0)` + // Minimum execution time: 11_218_000 picoseconds. + Weight::from_parts(11_642_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 4_343 + .saturating_add(Weight::from_parts(8_580_356, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5160).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into())) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) @@ -123,12 +124,12 @@ impl pallet_assets::WeightInfo for WeightInfo { fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` - // Estimated: `7224 + a * (2603 ±0)` - // Minimum execution time: 11_898_000 picoseconds. - Weight::from_parts(12_215_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) - // Standard Error: 3_173 - .saturating_add(Weight::from_parts(3_241_749, 0).saturating_mul(a.into())) + // Estimated: `3631 + a * (2603 ±0)` + // Minimum execution time: 11_026_000 picoseconds. + Weight::from_parts(11_413_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 2_027 + .saturating_add(Weight::from_parts(3_233_810, 0).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)) @@ -142,114 +143,114 @@ impl pallet_assets::WeightInfo for WeightInfo { fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 10_368_000 picoseconds. - Weight::from_parts(10_733_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_766_000 picoseconds. + Weight::from_parts(10_296_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7190` - // Minimum execution time: 19_324_000 picoseconds. - Weight::from_parts(20_064_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 17_156_000 picoseconds. + Weight::from_parts(17_888_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 22_932_000 picoseconds. - Weight::from_parts(23_439_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 21_559_000 picoseconds. + Weight::from_parts(22_239_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 32_898_000 picoseconds. - Weight::from_parts(34_019_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_661_000 picoseconds. + Weight::from_parts(31_314_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 29_657_000 picoseconds. - Weight::from_parts(32_496_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 26_791_000 picoseconds. + Weight::from_parts(27_443_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:1) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `464` - // Estimated: `13340` - // Minimum execution time: 33_118_000 picoseconds. - Weight::from_parts(34_211_000, 0) - .saturating_add(Weight::from_parts(0, 13340)) + // Estimated: `6168` + // Minimum execution time: 30_522_000 picoseconds. + Weight::from_parts(31_059_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_797_000 picoseconds. - Weight::from_parts(12_483_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 10_896_000 picoseconds. + Weight::from_parts(11_325_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Asset (r:1 w:0) /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` - // Estimated: `7190` - // Minimum execution time: 11_643_000 picoseconds. - Weight::from_parts(12_527_000, 0) - .saturating_add(Weight::from_parts(0, 7190)) + // Estimated: `3631` + // Minimum execution time: 11_188_000 picoseconds. + Weight::from_parts(11_604_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_808_000 picoseconds. - Weight::from_parts(9_346_000, 0) + // Minimum execution time: 8_280_000 picoseconds. + Weight::from_parts(8_607_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -271,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_823_000 picoseconds. - Weight::from_parts(9_459_000, 0) + // Minimum execution time: 8_246_000 picoseconds. + Weight::from_parts(8_611_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,10 +285,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 10_990_000 picoseconds. - Weight::from_parts(11_530_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 9_932_000 picoseconds. + Weight::from_parts(10_571_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -297,8 +298,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_603_000 picoseconds. - Weight::from_parts(10_223_000, 0) + // Minimum execution time: 8_335_000 picoseconds. + Weight::from_parts(8_772_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -309,13 +310,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `313` - // Estimated: `7240` - // Minimum execution time: 11_029_000 picoseconds. - Weight::from_parts(12_818_841, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_181_000 picoseconds. + Weight::from_parts(10_795_469, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 859 + .saturating_add(Weight::from_parts(2_894, 0).saturating_mul(n.into())) + // Standard Error: 859 + .saturating_add(Weight::from_parts(28, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -326,10 +331,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 11_104_000 picoseconds. - Weight::from_parts(11_504_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_495_000 picoseconds. + Weight::from_parts(11_035_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -339,15 +344,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) /// 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 { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `200` - // Estimated: `7240` - // Minimum execution time: 10_493_000 picoseconds. - Weight::from_parts(12_196_425, 0) - .saturating_add(Weight::from_parts(0, 7240)) - // Standard Error: 6_056 - .saturating_add(Weight::from_parts(14_271, 0).saturating_mul(n.into())) + // Estimated: `3631` + // Minimum execution time: 9_320_000 picoseconds. + Weight::from_parts(10_150_743, 0) + .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 690 + .saturating_add(Weight::from_parts(795, 0).saturating_mul(n.into())) + // Standard Error: 690 + .saturating_add(Weight::from_parts(2_070, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -358,10 +365,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` - // Estimated: `7240` - // Minimum execution time: 10_864_000 picoseconds. - Weight::from_parts(11_228_000, 0) - .saturating_add(Weight::from_parts(0, 7240)) + // Estimated: `3631` + // Minimum execution time: 10_393_000 picoseconds. + Weight::from_parts(10_812_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -371,8 +378,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_710_000 picoseconds. - Weight::from_parts(9_279_000, 0) + // Minimum execution time: 8_529_000 picoseconds. + Weight::from_parts(8_855_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -384,10 +391,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` - // Estimated: `7224` - // Minimum execution time: 13_834_000 picoseconds. - Weight::from_parts(14_712_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 12_570_000 picoseconds. + Weight::from_parts(13_018_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -396,16 +403,16 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Storage: Assets Approvals (r:1 w:1) /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `562` - // Estimated: `16933` - // Minimum execution time: 38_255_000 picoseconds. - Weight::from_parts(39_249_000, 0) - .saturating_add(Weight::from_parts(0, 16933)) + // Estimated: `6168` + // Minimum execution time: 35_754_000 picoseconds. + Weight::from_parts(37_083_000, 0) + .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -416,10 +423,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 14_767_000 picoseconds. - Weight::from_parts(15_274_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 13_725_000 picoseconds. + Weight::from_parts(14_414_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -430,10 +437,10 @@ impl pallet_assets::WeightInfo for WeightInfo { fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` - // Estimated: `7224` - // Minimum execution time: 14_801_000 picoseconds. - Weight::from_parts(15_458_000, 0) - .saturating_add(Weight::from_parts(0, 7224)) + // Estimated: `3631` + // Minimum execution time: 13_900_000 picoseconds. + Weight::from_parts(14_266_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,79 +450,84 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 10_267_000 picoseconds. - Weight::from_parts(10_823_000, 0) + // Minimum execution time: 8_841_000 picoseconds. + Weight::from_parts(9_401_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `453` - // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `441` + // Estimated: `3631` + // Minimum execution time: 23_890_000 picoseconds. + Weight::from_parts(24_541_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) + // Measured: `313` + // Estimated: `3631` + // Minimum execution time: 22_592_000 picoseconds. + Weight::from_parts(23_383_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `579` - // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `519` + // Estimated: `3631` + // Minimum execution time: 22_268_000 picoseconds. + Weight::from_parts(22_994_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `411` + // Estimated: `3631` + // Minimum execution time: 20_878_000 picoseconds. + Weight::from_parts(22_089_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `373` + // Estimated: `3631` + // Minimum execution time: 11_192_000 picoseconds. + Weight::from_parts(11_650_000, 0) + .saturating_add(Weight::from_parts(0, 3631)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/pangoro/src/weights/pallet_balances.rs b/runtime/pangoro/src/weights/pallet_balances.rs index 87453dcbd..bbe0ec4f1 100644 --- a/runtime/pangoro/src/weights/pallet_balances.rs +++ b/runtime/pangoro/src/weights/pallet_balances.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 24_461_000 picoseconds. - Weight::from_parts(28_155_000, 0) + // Minimum execution time: 37_241_000 picoseconds. + Weight::from_parts(37_980_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 19_607_000 picoseconds. - Weight::from_parts(20_396_000, 0) + // Minimum execution time: 31_215_000 picoseconds. + Weight::from_parts(32_112_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_713_000 picoseconds. - Weight::from_parts(11_221_000, 0) + // Minimum execution time: 11_519_000 picoseconds. + Weight::from_parts(12_134_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 13_520_000 picoseconds. - Weight::from_parts(13_866_000, 0) + // Minimum execution time: 16_997_000 picoseconds. + Weight::from_parts(17_550_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 24_812_000 picoseconds. - Weight::from_parts(25_659_000, 0) + // Minimum execution time: 38_965_000 picoseconds. + Weight::from_parts(39_952_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -123,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 25_084_000 picoseconds. - Weight::from_parts(26_211_000, 0) + // Minimum execution time: 39_037_000 picoseconds. + Weight::from_parts(39_640_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +136,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 10_617_000 picoseconds. - Weight::from_parts(10_979_000, 0) + // Minimum execution time: 13_923_000 picoseconds. + Weight::from_parts(14_303_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `58 + u * (124 ±0)` + // Estimated: `990 + u * (2591 ±0)` + // Minimum execution time: 12_637_000 picoseconds. + Weight::from_parts(12_797_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 7_684 + .saturating_add(Weight::from_parts(10_689_363, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2591).saturating_mul(u.into())) } } diff --git a/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs b/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs index df42474be..04d31dd05 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); @@ -76,14 +77,14 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `2510 + p * (40 ±0)` - // Estimated: `243854` - // Minimum execution time: 1_559_530_000 picoseconds. - Weight::from_parts(64_141_129, 0) - .saturating_add(Weight::from_parts(0, 243854)) - // Standard Error: 111_099 - .saturating_add(Weight::from_parts(29_403_478, 0).saturating_mul(p.into())) - // Standard Error: 113_736 - .saturating_add(Weight::from_parts(859_234, 0).saturating_mul(v.into())) + // Estimated: `165335` + // Minimum execution time: 1_616_723_000 picoseconds. + Weight::from_parts(227_793_897, 0) + .saturating_add(Weight::from_parts(0, 165335)) + // Standard Error: 383_907 + .saturating_add(Weight::from_parts(27_204_618, 0).saturating_mul(p.into())) + // Standard Error: 393_017 + .saturating_add(Weight::from_parts(827_881, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/pangoro/src/weights/pallet_bridge_messages.rs b/runtime/pangoro/src/weights/pallet_bridge_messages.rs index 0641021f2..7b7d2cf8e 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_messages.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_messages.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); @@ -70,10 +71,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` - // Estimated: `13029` - // Minimum execution time: 48_297_000 picoseconds. - Weight::from_parts(51_455_000, 0) - .saturating_add(Weight::from_parts(0, 13029)) + // Estimated: `6172` + // Minimum execution time: 57_565_000 picoseconds. + Weight::from_parts(58_590_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -90,10 +91,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` - // Estimated: `13029` - // Minimum execution time: 49_586_000 picoseconds. - Weight::from_parts(53_160_000, 0) - .saturating_add(Weight::from_parts(0, 13029)) + // Estimated: `6172` + // Minimum execution time: 57_782_000 picoseconds. + Weight::from_parts(59_090_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -110,10 +111,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` - // Estimated: `13029` - // Minimum execution time: 55_342_000 picoseconds. - Weight::from_parts(57_131_000, 0) - .saturating_add(Weight::from_parts(0, 13029)) + // Estimated: `6172` + // Minimum execution time: 62_806_000 picoseconds. + Weight::from_parts(64_220_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } @@ -126,10 +127,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 30_152_000 picoseconds. - Weight::from_parts(32_079_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 28_448_000 picoseconds. + Weight::from_parts(28_908_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,10 +143,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 42_771_000 picoseconds. - Weight::from_parts(44_537_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 39_769_000 picoseconds. + Weight::from_parts(41_698_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,10 +159,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 34_276_000 picoseconds. - Weight::from_parts(35_498_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 32_788_000 picoseconds. + Weight::from_parts(33_793_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +175,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 34_988_000 picoseconds. - Weight::from_parts(36_674_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 34_078_000 picoseconds. + Weight::from_parts(35_869_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,10 +191,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 71_461_000 picoseconds. - Weight::from_parts(75_225_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 68_814_000 picoseconds. + Weight::from_parts(71_856_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +207,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `546` - // Estimated: `79645` - // Minimum execution time: 29_944_000 picoseconds. - Weight::from_parts(30_782_000, 0) - .saturating_add(Weight::from_parts(0, 79645)) + // Estimated: `69033` + // Minimum execution time: 28_822_000 picoseconds. + Weight::from_parts(29_480_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,10 +225,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `597` - // Estimated: `78091` - // Minimum execution time: 24_297_000 picoseconds. - Weight::from_parts(25_017_000, 0) - .saturating_add(Weight::from_parts(0, 78091)) + // Estimated: `69033` + // Minimum execution time: 23_334_000 picoseconds. + Weight::from_parts(23_917_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,10 +243,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight { // Proof Size summary in bytes: // Measured: `597` - // Estimated: `80566` - // Minimum execution time: 26_431_000 picoseconds. - Weight::from_parts(27_111_000, 0) - .saturating_add(Weight::from_parts(0, 80566)) + // Estimated: `69033` + // Minimum execution time: 25_607_000 picoseconds. + Weight::from_parts(54_859_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -260,10 +261,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight { // Proof Size summary in bytes: // Measured: `597` - // Estimated: `80566` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_562_000, 0) - .saturating_add(Weight::from_parts(0, 80566)) + // Estimated: `69033` + // Minimum execution time: 27_216_000 picoseconds. + Weight::from_parts(56_077_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_bridge_parachains.rs b/runtime/pangoro/src/weights/pallet_bridge_parachains.rs index 22738508d..69fb94f9a 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_parachains.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_parachains.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); @@ -71,16 +72,16 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `72499 + p * (5074 ±0)` - // Minimum execution time: 23_342_000 picoseconds. - Weight::from_parts(24_467_000, 0) - .saturating_add(Weight::from_parts(0, 72499)) - // Standard Error: 22_039 - .saturating_add(Weight::from_parts(18_554_424, 0).saturating_mul(p.into())) + // Estimated: `69033 + p * (2539 ±0)` + // Minimum execution time: 23_448_000 picoseconds. + Weight::from_parts(23_603_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) + // Standard Error: 21_061 + .saturating_add(Weight::from_parts(17_640_223, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5074).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2539).saturating_mul(p.into())) } /// Storage: BridgeRococoParachain PalletOperatingMode (r:1 w:0) /// Proof: BridgeRococoParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) @@ -95,10 +96,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_1kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `77573` - // Minimum execution time: 29_317_000 picoseconds. - Weight::from_parts(30_548_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Estimated: `69033` + // Minimum execution time: 28_434_000 picoseconds. + Weight::from_parts(29_523_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,10 +116,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf fn submit_parachain_heads_with_16kb_proof() -> Weight { // Proof Size summary in bytes: // Measured: `451` - // Estimated: `77573` - // Minimum execution time: 64_172_000 picoseconds. - Weight::from_parts(66_687_000, 0) - .saturating_add(Weight::from_parts(0, 77573)) + // Estimated: `69033` + // Minimum execution time: 60_699_000 picoseconds. + Weight::from_parts(62_651_000, 0) + .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangoro/src/weights/pallet_collective_council.rs b/runtime/pangoro/src/weights/pallet_collective_council.rs index 58e0b9a75..d4d135ed9 100644 --- a/runtime/pangoro/src/weights/pallet_collective_council.rs +++ b/runtime/pangoro/src/weights/pallet_collective_council.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15220 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 9_787_000 picoseconds. - Weight::from_parts(10_121_000, 0) - .saturating_add(Weight::from_parts(0, 15220)) - // Standard Error: 23_684 - .saturating_add(Weight::from_parts(2_583_882, 0).saturating_mul(m.into())) - // Standard Error: 23_684 - .saturating_add(Weight::from_parts(4_858_903, 0).saturating_mul(p.into())) + // Estimated: `12163 + m * (1231 ±11) + p * (3660 ±11)` + // Minimum execution time: 9_673_000 picoseconds. + Weight::from_parts(9_896_000, 0) + .saturating_add(Weight::from_parts(0, 12163)) + // Standard Error: 20_485 + .saturating_add(Weight::from_parts(2_200_636, 0).saturating_mul(m.into())) + // Standard Error: 20_485 + .saturating_add(Weight::from_parts(4_337_440, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,11 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `1517 + m * (20 ±0)` - // Minimum execution time: 10_162_000 picoseconds. - Weight::from_parts(11_722_388, 0) + // Minimum execution time: 9_976_000 picoseconds. + Weight::from_parts(9_917_991, 0) .saturating_add(Weight::from_parts(0, 1517)) - // Standard Error: 123 - .saturating_add(Weight::from_parts(704, 0).saturating_mul(b.into())) + // Standard Error: 57 + .saturating_add(Weight::from_parts(1_000, 0).saturating_mul(b.into())) + // Standard Error: 590 + .saturating_add(Weight::from_parts(9_290, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -115,17 +118,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn propose_execute(_b: u32, m: u32, ) -> Weight { + fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` - // Estimated: `5014 + m * (40 ±0)` - // Minimum execution time: 12_260_000 picoseconds. - Weight::from_parts(13_683_504, 0) - .saturating_add(Weight::from_parts(0, 5014)) - // Standard Error: 1_619 - .saturating_add(Weight::from_parts(5_387, 0).saturating_mul(m.into())) + // Estimated: `3497 + m * (20 ±0)` + // Minimum execution time: 11_775_000 picoseconds. + Weight::from_parts(11_989_692, 0) + .saturating_add(Weight::from_parts(0, 3497)) + // Standard Error: 72 + .saturating_add(Weight::from_parts(883, 0).saturating_mul(b.into())) + // Standard Error: 751 + .saturating_add(Weight::from_parts(10_004, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -146,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `320 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9165 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 16_967_000 picoseconds. - Weight::from_parts(16_645_013, 0) - .saturating_add(Weight::from_parts(0, 9165)) - // Standard Error: 96 - .saturating_add(Weight::from_parts(2_906, 0).saturating_mul(b.into())) - // Standard Error: 1_007 - .saturating_add(Weight::from_parts(13_709, 0).saturating_mul(m.into())) - // Standard Error: 994 - .saturating_add(Weight::from_parts(171_160, 0).saturating_mul(p.into())) + // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_122_000 picoseconds. + Weight::from_parts(16_389_097, 0) + .saturating_add(Weight::from_parts(0, 3714)) + // Standard Error: 82 + .saturating_add(Weight::from_parts(1_720, 0).saturating_mul(b.into())) + // Standard Error: 865 + .saturating_add(Weight::from_parts(13_133, 0).saturating_mul(m.into())) + // Standard Error: 854 + .saturating_add(Weight::from_parts(151_810, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -170,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + m * (40 ±0)` - // Estimated: `6538 + m * (80 ±0)` - // Minimum execution time: 17_586_000 picoseconds. - Weight::from_parts(20_211_259, 0) - .saturating_add(Weight::from_parts(0, 6538)) - // Standard Error: 1_001 - .saturating_add(Weight::from_parts(27_343, 0).saturating_mul(m.into())) + // Estimated: `4259 + m * (40 ±0)` + // Minimum execution time: 15_972_000 picoseconds. + Weight::from_parts(18_414_072, 0) + .saturating_add(Weight::from_parts(0, 4259)) + // Standard Error: 791 + .saturating_add(Weight::from_parts(13_420, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -195,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `372 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `7843 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 18_657_000 picoseconds. - Weight::from_parts(21_170_207, 0) - .saturating_add(Weight::from_parts(0, 7843)) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(14_579, 0).saturating_mul(m.into())) - // Standard Error: 1_059 - .saturating_add(Weight::from_parts(156_654, 0).saturating_mul(p.into())) + // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 17_903_000 picoseconds. + Weight::from_parts(18_505_881, 0) + .saturating_add(Weight::from_parts(0, 3817)) + // Standard Error: 753 + .saturating_add(Weight::from_parts(17_575, 0).saturating_mul(m.into())) + // Standard Error: 734 + .saturating_add(Weight::from_parts(148_602, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -225,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `674 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12004 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 26_815_000 picoseconds. - Weight::from_parts(29_240_061, 0) - .saturating_add(Weight::from_parts(0, 12004)) - // Standard Error: 114 - .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(b.into())) - // Standard Error: 1_211 - .saturating_add(Weight::from_parts(14_654, 0).saturating_mul(m.into())) - // Standard Error: 1_180 - .saturating_add(Weight::from_parts(191_639, 0).saturating_mul(p.into())) + // Estimated: `3991 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_661_000 picoseconds. + Weight::from_parts(26_210_696, 0) + .saturating_add(Weight::from_parts(0, 3991)) + // Standard Error: 99 + .saturating_add(Weight::from_parts(2_199, 0).saturating_mul(b.into())) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(15_127, 0).saturating_mul(m.into())) + // Standard Error: 1_029 + .saturating_add(Weight::from_parts(177_519, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -258,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `392 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `9780 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 20_487_000 picoseconds. - Weight::from_parts(22_791_485, 0) - .saturating_add(Weight::from_parts(0, 9780)) - // Standard Error: 1_174 - .saturating_add(Weight::from_parts(18_316, 0).saturating_mul(m.into())) - // Standard Error: 1_145 - .saturating_add(Weight::from_parts(160_196, 0).saturating_mul(p.into())) + // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_028_000 picoseconds. + Weight::from_parts(21_357_274, 0) + .saturating_add(Weight::from_parts(0, 3837)) + // Standard Error: 1_129 + .saturating_add(Weight::from_parts(13_839, 0).saturating_mul(m.into())) + // Standard Error: 1_101 + .saturating_add(Weight::from_parts(143_884, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -290,21 +295,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14115 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_041_000 picoseconds. - Weight::from_parts(31_087_082, 0) - .saturating_add(Weight::from_parts(0, 14115)) - // Standard Error: 134 - .saturating_add(Weight::from_parts(2_244, 0).saturating_mul(b.into())) - // Standard Error: 1_418 - .saturating_add(Weight::from_parts(5_533, 0).saturating_mul(m.into())) - // Standard Error: 1_382 - .saturating_add(Weight::from_parts(208_331, 0).saturating_mul(p.into())) + // Estimated: `4011 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_471_000 picoseconds. + Weight::from_parts(28_684_954, 0) + .saturating_add(Weight::from_parts(0, 4011)) + // Standard Error: 109 + .saturating_add(Weight::from_parts(1_975, 0).saturating_mul(b.into())) + // Standard Error: 1_156 + .saturating_add(Weight::from_parts(5_111, 0).saturating_mul(m.into())) + // Standard Error: 1_127 + .saturating_add(Weight::from_parts(192_815, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -317,14 +322,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `189 + p * (32 ±0)` - // Estimated: `2052 + p * (96 ±0)` - // Minimum execution time: 10_445_000 picoseconds. - Weight::from_parts(12_449_204, 0) - .saturating_add(Weight::from_parts(0, 2052)) - // Standard Error: 1_625 - .saturating_add(Weight::from_parts(152_933, 0).saturating_mul(p.into())) + // Estimated: `1674 + p * (32 ±0)` + // Minimum execution time: 10_071_000 picoseconds. + Weight::from_parts(11_403_523, 0) + .saturating_add(Weight::from_parts(0, 1674)) + // Standard Error: 788 + .saturating_add(Weight::from_parts(133_811, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs b/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs index 4589be183..958990d31 100644 --- a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -74,20 +75,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `15504 + m * (4872 ±10) + p * (7368 ±10)` - // Minimum execution time: 10_788_000 picoseconds. - Weight::from_parts(11_047_000, 0) - .saturating_add(Weight::from_parts(0, 15504)) - // Standard Error: 22_478 - .saturating_add(Weight::from_parts(2_503_250, 0).saturating_mul(m.into())) - // Standard Error: 22_478 - .saturating_add(Weight::from_parts(4_728_371, 0).saturating_mul(p.into())) + // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 10_291_000 picoseconds. + Weight::from_parts(10_652_000, 0) + .saturating_add(Weight::from_parts(0, 12234)) + // Standard Error: 19_740 + .saturating_add(Weight::from_parts(2_073_070, 0).saturating_mul(m.into())) + // Standard Error: 19_740 + .saturating_add(Weight::from_parts(4_257_225, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4872).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 7368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -99,13 +100,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `1588 + m * (20 ±0)` - // Minimum execution time: 10_846_000 picoseconds. - Weight::from_parts(11_577_092, 0) + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(10_298_703, 0) .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 137 - .saturating_add(Weight::from_parts(887, 0).saturating_mul(b.into())) - // Standard Error: 1_418 - .saturating_add(Weight::from_parts(622, 0).saturating_mul(m.into())) + // Standard Error: 58 + .saturating_add(Weight::from_parts(808, 0).saturating_mul(b.into())) + // Standard Error: 604 + .saturating_add(Weight::from_parts(8_730, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -120,16 +121,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` - // Estimated: `5156 + m * (40 ±0)` - // Minimum execution time: 12_541_000 picoseconds. - Weight::from_parts(12_604_074, 0) - .saturating_add(Weight::from_parts(0, 5156)) - // Standard Error: 77 - .saturating_add(Weight::from_parts(736, 0).saturating_mul(b.into())) - // Standard Error: 798 - .saturating_add(Weight::from_parts(10_443, 0).saturating_mul(m.into())) + // Estimated: `3568 + m * (20 ±0)` + // Minimum execution time: 12_281_000 picoseconds. + Weight::from_parts(12_737_889, 0) + .saturating_add(Weight::from_parts(0, 3568)) + // Standard Error: 145 + .saturating_add(Weight::from_parts(363, 0).saturating_mul(b.into())) + // Standard Error: 1_499 + .saturating_add(Weight::from_parts(10_305, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -150,20 +151,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `9520 + m * (105 ±0) + p * (180 ±0)` - // Minimum execution time: 17_072_000 picoseconds. - Weight::from_parts(17_100_639, 0) - .saturating_add(Weight::from_parts(0, 9520)) - // Standard Error: 99 - .saturating_add(Weight::from_parts(2_891, 0).saturating_mul(b.into())) - // Standard Error: 1_039 - .saturating_add(Weight::from_parts(12_480, 0).saturating_mul(m.into())) - // Standard Error: 1_025 - .saturating_add(Weight::from_parts(173_096, 0).saturating_mul(p.into())) + // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 16_306_000 picoseconds. + Weight::from_parts(17_103_945, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 103 + .saturating_add(Weight::from_parts(1_795, 0).saturating_mul(b.into())) + // Standard Error: 1_074 + .saturating_add(Weight::from_parts(9_940, 0).saturating_mul(m.into())) + // Standard Error: 1_061 + .saturating_add(Weight::from_parts(151_810, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 105).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -174,15 +175,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `866 + m * (40 ±0)` - // Estimated: `6680 + m * (80 ±0)` - // Minimum execution time: 18_096_000 picoseconds. - Weight::from_parts(20_744_483, 0) - .saturating_add(Weight::from_parts(0, 6680)) - // Standard Error: 1_060 - .saturating_add(Weight::from_parts(31_927, 0).saturating_mul(m.into())) + // Estimated: `4330 + m * (40 ±0)` + // Minimum execution time: 16_442_000 picoseconds. + Weight::from_parts(18_723_308, 0) + .saturating_add(Weight::from_parts(0, 4330)) + // Standard Error: 780 + .saturating_add(Weight::from_parts(16_694, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -199,18 +200,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `8127 + m * (164 ±0) + p * (144 ±0)` - // Minimum execution time: 18_465_000 picoseconds. - Weight::from_parts(21_332_199, 0) - .saturating_add(Weight::from_parts(0, 8127)) - // Standard Error: 1_000 - .saturating_add(Weight::from_parts(13_907, 0).saturating_mul(m.into())) - // Standard Error: 975 - .saturating_add(Weight::from_parts(161_469, 0).saturating_mul(p.into())) + // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 18_377_000 picoseconds. + Weight::from_parts(19_216_954, 0) + .saturating_add(Weight::from_parts(0, 3888)) + // Standard Error: 717 + .saturating_add(Weight::from_parts(16_149, 0).saturating_mul(m.into())) + // Standard Error: 700 + .saturating_add(Weight::from_parts(146_887, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 164).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -229,21 +230,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `745 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `12288 + b * (4 ±0) + m * (168 ±0) + p * (160 ±0)` - // Minimum execution time: 27_249_000 picoseconds. - Weight::from_parts(29_424_675, 0) - .saturating_add(Weight::from_parts(0, 12288)) - // Standard Error: 121 - .saturating_add(Weight::from_parts(2_174, 0).saturating_mul(b.into())) - // Standard Error: 1_286 - .saturating_add(Weight::from_parts(3_817, 0).saturating_mul(m.into())) - // Standard Error: 1_254 - .saturating_add(Weight::from_parts(208_331, 0).saturating_mul(p.into())) + // Estimated: `4062 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 25_873_000 picoseconds. + Weight::from_parts(27_370_959, 0) + .saturating_add(Weight::from_parts(0, 4062)) + // Standard Error: 106 + .saturating_add(Weight::from_parts(2_226, 0).saturating_mul(b.into())) + // Standard Error: 1_125 + .saturating_add(Weight::from_parts(2_648, 0).saturating_mul(m.into())) + // Standard Error: 1_096 + .saturating_add(Weight::from_parts(189_729, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 168).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -262,18 +263,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `10135 + m * (205 ±0) + p * (180 ±0)` - // Minimum execution time: 21_084_000 picoseconds. - Weight::from_parts(22_638_865, 0) - .saturating_add(Weight::from_parts(0, 10135)) - // Standard Error: 1_058 - .saturating_add(Weight::from_parts(21_492, 0).saturating_mul(m.into())) - // Standard Error: 1_032 - .saturating_add(Weight::from_parts(164_385, 0).saturating_mul(p.into())) + // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 20_098_000 picoseconds. + Weight::from_parts(21_337_727, 0) + .saturating_add(Weight::from_parts(0, 3908)) + // Standard Error: 795 + .saturating_add(Weight::from_parts(15_174, 0).saturating_mul(m.into())) + // Standard Error: 775 + .saturating_add(Weight::from_parts(148_750, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 205).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -294,21 +295,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `765 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` - // Estimated: `14470 + b * (5 ±0) + m * (210 ±0) + p * (200 ±0)` - // Minimum execution time: 28_443_000 picoseconds. - Weight::from_parts(31_304_217, 0) - .saturating_add(Weight::from_parts(0, 14470)) - // Standard Error: 134 - .saturating_add(Weight::from_parts(2_484, 0).saturating_mul(b.into())) - // Standard Error: 1_418 - .saturating_add(Weight::from_parts(7_694, 0).saturating_mul(m.into())) - // Standard Error: 1_382 - .saturating_add(Weight::from_parts(207_476, 0).saturating_mul(p.into())) + // Estimated: `4082 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 27_575_000 picoseconds. + Weight::from_parts(29_261_071, 0) + .saturating_add(Weight::from_parts(0, 4082)) + // Standard Error: 111 + .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(b.into())) + // Standard Error: 1_182 + .saturating_add(Weight::from_parts(1_257, 0).saturating_mul(m.into())) + // Standard Error: 1_152 + .saturating_add(Weight::from_parts(197_003, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 210).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -321,14 +322,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` - // Estimated: `2265 + p * (96 ±0)` - // Minimum execution time: 10_864_000 picoseconds. - Weight::from_parts(12_381_109, 0) - .saturating_add(Weight::from_parts(0, 2265)) - // Standard Error: 975 - .saturating_add(Weight::from_parts(161_986, 0).saturating_mul(p.into())) + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 10_271_000 picoseconds. + Weight::from_parts(11_886_094, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 785 + .saturating_add(Weight::from_parts(134_815, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/pangoro/src/weights/pallet_democracy.rs b/runtime/pangoro/src/weights/pallet_democracy.rs index 6ea0e6441..8acd1370d 100644 --- a/runtime/pangoro/src/weights/pallet_democracy.rs +++ b/runtime/pangoro/src/weights/pallet_democracy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -68,10 +69,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3810` - // Estimated: `23979` - // Minimum execution time: 29_976_000 picoseconds. - Weight::from_parts(34_487_000, 0) - .saturating_add(Weight::from_parts(0, 23979)) + // Estimated: `16987` + // Minimum execution time: 32_603_000 picoseconds. + Weight::from_parts(36_343_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +82,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2559` // Estimated: `5495` - // Minimum execution time: 26_143_000 picoseconds. - Weight::from_parts(28_412_000, 0) + // Minimum execution time: 27_445_000 picoseconds. + Weight::from_parts(29_437_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,14 +94,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3406` - // Estimated: `15666` - // Minimum execution time: 38_072_000 picoseconds. - Weight::from_parts(40_668_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 39_079_000 picoseconds. + Weight::from_parts(43_713_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -109,14 +112,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3428` - // Estimated: `15666` - // Minimum execution time: 39_105_000 picoseconds. - Weight::from_parts(41_622_000, 0) - .saturating_add(Weight::from_parts(0, 15666)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 42_495_000 picoseconds. + Weight::from_parts(45_257_000, 0) + .saturating_add(Weight::from_parts(0, 7248)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -128,10 +133,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `299` - // Estimated: `10682` - // Minimum execution time: 18_635_000 picoseconds. - Weight::from_parts(19_487_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 17_875_000 picoseconds. + Weight::from_parts(18_198_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,10 +157,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4920` - // Estimated: `42511` - // Minimum execution time: 75_551_000 picoseconds. - Weight::from_parts(81_050_000, 0) - .saturating_add(Weight::from_parts(0, 42511)) + // Estimated: `16987` + // Minimum execution time: 78_341_000 picoseconds. + Weight::from_parts(82_300_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -166,10 +171,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2161` - // Estimated: `7120` - // Minimum execution time: 8_649_000 picoseconds. - Weight::from_parts(9_198_000, 0) - .saturating_add(Weight::from_parts(0, 7120)) + // Estimated: `5503` + // Minimum execution time: 8_397_000 picoseconds. + Weight::from_parts(8_769_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_206_000 picoseconds. - Weight::from_parts(2_356_000, 0) + // Minimum execution time: 2_100_000 picoseconds. + Weight::from_parts(2_243_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,8 +195,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_116_000 picoseconds. - Weight::from_parts(2_275_000, 0) + // Minimum execution time: 2_016_000 picoseconds. + Weight::from_parts(2_167_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,10 +211,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `6624` - // Minimum execution time: 19_711_000 picoseconds. - Weight::from_parts(20_344_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 18_519_000 picoseconds. + Weight::from_parts(19_185_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -222,10 +227,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2264` - // Estimated: `10638` - // Minimum execution time: 21_799_000 picoseconds. - Weight::from_parts(22_599_000, 0) - .saturating_add(Weight::from_parts(0, 10638)) + // Estimated: `5503` + // Minimum execution time: 19_896_000 picoseconds. + Weight::from_parts(20_184_000, 0) + .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -240,10 +245,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4852` - // Estimated: `32172` - // Minimum execution time: 61_163_000 picoseconds. - Weight::from_parts(65_524_000, 0) - .saturating_add(Weight::from_parts(0, 32172)) + // Estimated: `16987` + // Minimum execution time: 62_709_000 picoseconds. + Weight::from_parts(65_971_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -255,8 +260,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 13_859_000 picoseconds. - Weight::from_parts(14_742_000, 0) + // Minimum execution time: 13_286_000 picoseconds. + Weight::from_parts(13_792_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -271,12 +276,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 5_072_000 picoseconds. - Weight::from_parts(7_977_367, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 6_362 - .saturating_add(Weight::from_parts(2_159_028, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 5_050_000 picoseconds. + Weight::from_parts(6_860_494, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 13_094 + .saturating_add(Weight::from_parts(2_048_883, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,12 +303,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` - // Estimated: `24058 + r * (2676 ±0)` - // Minimum execution time: 7_370_000 picoseconds. - Weight::from_parts(9_131_692, 0) - .saturating_add(Weight::from_parts(0, 24058)) - // Standard Error: 4_137 - .saturating_add(Weight::from_parts(2_178_539, 0).saturating_mul(r.into())) + // Estimated: `16987 + r * (2676 ±0)` + // Minimum execution time: 7_187_000 picoseconds. + Weight::from_parts(8_849_962, 0) + .saturating_add(Weight::from_parts(0, 16987)) + // Standard Error: 3_575 + .saturating_add(Weight::from_parts(2_056_586, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -315,17 +320,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `730 + r * (108 ±0)` - // Estimated: `25506 + r * (2676 ±0)` - // Minimum execution time: 26_920_000 picoseconds. - Weight::from_parts(33_115_117, 0) - .saturating_add(Weight::from_parts(0, 25506)) - // Standard Error: 7_100 - .saturating_add(Weight::from_parts(3_174_382, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19764 + r * (2676 ±0)` + // Minimum execution time: 28_230_000 picoseconds. + Weight::from_parts(32_967_942, 0) + .saturating_add(Weight::from_parts(0, 19764)) + // Standard Error: 9_672 + .saturating_add(Weight::from_parts(2_703_124, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -339,12 +346,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `388 + r * (108 ±0)` - // Estimated: `14496 + r * (2676 ±0)` - // Minimum execution time: 14_398_000 picoseconds. - Weight::from_parts(19_468_203, 0) - .saturating_add(Weight::from_parts(0, 14496)) - // Standard Error: 12_533 - .saturating_add(Weight::from_parts(3_104_361, 0).saturating_mul(r.into())) + // Estimated: `13506 + r * (2676 ±0)` + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(14_348_099, 0) + .saturating_add(Weight::from_parts(0, 13506)) + // Standard Error: 4_574 + .saturating_add(Weight::from_parts(2_661_315, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -357,8 +364,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_201_000 picoseconds. - Weight::from_parts(2_417_000, 0) + // Minimum execution time: 2_059_000 picoseconds. + Weight::from_parts(2_185_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -366,38 +373,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385` - // Estimated: `15581` - // Minimum execution time: 13_184_000 picoseconds. - Weight::from_parts(19_088_847, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 2_080 - .saturating_add(Weight::from_parts(77_688, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 16_321_000 picoseconds. + Weight::from_parts(26_615_010, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_838 + .saturating_add(Weight::from_parts(95_493, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + r * (22 ±0)` - // Estimated: `15581` - // Minimum execution time: 16_569_000 picoseconds. - Weight::from_parts(19_098_773, 0) - .saturating_add(Weight::from_parts(0, 15581)) - // Standard Error: 2_111 - .saturating_add(Weight::from_parts(93_518, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7248` + // Minimum execution time: 23_391_000 picoseconds. + Weight::from_parts(26_183_979, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 4_193 + .saturating_add(Weight::from_parts(91_790, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -408,12 +419,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 10_933_000 picoseconds. - Weight::from_parts(13_847_243, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 2_122 - .saturating_add(Weight::from_parts(96_514, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 10_020_000 picoseconds. + Weight::from_parts(12_080_053, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 1_392 + .saturating_add(Weight::from_parts(83_649, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -425,12 +436,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` - // Estimated: `10914` - // Minimum execution time: 11_101_000 picoseconds. - Weight::from_parts(13_741_292, 0) - .saturating_add(Weight::from_parts(0, 10914)) - // Standard Error: 1_912 - .saturating_add(Weight::from_parts(98_860, 0).saturating_mul(r.into())) + // Estimated: `7248` + // Minimum execution time: 10_072_000 picoseconds. + Weight::from_parts(12_568_778, 0) + .saturating_add(Weight::from_parts(0, 7248)) + // Standard Error: 2_259 + .saturating_add(Weight::from_parts(77_765, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -443,10 +454,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `327` - // Estimated: `5161` - // Minimum execution time: 13_405_000 picoseconds. - Weight::from_parts(13_670_000, 0) - .saturating_add(Weight::from_parts(0, 5161)) + // Estimated: `3544` + // Minimum execution time: 12_774_000 picoseconds. + Weight::from_parts(13_373_000, 0) + .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -457,10 +468,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `5135` - // Minimum execution time: 11_403_000 picoseconds. - Weight::from_parts(11_785_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 11_073_000 picoseconds. + Weight::from_parts(11_399_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -473,10 +484,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3659` - // Estimated: `20531` - // Minimum execution time: 29_826_000 picoseconds. - Weight::from_parts(32_301_000, 0) - .saturating_add(Weight::from_parts(0, 20531)) + // Estimated: `16987` + // Minimum execution time: 29_385_000 picoseconds. + Weight::from_parts(30_841_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -487,10 +498,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3555` - // Estimated: `20505` - // Minimum execution time: 27_992_000 picoseconds. - Weight::from_parts(30_231_000, 0) - .saturating_add(Weight::from_parts(0, 20505)) + // Estimated: `16987` + // Minimum execution time: 25_560_000 picoseconds. + Weight::from_parts(27_834_000, 0) + .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -502,8 +513,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 10_423_000 picoseconds. - Weight::from_parts(10_847_000, 0) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(11_181_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -515,10 +526,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `235` - // Estimated: `7184` - // Minimum execution time: 13_879_000 picoseconds. - Weight::from_parts(27_563_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 12_437_000 picoseconds. + Weight::from_parts(12_940_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_elections_phragmen.rs b/runtime/pangoro/src/weights/pallet_elections_phragmen.rs index ec073939e..6715f7c3c 100644 --- a/runtime/pangoro/src/weights/pallet_elections_phragmen.rs +++ b/runtime/pangoro/src/weights/pallet_elections_phragmen.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -67,19 +68,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14288 + v * (224 ±0)` - // Minimum execution time: 19_617_000 picoseconds. - Weight::from_parts(21_028_984, 0) - .saturating_add(Weight::from_parts(0, 14288)) - // Standard Error: 6_014 - .saturating_add(Weight::from_parts(115_739, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 22_400_000 picoseconds. + Weight::from_parts(23_527_420, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 4_611 + .saturating_add(Weight::from_parts(141_405, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -91,19 +94,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385 + v * (56 ±0)` - // Estimated: `14212 + v * (224 ±0)` - // Minimum execution time: 27_180_000 picoseconds. - Weight::from_parts(28_505_479, 0) - .saturating_add(Weight::from_parts(0, 14212)) - // Standard Error: 11_552 - .saturating_add(Weight::from_parts(160_415, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_240_000 picoseconds. + Weight::from_parts(33_110_565, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 7_232 + .saturating_add(Weight::from_parts(164_191, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -115,32 +120,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `405 + v * (56 ±0)` - // Estimated: `14292 + v * (224 ±0)` - // Minimum execution time: 27_216_000 picoseconds. - Weight::from_parts(29_545_535, 0) - .saturating_add(Weight::from_parts(0, 14292)) - // Standard Error: 31_221 - .saturating_add(Weight::from_parts(110_958, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4752 + v * (56 ±0)` + // Minimum execution time: 32_088_000 picoseconds. + Weight::from_parts(33_585_573, 0) + .saturating_add(Weight::from_parts(0, 4752)) + // Standard Error: 6_834 + .saturating_add(Weight::from_parts(112_078, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 56).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `735` - // Estimated: `8952` - // Minimum execution time: 25_585_000 picoseconds. - Weight::from_parts(26_808_000, 0) - .saturating_add(Weight::from_parts(0, 8952)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4752` + // Minimum execution time: 34_137_000 picoseconds. + Weight::from_parts(35_874_000, 0) + .saturating_add(Weight::from_parts(0, 4752)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -153,15 +162,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1116 + c * (36 ±0)` - // Estimated: `7776 + c * (111 ±0)` - // Minimum execution time: 22_477_000 picoseconds. - Weight::from_parts(24_556_058, 0) - .saturating_add(Weight::from_parts(0, 7776)) - // Standard Error: 4_697 - .saturating_add(Weight::from_parts(72_360, 0).saturating_mul(c.into())) + // Estimated: `2592 + c * (37 ±0)` + // Minimum execution time: 25_562_000 picoseconds. + Weight::from_parts(27_577_748, 0) + .saturating_add(Weight::from_parts(0, 2592)) + // Standard Error: 4_838 + .saturating_add(Weight::from_parts(64_063, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 111).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -170,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `375 + c * (38 ±0)` // Estimated: `1857 + c * (39 ±0)` - // Minimum execution time: 20_635_000 picoseconds. - Weight::from_parts(22_466_835, 0) + // Minimum execution time: 23_143_000 picoseconds. + Weight::from_parts(25_223_578, 0) .saturating_add(Weight::from_parts(0, 1857)) - // Standard Error: 4_714 - .saturating_add(Weight::from_parts(60_696, 0).saturating_mul(c.into())) + // Standard Error: 5_117 + .saturating_add(Weight::from_parts(61_496, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 39).saturating_mul(c.into())) @@ -192,10 +201,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1137` - // Estimated: `11625` - // Minimum execution time: 29_761_000 picoseconds. - Weight::from_parts(32_790_000, 0) - .saturating_add(Weight::from_parts(0, 11625)) + // Estimated: `2622` + // Minimum execution time: 31_101_000 picoseconds. + Weight::from_parts(34_319_000, 0) + .saturating_add(Weight::from_parts(0, 2622)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -205,8 +214,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `700` // Estimated: `2185` - // Minimum execution time: 21_371_000 picoseconds. - Weight::from_parts(23_188_000, 0) + // Minimum execution time: 22_615_000 picoseconds. + Weight::from_parts(24_463_000, 0) .saturating_add(Weight::from_parts(0, 2185)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,10 +245,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1332` - // Estimated: `18772` - // Minimum execution time: 43_703_000 picoseconds. - Weight::from_parts(46_634_000, 0) - .saturating_add(Weight::from_parts(0, 18772)) + // Estimated: `6172` + // Minimum execution time: 46_822_000 picoseconds. + Weight::from_parts(49_696_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -253,6 +262,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:300 w:300) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:300 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:300 w:300) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `v` is `[150, 300]`. @@ -260,16 +271,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `939 + v * (582 ±0)` - // Estimated: `13736 + v * (11160 ±0)` - // Minimum execution time: 6_497_748_000 picoseconds. - Weight::from_parts(6_532_508_000, 0) - .saturating_add(Weight::from_parts(0, 13736)) - // Standard Error: 179_231 - .saturating_add(Weight::from_parts(27_122_691, 0).saturating_mul(v.into())) + // Estimated: `4424 + v * (3762 ±0)` + // Minimum execution time: 7_732_373_000 picoseconds. + Weight::from_parts(7_827_124_000, 0) + .saturating_add(Weight::from_parts(0, 4424)) + // Standard Error: 219_924 + .saturating_add(Weight::from_parts(32_301_920, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 11160).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3762).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -294,24 +305,24 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (3085 ±0) + v * (400 ±0) + e * (18 ±0)` - // Estimated: `141456 + v * (3891 ±4) + e * (35 ±0) + c * (1738 ±10)` - // Minimum execution time: 461_535_000 picoseconds. - Weight::from_parts(466_056_000, 0) - .saturating_add(Weight::from_parts(0, 141456)) - // Standard Error: 2_255_799 - .saturating_add(Weight::from_parts(13_566_954, 0).saturating_mul(c.into())) - // Standard Error: 224_590 - .saturating_add(Weight::from_parts(6_757_151, 0).saturating_mul(v.into())) - // Standard Error: 14_408 - .saturating_add(Weight::from_parts(173_903, 0).saturating_mul(e.into())) + // Measured: `0 + c * (3085 ±0) + e * (18 ±0) + v * (400 ±0)` + // Estimated: `83983 + c * (1738 ±10) + e * (5 ±0) + v * (2547 ±4)` + // Minimum execution time: 507_466_000 picoseconds. + Weight::from_parts(512_441_000, 0) + .saturating_add(Weight::from_parts(0, 83983)) + // Standard Error: 2_214_564 + .saturating_add(Weight::from_parts(15_098_260, 0).saturating_mul(c.into())) + // Standard Error: 220_485 + .saturating_add(Weight::from_parts(6_513_407, 0).saturating_mul(v.into())) + // Standard Error: 14_144 + .saturating_add(Weight::from_parts(162_398, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 3891).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 1738).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2547).saturating_mul(v.into())) } } diff --git a/runtime/pangoro/src/weights/pallet_fee_market.rs b/runtime/pangoro/src/weights/pallet_fee_market.rs index b9062313b..ff6fba994 100644 --- a/runtime/pangoro/src/weights/pallet_fee_market.rs +++ b/runtime/pangoro/src/weights/pallet_fee_market.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); @@ -63,6 +64,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangolinFeeMarket RelayersMap (r:10 w:1) /// Proof Skipped: PangolinFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: PangolinFeeMarket Orders (r:1 w:0) @@ -74,11 +77,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1649` - // Estimated: `48753` - // Minimum execution time: 87_788_000 picoseconds. - Weight::from_parts(93_863_000, 0) - .saturating_add(Weight::from_parts(0, 48753)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27389` + // Minimum execution time: 91_746_000 picoseconds. + Weight::from_parts(94_678_000, 0) + .saturating_add(Weight::from_parts(0, 27389)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: PangolinFeeMarket Relayers (r:1 w:0) @@ -89,6 +92,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangolinFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangolinFeeMarket Orders (r:1 w:0) /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: PangolinFeeMarket AssignedRelayersNumber (r:1 w:0) @@ -98,11 +103,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` - // Estimated: `49113` - // Minimum execution time: 83_531_000 picoseconds. - Weight::from_parts(84_929_000, 0) - .saturating_add(Weight::from_parts(0, 49113)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27461` + // Minimum execution time: 87_369_000 picoseconds. + Weight::from_parts(90_169_000, 0) + .saturating_add(Weight::from_parts(0, 27461)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: PangolinFeeMarket Relayers (r:1 w:0) @@ -115,6 +120,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: PangolinFeeMarket AssignedRelayersNumber (r:1 w:0) /// Proof Skipped: PangolinFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) /// Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) @@ -122,11 +129,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` - // Estimated: `49113` - // Minimum execution time: 95_527_000 picoseconds. - Weight::from_parts(100_393_000, 0) - .saturating_add(Weight::from_parts(0, 49113)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `27461` + // Minimum execution time: 107_741_000 picoseconds. + Weight::from_parts(111_720_000, 0) + .saturating_add(Weight::from_parts(0, 27461)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: PangolinFeeMarket Relayers (r:1 w:0) @@ -142,10 +149,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1302` - // Estimated: `38685` - // Minimum execution time: 70_314_000 picoseconds. - Weight::from_parts(74_021_000, 0) - .saturating_add(Weight::from_parts(0, 38685)) + // Estimated: `27042` + // Minimum execution time: 69_006_000 picoseconds. + Weight::from_parts(71_519_000, 0) + .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -155,6 +162,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// Storage: PangolinFeeMarket AssignedRelayers (r:1 w:1) @@ -166,11 +175,11 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1788` - // Estimated: `48458` - // Minimum execution time: 83_172_000 picoseconds. - Weight::from_parts(86_136_000, 0) - .saturating_add(Weight::from_parts(0, 48458)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `25053` + // Minimum execution time: 90_179_000 picoseconds. + Weight::from_parts(92_908_000, 0) + .saturating_add(Weight::from_parts(0, 25053)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: PangolinFeeMarket CollateralSlashProtect (r:0 w:1) @@ -179,8 +188,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_208_000 picoseconds. - Weight::from_parts(5_463_000, 0) + // Minimum execution time: 4_656_000 picoseconds. + Weight::from_parts(4_825_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,10 +206,10 @@ impl pallet_fee_market::WeightInfo for WeightInfo { fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1302` - // Estimated: `37200` - // Minimum execution time: 69_741_000 picoseconds. - Weight::from_parts(71_738_000, 0) - .saturating_add(Weight::from_parts(0, 37200)) + // Estimated: `27042` + // Minimum execution time: 66_526_000 picoseconds. + Weight::from_parts(69_368_000, 0) + .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_identity.rs b/runtime/pangoro/src/weights/pallet_identity.rs index 0a361d63d..eabaec2da 100644 --- a/runtime/pangoro/src/weights/pallet_identity.rs +++ b/runtime/pangoro/src/weights/pallet_identity.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 8_347_000 picoseconds. - Weight::from_parts(9_220_258, 0) + // Minimum execution time: 7_781_000 picoseconds. + Weight::from_parts(8_246_448, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 5_956 - .saturating_add(Weight::from_parts(105_284, 0).saturating_mul(r.into())) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(99_334, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,13 +81,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 21_994_000 picoseconds. - Weight::from_parts(21_133_916, 0) + // Minimum execution time: 24_152_000 picoseconds. + Weight::from_parts(21_871_050, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 16_301 - .saturating_add(Weight::from_parts(255_703, 0).saturating_mul(r.into())) - // Standard Error: 3_180 - .saturating_add(Weight::from_parts(420_761, 0).saturating_mul(x.into())) + // Standard Error: 9_244 + .saturating_add(Weight::from_parts(204_825, 0).saturating_mul(r.into())) + // Standard Error: 1_803 + .saturating_add(Weight::from_parts(391_441, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,12 +101,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` - // Estimated: `17492 + s * (2565 ±0)` - // Minimum execution time: 5_926_000 picoseconds. - Weight::from_parts(15_524_468, 0) - .saturating_add(Weight::from_parts(0, 17492)) - // Standard Error: 5_002 - .saturating_add(Weight::from_parts(2_416_311, 0).saturating_mul(s.into())) + // Estimated: `10991 + s * (2565 ±0)` + // Minimum execution time: 5_865_000 picoseconds. + Weight::from_parts(18_769_987, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 26_789 + .saturating_add(Weight::from_parts(2_342_399, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,12 +123,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` - // Estimated: `16502` - // Minimum execution time: 5_936_000 picoseconds. - Weight::from_parts(15_379_003, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 7_495 - .saturating_add(Weight::from_parts(973_200, 0).saturating_mul(p.into())) + // Estimated: `10991` + // Minimum execution time: 5_742_000 picoseconds. + Weight::from_parts(20_711_072, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 14_386 + .saturating_add(Weight::from_parts(901_991, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -144,16 +145,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `16502` - // Minimum execution time: 41_903_000 picoseconds. - Weight::from_parts(20_543_484, 0) - .saturating_add(Weight::from_parts(0, 16502)) - // Standard Error: 11_113 - .saturating_add(Weight::from_parts(214_738, 0).saturating_mul(r.into())) - // Standard Error: 2_170 - .saturating_add(Weight::from_parts(948_585, 0).saturating_mul(s.into())) - // Standard Error: 2_170 - .saturating_add(Weight::from_parts(225_670, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 43_941_000 picoseconds. + Weight::from_parts(21_359_556, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 11_546 + .saturating_add(Weight::from_parts(318_979, 0).saturating_mul(r.into())) + // Standard Error: 2_254 + .saturating_add(Weight::from_parts(939_441, 0).saturating_mul(s.into())) + // Standard Error: 2_254 + .saturating_add(Weight::from_parts(213_708, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -167,14 +168,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 22_567_000 picoseconds. - Weight::from_parts(23_997_336, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 23_899 - .saturating_add(Weight::from_parts(142_440, 0).saturating_mul(r.into())) - // Standard Error: 4_663 - .saturating_add(Weight::from_parts(402_535, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 23_566_000 picoseconds. + Weight::from_parts(22_261_385, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 6_511 + .saturating_add(Weight::from_parts(160_287, 0).saturating_mul(r.into())) + // Standard Error: 1_270 + .saturating_add(Weight::from_parts(392_954, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +187,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_104_000 picoseconds. - Weight::from_parts(19_159_006, 0) + // Minimum execution time: 21_689_000 picoseconds. + Weight::from_parts(21_575_674, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 15_987 - .saturating_add(Weight::from_parts(152_327, 0).saturating_mul(r.into())) - // Standard Error: 3_119 - .saturating_add(Weight::from_parts(429_804, 0).saturating_mul(x.into())) + // Standard Error: 6_034 + .saturating_add(Weight::from_parts(72_626, 0).saturating_mul(r.into())) + // Standard Error: 1_177 + .saturating_add(Weight::from_parts(391_389, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,11 +204,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_398_000 picoseconds. - Weight::from_parts(5_777_896, 0) + // Minimum execution time: 4_833_000 picoseconds. + Weight::from_parts(5_219_318, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_250 - .saturating_add(Weight::from_parts(91_163, 0).saturating_mul(r.into())) + // Standard Error: 1_271 + .saturating_add(Weight::from_parts(66_341, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +219,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_119_000 picoseconds. - Weight::from_parts(5_642_923, 0) + // Minimum execution time: 4_393_000 picoseconds. + Weight::from_parts(4_852_549, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 6_081 - .saturating_add(Weight::from_parts(84_177, 0).saturating_mul(r.into())) + // Standard Error: 1_460 + .saturating_add(Weight::from_parts(54_802, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -233,11 +234,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 5_104_000 picoseconds. - Weight::from_parts(5_677_275, 0) + // Minimum execution time: 4_363_000 picoseconds. + Weight::from_parts(4_828_626, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_771 - .saturating_add(Weight::from_parts(71_386, 0).saturating_mul(r.into())) + // Standard Error: 2_159 + .saturating_add(Weight::from_parts(54_287, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -250,14 +251,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` - // Estimated: `13377` - // Minimum execution time: 16_589_000 picoseconds. - Weight::from_parts(16_962_230, 0) - .saturating_add(Weight::from_parts(0, 13377)) - // Standard Error: 26_318 - .saturating_add(Weight::from_parts(52_505, 0).saturating_mul(r.into())) - // Standard Error: 4_869 - .saturating_add(Weight::from_parts(689_317, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 15_517_000 picoseconds. + Weight::from_parts(14_489_953, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 5_377 + .saturating_add(Weight::from_parts(103_809, 0).saturating_mul(r.into())) + // Standard Error: 994 + .saturating_add(Weight::from_parts(621_520, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -275,16 +276,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` - // Estimated: `22674` - // Minimum execution time: 56_105_000 picoseconds. - Weight::from_parts(31_487_722, 0) - .saturating_add(Weight::from_parts(0, 22674)) - // Standard Error: 11_734 - .saturating_add(Weight::from_parts(335_863, 0).saturating_mul(r.into())) - // Standard Error: 2_291 - .saturating_add(Weight::from_parts(956_240, 0).saturating_mul(s.into())) - // Standard Error: 2_291 - .saturating_add(Weight::from_parts(243_647, 0).saturating_mul(x.into())) + // Estimated: `10991` + // Minimum execution time: 59_112_000 picoseconds. + Weight::from_parts(36_057_093, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 12_498 + .saturating_add(Weight::from_parts(354_110, 0).saturating_mul(r.into())) + // Standard Error: 2_440 + .saturating_add(Weight::from_parts(939_053, 0).saturating_mul(s.into())) + // Standard Error: 2_440 + .saturating_add(Weight::from_parts(220_332, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -299,12 +300,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` - // Estimated: `20057` - // Minimum execution time: 18_574_000 picoseconds. - Weight::from_parts(22_972_902, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 2_256 - .saturating_add(Weight::from_parts(53_251, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 20_482_000 picoseconds. + Weight::from_parts(24_234_547, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 2_034 + .saturating_add(Weight::from_parts(44_475, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -316,12 +317,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` - // Estimated: `14546` - // Minimum execution time: 8_039_000 picoseconds. - Weight::from_parts(10_282_733, 0) - .saturating_add(Weight::from_parts(0, 14546)) - // Standard Error: 2_328 - .saturating_add(Weight::from_parts(26_442, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 8_109_000 picoseconds. + Weight::from_parts(9_611_643, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 765 + .saturating_add(Weight::from_parts(29_831, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -335,12 +336,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` - // Estimated: `20057` - // Minimum execution time: 21_069_000 picoseconds. - Weight::from_parts(24_686_410, 0) - .saturating_add(Weight::from_parts(0, 20057)) - // Standard Error: 3_629 - .saturating_add(Weight::from_parts(51_615, 0).saturating_mul(s.into())) + // Estimated: `10991` + // Minimum execution time: 22_252_000 picoseconds. + Weight::from_parts(24_820_757, 0) + .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 2_038 + .saturating_add(Weight::from_parts(57_534, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -348,17 +349,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + s * (24 ±0)` - // Estimated: `9066` - // Minimum execution time: 13_149_000 picoseconds. - Weight::from_parts(15_227_293, 0) - .saturating_add(Weight::from_parts(0, 9066)) - // Standard Error: 2_009 - .saturating_add(Weight::from_parts(56_332, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `622 + s * (24 ±0)` + // Estimated: `5511` + // Minimum execution time: 15_609_000 picoseconds. + Weight::from_parts(17_474_012, 0) + .saturating_add(Weight::from_parts(0, 5511)) + // Standard Error: 1_274 + .saturating_add(Weight::from_parts(43_068, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangoro/src/weights/pallet_membership.rs b/runtime/pangoro/src/weights/pallet_membership.rs index 902007cf2..b0ded4df9 100644 --- a/runtime/pangoro/src/weights/pallet_membership.rs +++ b/runtime/pangoro/src/weights/pallet_membership.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -69,15 +70,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (40 ±0)` - // Estimated: `5377 + m * (120 ±0)` - // Minimum execution time: 10_981_000 picoseconds. - Weight::from_parts(11_833_836, 0) - .saturating_add(Weight::from_parts(0, 5377)) - // Standard Error: 3_268 - .saturating_add(Weight::from_parts(27_397, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 10_428_000 picoseconds. + Weight::from_parts(11_458_897, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 599 + .saturating_add(Weight::from_parts(7_132, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -93,15 +94,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 13_055_000 picoseconds. - Weight::from_parts(14_923_863, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 5_118 - .saturating_add(Weight::from_parts(10_665, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_469_000 picoseconds. + Weight::from_parts(13_237_367, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 539 + .saturating_add(Weight::from_parts(6_989, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -117,15 +118,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_729_000 picoseconds. - Weight::from_parts(14_486_159, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 3_713 - .saturating_add(Weight::from_parts(19_893, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_471_000 picoseconds. + Weight::from_parts(13_280_824, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 660 + .saturating_add(Weight::from_parts(16_571, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -141,15 +142,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 12_219_000 picoseconds. - Weight::from_parts(13_893_674, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 1_653 - .saturating_add(Weight::from_parts(92_955, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_135_000 picoseconds. + Weight::from_parts(14_795_382, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 4_531 + .saturating_add(Weight::from_parts(59_515, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -165,15 +166,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` - // Estimated: `7122 + m * (120 ±0)` - // Minimum execution time: 13_262_000 picoseconds. - Weight::from_parts(15_739_657, 0) - .saturating_add(Weight::from_parts(0, 7122)) - // Standard Error: 3_470 - .saturating_add(Weight::from_parts(4_943, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (40 ±0)` + // Minimum execution time: 12_998_000 picoseconds. + Weight::from_parts(13_839_469, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 583 + .saturating_add(Weight::from_parts(14_816, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 120).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) @@ -185,12 +186,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` - // Estimated: `3518 + m * (20 ±0)` - // Minimum execution time: 4_865_000 picoseconds. - Weight::from_parts(5_207_898, 0) - .saturating_add(Weight::from_parts(0, 3518)) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(16_661, 0).saturating_mul(m.into())) + // Estimated: `3487 + m * (20 ±0)` + // Minimum execution time: 5_073_000 picoseconds. + Weight::from_parts(5_595_886, 0) + .saturating_add(Weight::from_parts(0, 3487)) + // Standard Error: 216 + .saturating_add(Weight::from_parts(4_088, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) @@ -204,11 +205,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_033_000 picoseconds. - Weight::from_parts(2_245_986, 0) + // Minimum execution time: 1_998_000 picoseconds. + Weight::from_parts(2_260_370, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 177 - .saturating_add(Weight::from_parts(464, 0).saturating_mul(m.into())) + // Standard Error: 200 + .saturating_add(Weight::from_parts(128, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangoro/src/weights/pallet_preimage.rs b/runtime/pangoro/src/weights/pallet_preimage.rs index 6ca36fce8..91cbb1cf1 100644 --- a/runtime/pangoro/src/weights/pallet_preimage.rs +++ b/runtime/pangoro/src/weights/pallet_preimage.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -66,11 +67,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3544` - // Minimum execution time: 19_723_000 picoseconds. - Weight::from_parts(20_157_000, 0) + // Minimum execution time: 22_510_000 picoseconds. + Weight::from_parts(23_092_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_374, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_468, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +84,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 12_021_000 picoseconds. - Weight::from_parts(12_203_000, 0) + // Minimum execution time: 11_692_000 picoseconds. + Weight::from_parts(11_945_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_356, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +101,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 11_720_000 picoseconds. - Weight::from_parts(11_887_000, 0) + // Minimum execution time: 11_370_000 picoseconds. + Weight::from_parts(11_815_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_365, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_408, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3544` - // Minimum execution time: 39_613_000 picoseconds. - Weight::from_parts(41_852_000, 0) + // Minimum execution time: 35_666_000 picoseconds. + Weight::from_parts(39_929_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +131,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 28_029_000 picoseconds. - Weight::from_parts(29_692_000, 0) + // Minimum execution time: 22_256_000 picoseconds. + Weight::from_parts(25_922_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -142,8 +143,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `3544` - // Minimum execution time: 24_822_000 picoseconds. - Weight::from_parts(25_956_000, 0) + // Minimum execution time: 20_367_000 picoseconds. + Weight::from_parts(23_302_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +155,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 16_063_000 picoseconds. - Weight::from_parts(18_168_000, 0) + // Minimum execution time: 12_195_000 picoseconds. + Weight::from_parts(14_333_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +167,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3544` - // Minimum execution time: 17_256_000 picoseconds. - Weight::from_parts(21_570_000, 0) + // Minimum execution time: 12_395_000 picoseconds. + Weight::from_parts(15_818_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +179,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 8_494_000 picoseconds. - Weight::from_parts(10_159_000, 0) + // Minimum execution time: 6_840_000 picoseconds. + Weight::from_parts(8_396_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +193,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 25_176_000 picoseconds. - Weight::from_parts(27_259_000, 0) + // Minimum execution time: 20_908_000 picoseconds. + Weight::from_parts(23_423_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -204,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 8_522_000 picoseconds. - Weight::from_parts(9_758_000, 0) + // Minimum execution time: 7_262_000 picoseconds. + Weight::from_parts(8_341_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,8 +217,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 7_769_000 picoseconds. - Weight::from_parts(9_624_000, 0) + // Minimum execution time: 6_947_000 picoseconds. + Weight::from_parts(8_025_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/pangoro/src/weights/pallet_proxy.rs b/runtime/pangoro/src/weights/pallet_proxy.rs index a43215344..5e0685058 100644 --- a/runtime/pangoro/src/weights/pallet_proxy.rs +++ b/runtime/pangoro/src/weights/pallet_proxy.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -64,11 +65,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 10_154_000 picoseconds. - Weight::from_parts(11_229_391, 0) + // Minimum execution time: 9_719_000 picoseconds. + Weight::from_parts(10_170_657, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 14_253 - .saturating_add(Weight::from_parts(59_547, 0).saturating_mul(p.into())) + // Standard Error: 4_833 + .saturating_add(Weight::from_parts(43_064, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -82,14 +83,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 23_477_000 picoseconds. - Weight::from_parts(24_442_653, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 6_480 - .saturating_add(Weight::from_parts(187_486, 0).saturating_mul(a.into())) - // Standard Error: 6_695 - .saturating_add(Weight::from_parts(61_554, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 25_173_000 picoseconds. + Weight::from_parts(24_928_410, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 3_971 + .saturating_add(Weight::from_parts(154_031, 0).saturating_mul(a.into())) + // Standard Error: 4_103 + .saturating_add(Weight::from_parts(53_104, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,14 +103,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_310_000 picoseconds. - Weight::from_parts(15_560_300, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 4_622 - .saturating_add(Weight::from_parts(151_167, 0).saturating_mul(a.into())) - // Standard Error: 4_776 - .saturating_add(Weight::from_parts(31_466, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 16_826_000 picoseconds. + Weight::from_parts(17_885_288, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 3_186 + .saturating_add(Weight::from_parts(102_723, 0).saturating_mul(a.into())) + // Standard Error: 3_292 + .saturating_add(Weight::from_parts(13_604, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -122,14 +123,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` - // Estimated: `8883` - // Minimum execution time: 14_324_000 picoseconds. - Weight::from_parts(15_122_557, 0) - .saturating_add(Weight::from_parts(0, 8883)) - // Standard Error: 5_255 - .saturating_add(Weight::from_parts(170_470, 0).saturating_mul(a.into())) - // Standard Error: 5_429 - .saturating_add(Weight::from_parts(29_486, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 16_323_000 picoseconds. + Weight::from_parts(17_175_530, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 2_568 + .saturating_add(Weight::from_parts(127_531, 0).saturating_mul(a.into())) + // Standard Error: 2_653 + .saturating_add(Weight::from_parts(14_236, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,14 +145,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` - // Estimated: `13193` - // Minimum execution time: 20_612_000 picoseconds. - Weight::from_parts(21_786_539, 0) - .saturating_add(Weight::from_parts(0, 13193)) - // Standard Error: 4_594 - .saturating_add(Weight::from_parts(157_832, 0).saturating_mul(a.into())) - // Standard Error: 4_746 - .saturating_add(Weight::from_parts(51_673, 0).saturating_mul(p.into())) + // Estimated: `5302` + // Minimum execution time: 22_532_000 picoseconds. + Weight::from_parts(23_884_593, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 4_443 + .saturating_add(Weight::from_parts(132_887, 0).saturating_mul(a.into())) + // Standard Error: 4_590 + .saturating_add(Weight::from_parts(17_157, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -162,24 +163,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_751_000 picoseconds. - Weight::from_parts(16_784_183, 0) + // Minimum execution time: 17_082_000 picoseconds. + Weight::from_parts(17_993_603, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_164 - .saturating_add(Weight::from_parts(56_192, 0).saturating_mul(p.into())) + // Standard Error: 2_043 + .saturating_add(Weight::from_parts(31_750, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(_p: u32, ) -> Weight { + fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_726_000 picoseconds. - Weight::from_parts(18_478_717, 0) + // Minimum execution time: 17_433_000 picoseconds. + Weight::from_parts(18_334_918, 0) .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 2_533 + .saturating_add(Weight::from_parts(28_980, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_404_000 picoseconds. - Weight::from_parts(13_473_110, 0) + // Minimum execution time: 15_533_000 picoseconds. + Weight::from_parts(16_213_938, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 6_610 - .saturating_add(Weight::from_parts(29_723, 0).saturating_mul(p.into())) + // Standard Error: 4_780 + .saturating_add(Weight::from_parts(63_504, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 17_549_000 picoseconds. - Weight::from_parts(18_707_252, 0) + // Minimum execution time: 18_521_000 picoseconds. + Weight::from_parts(19_704_437, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 16_309 - .saturating_add(Weight::from_parts(54_647, 0).saturating_mul(p.into())) + // Standard Error: 5_663 + .saturating_add(Weight::from_parts(9_541, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -220,11 +223,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 12_895_000 picoseconds. - Weight::from_parts(13_898_051, 0) + // Minimum execution time: 15_798_000 picoseconds. + Weight::from_parts(16_666_598, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_989 - .saturating_add(Weight::from_parts(28_731, 0).saturating_mul(p.into())) + // Standard Error: 2_409 + .saturating_add(Weight::from_parts(42_322, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_scheduler.rs b/runtime/pangoro/src/weights/pallet_scheduler.rs index 7ea7361a9..50415304e 100644 --- a/runtime/pangoro/src/weights/pallet_scheduler.rs +++ b/runtime/pangoro/src/weights/pallet_scheduler.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_263_000 picoseconds. - Weight::from_parts(2_446_000, 0) + // Minimum execution time: 2_367_000 picoseconds. + Weight::from_parts(2_534_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,11 +77,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_279_000 picoseconds. - Weight::from_parts(5_083_861, 0) + // Minimum execution time: 2_238_000 picoseconds. + Weight::from_parts(4_304_874, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_519 - .saturating_add(Weight::from_parts(554_778, 0).saturating_mul(s.into())) + // Standard Error: 1_726 + .saturating_add(Weight::from_parts(437_680, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,8 +89,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_937_000 picoseconds. - Weight::from_parts(4_188_000, 0) + // Minimum execution time: 3_524_000 picoseconds. + Weight::from_parts(3_749_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -100,12 +101,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `217 + s * (1 ±0)` - // Estimated: `7226 + s * (1 ±0)` - // Minimum execution time: 16_637_000 picoseconds. - Weight::from_parts(30_052_000, 0) - .saturating_add(Weight::from_parts(0, 7226)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(933, 0).saturating_mul(s.into())) + // Estimated: `3682 + s * (1 ±0)` + // Minimum execution time: 13_947_000 picoseconds. + Weight::from_parts(14_138_000, 0) + .saturating_add(Weight::from_parts(0, 3682)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(676, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -116,8 +117,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_791_000 picoseconds. - Weight::from_parts(5_117_000, 0) + // Minimum execution time: 4_359_000 picoseconds. + Weight::from_parts(4_539_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,24 +126,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_860_000 picoseconds. - Weight::from_parts(4_043_000, 0) + // Minimum execution time: 3_541_000 picoseconds. + Weight::from_parts(3_712_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_915_000 picoseconds. - Weight::from_parts(2_047_000, 0) + // Minimum execution time: 1_783_000 picoseconds. + Weight::from_parts(1_864_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_857_000 picoseconds. - Weight::from_parts(2_078_000, 0) + // Minimum execution time: 1_783_000 picoseconds. + Weight::from_parts(1_852_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -152,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_682_000 picoseconds. - Weight::from_parts(11_269_891, 0) + // Minimum execution time: 7_976_000 picoseconds. + Weight::from_parts(10_432_931, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 7_811 - .saturating_add(Weight::from_parts(606_849, 0).saturating_mul(s.into())) + // Standard Error: 2_656 + .saturating_add(Weight::from_parts(444_946, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_693_000 picoseconds. - Weight::from_parts(11_591_917, 0) + // Minimum execution time: 11_545_000 picoseconds. + Weight::from_parts(10_652_549, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 7_476 - .saturating_add(Weight::from_parts(1_039_245, 0).saturating_mul(s.into())) + // Standard Error: 4_981 + .saturating_add(Weight::from_parts(846_755, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,12 +186,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 10_845_000 picoseconds. - Weight::from_parts(15_967_941, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 10_170 - .saturating_add(Weight::from_parts(578_345, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 10_735_000 picoseconds. + Weight::from_parts(13_054_145, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 3_433 + .saturating_add(Weight::from_parts(472_079, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,12 +203,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 12_836_000 picoseconds. - Weight::from_parts(13_277_806, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 5_364 - .saturating_add(Weight::from_parts(1_050_791, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 12_647_000 picoseconds. + Weight::from_parts(13_103_382, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 14_413 + .saturating_add(Weight::from_parts(858_322, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_session.rs b/runtime/pangoro/src/weights/pallet_session.rs index 375bf6c90..d41566027 100644 --- a/runtime/pangoro/src/weights/pallet_session.rs +++ b/runtime/pangoro/src/weights/pallet_session.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -63,11 +64,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `7564` - // Minimum execution time: 11_406_000 picoseconds. - Weight::from_parts(11_797_000, 0) - .saturating_add(Weight::from_parts(0, 7564)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 10_730_000 picoseconds. + Weight::from_parts(11_383_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,11 +78,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `299` - // Estimated: `4063` - // Minimum execution time: 8_016_000 picoseconds. - Weight::from_parts(8_309_000, 0) - .saturating_add(Weight::from_parts(0, 4063)) + // Measured: `228` + // Estimated: `3693` + // Minimum execution time: 7_264_000 picoseconds. + Weight::from_parts(7_549_000, 0) + .saturating_add(Weight::from_parts(0, 3693)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_timestamp.rs b/runtime/pangoro/src/weights/pallet_timestamp.rs index 4c5214517..ffc3bee7c 100644 --- a/runtime/pangoro/src/weights/pallet_timestamp.rs +++ b/runtime/pangoro/src/weights/pallet_timestamp.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -63,8 +64,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 4_821_000 picoseconds. - Weight::from_parts(5_022_000, 0) + // Minimum execution time: 4_555_000 picoseconds. + Weight::from_parts(4_850_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +74,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_039_000 picoseconds. - Weight::from_parts(3_250_000, 0) + // Minimum execution time: 2_955_000 picoseconds. + Weight::from_parts(3_121_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/pangoro/src/weights/pallet_tips.rs b/runtime/pangoro/src/weights/pallet_tips.rs index 88d4d9ce1..1ebc32a51 100644 --- a/runtime/pangoro/src/weights/pallet_tips.rs +++ b/runtime/pangoro/src/weights/pallet_tips.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -65,12 +66,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 17_549_000 picoseconds. - Weight::from_parts(21_299_438, 0) - .saturating_add(Weight::from_parts(0, 6938)) - // Standard Error: 57 - .saturating_add(Weight::from_parts(773, 0).saturating_mul(r.into())) + // Estimated: `3469` + // Minimum execution time: 20_456_000 picoseconds. + Weight::from_parts(21_789_357, 0) + .saturating_add(Weight::from_parts(0, 3469)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(918, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,10 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `197` - // Estimated: `3859` - // Minimum execution time: 16_711_000 picoseconds. - Weight::from_parts(17_344_000, 0) - .saturating_add(Weight::from_parts(0, 3859)) + // Estimated: `3662` + // Minimum execution time: 20_078_000 picoseconds. + Weight::from_parts(20_542_000, 0) + .saturating_add(Weight::from_parts(0, 3662)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,17 +100,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + t * (52 ±0)` - // Estimated: `5271 + t * (156 ±0)` - // Minimum execution time: 12_953_000 picoseconds. - Weight::from_parts(12_561_590, 0) - .saturating_add(Weight::from_parts(0, 5271)) - // Standard Error: 20 - .saturating_add(Weight::from_parts(917, 0).saturating_mul(r.into())) - // Standard Error: 51_646 - .saturating_add(Weight::from_parts(256_441, 0).saturating_mul(t.into())) + // Estimated: `3572 + t * (52 ±0)` + // Minimum execution time: 12_507_000 picoseconds. + Weight::from_parts(13_018_432, 0) + .saturating_add(Weight::from_parts(0, 3572)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(823, 0).saturating_mul(r.into())) + // Standard Error: 19_774 + .saturating_add(Weight::from_parts(296_824, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 156).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -119,15 +120,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `305 + t * (88 ±0)` - // Estimated: `5558 + t * (176 ±0)` - // Minimum execution time: 10_375_000 picoseconds. - Weight::from_parts(10_947_565, 0) - .saturating_add(Weight::from_parts(0, 5558)) - // Standard Error: 7_732 - .saturating_add(Weight::from_parts(205_668, 0).saturating_mul(t.into())) + // Estimated: `3769 + t * (88 ±0)` + // Minimum execution time: 10_046_000 picoseconds. + Weight::from_parts(11_262_389, 0) + .saturating_add(Weight::from_parts(0, 3769)) + // Standard Error: 9_371 + .saturating_add(Weight::from_parts(38_342, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 176).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 88).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -141,30 +142,28 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + t * (88 ±0)` - // Estimated: `12484 + t * (270 ±0)` - // Minimum execution time: 33_971_000 picoseconds. - Weight::from_parts(36_379_196, 0) - .saturating_add(Weight::from_parts(0, 12484)) - // Standard Error: 21_183 - .saturating_add(Weight::from_parts(45_497, 0).saturating_mul(t.into())) + // Estimated: `6172 + t * (90 ±0)` + // Minimum execution time: 44_785_000 picoseconds. + Weight::from_parts(45_486_496, 0) + .saturating_add(Weight::from_parts(0, 6172)) + // Standard Error: 17_418 + .saturating_add(Weight::from_parts(535_609, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 270).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) /// Storage: Tips Reasons (r:0 w:1) /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[1, 7]`. - fn slash_tip(t: u32, ) -> Weight { + fn slash_tip(_t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `3931` - // Minimum execution time: 9_887_000 picoseconds. - Weight::from_parts(10_675_622, 0) - .saturating_add(Weight::from_parts(0, 3931)) - // Standard Error: 8_236 - .saturating_add(Weight::from_parts(10_969, 0).saturating_mul(t.into())) + // Estimated: `3698` + // Minimum execution time: 9_393_000 picoseconds. + Weight::from_parts(11_519_200, 0) + .saturating_add(Weight::from_parts(0, 3698)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_treasury.rs b/runtime/pangoro/src/weights/pallet_treasury.rs index 5d4a5b9c8..4cec1bf66 100644 --- a/runtime/pangoro/src/weights/pallet_treasury.rs +++ b/runtime/pangoro/src/weights/pallet_treasury.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -61,8 +62,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 155_000 picoseconds. - Weight::from_parts(188_000, 0) + // Minimum execution time: 157_000 picoseconds. + Weight::from_parts(174_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -73,8 +74,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 17_683_000 picoseconds. - Weight::from_parts(18_721_000, 0) + // Minimum execution time: 20_340_000 picoseconds. + Weight::from_parts(21_172_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,10 +87,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `504` - // Estimated: `9721` - // Minimum execution time: 27_864_000 picoseconds. - Weight::from_parts(28_865_000, 0) - .saturating_add(Weight::from_parts(0, 9721)) + // Estimated: `6172` + // Minimum execution time: 32_353_000 picoseconds. + Weight::from_parts(32_954_000, 0) + .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -101,12 +102,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` - // Estimated: `5436` - // Minimum execution time: 5_945_000 picoseconds. - Weight::from_parts(8_777_744, 0) - .saturating_add(Weight::from_parts(0, 5436)) - // Standard Error: 2_268 - .saturating_add(Weight::from_parts(54_509, 0).saturating_mul(p.into())) + // Estimated: `3549` + // Minimum execution time: 6_490_000 picoseconds. + Weight::from_parts(8_436_937, 0) + .saturating_add(Weight::from_parts(0, 3549)) + // Standard Error: 1_565 + .saturating_add(Weight::from_parts(52_325, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,8 +117,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 5_190_000 picoseconds. - Weight::from_parts(5_521_000, 0) + // Minimum execution time: 5_102_000 picoseconds. + Weight::from_parts(5_440_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,12 +137,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` - // Estimated: `9460 + p * (2559 ±0)` - // Minimum execution time: 22_889_000 picoseconds. - Weight::from_parts(22_308_751, 0) - .saturating_add(Weight::from_parts(0, 9460)) - // Standard Error: 6_355 - .saturating_add(Weight::from_parts(2_080_752, 0).saturating_mul(p.into())) + // Estimated: `3581 + p * (2559 ±0)` + // Minimum execution time: 20_631_000 picoseconds. + Weight::from_parts(19_926_402, 0) + .saturating_add(Weight::from_parts(0, 3581)) + // Standard Error: 4_491 + .saturating_add(Weight::from_parts(1_970_517, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/pangoro/src/weights/pallet_utility.rs b/runtime/pangoro/src/weights/pallet_utility.rs index b3e1ca179..b4b25ce8e 100644 --- a/runtime/pangoro/src/weights/pallet_utility.rs +++ b/runtime/pangoro/src/weights/pallet_utility.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `inv.cafe`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-local"), DB CACHE: 1024 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangoro-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -35,7 +35,7 @@ // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights // --extrinsic @@ -50,9 +50,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -62,18 +63,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_719_000 picoseconds. - Weight::from_parts(3_946_395, 0) + // Minimum execution time: 4_250_000 picoseconds. + Weight::from_parts(4_694_615, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_490 - .saturating_add(Weight::from_parts(3_927_164, 0).saturating_mul(c.into())) + // Standard Error: 2_835 + .saturating_add(Weight::from_parts(3_592_354, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_729_000 picoseconds. - Weight::from_parts(3_858_000, 0) + // Minimum execution time: 3_136_000 picoseconds. + Weight::from_parts(3_369_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -81,18 +82,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_639_000 picoseconds. - Weight::from_parts(8_630_572, 0) + // Minimum execution time: 4_234_000 picoseconds. + Weight::from_parts(22_799_588, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_038 - .saturating_add(Weight::from_parts(4_154_089, 0).saturating_mul(c.into())) + // Standard Error: 7_363 + .saturating_add(Weight::from_parts(3_777_345, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_272_000 picoseconds. - Weight::from_parts(6_559_000, 0) + // Minimum execution time: 5_890_000 picoseconds. + Weight::from_parts(6_205_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -100,10 +101,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_752_000 picoseconds. - Weight::from_parts(14_333_311, 0) + // Minimum execution time: 4_291_000 picoseconds. + Weight::from_parts(10_356_513, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_876 - .saturating_add(Weight::from_parts(3_920_956, 0).saturating_mul(c.into())) + // Standard Error: 2_581 + .saturating_add(Weight::from_parts(3_568_584, 0).saturating_mul(c.into())) } }