diff --git a/pallet/account-migration/src/weights.rs b/pallet/account-migration/src/weights.rs index 4009a0325..5f20b4654 100644 --- a/pallet/account-migration/src/weights.rs +++ b/pallet/account-migration/src/weights.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-05-23, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-17, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -32,12 +32,10 @@ // .maintain/license-header // --template // .maintain/pallet-weight-template.hbs -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // pallet/account-migration/src/weights.rs // --extrinsic @@ -63,106 +61,94 @@ pub trait WeightInfo { /// Weights for darwinia_account_migration using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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) - /// 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) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: 226_055 nanoseconds. - Weight::from_parts(226_055_000, 0) - .saturating_add(Weight::from_parts(113086, 0)) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(18_u64)) + // Measured: `29212` + // Estimated: `32677` + // Minimum execution time: 143_334 nanoseconds. + Weight::from_parts(149_012_000, 0) + .saturating_add(Weight::from_parts(32677, 0)) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } - /// Storage: AccountMigration Multisigs (r:0 w:1) - /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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) - /// 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) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30261` - // Estimated: `113086` - // Minimum execution time: 22_168 nanoseconds. - Weight::from_parts(216_351_000, 0) - .saturating_add(Weight::from_parts(113086, 0)) - // Standard Error: 7_728 - .saturating_add(Weight::from_parts(24_444, 0).saturating_mul(x.into())) - // Standard Error: 7_728 - .saturating_add(Weight::from_parts(101_949, 0).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(18_u64)) + // Measured: `0` + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_532 nanoseconds. + Weight::from_parts(21_062_269, 0) + .saturating_add(Weight::from_parts(2, 0)) + // Standard Error: 11_776 + .saturating_add(Weight::from_parts(4_768, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(165, 0).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(165, 0).saturating_mul(z.into())) } - /// Storage: AccountMigration Multisigs (r:1 w:1) - /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 18_139 nanoseconds. - Weight::from_parts(18_139_000, 0) - .saturating_add(Weight::from_parts(10545, 0)) + // Estimated: `6964` + // Minimum execution time: 7_617 nanoseconds. + Weight::from_parts(8_366_000, 0) + .saturating_add(Weight::from_parts(6964, 0)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -170,106 +156,94 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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) - /// 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) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: 226_055 nanoseconds. - Weight::from_parts(226_055_000, 0) - .saturating_add(Weight::from_parts(113086, 0)) - .saturating_add(RocksDbWeight::get().reads(12_u64)) - .saturating_add(RocksDbWeight::get().writes(18_u64)) + // Measured: `29212` + // Estimated: `32677` + // Minimum execution time: 143_334 nanoseconds. + Weight::from_parts(149_012_000, 0) + .saturating_add(Weight::from_parts(32677, 0)) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } - /// Storage: AccountMigration Multisigs (r:0 w:1) - /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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) - /// 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) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30261` - // Estimated: `113086` - // Minimum execution time: 22_168 nanoseconds. - Weight::from_parts(216_351_000, 0) - .saturating_add(Weight::from_parts(113086, 0)) - // Standard Error: 7_728 - .saturating_add(Weight::from_parts(24_444, 0).saturating_mul(x.into())) - // Standard Error: 7_728 - .saturating_add(Weight::from_parts(101_949, 0).saturating_mul(z.into())) - .saturating_add(RocksDbWeight::get().reads(12_u64)) - .saturating_add(RocksDbWeight::get().writes(18_u64)) + // Measured: `0` + // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` + // Minimum execution time: 6_532 nanoseconds. + Weight::from_parts(21_062_269, 0) + .saturating_add(Weight::from_parts(2, 0)) + // Standard Error: 11_776 + .saturating_add(Weight::from_parts(4_768, 0).saturating_mul(x.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(165, 0).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(165, 0).saturating_mul(z.into())) } - /// Storage: AccountMigration Multisigs (r:1 w:1) - /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` - // Estimated: `10545` - // Minimum execution time: 18_139 nanoseconds. - Weight::from_parts(18_139_000, 0) - .saturating_add(Weight::from_parts(10545, 0)) + // Estimated: `6964` + // Minimum execution time: 7_617 nanoseconds. + Weight::from_parts(8_366_000, 0) + .saturating_add(Weight::from_parts(6964, 0)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallet/deposit/src/weights.rs b/pallet/deposit/src/weights.rs index e3c58f3ad..b038ddba3 100644 --- a/pallet/deposit/src/weights.rs +++ b/pallet/deposit/src/weights.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-05-23, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-17, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -32,12 +32,10 @@ // .maintain/license-header // --template // .maintain/pallet-weight-template.hbs -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // pallet/deposit/src/weights.rs // --extrinsic @@ -63,57 +61,57 @@ pub trait WeightInfo { /// Weights for darwinia_deposit using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: - // Measured: `26748` - // Estimated: `41879` - // Minimum execution time: 81_361 nanoseconds. - Weight::from_parts(81_361_000, 0) - .saturating_add(Weight::from_parts(41879, 0)) + // Measured: `26848` + // Estimated: `29615` + // Minimum execution time: 66_573 nanoseconds. + Weight::from_parts(69_229_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `26478` - // Estimated: `34689` - // Minimum execution time: 1_445_312 nanoseconds. - Weight::from_parts(1_445_312_000, 0) - .saturating_add(Weight::from_parts(34689, 0)) + // Measured: `26578` + // Estimated: `29615` + // Minimum execution time: 1_188_888 nanoseconds. + Weight::from_parts(1_240_611_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: 89_603 nanoseconds. - Weight::from_parts(89_603_000, 0) - .saturating_add(Weight::from_parts(38298, 0)) + // Measured: `26704` + // Estimated: `29615` + // Minimum execution time: 45_943 nanoseconds. + Weight::from_parts(48_619_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -121,57 +119,57 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: - // Measured: `26748` - // Estimated: `41879` - // Minimum execution time: 81_361 nanoseconds. - Weight::from_parts(81_361_000, 0) - .saturating_add(Weight::from_parts(41879, 0)) + // Measured: `26848` + // Estimated: `29615` + // Minimum execution time: 66_573 nanoseconds. + Weight::from_parts(69_229_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `26478` - // Estimated: `34689` - // Minimum execution time: 1_445_312 nanoseconds. - Weight::from_parts(1_445_312_000, 0) - .saturating_add(Weight::from_parts(34689, 0)) + // Measured: `26578` + // Estimated: `29615` + // Minimum execution time: 1_188_888 nanoseconds. + Weight::from_parts(1_240_611_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(94), added: 2569, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: 89_603 nanoseconds. - Weight::from_parts(89_603_000, 0) - .saturating_add(Weight::from_parts(38298, 0)) + // Measured: `26704` + // Estimated: `29615` + // Minimum execution time: 45_943 nanoseconds. + Weight::from_parts(48_619_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallet/ecdsa-authority/src/weights.rs b/pallet/ecdsa-authority/src/weights.rs index c9a7c2916..cfa8e5269 100644 --- a/pallet/ecdsa-authority/src/weights.rs +++ b/pallet/ecdsa-authority/src/weights.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-05-23, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-17, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -32,12 +32,10 @@ // .maintain/license-header // --template // .maintain/pallet-weight-template.hbs -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // pallet/ecdsa-authority/src/weights.rs // --extrinsic @@ -66,101 +64,101 @@ pub trait WeightInfo { /// Weights for darwinia_ecdsa_authority using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 30_782 nanoseconds. - Weight::from_parts(30_782_000, 0) - .saturating_add(Weight::from_parts(4716, 0)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 9_237 nanoseconds. + Weight::from_parts(9_623_000, 0) + .saturating_add(Weight::from_parts(1639, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 46_189 nanoseconds. - Weight::from_parts(46_189_000, 0) - .saturating_add(Weight::from_parts(4716, 0)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 12_402 nanoseconds. + Weight::from_parts(12_961_000, 0) + .saturating_add(Weight::from_parts(1639, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 30_039 nanoseconds. - Weight::from_parts(30_039_000, 0) - .saturating_add(Weight::from_parts(4953, 0)) + // Measured: `233` + // Estimated: `1718` + // Minimum execution time: 13_419 nanoseconds. + Weight::from_parts(14_072_000, 0) + .saturating_add(Weight::from_parts(1718, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 23_102 nanoseconds. - Weight::from_parts(23_102_000, 0) - .saturating_add(Weight::from_parts(5256, 0)) + // Measured: `334` + // Estimated: `1819` + // Minimum execution time: 13_750 nanoseconds. + Weight::from_parts(14_405_000, 0) + .saturating_add(Weight::from_parts(1819, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 34_498 nanoseconds. - Weight::from_parts(34_498_000, 0) - .saturating_add(Weight::from_parts(7195, 0)) + // Measured: `318` + // Estimated: `1803` + // Minimum execution time: 39_035 nanoseconds. + Weight::from_parts(41_283_000, 0) + .saturating_add(Weight::from_parts(1803, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 25_152 nanoseconds. - Weight::from_parts(25_152_000, 0) - .saturating_add(Weight::from_parts(3460, 0)) + // Measured: `312` + // Estimated: `1797` + // Minimum execution time: 29_384 nanoseconds. + Weight::from_parts(29_975_000, 0) + .saturating_add(Weight::from_parts(1797, 0)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -168,101 +166,101 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 30_782 nanoseconds. - Weight::from_parts(30_782_000, 0) - .saturating_add(Weight::from_parts(4716, 0)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 9_237 nanoseconds. + Weight::from_parts(9_623_000, 0) + .saturating_add(Weight::from_parts(1639, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `4716` - // Minimum execution time: 46_189 nanoseconds. - Weight::from_parts(46_189_000, 0) - .saturating_add(Weight::from_parts(4716, 0)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 12_402 nanoseconds. + Weight::from_parts(12_961_000, 0) + .saturating_add(Weight::from_parts(1639, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `4953` - // Minimum execution time: 30_039 nanoseconds. - Weight::from_parts(30_039_000, 0) - .saturating_add(Weight::from_parts(4953, 0)) + // Measured: `233` + // Estimated: `1718` + // Minimum execution time: 13_419 nanoseconds. + Weight::from_parts(14_072_000, 0) + .saturating_add(Weight::from_parts(1718, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `5256` - // Minimum execution time: 23_102 nanoseconds. - Weight::from_parts(23_102_000, 0) - .saturating_add(Weight::from_parts(5256, 0)) + // Measured: `334` + // Estimated: `1819` + // Minimum execution time: 13_750 nanoseconds. + Weight::from_parts(14_405_000, 0) + .saturating_add(Weight::from_parts(1819, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `251` - // Estimated: `7195` - // Minimum execution time: 34_498 nanoseconds. - Weight::from_parts(34_498_000, 0) - .saturating_add(Weight::from_parts(7195, 0)) + // Measured: `318` + // Estimated: `1803` + // Minimum execution time: 39_035 nanoseconds. + Weight::from_parts(41_283_000, 0) + .saturating_add(Weight::from_parts(1803, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `3460` - // Minimum execution time: 25_152 nanoseconds. - Weight::from_parts(25_152_000, 0) - .saturating_add(Weight::from_parts(3460, 0)) + // Measured: `312` + // Estimated: `1797` + // Minimum execution time: 29_384 nanoseconds. + Weight::from_parts(29_975_000, 0) + .saturating_add(Weight::from_parts(1797, 0)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallet/staking/src/benchmarking.rs b/pallet/staking/src/benchmarking.rs index f218f10d0..5bf7d945b 100644 --- a/pallet/staking/src/benchmarking.rs +++ b/pallet/staking/src/benchmarking.rs @@ -203,9 +203,7 @@ mod benchmarks { let a = frame_benchmarking::whitelisted_caller::(); let sender = a.clone(); - assert_eq!(>::get().0, ExposureCacheState::Previous); - - >::insert( + call_on_exposure!(>::insert( &a, Exposure { commission: Perbill::zero(), @@ -217,7 +215,8 @@ mod benchmarks { }) .collect(), }, - ); + )) + .unwrap(); >::insert(&a, 500); #[extrinsic_call] diff --git a/pallet/staking/src/weights.rs b/pallet/staking/src/weights.rs index 7a3648fea..d3747e740 100644 --- a/pallet/staking/src/weights.rs +++ b/pallet/staking/src/weights.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-05-23, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-17, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -32,12 +32,10 @@ // .maintain/license-header // --template // .maintain/pallet-weight-template.hbs -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // pallet/staking/src/weights.rs // --extrinsic @@ -62,291 +60,333 @@ pub trait WeightInfo { fn collect() -> Weight; fn nominate() -> Weight; fn chill() -> Weight; - fn set_collator_count() -> Weight; fn payout() -> Weight; + fn set_collator_count() -> Weight; } /// Weights for darwinia_staking using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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) - /// 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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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: `927` - // Estimated: `51255` - // Minimum execution time: 72_756 nanoseconds. - Weight::from_parts(139_351_000, 0) - .saturating_add(Weight::from_parts(51255, 0)) + // Measured: `1977` + // Estimated: `29615` + // Minimum execution time: 65_025 nanoseconds. + Weight::from_parts(119_080_833, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 1_240 + .saturating_add(Weight::from_parts(6_811, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. - fn unstake(_x: u32, ) -> Weight { + fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `541` - // Estimated: `37915` - // Minimum execution time: 18_949 nanoseconds. - Weight::from_parts(63_820_000, 0) - .saturating_add(Weight::from_parts(37915, 0)) + // Measured: `1589` + // Estimated: `29615` + // Minimum execution time: 11_158 nanoseconds. + Weight::from_parts(51_460_547, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 896 + .saturating_add(Weight::from_parts(3_363, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. - fn restake(_x: u32, ) -> Weight { + fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582` - // Estimated: `37915` - // Minimum execution time: 14_658 nanoseconds. - Weight::from_parts(63_572_000, 0) - .saturating_add(Weight::from_parts(37915, 0)) + // Measured: `1693` + // Estimated: `29615` + // Minimum execution time: 10_061 nanoseconds. + Weight::from_parts(43_375_019, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 750 + .saturating_add(Weight::from_parts(3_582, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: 104_845 nanoseconds. - Weight::from_parts(104_845_000, 0) - .saturating_add(Weight::from_parts(48253, 0)) + // Measured: `2215` + // Estimated: `29615` + // Minimum execution time: 87_073 nanoseconds. + Weight::from_parts(89_352_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// 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: `410` // Estimated: `3497` - // Minimum execution time: 23_598 nanoseconds. - Weight::from_parts(23_598_000, 0) + // Minimum execution time: 7_784 nanoseconds. + Weight::from_parts(8_159_000, 0) .saturating_add(Weight::from_parts(3497, 0)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// 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: 16_027 nanoseconds. - Weight::from_parts(16_027_000, 0) - .saturating_add(Weight::from_parts(12308, 0)) + // Measured: `578` + // Estimated: `5298` + // Minimum execution time: 9_357 nanoseconds. + Weight::from_parts(9_716_000, 0) + .saturating_add(Weight::from_parts(5298, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_231 nanoseconds. - Weight::from_parts(6_231_000, 0) + // Minimum execution time: 3_204 nanoseconds. + Weight::from_parts(3_458_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1449` + // Estimated: `4914` + // Minimum execution time: 129_233 nanoseconds. + Weight::from_parts(131_538_000, 0) + .saturating_add(Weight::from_parts(4914, 0)) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_338 nanoseconds. - Weight::from_parts(16_338_000, 0) + // Minimum execution time: 1_745 nanoseconds. + Weight::from_parts(1_829_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn payout() -> Weight { - Default::default() - } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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) - /// 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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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: `927` - // Estimated: `51255` - // Minimum execution time: 72_756 nanoseconds. - Weight::from_parts(139_351_000, 0) - .saturating_add(Weight::from_parts(51255, 0)) + // Measured: `1977` + // Estimated: `29615` + // Minimum execution time: 65_025 nanoseconds. + Weight::from_parts(119_080_833, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 1_240 + .saturating_add(Weight::from_parts(6_811, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. - fn unstake(_x: u32, ) -> Weight { + fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `541` - // Estimated: `37915` - // Minimum execution time: 18_949 nanoseconds. - Weight::from_parts(63_820_000, 0) - .saturating_add(Weight::from_parts(37915, 0)) + // Measured: `1589` + // Estimated: `29615` + // Minimum execution time: 11_158 nanoseconds. + Weight::from_parts(51_460_547, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 896 + .saturating_add(Weight::from_parts(3_363, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. - fn restake(_x: u32, ) -> Weight { + fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582` - // Estimated: `37915` - // Minimum execution time: 14_658 nanoseconds. - Weight::from_parts(63_572_000, 0) - .saturating_add(Weight::from_parts(37915, 0)) + // Measured: `1693` + // Estimated: `29615` + // Minimum execution time: 10_061 nanoseconds. + Weight::from_parts(43_375_019, 0) + .saturating_add(Weight::from_parts(29615, 0)) + // Standard Error: 750 + .saturating_add(Weight::from_parts(3_582, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: 104_845 nanoseconds. - Weight::from_parts(104_845_000, 0) - .saturating_add(Weight::from_parts(48253, 0)) + // Measured: `2215` + // Estimated: `29615` + // Minimum execution time: 87_073 nanoseconds. + Weight::from_parts(89_352_000, 0) + .saturating_add(Weight::from_parts(29615, 0)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// 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: `410` // Estimated: `3497` - // Minimum execution time: 23_598 nanoseconds. - Weight::from_parts(23_598_000, 0) + // Minimum execution time: 7_784 nanoseconds. + Weight::from_parts(8_159_000, 0) .saturating_add(Weight::from_parts(3497, 0)) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// 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: 16_027 nanoseconds. - Weight::from_parts(16_027_000, 0) - .saturating_add(Weight::from_parts(12308, 0)) + // Measured: `578` + // Estimated: `5298` + // Minimum execution time: 9_357 nanoseconds. + Weight::from_parts(9_716_000, 0) + .saturating_add(Weight::from_parts(5298, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_231 nanoseconds. - Weight::from_parts(6_231_000, 0) + // Minimum execution time: 3_204 nanoseconds. + Weight::from_parts(3_458_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1449` + // Estimated: `4914` + // Minimum execution time: 129_233 nanoseconds. + Weight::from_parts(131_538_000, 0) + .saturating_add(Weight::from_parts(4914, 0)) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_338 nanoseconds. - Weight::from_parts(16_338_000, 0) + // Minimum execution time: 1_745 nanoseconds. + Weight::from_parts(1_829_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - fn payout() -> Weight { - Default::default() - } } diff --git a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs index bdcb32cec..f36af3dfc 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,26 +56,26 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 4_007_000 picoseconds. - Weight::from_parts(4_196_000, 0) + // Minimum execution time: 3_785_000 picoseconds. + Weight::from_parts(3_964_000, 0) .saturating_add(Weight::from_parts(0, 1527)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1527` - // Minimum execution time: 3_970_000 picoseconds. - Weight::from_parts(4_307_000, 0) + // Minimum execution time: 3_745_000 picoseconds. + Weight::from_parts(3_959_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 2f62cc321..c91dc2f16 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,66 +56,66 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); impl darwinia_account_migration::WeightInfo for WeightInfo { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: `29142` // Estimated: `32607` - // Minimum execution time: 146_143_000 picoseconds. - Weight::from_parts(149_786_000, 0) + // Minimum execution time: 141_109_000 picoseconds. + Weight::from_parts(145_532_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) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. @@ -125,26 +123,26 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` - // Minimum execution time: 6_819_000 picoseconds. - Weight::from_parts(23_005_586, 0) + // Minimum execution time: 6_849_000 picoseconds. + Weight::from_parts(21_734_568, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 13_028 - .saturating_add(Weight::from_parts(2_801, 0).saturating_mul(x.into())) + // Standard Error: 12_379 + .saturating_add(Weight::from_parts(7_344, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 8_515_000 picoseconds. - Weight::from_parts(8_883_000, 0) + // Minimum execution time: 8_392_000 picoseconds. + Weight::from_parts(8_851_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 3b3483725..c99e7f17c 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,56 +56,56 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); impl darwinia_deposit::WeightInfo for WeightInfo { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26779` // Estimated: `29615` - // Minimum execution time: 73_525_000 picoseconds. - Weight::from_parts(79_299_000, 0) + // Minimum execution time: 70_611_000 picoseconds. + Weight::from_parts(74_153_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26546` // Estimated: `29615` - // Minimum execution time: 1_261_970_000 picoseconds. - Weight::from_parts(1_286_830_000, 0) + // Minimum execution time: 1_198_407_000 picoseconds. + Weight::from_parts(1_218_720_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `29615` - // Minimum execution time: 49_495_000 picoseconds. - Weight::from_parts(53_007_000, 0) + // Minimum execution time: 46_877_000 picoseconds. + Weight::from_parts(50_168_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 749f98ece..c60baef9b 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,100 +56,100 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); impl darwinia_ecdsa_authority::WeightInfo for WeightInfo { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` // Estimated: `1572` - // Minimum execution time: 9_972_000 picoseconds. - Weight::from_parts(10_599_000, 0) + // Minimum execution time: 9_452_000 picoseconds. + Weight::from_parts(9_871_000, 0) .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` // Estimated: `1572` - // Minimum execution time: 13_112_000 picoseconds. - Weight::from_parts(13_595_000, 0) + // Minimum execution time: 12_684_000 picoseconds. + Weight::from_parts(13_393_000, 0) .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `1651` - // Minimum execution time: 13_773_000 picoseconds. - Weight::from_parts(14_163_000, 0) + // Minimum execution time: 13_018_000 picoseconds. + Weight::from_parts(13_743_000, 0) .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` // Estimated: `1752` - // Minimum execution time: 14_058_000 picoseconds. - Weight::from_parts(14_492_000, 0) + // Minimum execution time: 13_131_000 picoseconds. + Weight::from_parts(14_140_000, 0) .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` // Estimated: `1736` - // Minimum execution time: 41_722_000 picoseconds. - Weight::from_parts(42_351_000, 0) + // Minimum execution time: 40_250_000 picoseconds. + Weight::from_parts(41_304_000, 0) .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `1730` - // Minimum execution time: 31_374_000 picoseconds. - Weight::from_parts(32_082_000, 0) + // Minimum execution time: 30_922_000 picoseconds. + Weight::from_parts(31_844_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 6416df994..3c92ef849 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,148 +56,163 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); impl darwinia_staking::WeightInfo for WeightInfo { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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 { // Proof Size summary in bytes: - // Measured: `1815` + // Measured: `1841` // Estimated: `29615` - // Minimum execution time: 64_633_000 picoseconds. - Weight::from_parts(124_140_920, 0) + // Minimum execution time: 63_285_000 picoseconds. + Weight::from_parts(121_419_553, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_358 - .saturating_add(Weight::from_parts(8_323, 0).saturating_mul(x.into())) + // Standard Error: 1_294 + .saturating_add(Weight::from_parts(6_856, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1464` + // Measured: `1490` // Estimated: `29615` - // Minimum execution time: 10_890_000 picoseconds. - Weight::from_parts(54_530_992, 0) + // Minimum execution time: 11_252_000 picoseconds. + Weight::from_parts(52_503_408, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 972 - .saturating_add(Weight::from_parts(4_573, 0).saturating_mul(x.into())) + // Standard Error: 904 + .saturating_add(Weight::from_parts(4_807, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1568` + // Measured: `1594` // Estimated: `29615` - // Minimum execution time: 9_710_000 picoseconds. - Weight::from_parts(45_713_092, 0) + // Minimum execution time: 9_915_000 picoseconds. + Weight::from_parts(44_404_823, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 809 - .saturating_add(Weight::from_parts(4_816, 0).saturating_mul(x.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(4_344, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: `2090` + // Measured: `2079` // Estimated: `29615` - // Minimum execution time: 93_678_000 picoseconds. - Weight::from_parts(96_203_000, 0) + // Minimum execution time: 90_465_000 picoseconds. + Weight::from_parts(93_718_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `355` + // Measured: `344` // Estimated: `3497` - // Minimum execution time: 5_499_000 picoseconds. - Weight::from_parts(5_834_000, 0) + // Minimum execution time: 7_931_000 picoseconds. + Weight::from_parts(8_390_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `523` + // Measured: `512` // Estimated: `5298` - // Minimum execution time: 9_606_000 picoseconds. - Weight::from_parts(10_707_000, 0) + // Minimum execution time: 9_458_000 picoseconds. + Weight::from_parts(10_221_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_544_000 picoseconds. - Weight::from_parts(3_707_000, 0) + // Minimum execution time: 3_511_000 picoseconds. + Weight::from_parts(3_669_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1349` + // Estimated: `4814` + // Minimum execution time: 135_226_000 picoseconds. + Weight::from_parts(136_826_000, 0) + .saturating_add(Weight::from_parts(0, 4814)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_871_000 picoseconds. - Weight::from_parts(2_010_000, 0) + // Minimum execution time: 1_838_000 picoseconds. + Weight::from_parts(1_994_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - fn payout() -> Weight { - Default::default() - } } diff --git a/runtime/crab/src/weights/frame_system.rs b/runtime/crab/src/weights/frame_system.rs index ad8bbe9d5..3b292b4db 100644 --- a/runtime/crab/src/weights/frame_system.rs +++ b/runtime/crab/src/weights/frame_system.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `frame_system` //! //! 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-11-16, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain -// crab-local +// crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -50,9 +48,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 `frame_system`. pub struct WeightInfo(PhantomData); @@ -62,80 +61,99 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_565_000 picoseconds. - Weight::from_parts(1_596_000, 0) + // Minimum execution time: 1_233_000 picoseconds. + Weight::from_parts(4_562_027, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(224, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(187, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_223_000 picoseconds. - Weight::from_parts(21_592_429, 0) + // Minimum execution time: 4_792_000 picoseconds. + Weight::from_parts(1_859_619, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(948, 0).saturating_mul(b.into())) - } - fn set_code() -> Weight { - Weight::from_parts(1_000_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(904, 0).saturating_mul(b.into())) } - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) - /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_665_000 picoseconds. - Weight::from_parts(3_040_000, 0) + // Minimum execution time: 2_470_000 picoseconds. + Weight::from_parts(2_752_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 65_992_894_000 picoseconds. + Weight::from_parts(67_653_384_000, 0) + .saturating_add(Weight::from_parts(0, 1649)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_565_000 picoseconds. - Weight::from_parts(1_586_000, 0) + // Minimum execution time: 1_382_000 picoseconds. + Weight::from_parts(1_462_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_005 - .saturating_add(Weight::from_parts(544_619, 0).saturating_mul(i.into())) + // Standard Error: 980 + .saturating_add(Weight::from_parts(516_699, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_564_000 picoseconds. - Weight::from_parts(1_613_000, 0) + // Minimum execution time: 1_378_000 picoseconds. + Weight::from_parts(1_439_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 561 - .saturating_add(Weight::from_parts(378_701, 0).saturating_mul(i.into())) + // Standard Error: 456 + .saturating_add(Weight::from_parts(357_845, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `119 + p * (69 ±0)` // Estimated: `109 + p * (70 ±0)` - // Minimum execution time: 2_770_000 picoseconds. - Weight::from_parts(2_845_000, 0) + // Minimum execution time: 2_569_000 picoseconds. + Weight::from_parts(2_657_000, 0) .saturating_add(Weight::from_parts(0, 109)) - // Standard Error: 681 - .saturating_add(Weight::from_parts(723_603, 0).saturating_mul(p.into())) + // Standard Error: 563 + .saturating_add(Weight::from_parts(688_002, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/crab/src/weights/pallet_assets.rs b/runtime/crab/src/weights/pallet_assets.rs index 3d5707271..173707a98 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,474 +56,468 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); 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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_645_000 picoseconds. - Weight::from_parts(9_083_000, 0) + // Minimum execution time: 8_112_000 picoseconds. + Weight::from_parts(8_521_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_151_000 picoseconds. - Weight::from_parts(8_601_000, 0) + // Minimum execution time: 7_663_000 picoseconds. + Weight::from_parts(7_991_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_391_000 picoseconds. - Weight::from_parts(8_876_000, 0) + // Minimum execution time: 8_075_000 picoseconds. + Weight::from_parts(8_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 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(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) + /// 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(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: `3631 + c * (2591 ±0)` - // Minimum execution time: 11_363_000 picoseconds. - Weight::from_parts(11_559_000, 0) + // Minimum execution time: 10_907_000 picoseconds. + Weight::from_parts(11_118_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())) + // Standard Error: 4_703 + .saturating_add(Weight::from_parts(9_135_047, 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, 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) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 11_312_000 picoseconds. - Weight::from_parts(11_577_000, 0) + // Minimum execution time: 10_802_000 picoseconds. + Weight::from_parts(11_175_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())) + // Standard Error: 2_024 + .saturating_add(Weight::from_parts(2_964_952, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 9_816_000 picoseconds. - Weight::from_parts(10_262_000, 0) + // Minimum execution time: 9_366_000 picoseconds. + Weight::from_parts(9_916_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 17_203_000 picoseconds. - Weight::from_parts(17_742_000, 0) + // Minimum execution time: 16_812_000 picoseconds. + Weight::from_parts(17_277_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 21_925_000 picoseconds. - Weight::from_parts(22_526_000, 0) + // Minimum execution time: 20_682_000 picoseconds. + Weight::from_parts(21_541_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_525_000 picoseconds. - Weight::from_parts(31_785_000, 0) + // Minimum execution time: 29_787_000 picoseconds. + Weight::from_parts(30_657_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(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) + /// 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(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: `6168` - // Minimum execution time: 27_174_000 picoseconds. - Weight::from_parts(27_744_000, 0) + // Minimum execution time: 25_893_000 picoseconds. + Weight::from_parts(26_538_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_563_000 picoseconds. - Weight::from_parts(31_543_000, 0) + // Minimum execution time: 29_610_000 picoseconds. + Weight::from_parts(30_098_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 11_024_000 picoseconds. - Weight::from_parts(11_372_000, 0) + // Minimum execution time: 10_489_000 picoseconds. + Weight::from_parts(10_732_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 11_097_000 picoseconds. - Weight::from_parts(11_362_000, 0) + // Minimum execution time: 10_510_000 picoseconds. + Weight::from_parts(11_343_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_394_000 picoseconds. - Weight::from_parts(8_660_000, 0) + // Minimum execution time: 8_055_000 picoseconds. + Weight::from_parts(8_532_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_306_000 picoseconds. - Weight::from_parts(8_623_000, 0) + // Minimum execution time: 7_899_000 picoseconds. + Weight::from_parts(8_194_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 10_006_000 picoseconds. - Weight::from_parts(10_535_000, 0) + // Minimum execution time: 9_679_000 picoseconds. + Weight::from_parts(10_228_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_716_000 picoseconds. - Weight::from_parts(9_077_000, 0) + // Minimum execution time: 8_150_000 picoseconds. + Weight::from_parts(8_462_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 Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 10_103_000 picoseconds. - Weight::from_parts(9_528_814, 0) + // Minimum execution time: 9_605_000 picoseconds. + Weight::from_parts(10_368_880, 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())) + // Standard Error: 542 + .saturating_add(Weight::from_parts(742, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_551_000 picoseconds. - Weight::from_parts(10_856_000, 0) + // Minimum execution time: 10_180_000 picoseconds. + Weight::from_parts(10_493_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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(10_087_683, 0) + // Minimum execution time: 9_123_000 picoseconds. + Weight::from_parts(9_918_024, 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)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_514_000 picoseconds. - Weight::from_parts(10_778_000, 0) + // Minimum execution time: 10_090_000 picoseconds. + Weight::from_parts(10_315_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_443_000 picoseconds. - Weight::from_parts(8_659_000, 0) + // Minimum execution time: 7_836_000 picoseconds. + Weight::from_parts(8_392_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_431_000 picoseconds. - Weight::from_parts(13_010_000, 0) + // Minimum execution time: 12_103_000 picoseconds. + Weight::from_parts(12_547_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 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(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) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// 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(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: `6168` - // Minimum execution time: 36_271_000 picoseconds. - Weight::from_parts(37_737_000, 0) + // Minimum execution time: 34_271_000 picoseconds. + Weight::from_parts(35_836_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 13_997_000 picoseconds. - Weight::from_parts(14_446_000, 0) + // Minimum execution time: 13_064_000 picoseconds. + Weight::from_parts(13_717_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 Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 14_171_000 picoseconds. - Weight::from_parts(14_704_000, 0) + // Minimum execution time: 13_686_000 picoseconds. + Weight::from_parts(14_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 9_130_000 picoseconds. - Weight::from_parts(9_782_000, 0) + // Minimum execution time: 8_774_000 picoseconds. + Weight::from_parts(9_220_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 24_759_000 picoseconds. - Weight::from_parts(25_552_000, 0) + // Minimum execution time: 23_116_000 picoseconds. + Weight::from_parts(24_084_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 22_689_000 picoseconds. - Weight::from_parts(22_972_000, 0) + // Minimum execution time: 21_534_000 picoseconds. + Weight::from_parts(21_938_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 22_762_000 picoseconds. - Weight::from_parts(24_093_000, 0) + // Minimum execution time: 21_647_000 picoseconds. + Weight::from_parts(21_980_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 20_869_000 picoseconds. - Weight::from_parts(21_557_000, 0) + // Minimum execution time: 19_961_000 picoseconds. + Weight::from_parts(20_538_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(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 10_972_000 picoseconds. - Weight::from_parts(11_647_000, 0) + // Minimum execution time: 10_170_000 picoseconds. + Weight::from_parts(10_493_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 89dcd8d8c..956283ae8 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,102 +56,102 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 37_450_000 picoseconds. - Weight::from_parts(38_464_000, 0) + // Minimum execution time: 35_582_000 picoseconds. + Weight::from_parts(36_575_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 31_366_000 picoseconds. - Weight::from_parts(32_063_000, 0) + // Minimum execution time: 30_135_000 picoseconds. + Weight::from_parts(30_780_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 12_052_000 picoseconds. - Weight::from_parts(12_816_000, 0) + // Minimum execution time: 11_398_000 picoseconds. + Weight::from_parts(11_734_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 17_078_000 picoseconds. - Weight::from_parts(17_572_000, 0) + // Minimum execution time: 16_869_000 picoseconds. + Weight::from_parts(17_551_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 39_031_000 picoseconds. - Weight::from_parts(40_122_000, 0) + // Minimum execution time: 37_482_000 picoseconds. + Weight::from_parts(37_963_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 38_943_000 picoseconds. - Weight::from_parts(39_695_000, 0) + // Minimum execution time: 37_323_000 picoseconds. + Weight::from_parts(38_359_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 14_007_000 picoseconds. - Weight::from_parts(14_369_000, 0) + // Minimum execution time: 13_205_000 picoseconds. + Weight::from_parts(13_713_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// 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) + // Minimum execution time: 12_010_000 picoseconds. + Weight::from_parts(12_312_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())) + // Standard Error: 7_183 + .saturating_add(Weight::from_parts(10_305_857, 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 d7489c624..e46fed7fc 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,33 +56,33 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); impl pallet_bridge_grandpa::WeightInfo for WeightInfo { - /// Storage: BridgePolkadotGrandpa PalletOperatingMode (r:1 w:0) - /// Proof: BridgePolkadotGrandpa PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa RequestCount (r:1 w:1) - /// Proof: BridgePolkadotGrandpa RequestCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa BestFinalized (r:1 w:1) - /// Proof: BridgePolkadotGrandpa BestFinalized (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:2) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa CurrentAuthoritySet (r:1 w:0) - /// Proof: BridgePolkadotGrandpa CurrentAuthoritySet (max_values: Some(1), max_size: Some(163850), added: 164345, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHashesPointer (r:1 w:1) - /// Proof: BridgePolkadotGrandpa ImportedHashesPointer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHashes (r:1 w:1) - /// Proof: BridgePolkadotGrandpa ImportedHashes (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `BridgePolkadotGrandpa::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::RequestCount` (r:1 w:1) + /// Proof: `BridgePolkadotGrandpa::RequestCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::BestFinalized` (r:1 w:1) + /// Proof: `BridgePolkadotGrandpa::BestFinalized` (`max_values`: Some(1), `max_size`: Some(36), added: 531, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:2) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::CurrentAuthoritySet` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::CurrentAuthoritySet` (`max_values`: Some(1), `max_size`: Some(163850), added: 164345, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHashesPointer` (r:1 w:1) + /// Proof: `BridgePolkadotGrandpa::ImportedHashesPointer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHashes` (r:1 w:1) + /// Proof: `BridgePolkadotGrandpa::ImportedHashes` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// The range of component `p` is `[51, 102]`. /// The range of component `v` is `[50, 100]`. fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2544 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_614_068_000 picoseconds. - Weight::from_parts(34_962_678, 0) + // Minimum execution time: 1_556_532_000 picoseconds. + Weight::from_parts(87_052_940, 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())) + // Standard Error: 164_398 + .saturating_add(Weight::from_parts(26_934_049, 0).saturating_mul(p.into())) + // Standard Error: 168_299 + .saturating_add(Weight::from_parts(1_374_175, 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 185be8ade..69f065bd4 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,212 +56,212 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); impl pallet_bridge_messages::WeightInfo for WeightInfo { - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeDarwiniaMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeDarwiniaMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeDarwiniaMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeDarwiniaMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` // Estimated: `6172` - // Minimum execution time: 56_980_000 picoseconds. - Weight::from_parts(59_023_000, 0) + // Minimum execution time: 54_060_000 picoseconds. + Weight::from_parts(55_414_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeDarwiniaMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeDarwiniaMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeDarwiniaMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeDarwiniaMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` // Estimated: `6172` - // Minimum execution time: 57_743_000 picoseconds. - Weight::from_parts(58_978_000, 0) + // Minimum execution time: 55_405_000 picoseconds. + Weight::from_parts(56_588_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeDarwiniaMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeDarwiniaMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeDarwiniaMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeDarwiniaMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `439` // Estimated: `6172` - // Minimum execution time: 62_656_000 picoseconds. - Weight::from_parts(64_352_000, 0) + // Minimum execution time: 61_531_000 picoseconds. + Weight::from_parts(63_027_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `576` // Estimated: `69033` - // Minimum execution time: 28_366_000 picoseconds. - Weight::from_parts(29_640_000, 0) + // Minimum execution time: 27_174_000 picoseconds. + Weight::from_parts(28_714_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `576` // Estimated: `69033` - // Minimum execution time: 39_964_000 picoseconds. - Weight::from_parts(40_425_000, 0) + // Minimum execution time: 38_392_000 picoseconds. + Weight::from_parts(40_322_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::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: `576` // Estimated: `69033` - // Minimum execution time: 32_245_000 picoseconds. - Weight::from_parts(33_001_000, 0) + // Minimum execution time: 31_167_000 picoseconds. + Weight::from_parts(32_319_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::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: `576` // Estimated: `69033` - // Minimum execution time: 33_556_000 picoseconds. - Weight::from_parts(34_376_000, 0) + // Minimum execution time: 32_355_000 picoseconds. + Weight::from_parts(33_801_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::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: `576` // Estimated: `69033` - // Minimum execution time: 67_810_000 picoseconds. - Weight::from_parts(71_277_000, 0) + // Minimum execution time: 65_931_000 picoseconds. + Weight::from_parts(68_185_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages InboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::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: `576` // Estimated: `69033` - // Minimum execution time: 28_418_000 picoseconds. - Weight::from_parts(29_726_000, 0) + // Minimum execution time: 27_090_000 picoseconds. + Weight::from_parts(28_403_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket Orders (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `69033` - // Minimum execution time: 22_913_000 picoseconds. - Weight::from_parts(23_589_000, 0) + // Minimum execution time: 21_793_000 picoseconds. + Weight::from_parts(22_282_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket Orders (r:2 w:0) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:2 w:0) + /// Proof: `DarwiniaFeeMarket::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: `694` // Estimated: `69033` - // Minimum execution time: 24_934_000 picoseconds. - Weight::from_parts(25_597_000, 0) + // Minimum execution time: 23_824_000 picoseconds. + Weight::from_parts(24_428_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeDarwiniaMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeDarwiniaMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeDarwiniaMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeDarwiniaMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket Orders (r:2 w:0) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeDarwiniaMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeDarwiniaMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeDarwiniaMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:2 w:0) + /// Proof: `DarwiniaFeeMarket::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: `694` // Estimated: `69033` - // Minimum execution time: 25_322_000 picoseconds. - Weight::from_parts(26_072_000, 0) + // Minimum execution time: 24_126_000 picoseconds. + Weight::from_parts(24_726_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 ef3609a47..4c9b629c4 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,67 +56,67 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); impl pallet_bridge_parachains::WeightInfo for WeightInfo { - /// Storage: BridgePolkadotParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgePolkadotParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ParasInfo (r:1023 w:1023) - /// Proof: BridgePolkadotParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHashes (r:1023 w:1023) - /// Proof: BridgePolkadotParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHeads (r:0 w:1023) - /// Proof: BridgePolkadotParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgePolkadotParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePolkadotParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ParasInfo` (r:1023 w:1023) + /// Proof: `BridgePolkadotParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHashes` (r:1023 w:1023) + /// Proof: `BridgePolkadotParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHeads` (r:0 w:1023) + /// Proof: `BridgePolkadotParachain::ImportedParaHeads` (`max_values`: None, `max_size`: Some(1092), added: 3567, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `485` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 23_108_000 picoseconds. - Weight::from_parts(23_580_000, 0) + // Minimum execution time: 22_076_000 picoseconds. + Weight::from_parts(22_627_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())) + // Standard Error: 22_590 + .saturating_add(Weight::from_parts(18_096_624, 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, 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) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ParasInfo (r:1 w:1) - /// Proof: BridgePolkadotParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgePolkadotParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgePolkadotParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgePolkadotParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePolkadotParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgePolkadotParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgePolkadotParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgePolkadotParachain::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: `485` // Estimated: `69033` - // Minimum execution time: 28_557_000 picoseconds. - Weight::from_parts(29_446_000, 0) + // Minimum execution time: 27_684_000 picoseconds. + Weight::from_parts(28_680_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BridgePolkadotParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgePolkadotParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgePolkadotGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgePolkadotGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ParasInfo (r:1 w:1) - /// Proof: BridgePolkadotParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgePolkadotParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgePolkadotParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgePolkadotParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgePolkadotParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePolkadotParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgePolkadotParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgePolkadotParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgePolkadotParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgePolkadotParachain::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: `485` // Estimated: `69033` - // Minimum execution time: 62_801_000 picoseconds. - Weight::from_parts(64_590_000, 0) + // Minimum execution time: 59_308_000 picoseconds. + Weight::from_parts(62_167_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 aaae55613..70189c320 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -75,14 +73,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12163 + m * (1231 ±11) + p * (3660 ±11)` - // Minimum execution time: 9_652_000 picoseconds. - Weight::from_parts(10_074_000, 0) + // Estimated: `12163 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 9_596_000 picoseconds. + Weight::from_parts(9_964_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())) + // Standard Error: 20_335 + .saturating_add(Weight::from_parts(2_199_497, 0).saturating_mul(m.into())) + // Standard Error: 20_335 + .saturating_add(Weight::from_parts(4_237_533, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ 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_085_000 picoseconds. - Weight::from_parts(9_620_991, 0) + // Minimum execution time: 9_479_000 picoseconds. + Weight::from_parts(9_708_876, 0) .saturating_add(Weight::from_parts(0, 1517)) - // 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())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(856, 0).saturating_mul(b.into())) + // Standard Error: 199 + .saturating_add(Weight::from_parts(4_949, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `3497 + m * (20 ±0)` - // Minimum execution time: 11_837_000 picoseconds. - Weight::from_parts(12_154_627, 0) + // Minimum execution time: 11_152_000 picoseconds. + Weight::from_parts(11_194_138, 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())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(917, 0).saturating_mul(b.into())) + // Standard Error: 278 + .saturating_add(Weight::from_parts(10_698, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `320 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 16_123_000 picoseconds. - Weight::from_parts(15_737_378, 0) + // Minimum execution time: 15_466_000 picoseconds. + Weight::from_parts(15_762_471, 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())) + // Standard Error: 74 + .saturating_add(Weight::from_parts(1_764, 0).saturating_mul(b.into())) + // Standard Error: 773 + .saturating_add(Weight::from_parts(10_327, 0).saturating_mul(m.into())) + // Standard Error: 763 + .saturating_add(Weight::from_parts(149_152, 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, 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) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + m * (40 ±0)` // Estimated: `4259 + m * (40 ±0)` - // Minimum execution time: 16_110_000 picoseconds. - Weight::from_parts(18_376_263, 0) + // Minimum execution time: 15_331_000 picoseconds. + Weight::from_parts(17_438_387, 0) .saturating_add(Weight::from_parts(0, 4259)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(17_098, 0).saturating_mul(m.into())) + // Standard Error: 675 + .saturating_add(Weight::from_parts(17_221, 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, 40).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 18_135_000 picoseconds. - Weight::from_parts(19_280_711, 0) + // Minimum execution time: 17_438_000 picoseconds. + Weight::from_parts(18_140_886, 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())) + // Standard Error: 704 + .saturating_add(Weight::from_parts(16_410, 0).saturating_mul(m.into())) + // Standard Error: 686 + .saturating_add(Weight::from_parts(142_774, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `674 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 24_551_000 picoseconds. + Weight::from_parts(26_014_513, 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())) + // Standard Error: 77 + .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(b.into())) + // Standard Error: 816 + .saturating_add(Weight::from_parts(9_879, 0).saturating_mul(m.into())) + // Standard Error: 796 + .saturating_add(Weight::from_parts(170_208, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `392 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 19_958_000 picoseconds. - Weight::from_parts(21_196_648, 0) + // Minimum execution time: 19_333_000 picoseconds. + Weight::from_parts(20_478_370, 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())) + // Standard Error: 712 + .saturating_add(Weight::from_parts(14_860, 0).saturating_mul(m.into())) + // Standard Error: 694 + .saturating_add(Weight::from_parts(143_711, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `694 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_610_000 picoseconds. + Weight::from_parts(28_249_021, 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())) + // Standard Error: 101 + .saturating_add(Weight::from_parts(2_068, 0).saturating_mul(b.into())) + // Standard Error: 1_073 + .saturating_add(Weight::from_parts(2_104, 0).saturating_mul(m.into())) + // Standard Error: 1_046 + .saturating_add(Weight::from_parts(181_628, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `189 + p * (32 ±0)` // Estimated: `1674 + p * (32 ±0)` - // Minimum execution time: 10_353_000 picoseconds. - Weight::from_parts(11_345_489, 0) + // Minimum execution time: 9_916_000 picoseconds. + Weight::from_parts(10_977_070, 0) .saturating_add(Weight::from_parts(0, 1674)) - // Standard Error: 720 - .saturating_add(Weight::from_parts(135_557, 0).saturating_mul(p.into())) + // Standard Error: 728 + .saturating_add(Weight::from_parts(131_525, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/crab/src/weights/pallet_collective_technical_committee.rs b/runtime/crab/src/weights/pallet_collective_technical_committee.rs index 4c86946ab..249efd362 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: TechnicalCommittee Members (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:100 w:100) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -75,14 +73,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12267 + m * (1231 ±11) + p * (3660 ±11)` - // Minimum execution time: 10_556_000 picoseconds. - Weight::from_parts(10_729_000, 0) + // Estimated: `12267 + m * (1231 ±10) + p * (3660 ±10)` + // Minimum execution time: 10_193_000 picoseconds. + Weight::from_parts(10_428_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())) + // Standard Error: 20_139 + .saturating_add(Weight::from_parts(2_196_817, 0).saturating_mul(m.into())) + // Standard Error: 20_139 + .saturating_add(Weight::from_parts(4_211_680, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ 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_331_000 picoseconds. - Weight::from_parts(10_070_562, 0) + // Minimum execution time: 9_938_000 picoseconds. + Weight::from_parts(9_855_447, 0) .saturating_add(Weight::from_parts(0, 1621)) - // 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())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(833, 0).saturating_mul(b.into())) + // Standard Error: 157 + .saturating_add(Weight::from_parts(6_294, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:0) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136 + m * (20 ±0)` // Estimated: `3601 + m * (20 ±0)` - // Minimum execution time: 12_157_000 picoseconds. - Weight::from_parts(12_195_153, 0) + // Minimum execution time: 11_483_000 picoseconds. + Weight::from_parts(11_466_808, 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())) + // Standard Error: 22 + .saturating_add(Weight::from_parts(945, 0).saturating_mul(b.into())) + // Standard Error: 230 + .saturating_add(Weight::from_parts(10_752, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalCount (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `424 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3818 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 16_531_000 picoseconds. - Weight::from_parts(15_798_974, 0) + // Minimum execution time: 15_823_000 picoseconds. + Weight::from_parts(15_781_608, 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())) + // Standard Error: 70 + .saturating_add(Weight::from_parts(1_874, 0).saturating_mul(b.into())) + // Standard Error: 732 + .saturating_add(Weight::from_parts(10_933, 0).saturating_mul(m.into())) + // Standard Error: 722 + .saturating_add(Weight::from_parts(153_166, 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, 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) - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `899 + m * (40 ±0)` // Estimated: `4363 + m * (40 ±0)` - // Minimum execution time: 16_354_000 picoseconds. - Weight::from_parts(18_808_518, 0) + // Minimum execution time: 16_006_000 picoseconds. + Weight::from_parts(18_128_617, 0) .saturating_add(Weight::from_parts(0, 4363)) - // Standard Error: 811 - .saturating_add(Weight::from_parts(18_055, 0).saturating_mul(m.into())) + // Standard Error: 688 + .saturating_add(Weight::from_parts(15_382, 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, 40).saturating_mul(m.into())) } - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3921 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 18_873_000 picoseconds. - Weight::from_parts(19_602_729, 0) + // Minimum execution time: 17_753_000 picoseconds. + Weight::from_parts(18_866_896, 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())) + // Standard Error: 679 + .saturating_add(Weight::from_parts(14_954, 0).saturating_mul(m.into())) + // Standard Error: 662 + .saturating_add(Weight::from_parts(142_719, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `778 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 25_060_000 picoseconds. + Weight::from_parts(26_485_842, 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())) + // Standard Error: 93 + .saturating_add(Weight::from_parts(2_137, 0).saturating_mul(b.into())) + // Standard Error: 991 + .saturating_add(Weight::from_parts(2_655, 0).saturating_mul(m.into())) + // Standard Error: 966 + .saturating_add(Weight::from_parts(182_560, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `496 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3941 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 20_299_000 picoseconds. - Weight::from_parts(21_532_531, 0) + // Minimum execution time: 19_528_000 picoseconds. + Weight::from_parts(20_817_126, 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())) + // Standard Error: 664 + .saturating_add(Weight::from_parts(15_452, 0).saturating_mul(m.into())) + // Standard Error: 648 + .saturating_add(Weight::from_parts(145_406, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,36 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `798 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_737_000 picoseconds. + Weight::from_parts(28_269_253, 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())) + // Standard Error: 99 + .saturating_add(Weight::from_parts(2_184, 0).saturating_mul(b.into())) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(3_811, 0).saturating_mul(m.into())) + // Standard Error: 1_028 + .saturating_add(Weight::from_parts(184_277, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (32 ±0)` // Estimated: `1778 + p * (32 ±0)` - // Minimum execution time: 10_799_000 picoseconds. - Weight::from_parts(11_671_651, 0) + // Minimum execution time: 10_231_000 picoseconds. + Weight::from_parts(11_273_841, 0) .saturating_add(Weight::from_parts(0, 1778)) - // Standard Error: 759 - .saturating_add(Weight::from_parts(139_368, 0).saturating_mul(p.into())) + // Standard Error: 665 + .saturating_add(Weight::from_parts(137_321, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/crab/src/weights/pallet_democracy.rs b/runtime/crab/src/weights/pallet_democracy.rs index b1e3d75de..a22f00597 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,477 +56,477 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3844` // Estimated: `16987` - // Minimum execution time: 32_791_000 picoseconds. - Weight::from_parts(36_481_000, 0) + // Minimum execution time: 31_924_000 picoseconds. + Weight::from_parts(33_957_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `2593` // Estimated: `5495` - // Minimum execution time: 28_199_000 picoseconds. - Weight::from_parts(29_664_000, 0) + // Minimum execution time: 26_806_000 picoseconds. + Weight::from_parts(29_291_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3440` // Estimated: `7248` - // Minimum execution time: 39_405_000 picoseconds. - Weight::from_parts(42_304_000, 0) + // Minimum execution time: 39_132_000 picoseconds. + Weight::from_parts(40_879_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3462` // Estimated: `7248` - // Minimum execution time: 41_271_000 picoseconds. - Weight::from_parts(46_906_000, 0) + // Minimum execution time: 41_047_000 picoseconds. + Weight::from_parts(43_978_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 17_705_000 picoseconds. - Weight::from_parts(18_381_000, 0) + // Minimum execution time: 16_973_000 picoseconds. + Weight::from_parts(17_408_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4954` // Estimated: `16987` - // Minimum execution time: 78_536_000 picoseconds. - Weight::from_parts(81_088_000, 0) + // Minimum execution time: 75_653_000 picoseconds. + Weight::from_parts(79_146_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2195` // Estimated: `5503` - // Minimum execution time: 8_624_000 picoseconds. - Weight::from_parts(9_036_000, 0) + // Minimum execution time: 8_160_000 picoseconds. + Weight::from_parts(8_703_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_197_000 picoseconds. - Weight::from_parts(2_289_000, 0) + // Minimum execution time: 1_962_000 picoseconds. + Weight::from_parts(2_158_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_191_000 picoseconds. - Weight::from_parts(2_315_000, 0) + // Minimum execution time: 1_947_000 picoseconds. + Weight::from_parts(2_071_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 18_849_000 picoseconds. - Weight::from_parts(19_668_000, 0) + // Minimum execution time: 17_618_000 picoseconds. + Weight::from_parts(18_304_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2298` // Estimated: `5503` - // Minimum execution time: 19_847_000 picoseconds. - Weight::from_parts(20_381_000, 0) + // Minimum execution time: 19_019_000 picoseconds. + Weight::from_parts(19_308_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4886` // Estimated: `16987` - // Minimum execution time: 63_534_000 picoseconds. - Weight::from_parts(67_007_000, 0) + // Minimum execution time: 62_232_000 picoseconds. + Weight::from_parts(64_364_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 13_969_000 picoseconds. - Weight::from_parts(16_214_000, 0) + // Minimum execution time: 12_758_000 picoseconds. + Weight::from_parts(13_224_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_046_000 picoseconds. - Weight::from_parts(6_374_136, 0) + // Minimum execution time: 4_574_000 picoseconds. + Weight::from_parts(5_828_545, 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())) + // Standard Error: 3_505 + .saturating_add(Weight::from_parts(2_024_682, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(8_815_914, 0) + // Minimum execution time: 6_825_000 picoseconds. + Weight::from_parts(8_361_185, 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())) + // Standard Error: 3_446 + .saturating_add(Weight::from_parts(2_028_939, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// 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) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// 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: `19764 + r * (2676 ±0)` - // Minimum execution time: 28_261_000 picoseconds. - Weight::from_parts(33_066_772, 0) + // Minimum execution time: 27_412_000 picoseconds. + Weight::from_parts(31_446_869, 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())) + // Standard Error: 5_949 + .saturating_add(Weight::from_parts(2_602_357, 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()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` - // Minimum execution time: 12_992_000 picoseconds. - Weight::from_parts(15_011_778, 0) + // Minimum execution time: 12_884_000 picoseconds. + Weight::from_parts(14_529_836, 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())) + // Standard Error: 4_544 + .saturating_add(Weight::from_parts(2_526_239, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_136_000 picoseconds. - Weight::from_parts(2_267_000, 0) + // Minimum execution time: 2_128_000 picoseconds. + Weight::from_parts(2_242_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// 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) + /// 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_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `7248` - // Minimum execution time: 16_855_000 picoseconds. - Weight::from_parts(26_436_673, 0) + // Minimum execution time: 16_059_000 picoseconds. + Weight::from_parts(25_706_421, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_812 - .saturating_add(Weight::from_parts(100_452, 0).saturating_mul(r.into())) + // Standard Error: 2_583 + .saturating_add(Weight::from_parts(89_137, 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) + /// 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: `7248` - // Minimum execution time: 23_821_000 picoseconds. - Weight::from_parts(25_288_624, 0) + // Minimum execution time: 22_434_000 picoseconds. + Weight::from_parts(24_700_943, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_851 - .saturating_add(Weight::from_parts(107_251, 0).saturating_mul(r.into())) + // Standard Error: 2_415 + .saturating_add(Weight::from_parts(95_876, 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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_938_000 picoseconds. - Weight::from_parts(12_585_007, 0) + // Minimum execution time: 9_519_000 picoseconds. + Weight::from_parts(11_646_141, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_629 - .saturating_add(Weight::from_parts(76_953, 0).saturating_mul(r.into())) + // Standard Error: 1_445 + .saturating_add(Weight::from_parts(83_349, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_941_000 picoseconds. - Weight::from_parts(12_279_717, 0) + // Minimum execution time: 9_715_000 picoseconds. + Weight::from_parts(11_665_113, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_396 - .saturating_add(Weight::from_parts(80_088, 0).saturating_mul(r.into())) + // Standard Error: 1_453 + .saturating_add(Weight::from_parts(85_287, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3544` - // Minimum execution time: 12_390_000 picoseconds. - Weight::from_parts(12_745_000, 0) + // Minimum execution time: 11_715_000 picoseconds. + Weight::from_parts(12_313_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 11_101_000 picoseconds. - Weight::from_parts(11_351_000, 0) + // Minimum execution time: 10_888_000 picoseconds. + Weight::from_parts(11_754_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3655` // Estimated: `16987` - // Minimum execution time: 28_377_000 picoseconds. - Weight::from_parts(30_291_000, 0) + // Minimum execution time: 28_519_000 picoseconds. + Weight::from_parts(30_325_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3589` // Estimated: `16987` - // Minimum execution time: 26_137_000 picoseconds. - Weight::from_parts(28_512_000, 0) + // Minimum execution time: 25_582_000 picoseconds. + Weight::from_parts(27_555_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_761_000 picoseconds. - Weight::from_parts(10_232_000, 0) + // Minimum execution time: 9_346_000 picoseconds. + Weight::from_parts(9_934_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 12_460_000 picoseconds. - Weight::from_parts(12_672_000, 0) + // Minimum execution time: 11_641_000 picoseconds. + Weight::from_parts(12_219_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 927c3850f..f12f59a29 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,170 +56,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 23_034_000 picoseconds. - Weight::from_parts(23_475_140, 0) + // Minimum execution time: 21_780_000 picoseconds. + Weight::from_parts(22_895_580, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 9_511 - .saturating_add(Weight::from_parts(213_763, 0).saturating_mul(v.into())) + // Standard Error: 4_551 + .saturating_add(Weight::from_parts(113_292, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 32_564_000 picoseconds. - Weight::from_parts(33_684_760, 0) + // Minimum execution time: 30_830_000 picoseconds. + Weight::from_parts(31_827_749, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 7_199 - .saturating_add(Weight::from_parts(130_788, 0).saturating_mul(v.into())) + // Standard Error: 7_569 + .saturating_add(Weight::from_parts(186_714, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 32_548_000 picoseconds. - Weight::from_parts(33_197_773, 0) + // Minimum execution time: 31_115_000 picoseconds. + Weight::from_parts(31_974_997, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 7_057 - .saturating_add(Weight::from_parts(193_992, 0).saturating_mul(v.into())) + // Standard Error: 6_007 + .saturating_add(Weight::from_parts(138_611, 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, 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) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752` - // Minimum execution time: 34_832_000 picoseconds. - Weight::from_parts(36_753_000, 0) + // Minimum execution time: 33_434_000 picoseconds. + Weight::from_parts(34_684_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) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1149 + c * (36 ±0)` // Estimated: `2625 + c * (37 ±0)` - // Minimum execution time: 25_413_000 picoseconds. - Weight::from_parts(27_504_316, 0) + // Minimum execution time: 24_363_000 picoseconds. + Weight::from_parts(26_486_580, 0) .saturating_add(Weight::from_parts(0, 2625)) - // Standard Error: 5_670 - .saturating_add(Weight::from_parts(98_678, 0).saturating_mul(c.into())) + // Standard Error: 4_181 + .saturating_add(Weight::from_parts(73_343, 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, 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `408 + c * (38 ±0)` // Estimated: `1890 + c * (39 ±0)` - // Minimum execution time: 23_152_000 picoseconds. - Weight::from_parts(24_916_571, 0) + // Minimum execution time: 21_930_000 picoseconds. + Weight::from_parts(23_923_317, 0) .saturating_add(Weight::from_parts(0, 1890)) - // Standard Error: 5_100 - .saturating_add(Weight::from_parts(90_634, 0).saturating_mul(c.into())) + // Standard Error: 4_734 + .saturating_add(Weight::from_parts(75_276, 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())) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1170` // Estimated: `2655` - // Minimum execution time: 31_201_000 picoseconds. - Weight::from_parts(32_469_000, 0) + // Minimum execution time: 30_346_000 picoseconds. + Weight::from_parts(32_652_000, 0) .saturating_add(Weight::from_parts(0, 2655)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `2218` - // Minimum execution time: 22_941_000 picoseconds. - Weight::from_parts(24_368_000, 0) + // Minimum execution time: 20_990_000 picoseconds. + Weight::from_parts(23_131_000, 0) .saturating_add(Weight::from_parts(0, 2218)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -230,76 +228,76 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1365` // Estimated: `6172` - // Minimum execution time: 46_579_000 picoseconds. - Weight::from_parts(49_192_000, 0) + // Minimum execution time: 45_487_000 picoseconds. + Weight::from_parts(46_860_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: PhragmenElection Voting (r:301 w:300) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// 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) + /// Storage: `PhragmenElection::Voting` (r:301 w:300) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `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]`. /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `973 + v * (582 ±0)` // Estimated: `4458 + v * (3762 ±0)` - // Minimum execution time: 7_803_617_000 picoseconds. - Weight::from_parts(7_848_760_000, 0) + // Minimum execution time: 7_484_750_000 picoseconds. + Weight::from_parts(7_570_917_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())) + // Standard Error: 209_341 + .saturating_add(Weight::from_parts(30_750_373, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .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) - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Voting (r:301 w:0) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:17 w:17) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection ElectionRounds (r:1 w:1) - /// Proof Skipped: PhragmenElection ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:301 w:0) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:17 w:17) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::ElectionRounds` (r:1 w:1) + /// Proof: `PhragmenElection::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. /// The range of component `v` is `[1, 300]`. /// The range of component `e` is `[300, 4800]`. @@ -307,15 +305,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // 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) + // Minimum execution time: 484_046_000 picoseconds. + Weight::from_parts(492_603_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())) + // Standard Error: 2_092_655 + .saturating_add(Weight::from_parts(13_655_537, 0).saturating_mul(c.into())) + // Standard Error: 208_347 + .saturating_add(Weight::from_parts(6_145_108, 0).saturating_mul(v.into())) + // Standard Error: 13_366 + .saturating_add(Weight::from_parts(155_533, 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()))) diff --git a/runtime/crab/src/weights/pallet_fee_market.rs b/runtime/crab/src/weights/pallet_fee_market.rs index 067aa810c..9c0edb52b 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,157 +56,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); impl pallet_fee_market::WeightInfo for WeightInfo { - /// Storage: DarwiniaFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: 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) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:1) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `DarwiniaFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1716` // Estimated: `27456` - // Minimum execution time: 89_652_000 picoseconds. - Weight::from_parts(92_084_000, 0) + // Minimum execution time: 86_589_000 picoseconds. + Weight::from_parts(88_347_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) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaFeeMarket RelayersMap (r:10 w:1) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `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: `DarwiniaFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `27528` - // Minimum execution time: 84_700_000 picoseconds. - Weight::from_parts(86_896_000, 0) + // Minimum execution time: 81_882_000 picoseconds. + Weight::from_parts(85_447_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) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: 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) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `DarwiniaFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `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: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `27528` - // Minimum execution time: 103_890_000 picoseconds. - Weight::from_parts(106_713_000, 0) + // Minimum execution time: 100_125_000 picoseconds. + Weight::from_parts(102_875_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) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `DarwiniaFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1369` // Estimated: `27109` - // Minimum execution time: 66_216_000 picoseconds. - Weight::from_parts(68_599_000, 0) + // Minimum execution time: 65_282_000 picoseconds. + Weight::from_parts(67_692_000, 0) .saturating_add(Weight::from_parts(0, 27109)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: DarwiniaFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket Orders (r:1 w:0) - /// 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) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket RelayersMap (r:9 w:1) - /// Proof Skipped: DarwiniaFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:1) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `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) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:9 w:1) + /// Proof: `DarwiniaFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1855` // Estimated: `25120` - // Minimum execution time: 87_009_000 picoseconds. - Weight::from_parts(88_679_000, 0) + // Minimum execution time: 83_724_000 picoseconds. + Weight::from_parts(84_799_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) - /// Proof Skipped: DarwiniaFeeMarket CollateralSlashProtect (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::CollateralSlashProtect` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::CollateralSlashProtect` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_slash_protect() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_914_000 picoseconds. - Weight::from_parts(5_255_000, 0) + // Minimum execution time: 4_622_000 picoseconds. + Weight::from_parts(4_809_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaFeeMarket Relayers (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket RelayersMap (r:10 w:0) - /// Proof Skipped: DarwiniaFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket Orders (r:1 w:0) - /// Proof Skipped: DarwiniaFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:0 w:1) - /// Proof Skipped: DarwiniaFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `DarwiniaFeeMarket::Relayers` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::RelayersMap` (r:10 w:0) + /// Proof: `DarwiniaFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::Orders` (r:1 w:0) + /// Proof: `DarwiniaFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaFeeMarket::AssignedRelayersNumber` (r:0 w:1) + /// Proof: `DarwiniaFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1369` // Estimated: `27109` - // Minimum execution time: 64_328_000 picoseconds. - Weight::from_parts(66_152_000, 0) + // Minimum execution time: 63_365_000 picoseconds. + Weight::from_parts(64_469_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 398a193c6..a85587d52 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,87 +56,87 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_852_000 picoseconds. - Weight::from_parts(8_128_266, 0) + // Minimum execution time: 7_421_000 picoseconds. + Weight::from_parts(8_059_221, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 5_938 - .saturating_add(Weight::from_parts(122_791, 0).saturating_mul(r.into())) + // Standard Error: 2_347 + .saturating_add(Weight::from_parts(77_937, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 24_589_000 picoseconds. - Weight::from_parts(21_451_410, 0) + // Minimum execution time: 23_268_000 picoseconds. + Weight::from_parts(22_217_848, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 10_696 + .saturating_add(Weight::from_parts(147_121, 0).saturating_mul(r.into())) + // Standard Error: 2_087 + .saturating_add(Weight::from_parts(376_053, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 5_951_000 picoseconds. - Weight::from_parts(17_921_657, 0) + // Minimum execution time: 5_450_000 picoseconds. + Weight::from_parts(16_064_495, 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())) + // Standard Error: 3_667 + .saturating_add(Weight::from_parts(2_285_017, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2565).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 5_777_000 picoseconds. - Weight::from_parts(16_683_646, 0) + // Minimum execution time: 5_596_000 picoseconds. + Weight::from_parts(16_454_446, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_034 - .saturating_add(Weight::from_parts(955_415, 0).saturating_mul(p.into())) + // Standard Error: 3_028 + .saturating_add(Weight::from_parts(918_759, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// 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: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -146,128 +144,130 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 43_210_000 picoseconds. - Weight::from_parts(23_563_869, 0) + // Minimum execution time: 42_938_000 picoseconds. + Weight::from_parts(23_523_289, 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())) + // Standard Error: 9_379 + .saturating_add(Weight::from_parts(180_675, 0).saturating_mul(r.into())) + // Standard Error: 1_831 + .saturating_add(Weight::from_parts(906_096, 0).saturating_mul(s.into())) + // Standard Error: 1_831 + .saturating_add(Weight::from_parts(198_904, 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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// 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: `10991` - // Minimum execution time: 23_336_000 picoseconds. - Weight::from_parts(26_455_631, 0) + // Minimum execution time: 22_748_000 picoseconds. + Weight::from_parts(21_926_985, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 5_113 - .saturating_add(Weight::from_parts(385_443, 0).saturating_mul(x.into())) + // Standard Error: 5_664 + .saturating_add(Weight::from_parts(112_832, 0).saturating_mul(r.into())) + // Standard Error: 1_105 + .saturating_add(Weight::from_parts(381_640, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 22_034_000 picoseconds. - Weight::from_parts(20_977_240, 0) + // Minimum execution time: 20_545_000 picoseconds. + Weight::from_parts(19_870_777, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 6_208 + .saturating_add(Weight::from_parts(96_780, 0).saturating_mul(r.into())) + // Standard Error: 1_211 + .saturating_add(Weight::from_parts(386_066, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_831_000 picoseconds. - Weight::from_parts(5_158_821, 0) + // Minimum execution time: 4_664_000 picoseconds. + Weight::from_parts(4_943_507, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_658 - .saturating_add(Weight::from_parts(69_500, 0).saturating_mul(r.into())) + // Standard Error: 1_484 + .saturating_add(Weight::from_parts(68_490, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_586_000 picoseconds. - Weight::from_parts(4_979_869, 0) + // Minimum execution time: 4_194_000 picoseconds. + Weight::from_parts(4_671_156, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_455 - .saturating_add(Weight::from_parts(46_606, 0).saturating_mul(r.into())) + // Standard Error: 1_393 + .saturating_add(Weight::from_parts(52_660, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_374_000 picoseconds. - Weight::from_parts(4_742_590, 0) + // Minimum execution time: 4_223_000 picoseconds. + Weight::from_parts(4_576_341, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_307 - .saturating_add(Weight::from_parts(59_257, 0).saturating_mul(r.into())) + // Standard Error: 1_443 + .saturating_add(Weight::from_parts(59_304, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 15_295_000 picoseconds. - Weight::from_parts(15_319_037, 0) + // Minimum execution time: 14_909_000 picoseconds. + Weight::from_parts(13_441_945, 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())) + // Standard Error: 6_260 + .saturating_add(Weight::from_parts(117_710, 0).saturating_mul(r.into())) + // Standard Error: 1_158 + .saturating_add(Weight::from_parts(610_273, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -275,90 +275,90 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 58_991_000 picoseconds. - Weight::from_parts(39_015_442, 0) + // Minimum execution time: 56_581_000 picoseconds. + Weight::from_parts(39_269_204, 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())) + // Standard Error: 13_699 + .saturating_add(Weight::from_parts(229_979, 0).saturating_mul(r.into())) + // Standard Error: 2_675 + .saturating_add(Weight::from_parts(885_595, 0).saturating_mul(s.into())) + // Standard Error: 2_675 + .saturating_add(Weight::from_parts(206_576, 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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 20_480_000 picoseconds. - Weight::from_parts(23_980_507, 0) + // Minimum execution time: 19_474_000 picoseconds. + Weight::from_parts(22_794_382, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_442 - .saturating_add(Weight::from_parts(51_586, 0).saturating_mul(s.into())) + // Standard Error: 1_358 + .saturating_add(Weight::from_parts(51_176, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 8_308_000 picoseconds. - Weight::from_parts(9_741_885, 0) + // Minimum execution time: 7_576_000 picoseconds. + Weight::from_parts(9_361_417, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_754 - .saturating_add(Weight::from_parts(32_942, 0).saturating_mul(s.into())) + // Standard Error: 824 + .saturating_add(Weight::from_parts(29_446, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 22_781_000 picoseconds. - Weight::from_parts(26_532_940, 0) + // Minimum execution time: 21_347_000 picoseconds. + Weight::from_parts(24_180_001, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 6_774 - .saturating_add(Weight::from_parts(49_610, 0).saturating_mul(s.into())) + // Standard Error: 1_479 + .saturating_add(Weight::from_parts(52_891, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// 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) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// 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: `622 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 16_241_000 picoseconds. - Weight::from_parts(18_353_351, 0) + // Minimum execution time: 15_008_000 picoseconds. + Weight::from_parts(16_753_459, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 2_174 - .saturating_add(Weight::from_parts(55_499, 0).saturating_mul(s.into())) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(47_327, 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 55fa6e5e0..c43cfaf7f 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,158 +56,158 @@ use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - /// Storage: TechnicalMembership Members (r:1 w:1) - /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `168 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 10_637_000 picoseconds. - Weight::from_parts(11_593_648, 0) + // Minimum execution time: 10_204_000 picoseconds. + Weight::from_parts(11_049_273, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 1_047 - .saturating_add(Weight::from_parts(15_381, 0).saturating_mul(m.into())) + // Standard Error: 463 + .saturating_add(Weight::from_parts(8_705, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_379_000 picoseconds. - Weight::from_parts(13_495_533, 0) + // Minimum execution time: 12_081_000 picoseconds. + Weight::from_parts(12_795_022, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 5_841 - .saturating_add(Weight::from_parts(27_499, 0).saturating_mul(m.into())) + // Standard Error: 495 + .saturating_add(Weight::from_parts(7_099, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_503_000 picoseconds. - Weight::from_parts(13_332_110, 0) + // Minimum execution time: 11_921_000 picoseconds. + Weight::from_parts(12_701_708, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 716 - .saturating_add(Weight::from_parts(17_623, 0).saturating_mul(m.into())) + // Standard Error: 503 + .saturating_add(Weight::from_parts(17_590, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_264_000 picoseconds. - Weight::from_parts(13_704_433, 0) + // Minimum execution time: 11_590_000 picoseconds. + Weight::from_parts(13_024_246, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 844 - .saturating_add(Weight::from_parts(74_032, 0).saturating_mul(m.into())) + // Standard Error: 671 + .saturating_add(Weight::from_parts(71_862, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 13_002_000 picoseconds. - Weight::from_parts(13_911_926, 0) + // Minimum execution time: 12_207_000 picoseconds. + Weight::from_parts(13_180_626, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(22_424, 0).saturating_mul(m.into())) + // Standard Error: 445 + .saturating_add(Weight::from_parts(16_521, 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, 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) - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:0) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` // Estimated: `3487 + m * (20 ±0)` - // Minimum execution time: 5_229_000 picoseconds. - Weight::from_parts(5_879_371, 0) + // Minimum execution time: 4_864_000 picoseconds. + Weight::from_parts(5_369_100, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 350 - .saturating_add(Weight::from_parts(1_609, 0).saturating_mul(m.into())) + // Standard Error: 213 + .saturating_add(Weight::from_parts(4_763, 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())) } - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `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 { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_065_000 picoseconds. - Weight::from_parts(2_323_759, 0) + // Minimum execution time: 1_961_000 picoseconds. + Weight::from_parts(2_184_346, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 577 - .saturating_add(Weight::from_parts(2_377, 0).saturating_mul(m.into())) + // Standard Error: 119 + .saturating_add(Weight::from_parts(870, 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 590237b24..4fcb4f203 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,167 +56,167 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 22_973_000 picoseconds. - Weight::from_parts(23_490_000, 0) + // Minimum execution time: 21_173_000 picoseconds. + Weight::from_parts(21_600_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_508, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_291, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 11_268_000 picoseconds. - Weight::from_parts(11_508_000, 0) + // Minimum execution time: 10_846_000 picoseconds. + Weight::from_parts(11_025_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_419, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_244, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_599_000 picoseconds. - Weight::from_parts(10_846_000, 0) + // Minimum execution time: 10_216_000 picoseconds. + Weight::from_parts(10_424_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_383, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_295, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 37_862_000 picoseconds. - Weight::from_parts(42_176_000, 0) + // Minimum execution time: 39_255_000 picoseconds. + Weight::from_parts(44_180_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 21_675_000 picoseconds. - Weight::from_parts(25_606_000, 0) + // Minimum execution time: 24_614_000 picoseconds. + Weight::from_parts(27_467_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 20_611_000 picoseconds. - Weight::from_parts(23_597_000, 0) + // Minimum execution time: 21_877_000 picoseconds. + Weight::from_parts(24_393_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 12_080_000 picoseconds. - Weight::from_parts(14_802_000, 0) + // Minimum execution time: 13_726_000 picoseconds. + Weight::from_parts(16_319_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 12_408_000 picoseconds. - Weight::from_parts(16_166_000, 0) + // Minimum execution time: 14_436_000 picoseconds. + Weight::from_parts(15_789_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_290_000 picoseconds. - Weight::from_parts(7_850_000, 0) + // Minimum execution time: 7_404_000 picoseconds. + Weight::from_parts(7_926_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 20_568_000 picoseconds. - Weight::from_parts(23_426_000, 0) + // Minimum execution time: 21_541_000 picoseconds. + Weight::from_parts(25_368_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_523_000 picoseconds. - Weight::from_parts(8_046_000, 0) + // Minimum execution time: 7_735_000 picoseconds. + Weight::from_parts(8_518_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 7_036_000 picoseconds. - Weight::from_parts(8_053_000, 0) + // Minimum execution time: 7_488_000 picoseconds. + Weight::from_parts(8_184_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 84efa59a0..ed58490db 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,170 +56,176 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 9_899_000 picoseconds. - Weight::from_parts(11_372_484, 0) + // Minimum execution time: 9_253_000 picoseconds. + Weight::from_parts(9_838_793, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 5_045 - .saturating_add(Weight::from_parts(9_102, 0).saturating_mul(p.into())) + // Standard Error: 1_768 + .saturating_add(Weight::from_parts(30_811, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 25_237_000 picoseconds. - Weight::from_parts(26_535_766, 0) + // Minimum execution time: 24_389_000 picoseconds. + Weight::from_parts(24_674_939, 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())) + // Standard Error: 3_019 + .saturating_add(Weight::from_parts(121_534, 0).saturating_mul(a.into())) + // Standard Error: 3_120 + .saturating_add(Weight::from_parts(30_396, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `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: `5302` - // Minimum execution time: 17_306_000 picoseconds. - Weight::from_parts(19_027_234, 0) + // Minimum execution time: 15_676_000 picoseconds. + Weight::from_parts(16_601_505, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_009 - .saturating_add(Weight::from_parts(80_478, 0).saturating_mul(a.into())) + // Standard Error: 2_109 + .saturating_add(Weight::from_parts(115_702, 0).saturating_mul(a.into())) + // Standard Error: 2_180 + .saturating_add(Weight::from_parts(950, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `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: `5302` - // Minimum execution time: 16_506_000 picoseconds. - Weight::from_parts(19_260_658, 0) + // Minimum execution time: 15_754_000 picoseconds. + Weight::from_parts(16_729_061, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_081 - .saturating_add(Weight::from_parts(90_638, 0).saturating_mul(a.into())) + // Standard Error: 2_161 + .saturating_add(Weight::from_parts(109_386, 0).saturating_mul(a.into())) + // Standard Error: 2_233 + .saturating_add(Weight::from_parts(7_102, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(23_315_170, 0) + // Minimum execution time: 21_745_000 picoseconds. + Weight::from_parts(22_940_998, 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())) + // Standard Error: 2_435 + .saturating_add(Weight::from_parts(108_916, 0).saturating_mul(a.into())) + // Standard Error: 2_515 + .saturating_add(Weight::from_parts(17_249, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// 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 add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 17_121_000 picoseconds. - Weight::from_parts(18_148_212, 0) + // Minimum execution time: 16_291_000 picoseconds. + Weight::from_parts(17_097_634, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_933 - .saturating_add(Weight::from_parts(39_120, 0).saturating_mul(p.into())) + // Standard Error: 2_420 + .saturating_add(Weight::from_parts(47_943, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 17_521_000 picoseconds. - Weight::from_parts(18_445_943, 0) + // Minimum execution time: 16_610_000 picoseconds. + Weight::from_parts(17_468_341, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_781 - .saturating_add(Weight::from_parts(33_679, 0).saturating_mul(p.into())) + // Standard Error: 2_114 + .saturating_add(Weight::from_parts(34_839, 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) + /// 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_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_538_000 picoseconds. - Weight::from_parts(16_260_929, 0) + // Minimum execution time: 14_964_000 picoseconds. + Weight::from_parts(15_651_376, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_093 - .saturating_add(Weight::from_parts(36_160, 0).saturating_mul(p.into())) + // Standard Error: 1_726 + .saturating_add(Weight::from_parts(32_743, 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) + /// 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 create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 18_695_000 picoseconds. - Weight::from_parts(19_238_460, 0) + // Minimum execution time: 17_925_000 picoseconds. + Weight::from_parts(18_857_838, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_449 - .saturating_add(Weight::from_parts(52_962, 0).saturating_mul(p.into())) + // Standard Error: 2_193 + .saturating_add(Weight::from_parts(10_901, 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) + /// 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: 16_100_000 picoseconds. - Weight::from_parts(17_912_966, 0) + // Minimum execution time: 15_287_000 picoseconds. + Weight::from_parts(16_219_745, 0) .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 2_086 + .saturating_add(Weight::from_parts(26_030, 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 380990ba8..848f5654d 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_358_000 picoseconds. - Weight::from_parts(2_445_000, 0) + // Minimum execution time: 2_221_000 picoseconds. + Weight::from_parts(2_357_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_243_000 picoseconds. - Weight::from_parts(4_782_613, 0) + // Minimum execution time: 2_084_000 picoseconds. + Weight::from_parts(4_220_935, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_049 - .saturating_add(Weight::from_parts(431_701, 0).saturating_mul(s.into())) + // Standard Error: 1_744 + .saturating_add(Weight::from_parts(441_286, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,36 +87,36 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_514_000 picoseconds. - Weight::from_parts(3_702_000, 0) + // Minimum execution time: 3_427_000 picoseconds. + Weight::from_parts(3_806_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 13_743_000 picoseconds. - Weight::from_parts(13_918_000, 0) + // Minimum execution time: 12_829_000 picoseconds. + Weight::from_parts(13_058_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(676, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(912, 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())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_387_000 picoseconds. - Weight::from_parts(4_541_000, 0) + // Minimum execution time: 4_204_000 picoseconds. + Weight::from_parts(4_499_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,89 +124,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_614_000 picoseconds. - Weight::from_parts(3_790_000, 0) + // Minimum execution time: 3_382_000 picoseconds. + Weight::from_parts(3_518_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_815_000 picoseconds. - Weight::from_parts(1_981_000, 0) + // Minimum execution time: 1_658_000 picoseconds. + Weight::from_parts(1_748_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_826_000 picoseconds. - Weight::from_parts(1_935_000, 0) + // Minimum execution time: 1_659_000 picoseconds. + Weight::from_parts(1_820_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_075_000 picoseconds. - Weight::from_parts(10_484_795, 0) + // Minimum execution time: 7_719_000 picoseconds. + Weight::from_parts(9_898_858, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_257 - .saturating_add(Weight::from_parts(459_284, 0).saturating_mul(s.into())) + // Standard Error: 2_696 + .saturating_add(Weight::from_parts(461_329, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_374_000 picoseconds. - Weight::from_parts(11_117_282, 0) + // Minimum execution time: 11_117_000 picoseconds. + Weight::from_parts(10_599_483, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_613 - .saturating_add(Weight::from_parts(819_492, 0).saturating_mul(s.into())) + // Standard Error: 3_031 + .saturating_add(Weight::from_parts(818_521, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 9_454_000 picoseconds. - Weight::from_parts(12_905_415, 0) + // Minimum execution time: 9_584_000 picoseconds. + Weight::from_parts(13_617_441, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_824 - .saturating_add(Weight::from_parts(498_810, 0).saturating_mul(s.into())) + // Standard Error: 9_455 + .saturating_add(Weight::from_parts(459_317, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 12_611_000 picoseconds. - Weight::from_parts(12_252_417, 0) + // Minimum execution time: 12_001_000 picoseconds. + Weight::from_parts(12_017_795, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_837 - .saturating_add(Weight::from_parts(848_132, 0).saturating_mul(s.into())) + // Standard Error: 2_925 + .saturating_add(Weight::from_parts(828_981, 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 7ed59305c..a58b57e5f 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 10_841_000 picoseconds. - Weight::from_parts(11_328_000, 0) + // Minimum execution time: 10_070_000 picoseconds. + Weight::from_parts(10_660_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 7_466_000 picoseconds. - Weight::from_parts(7_826_000, 0) + // Minimum execution time: 7_008_000 picoseconds. + Weight::from_parts(7_403_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 73a54a352..558f93e94 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 4_639_000 picoseconds. - Weight::from_parts(4_900_000, 0) + // Minimum execution time: 4_529_000 picoseconds. + Weight::from_parts(4_970_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +72,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 2_950_000 picoseconds. - Weight::from_parts(3_149_000, 0) + // Minimum execution time: 2_807_000 picoseconds. + Weight::from_parts(3_044_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/crab/src/weights/pallet_treasury.rs b/runtime/crab/src/weights/pallet_treasury.rs index fe6069e47..e1c98fb15 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -62,87 +60,87 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 153_000 picoseconds. - Weight::from_parts(189_000, 0) + // Minimum execution time: 154_000 picoseconds. + Weight::from_parts(192_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 20_359_000 picoseconds. - Weight::from_parts(21_389_000, 0) + // Minimum execution time: 19_525_000 picoseconds. + Weight::from_parts(20_179_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `504` // Estimated: `6172` - // Minimum execution time: 32_645_000 picoseconds. - Weight::from_parts(33_382_000, 0) + // Minimum execution time: 31_136_000 picoseconds. + Weight::from_parts(31_918_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 6_064_000 picoseconds. - Weight::from_parts(8_216_511, 0) + // Minimum execution time: 5_878_000 picoseconds. + Weight::from_parts(7_554_640, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_356 - .saturating_add(Weight::from_parts(57_900, 0).saturating_mul(p.into())) + // Standard Error: 1_264 + .saturating_add(Weight::from_parts(60_245, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 5_221_000 picoseconds. - Weight::from_parts(5_463_000, 0) + // Minimum execution time: 4_921_000 picoseconds. + Weight::from_parts(5_191_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:100 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 21_071_000 picoseconds. - Weight::from_parts(20_156_780, 0) + // Minimum execution time: 19_984_000 picoseconds. + Weight::from_parts(19_393_525, 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())) + // Standard Error: 9_613 + .saturating_add(Weight::from_parts(1_908_965, 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 10ac40a9b..837c8e21c 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -63,18 +61,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_528_000 picoseconds. - Weight::from_parts(4_610_000, 0) + // Minimum execution time: 4_098_000 picoseconds. + Weight::from_parts(9_086_393, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_989 - .saturating_add(Weight::from_parts(3_665_976, 0).saturating_mul(c.into())) + // Standard Error: 5_394 + .saturating_add(Weight::from_parts(3_445_786, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_299_000 picoseconds. - Weight::from_parts(3_494_000, 0) + // Minimum execution time: 2_964_000 picoseconds. + Weight::from_parts(3_071_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -82,18 +80,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_370_000 picoseconds. - Weight::from_parts(6_986_286, 0) + // Minimum execution time: 4_012_000 picoseconds. + Weight::from_parts(18_598_825, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_410 - .saturating_add(Weight::from_parts(3_853_339, 0).saturating_mul(c.into())) + // Standard Error: 5_973 + .saturating_add(Weight::from_parts(3_633_381, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_906_000 picoseconds. - Weight::from_parts(6_178_000, 0) + // Minimum execution time: 5_293_000 picoseconds. + Weight::from_parts(5_653_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -101,10 +99,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_370_000 picoseconds. - Weight::from_parts(5_976_494, 0) + // Minimum execution time: 4_022_000 picoseconds. + Weight::from_parts(4_190_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_019 - .saturating_add(Weight::from_parts(3_566_198, 0).saturating_mul(c.into())) + // Standard Error: 2_644 + .saturating_add(Weight::from_parts(3_416_040, 0).saturating_mul(c.into())) } } diff --git a/runtime/crab/src/weights/pallet_vesting.rs b/runtime/crab/src/weights/pallet_vesting.rs index 0dbbe68a4..b25d3a4f6 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // crab-dev // --output // runtime/crab/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,191 +56,191 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// 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: `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_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 22_178_000 picoseconds. - Weight::from_parts(22_838_703, 0) + // Minimum execution time: 21_491_000 picoseconds. + Weight::from_parts(21_883_897, 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())) + // Standard Error: 3_139 + .saturating_add(Weight::from_parts(26_624, 0).saturating_mul(l.into())) + // Standard Error: 5_585 + .saturating_add(Weight::from_parts(94_792, 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: `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: `4752` - // Minimum execution time: 24_913_000 picoseconds. - Weight::from_parts(26_444_599, 0) + // Minimum execution time: 23_789_000 picoseconds. + Weight::from_parts(25_133_298, 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())) + // Standard Error: 3_378 + .saturating_add(Weight::from_parts(19_571, 0).saturating_mul(l.into())) + // Standard Error: 6_010 + .saturating_add(Weight::from_parts(87_013, 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) + /// 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]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 24_356_000 picoseconds. - Weight::from_parts(24_207_081, 0) + // Minimum execution time: 23_567_000 picoseconds. + Weight::from_parts(23_290_840, 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())) + // Standard Error: 2_793 + .saturating_add(Weight::from_parts(40_508, 0).saturating_mul(l.into())) + // Standard Error: 4_970 + .saturating_add(Weight::from_parts(98_160, 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) + /// 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]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 26_492_000 picoseconds. - Weight::from_parts(27_492_329, 0) + // Minimum execution time: 25_936_000 picoseconds. + Weight::from_parts(27_155_045, 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())) + // Standard Error: 3_065 + .saturating_add(Weight::from_parts(19_197, 0).saturating_mul(l.into())) + // Standard Error: 5_453 + .saturating_add(Weight::from_parts(82_556, 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: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1045), added: 3520, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// 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: `4752` - // Minimum execution time: 50_002_000 picoseconds. - Weight::from_parts(52_613_822, 0) + // Minimum execution time: 50_237_000 picoseconds. + Weight::from_parts(50_742_395, 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())) + // Standard Error: 4_418 + .saturating_add(Weight::from_parts(47_095, 0).saturating_mul(l.into())) + // Standard Error: 7_860 + .saturating_add(Weight::from_parts(125_337, 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: System Account (r:2 w:2) - /// 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: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1045), added: 3520, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// 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: `6172` - // Minimum execution time: 53_046_000 picoseconds. - Weight::from_parts(54_385_364, 0) + // Minimum execution time: 51_655_000 picoseconds. + Weight::from_parts(52_785_621, 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())) + // Standard Error: 4_587 + .saturating_add(Weight::from_parts(38_100, 0).saturating_mul(l.into())) + // Standard Error: 8_161 + .saturating_add(Weight::from_parts(124_790, 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) + /// 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]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 25_393_000 picoseconds. - Weight::from_parts(24_947_540, 0) + // Minimum execution time: 24_550_000 picoseconds. + Weight::from_parts(23_853_171, 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())) + // Standard Error: 3_205 + .saturating_add(Weight::from_parts(48_340, 0).saturating_mul(l.into())) + // Standard Error: 5_920 + .saturating_add(Weight::from_parts(117_832, 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) + /// 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]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 28_474_000 picoseconds. - Weight::from_parts(28_367_212, 0) + // Minimum execution time: 27_109_000 picoseconds. + Weight::from_parts(27_261_693, 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())) + // Standard Error: 5_314 + .saturating_add(Weight::from_parts(45_445, 0).saturating_mul(l.into())) + // Standard Error: 9_815 + .saturating_add(Weight::from_parts(124_732, 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/weights/cumulus_pallet_xcmp_queue.rs b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs index c0b51239e..8ed40ec38 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,26 +56,26 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 4_015_000 picoseconds. - Weight::from_parts(4_287_000, 0) + // Minimum execution time: 3_677_000 picoseconds. + Weight::from_parts(3_974_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_758_000 picoseconds. - Weight::from_parts(4_099_000, 0) + // Minimum execution time: 3_733_000 picoseconds. + Weight::from_parts(3_915_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 5017d258f..53934f38c 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,66 +56,66 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); impl darwinia_account_migration::WeightInfo for WeightInfo { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: `29142` - // Estimated: `32607` - // Minimum execution time: 146_659_000 picoseconds. - Weight::from_parts(149_487_000, 0) - .saturating_add(Weight::from_parts(0, 32607)) + // Measured: `29175` + // Estimated: `32640` + // Minimum execution time: 142_057_000 picoseconds. + Weight::from_parts(144_558_000, 0) + .saturating_add(Weight::from_parts(0, 32640)) .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) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. @@ -125,26 +123,26 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` - // Minimum execution time: 6_826_000 picoseconds. - Weight::from_parts(22_277_717, 0) + // Minimum execution time: 6_667_000 picoseconds. + Weight::from_parts(20_947_022, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 12_851 - .saturating_add(Weight::from_parts(7_678, 0).saturating_mul(x.into())) + // Standard Error: 12_530 + .saturating_add(Weight::from_parts(6_920, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 8_703_000 picoseconds. - Weight::from_parts(9_096_000, 0) + // Minimum execution time: 8_225_000 picoseconds. + Weight::from_parts(8_851_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 2c6c3d595..69121fccc 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,56 +56,56 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); impl darwinia_deposit::WeightInfo for WeightInfo { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: - // Measured: `26745` + // Measured: `26845` // Estimated: `29615` - // Minimum execution time: 74_061_000 picoseconds. - Weight::from_parts(77_393_000, 0) + // Minimum execution time: 69_982_000 picoseconds. + Weight::from_parts(74_832_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `26512` + // Measured: `26612` // Estimated: `29615` - // Minimum execution time: 1_233_136_000 picoseconds. - Weight::from_parts(1_314_639_000, 0) + // Minimum execution time: 1_199_102_000 picoseconds. + Weight::from_parts(1_212_428_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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` + // Measured: `26701` // Estimated: `29615` - // Minimum execution time: 50_124_000 picoseconds. - Weight::from_parts(52_953_000, 0) + // Minimum execution time: 47_783_000 picoseconds. + Weight::from_parts(49_252_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 311ec7daa..2286f1bdb 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,101 +56,101 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); impl darwinia_ecdsa_authority::WeightInfo for WeightInfo { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `1572` - // Minimum execution time: 10_019_000 picoseconds. - Weight::from_parts(10_299_000, 0) - .saturating_add(Weight::from_parts(0, 1572)) + // Measured: `121` + // Estimated: `1606` + // Minimum execution time: 9_623_000 picoseconds. + Weight::from_parts(10_044_000, 0) + .saturating_add(Weight::from_parts(0, 1606)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `87` - // Estimated: `1572` - // Minimum execution time: 13_278_000 picoseconds. - Weight::from_parts(13_614_000, 0) - .saturating_add(Weight::from_parts(0, 1572)) + // Measured: `121` + // Estimated: `1606` + // Minimum execution time: 12_558_000 picoseconds. + Weight::from_parts(13_715_000, 0) + .saturating_add(Weight::from_parts(0, 1606)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `1651` - // Minimum execution time: 13_544_000 picoseconds. - Weight::from_parts(13_933_000, 0) - .saturating_add(Weight::from_parts(0, 1651)) + // Measured: `200` + // Estimated: `1685` + // Minimum execution time: 13_437_000 picoseconds. + Weight::from_parts(14_262_000, 0) + .saturating_add(Weight::from_parts(0, 1685)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `1752` - // Minimum execution time: 13_812_000 picoseconds. - Weight::from_parts(14_399_000, 0) - .saturating_add(Weight::from_parts(0, 1752)) + // Measured: `301` + // Estimated: `1786` + // Minimum execution time: 13_276_000 picoseconds. + Weight::from_parts(13_715_000, 0) + .saturating_add(Weight::from_parts(0, 1786)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `251` - // Estimated: `1736` - // Minimum execution time: 41_624_000 picoseconds. - Weight::from_parts(42_345_000, 0) - .saturating_add(Weight::from_parts(0, 1736)) + // Measured: `285` + // Estimated: `1770` + // Minimum execution time: 39_607_000 picoseconds. + Weight::from_parts(41_359_000, 0) + .saturating_add(Weight::from_parts(0, 1770)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `1730` - // Minimum execution time: 31_498_000 picoseconds. - Weight::from_parts(32_315_000, 0) - .saturating_add(Weight::from_parts(0, 1730)) + // Measured: `279` + // Estimated: `1764` + // Minimum execution time: 30_335_000 picoseconds. + Weight::from_parts(30_804_000, 0) + .saturating_add(Weight::from_parts(0, 1764)) .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 4f2033b11..5475e93a4 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,148 +56,161 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); impl darwinia_staking::WeightInfo for WeightInfo { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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: `1747` + // Measured: `1840` // Estimated: `29615` - // Minimum execution time: 63_830_000 picoseconds. - Weight::from_parts(123_267_566, 0) + // Minimum execution time: 65_339_000 picoseconds. + Weight::from_parts(126_792_450, 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)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1396` + // Measured: `1489` // Estimated: `29615` - // Minimum execution time: 11_287_000 picoseconds. - Weight::from_parts(53_162_020, 0) + // Minimum execution time: 10_992_000 picoseconds. + Weight::from_parts(52_220_320, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 914 - .saturating_add(Weight::from_parts(5_407, 0).saturating_mul(x.into())) + // Standard Error: 904 + .saturating_add(Weight::from_parts(4_941, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1500` + // Measured: `1593` // Estimated: `29615` - // Minimum execution time: 9_702_000 picoseconds. - Weight::from_parts(44_786_318, 0) + // Minimum execution time: 9_923_000 picoseconds. + Weight::from_parts(44_128_216, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 783 - .saturating_add(Weight::from_parts(4_135, 0).saturating_mul(x.into())) + // Standard Error: 757 + .saturating_add(Weight::from_parts(4_318, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: `2022` + // Measured: `2078` // Estimated: `29615` - // Minimum execution time: 88_179_000 picoseconds. - Weight::from_parts(92_989_000, 0) + // Minimum execution time: 90_017_000 picoseconds. + Weight::from_parts(93_641_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `321` + // Measured: `310` // Estimated: `3497` - // Minimum execution time: 4_929_000 picoseconds. - Weight::from_parts(5_424_000, 0) + // Minimum execution time: 8_162_000 picoseconds. + Weight::from_parts(8_623_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `489` + // Measured: `478` // Estimated: `5298` - // Minimum execution time: 9_024_000 picoseconds. - Weight::from_parts(9_807_000, 0) + // Minimum execution time: 9_220_000 picoseconds. + Weight::from_parts(9_546_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_412_000 picoseconds. - Weight::from_parts(3_664_000, 0) + // Minimum execution time: 3_454_000 picoseconds. + Weight::from_parts(3_724_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:32 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1611` + // Estimated: `83902` + // Minimum execution time: 161_790_000 picoseconds. + Weight::from_parts(164_218_000, 0) + .saturating_add(Weight::from_parts(0, 83902)) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_811_000 picoseconds. - Weight::from_parts(1_985_000, 0) + // Minimum execution time: 1_723_000 picoseconds. + Weight::from_parts(1_823_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - fn payout() -> Weight { - Default::default() - } } diff --git a/runtime/darwinia/src/weights/frame_system.rs b/runtime/darwinia/src/weights/frame_system.rs index bcf2c0536..7765e30c8 100644 --- a/runtime/darwinia/src/weights/frame_system.rs +++ b/runtime/darwinia/src/weights/frame_system.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `frame_system` //! //! 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-11-16, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain -// darwinia-local +// darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -50,9 +48,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 `frame_system`. pub struct WeightInfo(PhantomData); @@ -62,80 +61,99 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_557_000 picoseconds. - Weight::from_parts(1_654_000, 0) + // Minimum execution time: 1_226_000 picoseconds. + Weight::from_parts(1_294_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(220, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(193, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_516_000 picoseconds. - Weight::from_parts(66_228_117, 0) + // Minimum execution time: 4_654_000 picoseconds. + Weight::from_parts(34_911_258, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 3 - .saturating_add(Weight::from_parts(908, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(870, 0).saturating_mul(b.into())) } - fn set_code() -> Weight { - Weight::from_parts(1_000_000, 0) - } - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) - /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_691_000 picoseconds. - Weight::from_parts(3_120_000, 0) + // Minimum execution time: 2_351_000 picoseconds. + Weight::from_parts(2_548_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `198` + // Estimated: `1683` + // Minimum execution time: 64_219_142_000 picoseconds. + Weight::from_parts(65_182_085_000, 0) + .saturating_add(Weight::from_parts(0, 1683)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_543_000 picoseconds. - Weight::from_parts(1_599_000, 0) + // Minimum execution time: 1_318_000 picoseconds. + Weight::from_parts(1_371_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_109 - .saturating_add(Weight::from_parts(544_776, 0).saturating_mul(i.into())) + // Standard Error: 1_153 + .saturating_add(Weight::from_parts(518_020, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_551_000 picoseconds. - Weight::from_parts(1_609_000, 0) + // Minimum execution time: 1_325_000 picoseconds. + Weight::from_parts(1_377_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 488 - .saturating_add(Weight::from_parts(378_698, 0).saturating_mul(i.into())) + // Standard Error: 429 + .saturating_add(Weight::from_parts(361_379, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `98 + p * (69 ±0)` - // Estimated: `101 + p * (70 ±0)` - // Minimum execution time: 2_706_000 picoseconds. - Weight::from_parts(2_800_000, 0) - .saturating_add(Weight::from_parts(0, 101)) - // Standard Error: 665 - .saturating_add(Weight::from_parts(721_920, 0).saturating_mul(p.into())) + // Measured: `101 + p * (69 ±0)` + // Estimated: `103 + p * (70 ±0)` + // Minimum execution time: 2_503_000 picoseconds. + Weight::from_parts(2_582_000, 0) + .saturating_add(Weight::from_parts(0, 103)) + // Standard Error: 563 + .saturating_add(Weight::from_parts(691_541, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/darwinia/src/weights/pallet_assets.rs b/runtime/darwinia/src/weights/pallet_assets.rs index f1c6026ad..b7ca9e358 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,470 +56,470 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); 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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_545_000 picoseconds. - Weight::from_parts(8_931_000, 0) + // Minimum execution time: 8_455_000 picoseconds. + Weight::from_parts(8_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_220_000 picoseconds. - Weight::from_parts(8_956_000, 0) + // Minimum execution time: 7_967_000 picoseconds. + Weight::from_parts(8_370_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_453_000 picoseconds. - Weight::from_parts(8_821_000, 0) + // Minimum execution time: 8_019_000 picoseconds. + Weight::from_parts(8_317_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 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(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) + /// 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(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)` + // Measured: `463 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 11_627_000 picoseconds. - Weight::from_parts(12_119_000, 0) + // Minimum execution time: 10_821_000 picoseconds. + Weight::from_parts(11_103_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())) + // Standard Error: 4_450 + .saturating_add(Weight::from_parts(9_155_068, 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, 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) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 11_282_000 picoseconds. - Weight::from_parts(11_522_000, 0) + // Minimum execution time: 10_657_000 picoseconds. + Weight::from_parts(11_073_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())) + // Standard Error: 1_864 + .saturating_add(Weight::from_parts(2_963_183, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 9_250_000 picoseconds. - Weight::from_parts(9_596_000, 0) + // Minimum execution time: 9_641_000 picoseconds. + Weight::from_parts(9_834_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 17_453_000 picoseconds. - Weight::from_parts(18_350_000, 0) + // Minimum execution time: 16_889_000 picoseconds. + Weight::from_parts(17_835_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 21_754_000 picoseconds. - Weight::from_parts(22_407_000, 0) + // Minimum execution time: 20_924_000 picoseconds. + Weight::from_parts(21_481_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_689_000 picoseconds. - Weight::from_parts(31_860_000, 0) + // Minimum execution time: 29_173_000 picoseconds. + Weight::from_parts(29_941_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(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) + /// 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(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: `6168` - // Minimum execution time: 26_718_000 picoseconds. - Weight::from_parts(27_518_000, 0) + // Minimum execution time: 25_544_000 picoseconds. + Weight::from_parts(26_515_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_636_000 picoseconds. - Weight::from_parts(31_885_000, 0) + // Minimum execution time: 29_612_000 picoseconds. + Weight::from_parts(30_159_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 10_819_000 picoseconds. - Weight::from_parts(11_305_000, 0) + // Minimum execution time: 10_429_000 picoseconds. + Weight::from_parts(10_838_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 10_898_000 picoseconds. - Weight::from_parts(11_241_000, 0) + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(10_640_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_213_000 picoseconds. - Weight::from_parts(8_482_000, 0) + // Minimum execution time: 7_908_000 picoseconds. + Weight::from_parts(8_165_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_237_000 picoseconds. - Weight::from_parts(8_507_000, 0) + // Minimum execution time: 7_725_000 picoseconds. + Weight::from_parts(8_115_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 10_105_000 picoseconds. - Weight::from_parts(10_615_000, 0) + // Minimum execution time: 9_659_000 picoseconds. + Weight::from_parts(9_906_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_437_000 picoseconds. - Weight::from_parts(8_800_000, 0) + // Minimum execution time: 8_190_000 picoseconds. + Weight::from_parts(8_572_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 Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 9_669_000 picoseconds. - Weight::from_parts(10_420_770, 0) + // Minimum execution time: 9_547_000 picoseconds. + Weight::from_parts(10_387_170, 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())) + // Standard Error: 840 + .saturating_add(Weight::from_parts(325, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_041_000 picoseconds. - Weight::from_parts(10_605_000, 0) + // Minimum execution time: 10_033_000 picoseconds. + Weight::from_parts(10_492_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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 9_059_000 picoseconds. - Weight::from_parts(10_399_697, 0) + // Minimum execution time: 9_237_000 picoseconds. + Weight::from_parts(9_937_304, 0) .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 513 + .saturating_add(Weight::from_parts(226, 0).saturating_mul(n.into())) .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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_422_000 picoseconds. - Weight::from_parts(10_908_000, 0) + // Minimum execution time: 9_978_000 picoseconds. + Weight::from_parts(10_421_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_418_000 picoseconds. - Weight::from_parts(8_923_000, 0) + // Minimum execution time: 8_212_000 picoseconds. + Weight::from_parts(8_626_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_496_000 picoseconds. - Weight::from_parts(12_936_000, 0) + // Minimum execution time: 12_007_000 picoseconds. + Weight::from_parts(12_466_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 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(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) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// 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(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: `6168` - // Minimum execution time: 35_954_000 picoseconds. - Weight::from_parts(36_649_000, 0) + // Minimum execution time: 34_789_000 picoseconds. + Weight::from_parts(35_230_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 13_974_000 picoseconds. - Weight::from_parts(14_303_000, 0) + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(13_580_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 Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 13_933_000 picoseconds. - Weight::from_parts(14_226_000, 0) + // Minimum execution time: 13_587_000 picoseconds. + Weight::from_parts(14_033_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_973_000 picoseconds. - Weight::from_parts(9_415_000, 0) + // Minimum execution time: 8_424_000 picoseconds. + Weight::from_parts(8_837_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 24_401_000 picoseconds. - Weight::from_parts(25_499_000, 0) + // Minimum execution time: 23_220_000 picoseconds. + Weight::from_parts(23_876_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 22_752_000 picoseconds. - Weight::from_parts(25_179_000, 0) + // Minimum execution time: 21_690_000 picoseconds. + Weight::from_parts(22_337_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 22_320_000 picoseconds. - Weight::from_parts(22_659_000, 0) + // Minimum execution time: 21_552_000 picoseconds. + Weight::from_parts(22_032_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 20_292_000 picoseconds. - Weight::from_parts(21_235_000, 0) + // Minimum execution time: 19_546_000 picoseconds. + Weight::from_parts(20_481_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(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 10_859_000 picoseconds. - Weight::from_parts(11_609_000, 0) + // Minimum execution time: 10_660_000 picoseconds. + Weight::from_parts(10_981_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 f997286a8..a2318e341 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,102 +56,102 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 36_851_000 picoseconds. - Weight::from_parts(37_805_000, 0) + // Minimum execution time: 36_194_000 picoseconds. + Weight::from_parts(37_361_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 31_204_000 picoseconds. - Weight::from_parts(32_040_000, 0) + // Minimum execution time: 30_711_000 picoseconds. + Weight::from_parts(31_350_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `162` + // Measured: `195` // Estimated: `3581` - // Minimum execution time: 11_676_000 picoseconds. - Weight::from_parts(12_218_000, 0) + // Minimum execution time: 11_365_000 picoseconds. + Weight::from_parts(11_952_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `162` + // Measured: `195` // Estimated: `3581` - // Minimum execution time: 16_811_000 picoseconds. - Weight::from_parts(17_564_000, 0) + // Minimum execution time: 16_439_000 picoseconds. + Weight::from_parts(17_134_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `201` + // Measured: `234` // Estimated: `6172` - // Minimum execution time: 39_590_000 picoseconds. - Weight::from_parts(48_916_000, 0) + // Minimum execution time: 37_862_000 picoseconds. + Weight::from_parts(38_580_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 38_839_000 picoseconds. - Weight::from_parts(40_551_000, 0) + // Minimum execution time: 37_979_000 picoseconds. + Weight::from_parts(38_582_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `162` + // Measured: `195` // Estimated: `3581` - // Minimum execution time: 13_877_000 picoseconds. - Weight::from_parts(14_389_000, 0) + // Minimum execution time: 13_494_000 picoseconds. + Weight::from_parts(13_840_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// 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)` + // Measured: `91 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 12_860_000 picoseconds. - Weight::from_parts(13_684_000, 0) + // Minimum execution time: 12_012_000 picoseconds. + Weight::from_parts(12_399_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())) + // Standard Error: 7_699 + .saturating_add(Weight::from_parts(10_283_026, 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 edb8c0ce2..ab4845b7a 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,33 +56,33 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); impl pallet_bridge_grandpa::WeightInfo for WeightInfo { - /// Storage: BridgeKusamaGrandpa PalletOperatingMode (r:1 w:0) - /// Proof: BridgeKusamaGrandpa PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa RequestCount (r:1 w:1) - /// Proof: BridgeKusamaGrandpa RequestCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa BestFinalized (r:1 w:1) - /// Proof: BridgeKusamaGrandpa BestFinalized (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:2) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa CurrentAuthoritySet (r:1 w:0) - /// Proof: BridgeKusamaGrandpa CurrentAuthoritySet (max_values: Some(1), max_size: Some(163850), added: 164345, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHashesPointer (r:1 w:1) - /// Proof: BridgeKusamaGrandpa ImportedHashesPointer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHashes (r:1 w:1) - /// Proof: BridgeKusamaGrandpa ImportedHashes (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `BridgeKusamaGrandpa::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::RequestCount` (r:1 w:1) + /// Proof: `BridgeKusamaGrandpa::RequestCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::BestFinalized` (r:1 w:1) + /// Proof: `BridgeKusamaGrandpa::BestFinalized` (`max_values`: Some(1), `max_size`: Some(36), added: 531, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:2) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::CurrentAuthoritySet` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::CurrentAuthoritySet` (`max_values`: Some(1), `max_size`: Some(163850), added: 164345, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHashesPointer` (r:1 w:1) + /// Proof: `BridgeKusamaGrandpa::ImportedHashesPointer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHashes` (r:1 w:1) + /// Proof: `BridgeKusamaGrandpa::ImportedHashes` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// The range of component `p` is `[51, 102]`. /// The range of component `v` is `[50, 100]`. fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2510 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_558_608_000 picoseconds. - Weight::from_parts(51_715_724, 0) + // Minimum execution time: 1_545_902_000 picoseconds. + Weight::from_parts(31_122_849, 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())) + // Standard Error: 43_675 + .saturating_add(Weight::from_parts(27_462_608, 0).saturating_mul(p.into())) + // Standard Error: 44_711 + .saturating_add(Weight::from_parts(1_427_186, 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 6494998f0..4f64a9f80 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,212 +56,212 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); impl pallet_bridge_messages::WeightInfo for WeightInfo { - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeCrabMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeCrabMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeCrabMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeCrabMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 57_895_000 picoseconds. - Weight::from_parts(59_416_000, 0) + // Minimum execution time: 54_957_000 picoseconds. + Weight::from_parts(56_251_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeCrabMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeCrabMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeCrabMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeCrabMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 57_546_000 picoseconds. - Weight::from_parts(60_148_000, 0) + // Minimum execution time: 55_629_000 picoseconds. + Weight::from_parts(56_876_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgeCrabMessages OutboundMessages (r:0 w:9) - /// Proof: BridgeCrabMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgeCrabMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgeCrabMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 64_032_000 picoseconds. - Weight::from_parts(70_288_000, 0) + // Minimum execution time: 60_813_000 picoseconds. + Weight::from_parts(61_996_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `542` // Estimated: `134569` - // Minimum execution time: 28_032_000 picoseconds. - Weight::from_parts(28_718_000, 0) + // Minimum execution time: 27_185_000 picoseconds. + Weight::from_parts(27_903_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `542` // Estimated: `134569` - // Minimum execution time: 40_944_000 picoseconds. - Weight::from_parts(43_195_000, 0) + // Minimum execution time: 39_042_000 picoseconds. + Weight::from_parts(40_396_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::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: `542` // Estimated: `134569` - // Minimum execution time: 32_507_000 picoseconds. - Weight::from_parts(33_365_000, 0) + // Minimum execution time: 31_197_000 picoseconds. + Weight::from_parts(31_772_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::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: `542` // Estimated: `134569` - // Minimum execution time: 33_724_000 picoseconds. - Weight::from_parts(35_885_000, 0) + // Minimum execution time: 32_529_000 picoseconds. + Weight::from_parts(33_517_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::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: `542` // Estimated: `134569` - // Minimum execution time: 66_360_000 picoseconds. - Weight::from_parts(71_160_000, 0) + // Minimum execution time: 64_145_000 picoseconds. + Weight::from_parts(66_262_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages InboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::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: `542` // Estimated: `134569` - // Minimum execution time: 28_123_000 picoseconds. - Weight::from_parts(29_359_000, 0) + // Minimum execution time: 26_923_000 picoseconds. + Weight::from_parts(27_946_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket Orders (r:1 w:0) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `CrabFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `593` // Estimated: `134569` - // Minimum execution time: 22_981_000 picoseconds. - Weight::from_parts(23_786_000, 0) + // Minimum execution time: 21_785_000 picoseconds. + Weight::from_parts(22_291_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket Orders (r:2 w:0) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::Orders` (r:2 w:0) + /// Proof: `CrabFeeMarket::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: `593` // Estimated: `134569` - // Minimum execution time: 25_040_000 picoseconds. - Weight::from_parts(25_708_000, 0) + // Minimum execution time: 23_740_000 picoseconds. + Weight::from_parts(24_243_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgeCrabMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgeCrabMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeCrabMessages OutboundLanes (r:1 w:1) - /// Proof: BridgeCrabMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket Orders (r:2 w:0) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgeCrabMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeCrabMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeCrabMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgeCrabMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::Orders` (r:2 w:0) + /// Proof: `CrabFeeMarket::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: `593` // Estimated: `134569` - // Minimum execution time: 25_548_000 picoseconds. - Weight::from_parts(26_243_000, 0) + // Minimum execution time: 24_136_000 picoseconds. + Weight::from_parts(24_742_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 aec74fc9f..ba0c6e63d 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,67 +56,67 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); impl pallet_bridge_parachains::WeightInfo for WeightInfo { - /// Storage: BridgeKusamaParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeKusamaParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ParasInfo (r:1023 w:1023) - /// Proof: BridgeKusamaParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHashes (r:1023 w:1023) - /// Proof: BridgeKusamaParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHeads (r:0 w:1023) - /// Proof: BridgeKusamaParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeKusamaParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeKusamaParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ParasInfo` (r:1023 w:1023) + /// Proof: `BridgeKusamaParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHashes` (r:1023 w:1023) + /// Proof: `BridgeKusamaParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHeads` (r:0 w:1023) + /// Proof: `BridgeKusamaParachain::ImportedParaHeads` (`max_values`: None, `max_size`: Some(1092), added: 3567, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451` // Estimated: `134569 + p * (2539 ±0)` - // Minimum execution time: 21_921_000 picoseconds. - Weight::from_parts(22_507_000, 0) + // Minimum execution time: 22_410_000 picoseconds. + Weight::from_parts(22_621_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())) + // Standard Error: 18_693 + .saturating_add(Weight::from_parts(17_238_165, 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, 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) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ParasInfo (r:1 w:1) - /// Proof: BridgeKusamaParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeKusamaParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeKusamaParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeKusamaParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeKusamaParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeKusamaParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeKusamaParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgeKusamaParachain::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: `451` // Estimated: `134569` - // Minimum execution time: 28_678_000 picoseconds. - Weight::from_parts(29_631_000, 0) + // Minimum execution time: 27_639_000 picoseconds. + Weight::from_parts(28_471_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BridgeKusamaParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeKusamaParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeKusamaGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeKusamaGrandpa ImportedHeaders (max_values: None, max_size: Some(131104), added: 133579, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ParasInfo (r:1 w:1) - /// Proof: BridgeKusamaParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeKusamaParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeKusamaParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeKusamaParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeKusamaParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeKusamaParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeKusamaGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(131104), added: 133579, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeKusamaParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeKusamaParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeKusamaParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgeKusamaParachain::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: `451` // Estimated: `134569` - // Minimum execution time: 64_228_000 picoseconds. - Weight::from_parts(67_652_000, 0) + // Minimum execution time: 59_507_000 picoseconds. + Weight::from_parts(61_391_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 cacca0654..7b9db0669 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -76,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 10_422_000 picoseconds. - Weight::from_parts(10_750_000, 0) + // Minimum execution time: 10_251_000 picoseconds. + Weight::from_parts(10_577_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())) + // Standard Error: 18_911 + .saturating_add(Weight::from_parts(2_024_919, 0).saturating_mul(m.into())) + // Standard Error: 18_911 + .saturating_add(Weight::from_parts(4_027_938, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 10_040_000 picoseconds. - Weight::from_parts(10_893_334, 0) + // Minimum execution time: 10_012_000 picoseconds. + Weight::from_parts(10_179_256, 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())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(776, 0).saturating_mul(b.into())) + // Standard Error: 225 + .saturating_add(Weight::from_parts(5_340, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `3534 + m * (20 ±0)` - // Minimum execution time: 11_854_000 picoseconds. - Weight::from_parts(12_027_562, 0) + // Minimum execution time: 11_568_000 picoseconds. + Weight::from_parts(11_659_186, 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())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(930, 0).saturating_mul(b.into())) + // Standard Error: 267 + .saturating_add(Weight::from_parts(11_189, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 15_800_000 picoseconds. - Weight::from_parts(15_990_621, 0) + // Minimum execution time: 15_954_000 picoseconds. + Weight::from_parts(15_422_617, 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())) + // Standard Error: 75 + .saturating_add(Weight::from_parts(2_245, 0).saturating_mul(b.into())) + // Standard Error: 788 + .saturating_add(Weight::from_parts(11_318, 0).saturating_mul(m.into())) + // Standard Error: 778 + .saturating_add(Weight::from_parts(154_888, 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, 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) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + m * (40 ±0)` // Estimated: `4296 + m * (40 ±0)` - // Minimum execution time: 15_710_000 picoseconds. - Weight::from_parts(18_487_685, 0) + // Minimum execution time: 15_869_000 picoseconds. + Weight::from_parts(17_935_899, 0) .saturating_add(Weight::from_parts(0, 4296)) - // Standard Error: 851 - .saturating_add(Weight::from_parts(13_864, 0).saturating_mul(m.into())) + // Standard Error: 722 + .saturating_add(Weight::from_parts(18_791, 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, 40).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `409 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 18_408_000 picoseconds. - Weight::from_parts(19_407_011, 0) + // Minimum execution time: 17_682_000 picoseconds. + Weight::from_parts(18_465_638, 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())) + // Standard Error: 728 + .saturating_add(Weight::from_parts(15_985, 0).saturating_mul(m.into())) + // Standard Error: 709 + .saturating_add(Weight::from_parts(142_630, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `711 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 25_006_000 picoseconds. + Weight::from_parts(26_512_676, 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())) + // Standard Error: 101 + .saturating_add(Weight::from_parts(2_333, 0).saturating_mul(b.into())) + // Standard Error: 1_070 + .saturating_add(Weight::from_parts(710, 0).saturating_mul(m.into())) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(181_025, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `429 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 20_074_000 picoseconds. - Weight::from_parts(21_332_177, 0) + // Minimum execution time: 19_413_000 picoseconds. + Weight::from_parts(20_589_938, 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())) + // Standard Error: 733 + .saturating_add(Weight::from_parts(13_019, 0).saturating_mul(m.into())) + // Standard Error: 715 + .saturating_add(Weight::from_parts(144_831, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `731 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_652_000 picoseconds. + Weight::from_parts(27_877_921, 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())) + // Standard Error: 88 + .saturating_add(Weight::from_parts(2_177, 0).saturating_mul(b.into())) + // Standard Error: 935 + .saturating_add(Weight::from_parts(14_103, 0).saturating_mul(m.into())) + // Standard Error: 912 + .saturating_add(Weight::from_parts(183_119, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 10_625_000 picoseconds. - Weight::from_parts(11_673_801, 0) + // Minimum execution time: 10_087_000 picoseconds. + Weight::from_parts(11_098_920, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 843 - .saturating_add(Weight::from_parts(132_209, 0).saturating_mul(p.into())) + // Standard Error: 636 + .saturating_add(Weight::from_parts(136_357, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs b/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs index a79168db8..45f4df175 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: TechnicalCommittee Members (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:100 w:100) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -76,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 10_511_000 picoseconds. - Weight::from_parts(10_804_000, 0) + // Minimum execution time: 10_323_000 picoseconds. + Weight::from_parts(10_485_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())) + // Standard Error: 19_060 + .saturating_add(Weight::from_parts(2_004_541, 0).saturating_mul(m.into())) + // Standard Error: 19_060 + .saturating_add(Weight::from_parts(4_047_737, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `1588 + m * (20 ±0)` - // Minimum execution time: 9_861_000 picoseconds. - Weight::from_parts(10_327_062, 0) + // Minimum execution time: 9_848_000 picoseconds. + Weight::from_parts(9_935_102, 0) .saturating_add(Weight::from_parts(0, 1588)) - // 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())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(793, 0).saturating_mul(b.into())) + // Standard Error: 184 + .saturating_add(Weight::from_parts(5_658, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:0) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `3568 + m * (20 ±0)` - // Minimum execution time: 11_611_000 picoseconds. - Weight::from_parts(12_086_398, 0) + // Minimum execution time: 11_651_000 picoseconds. + Weight::from_parts(11_442_438, 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())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(984, 0).saturating_mul(b.into())) + // Standard Error: 216 + .saturating_add(Weight::from_parts(10_721, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalCount (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 15_624_000 picoseconds. - Weight::from_parts(16_695_966, 0) + // Minimum execution time: 15_765_000 picoseconds. + Weight::from_parts(15_420_799, 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())) + // Standard Error: 70 + .saturating_add(Weight::from_parts(2_041, 0).saturating_mul(b.into())) + // Standard Error: 731 + .saturating_add(Weight::from_parts(11_763, 0).saturating_mul(m.into())) + // Standard Error: 722 + .saturating_add(Weight::from_parts(156_203, 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, 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) - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `866 + m * (40 ±0)` // Estimated: `4330 + m * (40 ±0)` - // Minimum execution time: 16_086_000 picoseconds. - Weight::from_parts(18_767_677, 0) + // Minimum execution time: 16_001_000 picoseconds. + Weight::from_parts(18_075_969, 0) .saturating_add(Weight::from_parts(0, 4330)) - // Standard Error: 865 - .saturating_add(Weight::from_parts(13_086, 0).saturating_mul(m.into())) + // Standard Error: 723 + .saturating_add(Weight::from_parts(17_169, 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, 40).saturating_mul(m.into())) } - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 17_439_000 picoseconds. - Weight::from_parts(19_407_559, 0) + // Minimum execution time: 17_320_000 picoseconds. + Weight::from_parts(18_525_564, 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())) + // Standard Error: 674 + .saturating_add(Weight::from_parts(14_148, 0).saturating_mul(m.into())) + // Standard Error: 657 + .saturating_add(Weight::from_parts(142_545, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `745 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 25_075_000 picoseconds. + Weight::from_parts(26_572_158, 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())) + // Standard Error: 95 + .saturating_add(Weight::from_parts(1_993, 0).saturating_mul(b.into())) + // Standard Error: 1_012 + .saturating_add(Weight::from_parts(3_083, 0).saturating_mul(m.into())) + // Standard Error: 987 + .saturating_add(Weight::from_parts(181_306, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 20_279_000 picoseconds. - Weight::from_parts(21_095_659, 0) + // Minimum execution time: 19_055_000 picoseconds. + Weight::from_parts(20_144_397, 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())) + // Standard Error: 675 + .saturating_add(Weight::from_parts(16_563, 0).saturating_mul(m.into())) + // Standard Error: 658 + .saturating_add(Weight::from_parts(147_312, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `765 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_555_000 picoseconds. + Weight::from_parts(28_055_828, 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())) + // Standard Error: 94 + .saturating_add(Weight::from_parts(2_221, 0).saturating_mul(b.into())) + // Standard Error: 997 + .saturating_add(Weight::from_parts(12_612, 0).saturating_mul(m.into())) + // Standard Error: 972 + .saturating_add(Weight::from_parts(181_285, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 10_582_000 picoseconds. - Weight::from_parts(11_433_713, 0) + // Minimum execution time: 10_274_000 picoseconds. + Weight::from_parts(11_088_283, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 832 - .saturating_add(Weight::from_parts(135_817, 0).saturating_mul(p.into())) + // Standard Error: 616 + .saturating_add(Weight::from_parts(134_203, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/darwinia/src/weights/pallet_democracy.rs b/runtime/darwinia/src/weights/pallet_democracy.rs index 1267066e1..45b9f4822 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,477 +56,477 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3844` // Estimated: `16987` - // Minimum execution time: 31_861_000 picoseconds. - Weight::from_parts(36_733_000, 0) + // Minimum execution time: 32_107_000 picoseconds. + Weight::from_parts(36_260_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `2593` // Estimated: `5495` - // Minimum execution time: 28_047_000 picoseconds. - Weight::from_parts(29_994_000, 0) + // Minimum execution time: 26_782_000 picoseconds. + Weight::from_parts(28_919_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3440` // Estimated: `7248` - // Minimum execution time: 38_858_000 picoseconds. - Weight::from_parts(43_033_000, 0) + // Minimum execution time: 39_613_000 picoseconds. + Weight::from_parts(43_209_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3462` // Estimated: `7248` - // Minimum execution time: 41_075_000 picoseconds. - Weight::from_parts(45_585_000, 0) + // Minimum execution time: 42_578_000 picoseconds. + Weight::from_parts(45_726_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 17_660_000 picoseconds. - Weight::from_parts(18_317_000, 0) + // Minimum execution time: 17_134_000 picoseconds. + Weight::from_parts(17_708_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `4954` + // Measured: `4987` // Estimated: `16987` - // Minimum execution time: 75_418_000 picoseconds. - Weight::from_parts(82_849_000, 0) + // Minimum execution time: 76_458_000 picoseconds. + Weight::from_parts(79_757_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2195` // Estimated: `5503` - // Minimum execution time: 8_579_000 picoseconds. - Weight::from_parts(9_011_000, 0) + // Minimum execution time: 8_010_000 picoseconds. + Weight::from_parts(8_485_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_070_000 picoseconds. - Weight::from_parts(2_183_000, 0) + // Minimum execution time: 2_095_000 picoseconds. + Weight::from_parts(2_238_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_966_000 picoseconds. - Weight::from_parts(2_168_000, 0) + // Minimum execution time: 2_067_000 picoseconds. + Weight::from_parts(2_142_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 18_347_000 picoseconds. - Weight::from_parts(18_902_000, 0) + // Minimum execution time: 17_800_000 picoseconds. + Weight::from_parts(18_455_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2298` // Estimated: `5503` - // Minimum execution time: 18_922_000 picoseconds. - Weight::from_parts(20_413_000, 0) + // Minimum execution time: 18_889_000 picoseconds. + Weight::from_parts(19_688_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `4886` + // Measured: `4919` // Estimated: `16987` - // Minimum execution time: 60_080_000 picoseconds. - Weight::from_parts(65_588_000, 0) + // Minimum execution time: 62_900_000 picoseconds. + Weight::from_parts(65_192_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 12_305_000 picoseconds. - Weight::from_parts(12_986_000, 0) + // Minimum execution time: 12_749_000 picoseconds. + Weight::from_parts(13_314_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 4_645_000 picoseconds. - Weight::from_parts(5_545_860, 0) + // Minimum execution time: 4_738_000 picoseconds. + Weight::from_parts(6_007_592, 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())) + // Standard Error: 3_186 + .saturating_add(Weight::from_parts(1_965_371, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` - // Minimum execution time: 6_970_000 picoseconds. - Weight::from_parts(8_193_890, 0) + // Minimum execution time: 6_908_000 picoseconds. + Weight::from_parts(8_468_412, 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())) + // Standard Error: 4_748 + .saturating_add(Weight::from_parts(1_977_116, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// 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) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// 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: `19764 + r * (2676 ±0)` - // Minimum execution time: 26_926_000 picoseconds. - Weight::from_parts(32_036_547, 0) + // Minimum execution time: 28_136_000 picoseconds. + Weight::from_parts(31_931_995, 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())) + // Standard Error: 6_437 + .saturating_add(Weight::from_parts(2_601_059, 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()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` - // Minimum execution time: 12_480_000 picoseconds. - Weight::from_parts(14_206_500, 0) + // Minimum execution time: 12_778_000 picoseconds. + Weight::from_parts(13_851_910, 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())) + // Standard Error: 5_472 + .saturating_add(Weight::from_parts(2_568_553, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_049_000 picoseconds. - Weight::from_parts(2_203_000, 0) + // Minimum execution time: 2_016_000 picoseconds. + Weight::from_parts(2_131_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// 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) + /// 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_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `7248` - // Minimum execution time: 17_120_000 picoseconds. - Weight::from_parts(26_201_990, 0) + // Minimum execution time: 15_862_000 picoseconds. + Weight::from_parts(25_309_732, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_823 - .saturating_add(Weight::from_parts(97_258, 0).saturating_mul(r.into())) + // Standard Error: 2_549 + .saturating_add(Weight::from_parts(102_923, 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) + /// 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: `7248` - // Minimum execution time: 22_037_000 picoseconds. - Weight::from_parts(25_015_331, 0) + // Minimum execution time: 22_416_000 picoseconds. + Weight::from_parts(24_561_439, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_493 - .saturating_add(Weight::from_parts(104_872, 0).saturating_mul(r.into())) + // Standard Error: 1_882 + .saturating_add(Weight::from_parts(106_443, 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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_996_000 picoseconds. - Weight::from_parts(11_901_446, 0) + // Minimum execution time: 9_816_000 picoseconds. + Weight::from_parts(11_567_517, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_506 - .saturating_add(Weight::from_parts(83_474, 0).saturating_mul(r.into())) + // Standard Error: 1_349 + .saturating_add(Weight::from_parts(83_253, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_924_000 picoseconds. - Weight::from_parts(11_901_331, 0) + // Minimum execution time: 9_628_000 picoseconds. + Weight::from_parts(11_599_733, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_410 - .saturating_add(Weight::from_parts(82_685, 0).saturating_mul(r.into())) + // Standard Error: 1_340 + .saturating_add(Weight::from_parts(87_874, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3544` - // Minimum execution time: 12_616_000 picoseconds. - Weight::from_parts(13_118_000, 0) + // Minimum execution time: 11_966_000 picoseconds. + Weight::from_parts(12_410_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 11_036_000 picoseconds. - Weight::from_parts(11_505_000, 0) + // Minimum execution time: 10_799_000 picoseconds. + Weight::from_parts(10_929_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3655` // Estimated: `16987` - // Minimum execution time: 27_614_000 picoseconds. - Weight::from_parts(29_018_000, 0) + // Minimum execution time: 26_836_000 picoseconds. + Weight::from_parts(29_066_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3589` // Estimated: `16987` - // Minimum execution time: 24_479_000 picoseconds. - Weight::from_parts(27_534_000, 0) + // Minimum execution time: 24_692_000 picoseconds. + Weight::from_parts(26_127_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_973_000 picoseconds. - Weight::from_parts(10_245_000, 0) + // Minimum execution time: 9_611_000 picoseconds. + Weight::from_parts(10_384_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 12_066_000 picoseconds. - Weight::from_parts(12_669_000, 0) + // Minimum execution time: 11_908_000 picoseconds. + Weight::from_parts(12_486_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 b03803772..978943883 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,170 +56,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 21_505_000 picoseconds. - Weight::from_parts(23_425_557, 0) + // Minimum execution time: 21_947_000 picoseconds. + Weight::from_parts(22_865_181, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 5_483 - .saturating_add(Weight::from_parts(128_428, 0).saturating_mul(v.into())) + // Standard Error: 4_532 + .saturating_add(Weight::from_parts(131_049, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 30_431_000 picoseconds. - Weight::from_parts(32_539_224, 0) + // Minimum execution time: 30_949_000 picoseconds. + Weight::from_parts(32_584_675, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 8_779 - .saturating_add(Weight::from_parts(210_605, 0).saturating_mul(v.into())) + // Standard Error: 8_667 + .saturating_add(Weight::from_parts(109_697, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 30_832_000 picoseconds. - Weight::from_parts(32_684_361, 0) + // Minimum execution time: 31_201_000 picoseconds. + Weight::from_parts(32_184_434, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 10_849 - .saturating_add(Weight::from_parts(216_958, 0).saturating_mul(v.into())) + // Standard Error: 6_379 + .saturating_add(Weight::from_parts(158_589, 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, 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) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752` - // Minimum execution time: 34_508_000 picoseconds. - Weight::from_parts(37_110_000, 0) + // Minimum execution time: 33_680_000 picoseconds. + Weight::from_parts(36_983_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) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1116 + c * (36 ±0)` // Estimated: `2592 + c * (37 ±0)` - // Minimum execution time: 24_085_000 picoseconds. - Weight::from_parts(26_999_315, 0) + // Minimum execution time: 24_535_000 picoseconds. + Weight::from_parts(26_584_248, 0) .saturating_add(Weight::from_parts(0, 2592)) - // Standard Error: 5_030 - .saturating_add(Weight::from_parts(71_309, 0).saturating_mul(c.into())) + // Standard Error: 4_447 + .saturating_add(Weight::from_parts(73_440, 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, 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `375 + c * (38 ±0)` // Estimated: `1857 + c * (39 ±0)` - // Minimum execution time: 21_679_000 picoseconds. - Weight::from_parts(24_723_927, 0) + // Minimum execution time: 22_467_000 picoseconds. + Weight::from_parts(24_108_116, 0) .saturating_add(Weight::from_parts(0, 1857)) - // Standard Error: 4_993 - .saturating_add(Weight::from_parts(70_424, 0).saturating_mul(c.into())) + // Standard Error: 4_142 + .saturating_add(Weight::from_parts(75_770, 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())) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1174` // Estimated: `2659` - // Minimum execution time: 29_701_000 picoseconds. - Weight::from_parts(32_179_000, 0) + // Minimum execution time: 30_687_000 picoseconds. + Weight::from_parts(32_867_000, 0) .saturating_add(Weight::from_parts(0, 2659)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `700` // Estimated: `2185` - // Minimum execution time: 22_278_000 picoseconds. - Weight::from_parts(23_941_000, 0) + // Minimum execution time: 21_729_000 picoseconds. + Weight::from_parts(23_796_000, 0) .saturating_add(Weight::from_parts(0, 2185)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -230,92 +228,92 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1369` + // Measured: `1402` // Estimated: `6172` - // Minimum execution time: 49_182_000 picoseconds. - Weight::from_parts(53_008_000, 0) + // Minimum execution time: 46_962_000 picoseconds. + Weight::from_parts(49_614_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: PhragmenElection Voting (r:301 w:300) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// 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) + /// Storage: `PhragmenElection::Voting` (r:301 w:300) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `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]`. /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `939 + v * (582 ±0)` // Estimated: `4424 + v * (3762 ±0)` - // Minimum execution time: 7_517_420_000 picoseconds. - Weight::from_parts(7_808_159_000, 0) + // Minimum execution time: 7_533_575_000 picoseconds. + Weight::from_parts(7_638_837_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())) + // Standard Error: 211_790 + .saturating_add(Weight::from_parts(30_863_386, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .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) - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Voting (r:301 w:0) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:17 w:17) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection ElectionRounds (r:1 w:1) - /// Proof Skipped: PhragmenElection ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:301 w:0) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:17 w:17) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::ElectionRounds` (r:1 w:1) + /// Proof: `PhragmenElection::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. /// The range of component `v` is `[1, 300]`. /// 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) + 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())) + // Estimated: `84057 + c * (1738 ±10) + e * (5 ±0) + v * (2547 ±6)` + // Minimum execution time: 488_008_000 picoseconds. + Weight::from_parts(493_468_000, 0) + .saturating_add(Weight::from_parts(0, 84057)) + // Standard Error: 2_112_595 + .saturating_add(Weight::from_parts(14_151_603, 0).saturating_mul(c.into())) + // Standard Error: 210_333 + .saturating_add(Weight::from_parts(6_153_181, 0).saturating_mul(v.into())) + // Standard Error: 13_493 + .saturating_add(Weight::from_parts(157_295, 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()))) diff --git a/runtime/darwinia/src/weights/pallet_fee_market.rs b/runtime/darwinia/src/weights/pallet_fee_market.rs index f28d41b9a..307809128 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,157 +56,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); impl pallet_fee_market::WeightInfo for WeightInfo { - /// Storage: CrabFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: 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) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:1) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `CrabFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `CrabFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `27389` - // Minimum execution time: 89_683_000 picoseconds. - Weight::from_parts(90_913_000, 0) + // Minimum execution time: 86_371_000 picoseconds. + Weight::from_parts(88_386_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) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: CrabFeeMarket RelayersMap (r:10 w:1) - /// 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) - /// Proof Skipped: CrabFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `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: `CrabFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 81_180_000 picoseconds. - Weight::from_parts(86_373_000, 0) + // Minimum execution time: 81_405_000 picoseconds. + Weight::from_parts(84_027_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) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: 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) - /// 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) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `CrabFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `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: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 103_588_000 picoseconds. - Weight::from_parts(107_039_000, 0) + // Minimum execution time: 99_249_000 picoseconds. + Weight::from_parts(101_609_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) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `CrabFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `CrabFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 63_250_000 picoseconds. - Weight::from_parts(65_712_000, 0) + // Minimum execution time: 62_967_000 picoseconds. + Weight::from_parts(65_067_000, 0) .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: CrabFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CrabFeeMarket Orders (r:1 w:0) - /// 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) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CrabFeeMarket RelayersMap (r:9 w:1) - /// Proof Skipped: CrabFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: CrabFeeMarket AssignedRelayersNumber (r:1 w:0) - /// Proof Skipped: CrabFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:1) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `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) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:9 w:1) + /// Proof: `CrabFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `25053` - // Minimum execution time: 87_268_000 picoseconds. - Weight::from_parts(88_773_000, 0) + // Minimum execution time: 82_886_000 picoseconds. + Weight::from_parts(86_868_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) - /// Proof Skipped: CrabFeeMarket CollateralSlashProtect (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::CollateralSlashProtect` (r:0 w:1) + /// Proof: `CrabFeeMarket::CollateralSlashProtect` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_slash_protect() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_616_000 picoseconds. - Weight::from_parts(4_823_000, 0) + // Minimum execution time: 4_629_000 picoseconds. + Weight::from_parts(4_989_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: CrabFeeMarket Relayers (r:1 w:0) - /// Proof Skipped: CrabFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CrabFeeMarket RelayersMap (r:10 w:0) - /// Proof Skipped: CrabFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: CrabFeeMarket Orders (r:1 w:0) - /// Proof Skipped: CrabFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: CrabFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CrabFeeMarket AssignedRelayersNumber (r:0 w:1) - /// Proof Skipped: CrabFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CrabFeeMarket::Relayers` (r:1 w:0) + /// Proof: `CrabFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::RelayersMap` (r:10 w:0) + /// Proof: `CrabFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::Orders` (r:1 w:0) + /// Proof: `CrabFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CrabFeeMarket::AssignedRelayersNumber` (r:0 w:1) + /// Proof: `CrabFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 64_735_000 picoseconds. - Weight::from_parts(66_603_000, 0) + // Minimum execution time: 62_265_000 picoseconds. + Weight::from_parts(64_024_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 957690ce3..6fcfd67c9 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,87 +56,87 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_842_000 picoseconds. - Weight::from_parts(8_657_122, 0) + // Minimum execution time: 7_457_000 picoseconds. + Weight::from_parts(8_038_555, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_905 - .saturating_add(Weight::from_parts(72_203, 0).saturating_mul(r.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(84_078, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 22_838_000 picoseconds. - Weight::from_parts(21_813_170, 0) + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(21_174_167, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 9_165 + .saturating_add(Weight::from_parts(192_646, 0).saturating_mul(r.into())) + // Standard Error: 1_788 + .saturating_add(Weight::from_parts(381_846, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 5_858_000 picoseconds. - Weight::from_parts(16_930_663, 0) + // Minimum execution time: 5_755_000 picoseconds. + Weight::from_parts(16_119_225, 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())) + // Standard Error: 3_465 + .saturating_add(Weight::from_parts(2_292_652, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2565).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 5_844_000 picoseconds. - Weight::from_parts(17_036_647, 0) + // Minimum execution time: 5_620_000 picoseconds. + Weight::from_parts(16_078_498, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_500 - .saturating_add(Weight::from_parts(939_863, 0).saturating_mul(p.into())) + // Standard Error: 2_891 + .saturating_add(Weight::from_parts(926_494, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// 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: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -146,221 +144,221 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 43_674_000 picoseconds. - Weight::from_parts(23_675_746, 0) + // Minimum execution time: 42_977_000 picoseconds. + Weight::from_parts(24_181_481, 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())) + // Standard Error: 8_789 + .saturating_add(Weight::from_parts(175_427, 0).saturating_mul(r.into())) + // Standard Error: 1_716 + .saturating_add(Weight::from_parts(899_198, 0).saturating_mul(s.into())) + // Standard Error: 1_716 + .saturating_add(Weight::from_parts(204_998, 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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 23_277_000 picoseconds. - Weight::from_parts(22_587_610, 0) + // Minimum execution time: 22_580_000 picoseconds. + Weight::from_parts(21_389_841, 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())) + // Standard Error: 6_013 + .saturating_add(Weight::from_parts(141_250, 0).saturating_mul(r.into())) + // Standard Error: 1_173 + .saturating_add(Weight::from_parts(396_016, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 21_387_000 picoseconds. - Weight::from_parts(20_046_699, 0) + // Minimum execution time: 20_701_000 picoseconds. + Weight::from_parts(20_523_756, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 5_098 + .saturating_add(Weight::from_parts(73_669, 0).saturating_mul(r.into())) + // Standard Error: 994 + .saturating_add(Weight::from_parts(402_635, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_757_000 picoseconds. - Weight::from_parts(5_260_919, 0) + // Minimum execution time: 4_663_000 picoseconds. + Weight::from_parts(5_026_243, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(63_244, 0).saturating_mul(r.into())) + // Standard Error: 1_063 + .saturating_add(Weight::from_parts(55_053, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_463_000 picoseconds. - Weight::from_parts(4_853_158, 0) + // Minimum execution time: 4_203_000 picoseconds. + Weight::from_parts(4_560_186, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_456 - .saturating_add(Weight::from_parts(57_299, 0).saturating_mul(r.into())) + // Standard Error: 1_236 + .saturating_add(Weight::from_parts(60_929, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_175_000 picoseconds. - Weight::from_parts(4_730_480, 0) + // Minimum execution time: 4_237_000 picoseconds. + Weight::from_parts(4_530_876, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_155 - .saturating_add(Weight::from_parts(58_141, 0).saturating_mul(r.into())) + // Standard Error: 1_239 + .saturating_add(Weight::from_parts(59_048, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 14_354_000 picoseconds. - Weight::from_parts(15_085_696, 0) + // Minimum execution time: 14_700_000 picoseconds. + Weight::from_parts(13_829_771, 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())) + // Standard Error: 5_045 + .saturating_add(Weight::from_parts(99_963, 0).saturating_mul(r.into())) + // Standard Error: 933 + .saturating_add(Weight::from_parts(616_573, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` + // Measured: `709 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 55_537_000 picoseconds. - Weight::from_parts(38_109_879, 0) + // Minimum execution time: 57_251_000 picoseconds. + Weight::from_parts(38_218_247, 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())) + // Standard Error: 12_046 + .saturating_add(Weight::from_parts(271_613, 0).saturating_mul(r.into())) + // Standard Error: 2_352 + .saturating_add(Weight::from_parts(890_247, 0).saturating_mul(s.into())) + // Standard Error: 2_352 + .saturating_add(Weight::from_parts(216_616, 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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 19_235_000 picoseconds. - Weight::from_parts(23_419_205, 0) + // Minimum execution time: 19_931_000 picoseconds. + Weight::from_parts(23_133_861, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_842 - .saturating_add(Weight::from_parts(51_166, 0).saturating_mul(s.into())) + // Standard Error: 1_336 + .saturating_add(Weight::from_parts(43_582, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 7_738_000 picoseconds. - Weight::from_parts(9_492_097, 0) + // Minimum execution time: 7_659_000 picoseconds. + Weight::from_parts(9_390_626, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_144 - .saturating_add(Weight::from_parts(31_984, 0).saturating_mul(s.into())) + // Standard Error: 790 + .saturating_add(Weight::from_parts(25_363, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 22_609_000 picoseconds. - Weight::from_parts(24_687_217, 0) + // Minimum execution time: 21_687_000 picoseconds. + Weight::from_parts(23_802_702, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 2_186 - .saturating_add(Weight::from_parts(58_758, 0).saturating_mul(s.into())) + // Standard Error: 1_322 + .saturating_add(Weight::from_parts(59_661, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// 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) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// 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: `622 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 14_737_000 picoseconds. - Weight::from_parts(16_956_281, 0) + // Minimum execution time: 14_866_000 picoseconds. + Weight::from_parts(16_548_423, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 1_643 - .saturating_add(Weight::from_parts(49_574, 0).saturating_mul(s.into())) + // Standard Error: 1_076 + .saturating_add(Weight::from_parts(43_189, 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 2fc9b684a..724764ce2 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,158 +56,158 @@ use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - /// Storage: TechnicalMembership Members (r:1 w:1) - /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 10_051_000 picoseconds. - Weight::from_parts(11_203_455, 0) + // Minimum execution time: 9_983_000 picoseconds. + Weight::from_parts(10_895_944, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 1_414 - .saturating_add(Weight::from_parts(11_801, 0).saturating_mul(m.into())) + // Standard Error: 428 + .saturating_add(Weight::from_parts(9_492, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_036_000 picoseconds. - Weight::from_parts(13_009_534, 0) + // Minimum execution time: 12_019_000 picoseconds. + Weight::from_parts(12_714_497, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 1_025 - .saturating_add(Weight::from_parts(10_318, 0).saturating_mul(m.into())) + // Standard Error: 502 + .saturating_add(Weight::from_parts(7_082, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 11_975_000 picoseconds. - Weight::from_parts(13_138_294, 0) + // Minimum execution time: 11_850_000 picoseconds. + Weight::from_parts(12_671_866, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 1_111 - .saturating_add(Weight::from_parts(21_222, 0).saturating_mul(m.into())) + // Standard Error: 535 + .saturating_add(Weight::from_parts(15_353, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_015_000 picoseconds. - Weight::from_parts(13_782_528, 0) + // Minimum execution time: 11_421_000 picoseconds. + Weight::from_parts(13_225_872, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 1_211 - .saturating_add(Weight::from_parts(72_925, 0).saturating_mul(m.into())) + // Standard Error: 1_130 + .saturating_add(Weight::from_parts(71_185, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_583_000 picoseconds. - Weight::from_parts(13_770_491, 0) + // Minimum execution time: 12_547_000 picoseconds. + Weight::from_parts(13_374_340, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 745 - .saturating_add(Weight::from_parts(12_264, 0).saturating_mul(m.into())) + // Standard Error: 504 + .saturating_add(Weight::from_parts(13_432, 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, 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) - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:0) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` // Estimated: `3487 + m * (20 ±0)` - // Minimum execution time: 4_871_000 picoseconds. - Weight::from_parts(5_538_072, 0) + // Minimum execution time: 4_870_000 picoseconds. + Weight::from_parts(5_346_178, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 302 - .saturating_add(Weight::from_parts(4_718, 0).saturating_mul(m.into())) + // Standard Error: 252 + .saturating_add(Weight::from_parts(4_932, 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())) } - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `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 { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_914_000 picoseconds. - Weight::from_parts(2_215_119, 0) + // Minimum execution time: 1_947_000 picoseconds. + Weight::from_parts(2_189_548, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 163 - .saturating_add(Weight::from_parts(92, 0).saturating_mul(m.into())) + // Standard Error: 133 + .saturating_add(Weight::from_parts(150, 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 16602f6f3..562fa991d 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,167 +56,167 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 21_798_000 picoseconds. - Weight::from_parts(22_170_000, 0) + // Minimum execution time: 21_338_000 picoseconds. + Weight::from_parts(21_720_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_419, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_288, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_743_000 picoseconds. - Weight::from_parts(10_825_000, 0) + // Minimum execution time: 10_620_000 picoseconds. + Weight::from_parts(11_156_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_233, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_786_000 picoseconds. - Weight::from_parts(11_121_000, 0) + // Minimum execution time: 10_400_000 picoseconds. + Weight::from_parts(10_475_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_305, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 33_278_000 picoseconds. - Weight::from_parts(39_734_000, 0) + // Minimum execution time: 42_986_000 picoseconds. + Weight::from_parts(45_850_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 17_993_000 picoseconds. - Weight::from_parts(22_864_000, 0) + // Minimum execution time: 25_855_000 picoseconds. + Weight::from_parts(29_119_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 16_597_000 picoseconds. - Weight::from_parts(20_973_000, 0) + // Minimum execution time: 24_405_000 picoseconds. + Weight::from_parts(27_036_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_761_000 picoseconds. - Weight::from_parts(11_944_000, 0) + // Minimum execution time: 15_641_000 picoseconds. + Weight::from_parts(17_212_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 12_136_000 picoseconds. - Weight::from_parts(15_296_000, 0) + // Minimum execution time: 16_992_000 picoseconds. + Weight::from_parts(19_505_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_742_000 picoseconds. - Weight::from_parts(7_506_000, 0) + // Minimum execution time: 8_468_000 picoseconds. + Weight::from_parts(9_640_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 18_027_000 picoseconds. - Weight::from_parts(21_647_000, 0) + // Minimum execution time: 26_315_000 picoseconds. + Weight::from_parts(28_305_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_707_000 picoseconds. - Weight::from_parts(7_418_000, 0) + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(9_569_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_830_000 picoseconds. - Weight::from_parts(7_423_000, 0) + // Minimum execution time: 8_623_000 picoseconds. + Weight::from_parts(9_488_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 98105b422..dc38249b8 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,176 +56,176 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 9_632_000 picoseconds. - Weight::from_parts(10_221_481, 0) + // Minimum execution time: 9_291_000 picoseconds. + Weight::from_parts(9_969_847, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_095 - .saturating_add(Weight::from_parts(35_720, 0).saturating_mul(p.into())) + // Standard Error: 2_124 + .saturating_add(Weight::from_parts(42_690, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 24_865_000 picoseconds. - Weight::from_parts(25_507_421, 0) + // Minimum execution time: 24_503_000 picoseconds. + Weight::from_parts(24_694_729, 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())) + // Standard Error: 4_389 + .saturating_add(Weight::from_parts(141_393, 0).saturating_mul(a.into())) + // Standard Error: 4_535 + .saturating_add(Weight::from_parts(58_712, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 15_617_000 picoseconds. - Weight::from_parts(17_086_136, 0) + // Minimum execution time: 16_096_000 picoseconds. + Weight::from_parts(17_245_468, 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())) + // Standard Error: 2_644 + .saturating_add(Weight::from_parts(106_955, 0).saturating_mul(a.into())) + // Standard Error: 2_732 + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 15_627_000 picoseconds. - Weight::from_parts(17_213_779, 0) + // Minimum execution time: 15_796_000 picoseconds. + Weight::from_parts(16_440_287, 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())) + // Standard Error: 2_242 + .saturating_add(Weight::from_parts(113_141, 0).saturating_mul(a.into())) + // Standard Error: 2_317 + .saturating_add(Weight::from_parts(11_266, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 21_785_000 picoseconds. - Weight::from_parts(22_233_432, 0) + // Minimum execution time: 21_560_000 picoseconds. + Weight::from_parts(21_910_365, 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())) + // Standard Error: 2_754 + .saturating_add(Weight::from_parts(128_582, 0).saturating_mul(a.into())) + // Standard Error: 2_846 + .saturating_add(Weight::from_parts(30_246, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// 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 add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_340_000 picoseconds. - Weight::from_parts(17_638_034, 0) + // Minimum execution time: 16_171_000 picoseconds. + Weight::from_parts(17_167_011, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_566 - .saturating_add(Weight::from_parts(48_624, 0).saturating_mul(p.into())) + // Standard Error: 2_065 + .saturating_add(Weight::from_parts(31_848, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_575_000 picoseconds. - Weight::from_parts(18_299_954, 0) + // Minimum execution time: 16_753_000 picoseconds. + Weight::from_parts(17_317_670, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_672 - .saturating_add(Weight::from_parts(27_134, 0).saturating_mul(p.into())) + // Standard Error: 2_302 + .saturating_add(Weight::from_parts(42_624, 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) + /// 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_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 14_788_000 picoseconds. - Weight::from_parts(16_638_043, 0) + // Minimum execution time: 14_962_000 picoseconds. + Weight::from_parts(15_781_065, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_984 - .saturating_add(Weight::from_parts(12_163, 0).saturating_mul(p.into())) + // Standard Error: 2_032 + .saturating_add(Weight::from_parts(26_718, 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) + /// 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 create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 17_752_000 picoseconds. - Weight::from_parts(19_131_718, 0) + // Minimum execution time: 17_830_000 picoseconds. + Weight::from_parts(18_793_123, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_705 - .saturating_add(Weight::from_parts(40_922, 0).saturating_mul(p.into())) + // Standard Error: 2_195 + .saturating_add(Weight::from_parts(11_556, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_070_000 picoseconds. - Weight::from_parts(16_888_315, 0) + // Minimum execution time: 15_368_000 picoseconds. + Weight::from_parts(16_023_644, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_635 - .saturating_add(Weight::from_parts(27_630, 0).saturating_mul(p.into())) + // Standard Error: 2_440 + .saturating_add(Weight::from_parts(42_745, 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 894b799e8..5a2239ff6 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_753_000 picoseconds. - Weight::from_parts(2_948_000, 0) + // Minimum execution time: 2_722_000 picoseconds. + Weight::from_parts(2_964_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_666_000 picoseconds. - Weight::from_parts(4_477_068, 0) + // Minimum execution time: 2_590_000 picoseconds. + Weight::from_parts(4_303_716, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_037 - .saturating_add(Weight::from_parts(458_285, 0).saturating_mul(s.into())) + // Standard Error: 1_200 + .saturating_add(Weight::from_parts(463_111, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,36 +87,36 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_537_000 picoseconds. - Weight::from_parts(3_705_000, 0) + // Minimum execution time: 3_544_000 picoseconds. + Weight::from_parts(3_682_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 13_664_000 picoseconds. - Weight::from_parts(13_904_000, 0) + // Minimum execution time: 13_172_000 picoseconds. + Weight::from_parts(13_391_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(668, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(762, 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())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_246_000 picoseconds. - Weight::from_parts(4_445_000, 0) + // Minimum execution time: 4_387_000 picoseconds. + Weight::from_parts(4_495_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,89 +124,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_326_000 picoseconds. - Weight::from_parts(3_495_000, 0) + // Minimum execution time: 3_517_000 picoseconds. + Weight::from_parts(3_648_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_705_000 picoseconds. - Weight::from_parts(1_857_000, 0) + // Minimum execution time: 1_686_000 picoseconds. + Weight::from_parts(1_774_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_656_000 picoseconds. - Weight::from_parts(1_767_000, 0) + // Minimum execution time: 1_649_000 picoseconds. + Weight::from_parts(1_777_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_298_000 picoseconds. - Weight::from_parts(9_857_641, 0) + // Minimum execution time: 8_288_000 picoseconds. + Weight::from_parts(9_870_487, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_039 - .saturating_add(Weight::from_parts(498_547, 0).saturating_mul(s.into())) + // Standard Error: 2_737 + .saturating_add(Weight::from_parts(513_151, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_277_000 picoseconds. - Weight::from_parts(10_836_413, 0) + // Minimum execution time: 11_031_000 picoseconds. + Weight::from_parts(10_368_170, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_977 - .saturating_add(Weight::from_parts(878_339, 0).saturating_mul(s.into())) + // Standard Error: 3_716 + .saturating_add(Weight::from_parts(896_576, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 10_209_000 picoseconds. - Weight::from_parts(13_134_654, 0) + // Minimum execution time: 10_362_000 picoseconds. + Weight::from_parts(12_808_835, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_046 - .saturating_add(Weight::from_parts(497_632, 0).saturating_mul(s.into())) + // Standard Error: 3_345 + .saturating_add(Weight::from_parts(522_648, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 12_613_000 picoseconds. - Weight::from_parts(12_975_605, 0) + // Minimum execution time: 12_094_000 picoseconds. + Weight::from_parts(11_982_168, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_310 - .saturating_add(Weight::from_parts(864_602, 0).saturating_mul(s.into())) + // Standard Error: 4_344 + .saturating_add(Weight::from_parts(922_408, 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 e5c2d24b3..212543aba 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 10_484_000 picoseconds. - Weight::from_parts(10_875_000, 0) + // Minimum execution time: 10_227_000 picoseconds. + Weight::from_parts(10_681_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 7_385_000 picoseconds. - Weight::from_parts(7_818_000, 0) + // Minimum execution time: 7_046_000 picoseconds. + Weight::from_parts(7_423_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 5ff627034..65764a1b9 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 4_628_000 picoseconds. - Weight::from_parts(4_990_000, 0) + // Minimum execution time: 4_485_000 picoseconds. + Weight::from_parts(4_733_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +72,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 2_958_000 picoseconds. - Weight::from_parts(3_177_000, 0) + // Minimum execution time: 2_869_000 picoseconds. + Weight::from_parts(3_142_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/darwinia/src/weights/pallet_treasury.rs b/runtime/darwinia/src/weights/pallet_treasury.rs index 7e7891c93..4694d3cda 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -62,87 +60,87 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 160_000 picoseconds. - Weight::from_parts(187_000, 0) + // Minimum execution time: 167_000 picoseconds. + Weight::from_parts(196_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `208` + // Measured: `275` // Estimated: `1489` - // Minimum execution time: 20_336_000 picoseconds. - Weight::from_parts(20_951_000, 0) + // Minimum execution time: 20_106_000 picoseconds. + Weight::from_parts(21_073_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `470` + // Measured: `571` // Estimated: `6172` - // Minimum execution time: 32_360_000 picoseconds. - Weight::from_parts(33_786_000, 0) + // Minimum execution time: 31_643_000 picoseconds. + Weight::from_parts(32_258_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `470 + p * (8 ±0)` + // Measured: `537 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 6_022_000 picoseconds. - Weight::from_parts(8_114_101, 0) + // Minimum execution time: 5_877_000 picoseconds. + Weight::from_parts(7_859_059, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(52_484, 0).saturating_mul(p.into())) + // Standard Error: 1_733 + .saturating_add(Weight::from_parts(70_943, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `127` + // Measured: `194` // Estimated: `1887` - // Minimum execution time: 5_197_000 picoseconds. - Weight::from_parts(5_448_000, 0) + // Minimum execution time: 4_970_000 picoseconds. + Weight::from_parts(5_251_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:100 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `218 + p * (97 ±0)` + // Measured: `328 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 20_632_000 picoseconds. - Weight::from_parts(19_448_705, 0) + // Minimum execution time: 19_518_000 picoseconds. + Weight::from_parts(19_298_118, 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())) + // Standard Error: 4_307 + .saturating_add(Weight::from_parts(1_907_118, 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 211c5ef32..667c6e886 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -63,18 +61,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_277_000 picoseconds. - Weight::from_parts(1_845_665, 0) + // Minimum execution time: 4_070_000 picoseconds. + Weight::from_parts(4_064_914, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_764 - .saturating_add(Weight::from_parts(3_626_171, 0).saturating_mul(c.into())) + // Standard Error: 3_016 + .saturating_add(Weight::from_parts(3_593_303, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_059_000 picoseconds. - Weight::from_parts(3_357_000, 0) + // Minimum execution time: 2_975_000 picoseconds. + Weight::from_parts(3_201_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -82,18 +80,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_194_000 picoseconds. - Weight::from_parts(4_463_544, 0) + // Minimum execution time: 4_204_000 picoseconds. + Weight::from_parts(20_446_342, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_655 - .saturating_add(Weight::from_parts(3_821_469, 0).saturating_mul(c.into())) + // Standard Error: 5_776 + .saturating_add(Weight::from_parts(3_751_507, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_855_000 picoseconds. - Weight::from_parts(6_118_000, 0) + // Minimum execution time: 5_328_000 picoseconds. + Weight::from_parts(5_613_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -101,10 +99,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_198_000 picoseconds. - Weight::from_parts(5_414_267, 0) + // Minimum execution time: 4_023_000 picoseconds. + Weight::from_parts(8_018_614, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_722 - .saturating_add(Weight::from_parts(3_565_693, 0).saturating_mul(c.into())) + // Standard Error: 5_505 + .saturating_add(Weight::from_parts(3_537_980, 0).saturating_mul(c.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_vesting.rs b/runtime/darwinia/src/weights/pallet_vesting.rs index d6c1842e5..9c8ce6160 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // darwinia-dev // --output // runtime/darwinia/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,191 +56,191 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// 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: `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_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 21_348_000 picoseconds. - Weight::from_parts(23_100_103, 0) + // Minimum execution time: 20_582_000 picoseconds. + Weight::from_parts(21_209_585, 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())) + // Standard Error: 2_658 + .saturating_add(Weight::from_parts(34_928, 0).saturating_mul(l.into())) + // Standard Error: 4_730 + .saturating_add(Weight::from_parts(91_092, 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: `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: `4752` - // Minimum execution time: 24_076_000 picoseconds. - Weight::from_parts(26_383_824, 0) + // Minimum execution time: 23_175_000 picoseconds. + Weight::from_parts(24_245_312, 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())) + // Standard Error: 3_006 + .saturating_add(Weight::from_parts(30_403, 0).saturating_mul(l.into())) + // Standard Error: 5_348 + .saturating_add(Weight::from_parts(88_733, 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) + /// 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]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 23_465_000 picoseconds. - Weight::from_parts(25_213_430, 0) + // Minimum execution time: 23_290_000 picoseconds. + Weight::from_parts(23_651_081, 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())) + // Standard Error: 2_476 + .saturating_add(Weight::from_parts(27_068, 0).saturating_mul(l.into())) + // Standard Error: 4_405 + .saturating_add(Weight::from_parts(90_611, 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) + /// 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]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 25_508_000 picoseconds. - Weight::from_parts(27_730_644, 0) + // Minimum execution time: 25_869_000 picoseconds. + Weight::from_parts(26_123_490, 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())) + // Standard Error: 2_625 + .saturating_add(Weight::from_parts(35_782, 0).saturating_mul(l.into())) + // Standard Error: 4_670 + .saturating_add(Weight::from_parts(85_300, 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: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1045), added: 3520, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// 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: `4752` - // Minimum execution time: 49_727_000 picoseconds. - Weight::from_parts(53_771_610, 0) + // Minimum execution time: 48_542_000 picoseconds. + Weight::from_parts(52_048_469, 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())) + // Standard Error: 3_302 + .saturating_add(Weight::from_parts(30_248, 0).saturating_mul(l.into())) + // Standard Error: 5_875 + .saturating_add(Weight::from_parts(93_471, 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: System Account (r:2 w:2) - /// 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: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1045), added: 3520, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// 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)` + // Measured: `502 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6172` - // Minimum execution time: 51_809_000 picoseconds. - Weight::from_parts(55_360_018, 0) + // Minimum execution time: 52_422_000 picoseconds. + Weight::from_parts(53_306_176, 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())) + // Standard Error: 3_565 + .saturating_add(Weight::from_parts(40_427, 0).saturating_mul(l.into())) + // Standard Error: 6_344 + .saturating_add(Weight::from_parts(116_372, 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) + /// 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]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 24_214_000 picoseconds. - Weight::from_parts(25_902_175, 0) + // Minimum execution time: 24_461_000 picoseconds. + Weight::from_parts(25_070_048, 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())) + // Standard Error: 2_516 + .saturating_add(Weight::from_parts(27_998, 0).saturating_mul(l.into())) + // Standard Error: 4_648 + .saturating_add(Weight::from_parts(75_690, 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) + /// 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]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 27_204_000 picoseconds. - Weight::from_parts(28_579_665, 0) + // Minimum execution time: 27_511_000 picoseconds. + Weight::from_parts(27_174_079, 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())) + // Standard Error: 2_901 + .saturating_add(Weight::from_parts(32_254, 0).saturating_mul(l.into())) + // Standard Error: 5_358 + .saturating_add(Weight::from_parts(102_765, 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/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs index f60a48815..3dc435dea 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,26 +56,26 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_262_000 picoseconds. - Weight::from_parts(3_411_000, 0) + // Minimum execution time: 3_294_000 picoseconds. + Weight::from_parts(3_474_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_169_000 picoseconds. - Weight::from_parts(3_272_000, 0) + // Minimum execution time: 3_405_000 picoseconds. + Weight::from_parts(3_711_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 b44cb5fa7..c62fbb3ad 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,66 +56,66 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); impl darwinia_account_migration::WeightInfo for WeightInfo { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: `29212` // Estimated: `32677` - // Minimum execution time: 138_425_000 picoseconds. - Weight::from_parts(143_906_000, 0) + // Minimum execution time: 142_393_000 picoseconds. + Weight::from_parts(143_980_000, 0) .saturating_add(Weight::from_parts(0, 32677)) .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) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. @@ -125,26 +123,26 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` - // Minimum execution time: 6_798_000 picoseconds. - Weight::from_parts(21_885_278, 0) + // Minimum execution time: 6_881_000 picoseconds. + Weight::from_parts(21_950_453, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 12_224 - .saturating_add(Weight::from_parts(3_806, 0).saturating_mul(x.into())) + // Standard Error: 12_614 + .saturating_add(Weight::from_parts(6_785, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 7_870_000 picoseconds. - Weight::from_parts(8_214_000, 0) + // Minimum execution time: 8_372_000 picoseconds. + Weight::from_parts(8_933_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 4e2c28804..cf1791caf 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,56 +56,56 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); impl darwinia_deposit::WeightInfo for WeightInfo { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26848` // Estimated: `29615` - // Minimum execution time: 70_178_000 picoseconds. - Weight::from_parts(72_509_000, 0) + // Minimum execution time: 69_455_000 picoseconds. + Weight::from_parts(74_444_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26578` // Estimated: `29615` - // Minimum execution time: 1_182_729_000 picoseconds. - Weight::from_parts(1_201_280_000, 0) + // Minimum execution time: 1_210_156_000 picoseconds. + Weight::from_parts(1_235_398_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `26704` // Estimated: `29615` - // Minimum execution time: 47_952_000 picoseconds. - Weight::from_parts(49_017_000, 0) + // Minimum execution time: 47_752_000 picoseconds. + Weight::from_parts(50_394_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 22d227efd..c7d0f8629 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,100 +56,100 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); impl darwinia_ecdsa_authority::WeightInfo for WeightInfo { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `154` // Estimated: `1639` - // Minimum execution time: 8_954_000 picoseconds. - Weight::from_parts(9_405_000, 0) + // Minimum execution time: 8_671_000 picoseconds. + Weight::from_parts(8_932_000, 0) .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `154` // Estimated: `1639` - // Minimum execution time: 11_620_000 picoseconds. - Weight::from_parts(12_319_000, 0) + // Minimum execution time: 11_323_000 picoseconds. + Weight::from_parts(12_084_000, 0) .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `233` // Estimated: `1718` - // Minimum execution time: 12_640_000 picoseconds. - Weight::from_parts(13_054_000, 0) + // Minimum execution time: 12_434_000 picoseconds. + Weight::from_parts(13_357_000, 0) .saturating_add(Weight::from_parts(0, 1718)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `334` // Estimated: `1819` - // Minimum execution time: 12_844_000 picoseconds. - Weight::from_parts(13_809_000, 0) + // Minimum execution time: 12_841_000 picoseconds. + Weight::from_parts(13_261_000, 0) .saturating_add(Weight::from_parts(0, 1819)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `318` // Estimated: `1803` - // Minimum execution time: 38_946_000 picoseconds. - Weight::from_parts(39_728_000, 0) + // Minimum execution time: 40_215_000 picoseconds. + Weight::from_parts(40_654_000, 0) .saturating_add(Weight::from_parts(0, 1803)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `312` // Estimated: `1797` - // Minimum execution time: 29_616_000 picoseconds. - Weight::from_parts(30_508_000, 0) + // Minimum execution time: 30_555_000 picoseconds. + Weight::from_parts(31_450_000, 0) .saturating_add(Weight::from_parts(0, 1797)) .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 f7d285884..401d7cd68 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,148 +56,163 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); impl darwinia_staking::WeightInfo for WeightInfo { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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 { // Proof Size summary in bytes: - // Measured: `1951` + // Measured: `1977` // Estimated: `29615` - // Minimum execution time: 60_350_000 picoseconds. - Weight::from_parts(118_356_885, 0) + // Minimum execution time: 63_845_000 picoseconds. + Weight::from_parts(122_795_439, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_304 - .saturating_add(Weight::from_parts(7_107, 0).saturating_mul(x.into())) + // Standard Error: 1_346 + .saturating_add(Weight::from_parts(5_932, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1563` + // Measured: `1589` // Estimated: `29615` - // Minimum execution time: 10_567_000 picoseconds. - Weight::from_parts(50_827_488, 0) + // Minimum execution time: 11_710_000 picoseconds. + Weight::from_parts(53_121_401, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 885 - .saturating_add(Weight::from_parts(5_542, 0).saturating_mul(x.into())) + // Standard Error: 907 + .saturating_add(Weight::from_parts(4_590, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1667` + // Measured: `1693` // Estimated: `29615` - // Minimum execution time: 10_184_000 picoseconds. - Weight::from_parts(44_025_435, 0) + // Minimum execution time: 10_624_000 picoseconds. + Weight::from_parts(44_694_480, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 755 - .saturating_add(Weight::from_parts(2_617, 0).saturating_mul(x.into())) + // Standard Error: 757 + .saturating_add(Weight::from_parts(4_232, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: `2226` + // Measured: `2215` // Estimated: `29615` - // Minimum execution time: 88_343_000 picoseconds. - Weight::from_parts(91_932_000, 0) + // Minimum execution time: 91_363_000 picoseconds. + Weight::from_parts(94_059_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `421` + // Measured: `410` // Estimated: `3497` - // Minimum execution time: 7_800_000 picoseconds. - Weight::from_parts(8_108_000, 0) + // Minimum execution time: 8_379_000 picoseconds. + Weight::from_parts(9_070_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `589` + // Measured: `578` // Estimated: `5298` - // Minimum execution time: 9_277_000 picoseconds. - Weight::from_parts(9_584_000, 0) + // Minimum execution time: 9_844_000 picoseconds. + Weight::from_parts(10_430_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_244_000 picoseconds. - Weight::from_parts(3_464_000, 0) + // Minimum execution time: 3_488_000 picoseconds. + Weight::from_parts(3_837_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1449` + // Estimated: `4914` + // Minimum execution time: 136_376_000 picoseconds. + Weight::from_parts(138_145_000, 0) + .saturating_add(Weight::from_parts(0, 4914)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_717_000 picoseconds. - Weight::from_parts(1_937_000, 0) + // Minimum execution time: 1_884_000 picoseconds. + Weight::from_parts(2_145_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - fn payout() -> Weight { - Default::default() - } } diff --git a/runtime/pangolin/src/weights/frame_system.rs b/runtime/pangolin/src/weights/frame_system.rs index 32e8eda94..8e3beb494 100644 --- a/runtime/pangolin/src/weights/frame_system.rs +++ b/runtime/pangolin/src/weights/frame_system.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `frame_system` //! //! 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-11-16, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangolin-local +// pangolin-dev // --output // runtime/pangolin/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -50,9 +48,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 `frame_system`. pub struct WeightInfo(PhantomData); @@ -62,80 +61,99 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_513_000 picoseconds. - Weight::from_parts(1_603_000, 0) + // Minimum execution time: 1_235_000 picoseconds. + Weight::from_parts(2_559_130, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(233, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(188, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_110_000 picoseconds. - Weight::from_parts(5_385_000, 0) + // Minimum execution time: 4_655_000 picoseconds. + Weight::from_parts(66_874_653, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_021, 0).saturating_mul(b.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(830, 0).saturating_mul(b.into())) } - fn set_code() -> Weight { - Weight::from_parts(1_000_000, 0) - } - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) - /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_667_000 picoseconds. - Weight::from_parts(2_832_000, 0) + // Minimum execution time: 2_471_000 picoseconds. + Weight::from_parts(2_615_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `231` + // Estimated: `1716` + // Minimum execution time: 63_144_376_000 picoseconds. + Weight::from_parts(64_596_491_000, 0) + .saturating_add(Weight::from_parts(0, 1716)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_578_000 picoseconds. - Weight::from_parts(1_637_000, 0) + // Minimum execution time: 1_391_000 picoseconds. + Weight::from_parts(1_451_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_029 - .saturating_add(Weight::from_parts(548_009, 0).saturating_mul(i.into())) + // Standard Error: 1_240 + .saturating_add(Weight::from_parts(496_738, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_578_000 picoseconds. - Weight::from_parts(1_644_000, 0) + // Minimum execution time: 1_318_000 picoseconds. + Weight::from_parts(1_414_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 462 - .saturating_add(Weight::from_parts(378_212, 0).saturating_mul(i.into())) + // Standard Error: 612 + .saturating_add(Weight::from_parts(349_609, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `116 + p * (69 ±0)` - // Estimated: `104 + p * (70 ±0)` - // Minimum execution time: 2_826_000 picoseconds. - Weight::from_parts(2_922_000, 0) - .saturating_add(Weight::from_parts(0, 104)) - // Standard Error: 721 - .saturating_add(Weight::from_parts(720_073, 0).saturating_mul(p.into())) + // Measured: `109 + p * (69 ±0)` + // Estimated: `109 + p * (70 ±0)` + // Minimum execution time: 2_521_000 picoseconds. + Weight::from_parts(2_595_000, 0) + .saturating_add(Weight::from_parts(0, 109)) + // Standard Error: 694 + .saturating_add(Weight::from_parts(661_060, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/pangolin/src/weights/pallet_assets.rs b/runtime/pangolin/src/weights/pallet_assets.rs index 129efc594..203e05c29 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,470 +56,470 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); 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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 8_296_000 picoseconds. - Weight::from_parts(8_793_000, 0) + // Minimum execution time: 8_244_000 picoseconds. + Weight::from_parts(8_671_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 8_107_000 picoseconds. - Weight::from_parts(8_414_000, 0) + // Minimum execution time: 7_769_000 picoseconds. + Weight::from_parts(8_097_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 8_671_000 picoseconds. - Weight::from_parts(9_343_000, 0) + // Minimum execution time: 8_701_000 picoseconds. + Weight::from_parts(9_237_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 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(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) + /// 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(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: `500 + c * (183 ±0)` + // Measured: `539 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 10_928_000 picoseconds. - Weight::from_parts(11_139_000, 0) + // Minimum execution time: 10_847_000 picoseconds. + Weight::from_parts(10_937_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 6_656 - .saturating_add(Weight::from_parts(8_040_177, 0).saturating_mul(c.into())) + // Standard Error: 5_862 + .saturating_add(Weight::from_parts(8_824_885, 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, 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) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `458 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 11_270_000 picoseconds. - Weight::from_parts(11_604_000, 0) + // Minimum execution time: 11_080_000 picoseconds. + Weight::from_parts(11_399_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 2_808 - .saturating_add(Weight::from_parts(2_926_206, 0).saturating_mul(a.into())) + // Standard Error: 2_673 + .saturating_add(Weight::from_parts(2_831_603, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 9_696_000 picoseconds. - Weight::from_parts(9_922_000, 0) + // Minimum execution time: 10_033_000 picoseconds. + Weight::from_parts(10_499_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 16_661_000 picoseconds. - Weight::from_parts(17_526_000, 0) + // Minimum execution time: 17_071_000 picoseconds. + Weight::from_parts(17_889_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 21_037_000 picoseconds. - Weight::from_parts(21_852_000, 0) + // Minimum execution time: 22_072_000 picoseconds. + Weight::from_parts(22_636_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(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) + /// 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(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: `6168` - // Minimum execution time: 29_552_000 picoseconds. - Weight::from_parts(30_356_000, 0) + // Minimum execution time: 28_742_000 picoseconds. + Weight::from_parts(29_594_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(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) + /// 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(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: `6168` - // Minimum execution time: 26_104_000 picoseconds. - Weight::from_parts(26_771_000, 0) + // Minimum execution time: 25_499_000 picoseconds. + Weight::from_parts(25_913_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(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) + /// 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(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: `6168` - // Minimum execution time: 29_931_000 picoseconds. - Weight::from_parts(32_235_000, 0) + // Minimum execution time: 28_968_000 picoseconds. + Weight::from_parts(29_609_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 11_542_000 picoseconds. - Weight::from_parts(11_998_000, 0) + // Minimum execution time: 10_762_000 picoseconds. + Weight::from_parts(11_186_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 11_574_000 picoseconds. - Weight::from_parts(12_014_000, 0) + // Minimum execution time: 10_827_000 picoseconds. + Weight::from_parts(11_494_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 8_556_000 picoseconds. - Weight::from_parts(8_974_000, 0) + // Minimum execution time: 8_512_000 picoseconds. + Weight::from_parts(8_752_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 8_469_000 picoseconds. - Weight::from_parts(8_989_000, 0) + // Minimum execution time: 8_441_000 picoseconds. + Weight::from_parts(8_715_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 9_761_000 picoseconds. - Weight::from_parts(10_051_000, 0) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(10_287_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 8_431_000 picoseconds. - Weight::from_parts(8_871_000, 0) + // Minimum execution time: 8_226_000 picoseconds. + Weight::from_parts(8_547_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 Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `350` // Estimated: `3631` - // Minimum execution time: 10_138_000 picoseconds. - Weight::from_parts(10_640_447, 0) + // Minimum execution time: 9_889_000 picoseconds. + Weight::from_parts(10_770_086, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 956 - .saturating_add(Weight::from_parts(7_618, 0).saturating_mul(n.into())) - // Standard Error: 956 - .saturating_add(Weight::from_parts(3_698, 0).saturating_mul(s.into())) + // Standard Error: 652 + .saturating_add(Weight::from_parts(821, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `3631` - // Minimum execution time: 11_272_000 picoseconds. - Weight::from_parts(11_718_000, 0) + // Minimum execution time: 10_463_000 picoseconds. + Weight::from_parts(10_929_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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `237` // Estimated: `3631` - // Minimum execution time: 9_228_000 picoseconds. - Weight::from_parts(10_353_968, 0) + // Minimum execution time: 9_080_000 picoseconds. + Weight::from_parts(9_894_747, 0) .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 592 + .saturating_add(Weight::from_parts(1_487, 0).saturating_mul(n.into())) .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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `3631` - // Minimum execution time: 10_450_000 picoseconds. - Weight::from_parts(10_801_000, 0) + // Minimum execution time: 10_348_000 picoseconds. + Weight::from_parts(10_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:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 8_074_000 picoseconds. - Weight::from_parts(8_439_000, 0) + // Minimum execution time: 7_914_000 picoseconds. + Weight::from_parts(8_247_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 12_407_000 picoseconds. - Weight::from_parts(12_943_000, 0) + // Minimum execution time: 12_210_000 picoseconds. + Weight::from_parts(12_833_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 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(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) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// 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(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: `6168` - // Minimum execution time: 35_090_000 picoseconds. - Weight::from_parts(36_795_000, 0) + // Minimum execution time: 33_717_000 picoseconds. + Weight::from_parts(34_397_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `457` // Estimated: `3631` - // Minimum execution time: 13_613_000 picoseconds. - Weight::from_parts(14_439_000, 0) + // Minimum execution time: 13_302_000 picoseconds. + Weight::from_parts(13_797_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 Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `457` // Estimated: `3631` - // Minimum execution time: 13_841_000 picoseconds. - Weight::from_parts(14_536_000, 0) + // Minimum execution time: 13_401_000 picoseconds. + Weight::from_parts(14_052_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 9_168_000 picoseconds. - Weight::from_parts(10_545_000, 0) + // Minimum execution time: 8_540_000 picoseconds. + Weight::from_parts(8_969_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `478` // Estimated: `3631` - // Minimum execution time: 22_897_000 picoseconds. - Weight::from_parts(23_573_000, 0) + // Minimum execution time: 22_713_000 picoseconds. + Weight::from_parts(23_268_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 21_584_000 picoseconds. - Weight::from_parts(22_096_000, 0) + // Minimum execution time: 21_375_000 picoseconds. + Weight::from_parts(21_964_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `556` // Estimated: `3631` - // Minimum execution time: 21_323_000 picoseconds. - Weight::from_parts(21_841_000, 0) + // Minimum execution time: 20_809_000 picoseconds. + Weight::from_parts(21_319_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `448` // Estimated: `3631` - // Minimum execution time: 20_333_000 picoseconds. - Weight::from_parts(20_894_000, 0) + // Minimum execution time: 20_327_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(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 11_023_000 picoseconds. - Weight::from_parts(11_434_000, 0) + // Minimum execution time: 10_807_000 picoseconds. + Weight::from_parts(11_349_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 49d58b79e..255afd626 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,102 +56,102 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 35_473_000 picoseconds. - Weight::from_parts(36_250_000, 0) + // Minimum execution time: 34_801_000 picoseconds. + Weight::from_parts(35_693_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 30_045_000 picoseconds. - Weight::from_parts(30_963_000, 0) + // Minimum execution time: 29_067_000 picoseconds. + Weight::from_parts(29_848_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 11_142_000 picoseconds. - Weight::from_parts(11_411_000, 0) + // Minimum execution time: 10_961_000 picoseconds. + Weight::from_parts(11_459_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 16_015_000 picoseconds. - Weight::from_parts(16_533_000, 0) + // Minimum execution time: 16_272_000 picoseconds. + Weight::from_parts(17_182_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `6172` - // Minimum execution time: 36_736_000 picoseconds. - Weight::from_parts(37_677_000, 0) + // Minimum execution time: 36_197_000 picoseconds. + Weight::from_parts(37_327_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 37_361_000 picoseconds. - Weight::from_parts(39_817_000, 0) + // Minimum execution time: 36_530_000 picoseconds. + Weight::from_parts(38_473_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 12_843_000 picoseconds. - Weight::from_parts(13_438_000, 0) + // Minimum execution time: 12_563_000 picoseconds. + Weight::from_parts(13_070_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// 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: `91 + u * (124 ±0)` + // Measured: `124 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 12_011_000 picoseconds. - Weight::from_parts(12_380_000, 0) + // Minimum execution time: 11_664_000 picoseconds. + Weight::from_parts(12_016_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_132 - .saturating_add(Weight::from_parts(10_133_104, 0).saturating_mul(u.into())) + // Standard Error: 8_359 + .saturating_add(Weight::from_parts(9_966_963, 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 15a5a5cb0..ff4f5e13e 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,33 +56,33 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); impl pallet_bridge_grandpa::WeightInfo for WeightInfo { - /// Storage: BridgeMoonbaseGrandpa PalletOperatingMode (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa RequestCount (r:1 w:1) - /// Proof: BridgeMoonbaseGrandpa RequestCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa BestFinalized (r:1 w:1) - /// Proof: BridgeMoonbaseGrandpa BestFinalized (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:2) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa CurrentAuthoritySet (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa CurrentAuthoritySet (max_values: Some(1), max_size: Some(163850), added: 164345, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHashesPointer (r:1 w:1) - /// Proof: BridgeMoonbaseGrandpa ImportedHashesPointer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHashes (r:1 w:1) - /// Proof: BridgeMoonbaseGrandpa ImportedHashes (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `BridgeMoonbaseGrandpa::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::RequestCount` (r:1 w:1) + /// Proof: `BridgeMoonbaseGrandpa::RequestCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::BestFinalized` (r:1 w:1) + /// Proof: `BridgeMoonbaseGrandpa::BestFinalized` (`max_values`: Some(1), `max_size`: Some(36), added: 531, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:2) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::CurrentAuthoritySet` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::CurrentAuthoritySet` (`max_values`: Some(1), `max_size`: Some(163850), added: 164345, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHashesPointer` (r:1 w:1) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHashesPointer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHashes` (r:1 w:1) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHashes` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// The range of component `p` is `[51, 102]`. /// The range of component `v` is `[50, 100]`. fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2544 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_539_097_000 picoseconds. - Weight::from_parts(96_863_701, 0) + // Minimum execution time: 1_505_044_000 picoseconds. + Weight::from_parts(196_699_468, 0) .saturating_add(Weight::from_parts(0, 165335)) - // Standard Error: 145_194 - .saturating_add(Weight::from_parts(27_541_246, 0).saturating_mul(p.into())) - // Standard Error: 148_639 - .saturating_add(Weight::from_parts(1_061_134, 0).saturating_mul(v.into())) + // Standard Error: 115_345 + .saturating_add(Weight::from_parts(25_505_925, 0).saturating_mul(p.into())) + // Standard Error: 118_082 + .saturating_add(Weight::from_parts(1_078_926, 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 77ea6ab86..bcb4d57d1 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,212 +56,212 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); impl pallet_bridge_messages::WeightInfo for WeightInfo { - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangoroMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangoroMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangoroMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangoroMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` // Estimated: `6172` - // Minimum execution time: 52_799_000 picoseconds. - Weight::from_parts(53_633_000, 0) + // Minimum execution time: 51_280_000 picoseconds. + Weight::from_parts(53_092_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangoroMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangoroMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangoroMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangoroMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` // Estimated: `6172` - // Minimum execution time: 53_151_000 picoseconds. - Weight::from_parts(54_993_000, 0) + // Minimum execution time: 53_118_000 picoseconds. + Weight::from_parts(57_656_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangoroMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangoroMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangoroMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangoroMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `334` // Estimated: `6172` - // Minimum execution time: 58_575_000 picoseconds. - Weight::from_parts(59_799_000, 0) + // Minimum execution time: 60_431_000 picoseconds. + Weight::from_parts(62_273_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 26_385_000 picoseconds. - Weight::from_parts(29_657_000, 0) + // Minimum execution time: 27_224_000 picoseconds. + Weight::from_parts(28_025_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 37_735_000 picoseconds. - Weight::from_parts(41_103_000, 0) + // Minimum execution time: 39_132_000 picoseconds. + Weight::from_parts(40_440_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 30_078_000 picoseconds. - Weight::from_parts(31_336_000, 0) + // Minimum execution time: 31_126_000 picoseconds. + Weight::from_parts(32_459_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 32_806_000 picoseconds. - Weight::from_parts(33_383_000, 0) + // Minimum execution time: 30_977_000 picoseconds. + Weight::from_parts(31_890_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 62_572_000 picoseconds. - Weight::from_parts(64_504_000, 0) + // Minimum execution time: 60_889_000 picoseconds. + Weight::from_parts(66_668_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::InboundLanes` (r:1 w:1) + /// 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: `504` // Estimated: `69033` - // Minimum execution time: 26_236_000 picoseconds. - Weight::from_parts(26_972_000, 0) + // Minimum execution time: 27_091_000 picoseconds. + Weight::from_parts(28_428_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket Orders (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `589` // Estimated: `69033` - // Minimum execution time: 20_765_000 picoseconds. - Weight::from_parts(21_445_000, 0) + // Minimum execution time: 21_885_000 picoseconds. + Weight::from_parts(23_356_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket Orders (r:2 w:0) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::Orders` (r:2 w:0) + /// Proof: `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: `589` // Estimated: `69033` - // Minimum execution time: 22_878_000 picoseconds. - Weight::from_parts(23_446_000, 0) + // Minimum execution time: 22_789_000 picoseconds. + Weight::from_parts(23_112_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangoroMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangoroMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangoroMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangoroMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket Orders (r:2 w:0) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangoroMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangoroMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangoroMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::Orders` (r:2 w:0) + /// Proof: `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: `589` // Estimated: `69033` - // Minimum execution time: 22_827_000 picoseconds. - Weight::from_parts(23_615_000, 0) + // Minimum execution time: 22_992_000 picoseconds. + Weight::from_parts(23_484_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 5befe8a84..d55410cb0 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,67 +56,67 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); impl pallet_bridge_parachains::WeightInfo for WeightInfo { - /// Storage: BridgeMoonbaseParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeMoonbaseParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ParasInfo (r:1023 w:1023) - /// Proof: BridgeMoonbaseParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHashes (r:1023 w:1023) - /// Proof: BridgeMoonbaseParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHeads (r:0 w:1023) - /// Proof: BridgeMoonbaseParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeMoonbaseParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeMoonbaseParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ParasInfo` (r:1023 w:1023) + /// Proof: `BridgeMoonbaseParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHashes` (r:1023 w:1023) + /// Proof: `BridgeMoonbaseParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHeads` (r:0 w:1023) + /// Proof: `BridgeMoonbaseParachain::ImportedParaHeads` (`max_values`: None, `max_size`: Some(1092), added: 3567, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 21_619_000 picoseconds. - Weight::from_parts(22_071_000, 0) + // Minimum execution time: 21_291_000 picoseconds. + Weight::from_parts(21_860_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - // Standard Error: 19_356 - .saturating_add(Weight::from_parts(16_772_475, 0).saturating_mul(p.into())) + // Standard Error: 19_392 + .saturating_add(Weight::from_parts(16_808_504, 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, 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) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ParasInfo (r:1 w:1) - /// Proof: BridgeMoonbaseParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeMoonbaseParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeMoonbaseParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeMoonbaseParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeMoonbaseParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeMoonbaseParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeMoonbaseParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHeads` (r:0 w:1) + /// 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: `451` // Estimated: `69033` - // Minimum execution time: 26_794_000 picoseconds. - Weight::from_parts(28_061_000, 0) + // Minimum execution time: 27_918_000 picoseconds. + Weight::from_parts(28_589_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BridgeMoonbaseParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeMoonbaseParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeMoonbaseGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ParasInfo (r:1 w:1) - /// Proof: BridgeMoonbaseParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeMoonbaseParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeMoonbaseParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeMoonbaseParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeMoonbaseParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeMoonbaseParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeMoonbaseGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeMoonbaseParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeMoonbaseParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeMoonbaseParachain::ImportedParaHeads` (r:0 w:1) + /// 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: `451` // Estimated: `69033` - // Minimum execution time: 58_788_000 picoseconds. - Weight::from_parts(60_749_000, 0) + // Minimum execution time: 56_664_000 picoseconds. + Weight::from_parts(58_969_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 f7c304386..6a504dc97 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -75,14 +73,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 9_559_000 picoseconds. - Weight::from_parts(9_866_000, 0) + // Estimated: `12200 + m * (1231 ±11) + p * (3660 ±11)` + // Minimum execution time: 9_450_000 picoseconds. + Weight::from_parts(9_961_000, 0) .saturating_add(Weight::from_parts(0, 12200)) - // Standard Error: 17_978 - .saturating_add(Weight::from_parts(1_790_520, 0).saturating_mul(m.into())) - // Standard Error: 17_978 - .saturating_add(Weight::from_parts(4_109_392, 0).saturating_mul(p.into())) + // Standard Error: 18_975 + .saturating_add(Weight::from_parts(1_967_544, 0).saturating_mul(m.into())) + // Standard Error: 18_975 + .saturating_add(Weight::from_parts(4_045_219, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(10_252_680, 0) + // Minimum execution time: 9_601_000 picoseconds. + Weight::from_parts(9_807_778, 0) .saturating_add(Weight::from_parts(0, 1554)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(818, 0).saturating_mul(b.into())) - // Standard Error: 291 - .saturating_add(Weight::from_parts(5_182, 0).saturating_mul(m.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(873, 0).saturating_mul(b.into())) + // Standard Error: 239 + .saturating_add(Weight::from_parts(7_904, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `3534 + m * (20 ±0)` - // Minimum execution time: 11_564_000 picoseconds. - Weight::from_parts(11_917_849, 0) + // Minimum execution time: 11_399_000 picoseconds. + Weight::from_parts(11_679_611, 0) .saturating_add(Weight::from_parts(0, 3534)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(669, 0).saturating_mul(b.into())) - // Standard Error: 348 - .saturating_add(Weight::from_parts(11_081, 0).saturating_mul(m.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(826, 0).saturating_mul(b.into())) + // Standard Error: 253 + .saturating_add(Weight::from_parts(8_258, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 15_609_000 picoseconds. - Weight::from_parts(15_981_968, 0) + // Minimum execution time: 16_082_000 picoseconds. + Weight::from_parts(16_119_813, 0) .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 78 - .saturating_add(Weight::from_parts(1_330, 0).saturating_mul(b.into())) - // Standard Error: 821 - .saturating_add(Weight::from_parts(14_327, 0).saturating_mul(m.into())) - // Standard Error: 810 - .saturating_add(Weight::from_parts(146_259, 0).saturating_mul(p.into())) + // Standard Error: 81 + .saturating_add(Weight::from_parts(1_852, 0).saturating_mul(b.into())) + // Standard Error: 852 + .saturating_add(Weight::from_parts(8_910, 0).saturating_mul(m.into())) + // Standard Error: 842 + .saturating_add(Weight::from_parts(148_088, 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, 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) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + m * (40 ±0)` // Estimated: `4296 + m * (40 ±0)` - // Minimum execution time: 15_504_000 picoseconds. - Weight::from_parts(17_626_654, 0) + // Minimum execution time: 15_268_000 picoseconds. + Weight::from_parts(17_674_610, 0) .saturating_add(Weight::from_parts(0, 4296)) - // Standard Error: 690 - .saturating_add(Weight::from_parts(19_383, 0).saturating_mul(m.into())) + // Standard Error: 817 + .saturating_add(Weight::from_parts(16_858, 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, 40).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `409 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 17_214_000 picoseconds. - Weight::from_parts(18_917_506, 0) + // Minimum execution time: 16_488_000 picoseconds. + Weight::from_parts(17_824_691, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 814 - .saturating_add(Weight::from_parts(14_053, 0).saturating_mul(m.into())) - // Standard Error: 793 - .saturating_add(Weight::from_parts(133_277, 0).saturating_mul(p.into())) + // Standard Error: 811 + .saturating_add(Weight::from_parts(19_534, 0).saturating_mul(m.into())) + // Standard Error: 790 + .saturating_add(Weight::from_parts(144_481, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `711 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // Estimated: `4028 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` - // Minimum execution time: 24_548_000 picoseconds. - Weight::from_parts(26_309_767, 0) + // Minimum execution time: 25_060_000 picoseconds. + Weight::from_parts(24_971_225, 0) .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 112 - .saturating_add(Weight::from_parts(2_333, 0).saturating_mul(b.into())) - // Standard Error: 1_192 - .saturating_add(Weight::from_parts(15_956, 0).saturating_mul(m.into())) - // Standard Error: 1_162 - .saturating_add(Weight::from_parts(160_009, 0).saturating_mul(p.into())) + // Standard Error: 92 + .saturating_add(Weight::from_parts(2_805, 0).saturating_mul(b.into())) + // Standard Error: 975 + .saturating_add(Weight::from_parts(17_160, 0).saturating_mul(m.into())) + // Standard Error: 951 + .saturating_add(Weight::from_parts(170_489, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `429 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 19_109_000 picoseconds. - Weight::from_parts(20_650_459, 0) + // Minimum execution time: 19_661_000 picoseconds. + Weight::from_parts(21_113_192, 0) .saturating_add(Weight::from_parts(0, 3874)) - // Standard Error: 1_039 - .saturating_add(Weight::from_parts(21_540, 0).saturating_mul(m.into())) - // Standard Error: 1_013 - .saturating_add(Weight::from_parts(141_056, 0).saturating_mul(p.into())) + // Standard Error: 2_793 + .saturating_add(Weight::from_parts(9_569, 0).saturating_mul(m.into())) + // Standard Error: 2_723 + .saturating_add(Weight::from_parts(147_101, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `731 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // Estimated: `4048 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` - // Minimum execution time: 26_398_000 picoseconds. - Weight::from_parts(29_673_829, 0) + // Minimum execution time: 27_086_000 picoseconds. + Weight::from_parts(28_158_555, 0) .saturating_add(Weight::from_parts(0, 4048)) - // Standard Error: 134 - .saturating_add(Weight::from_parts(1_917, 0).saturating_mul(b.into())) - // Standard Error: 1_424 - .saturating_add(Weight::from_parts(4_493, 0).saturating_mul(m.into())) - // Standard Error: 1_388 - .saturating_add(Weight::from_parts(178_763, 0).saturating_mul(p.into())) + // Standard Error: 106 + .saturating_add(Weight::from_parts(2_422, 0).saturating_mul(b.into())) + // Standard Error: 1_123 + .saturating_add(Weight::from_parts(3_658, 0).saturating_mul(m.into())) + // Standard Error: 1_095 + .saturating_add(Weight::from_parts(183_576, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 9_955_000 picoseconds. - Weight::from_parts(11_376_211, 0) + // Minimum execution time: 10_146_000 picoseconds. + Weight::from_parts(11_140_194, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 720 - .saturating_add(Weight::from_parts(133_648, 0).saturating_mul(p.into())) + // Standard Error: 691 + .saturating_add(Weight::from_parts(136_653, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs b/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs index ae305c83b..175c945e7 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: TechnicalCommittee Members (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:100 w:100) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -76,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 9_561_000 picoseconds. - Weight::from_parts(9_950_000, 0) + // Minimum execution time: 9_211_000 picoseconds. + Weight::from_parts(9_747_000, 0) .saturating_add(Weight::from_parts(0, 12200)) - // Standard Error: 18_825 - .saturating_add(Weight::from_parts(1_900_154, 0).saturating_mul(m.into())) - // Standard Error: 18_825 - .saturating_add(Weight::from_parts(4_202_071, 0).saturating_mul(p.into())) + // Standard Error: 18_258 + .saturating_add(Weight::from_parts(1_838_257, 0).saturating_mul(m.into())) + // Standard Error: 18_258 + .saturating_add(Weight::from_parts(3_954_644, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 10_010_000 picoseconds. - Weight::from_parts(9_886_221, 0) + // Minimum execution time: 9_484_000 picoseconds. + Weight::from_parts(9_704_897, 0) .saturating_add(Weight::from_parts(0, 1554)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_056, 0).saturating_mul(b.into())) - // Standard Error: 295 - .saturating_add(Weight::from_parts(6_585, 0).saturating_mul(m.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(853, 0).saturating_mul(b.into())) + // Standard Error: 206 + .saturating_add(Weight::from_parts(6_569, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:0) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `3534 + m * (20 ±0)` - // Minimum execution time: 11_786_000 picoseconds. - Weight::from_parts(12_151_672, 0) + // Minimum execution time: 11_274_000 picoseconds. + Weight::from_parts(11_523_484, 0) .saturating_add(Weight::from_parts(0, 3534)) - // Standard Error: 29 - .saturating_add(Weight::from_parts(473, 0).saturating_mul(b.into())) - // Standard Error: 300 - .saturating_add(Weight::from_parts(8_688, 0).saturating_mul(m.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(793, 0).saturating_mul(b.into())) + // Standard Error: 238 + .saturating_add(Weight::from_parts(8_484, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalCount (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `357 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 15_512_000 picoseconds. - Weight::from_parts(14_828_907, 0) + // Minimum execution time: 15_927_000 picoseconds. + Weight::from_parts(16_273_965, 0) .saturating_add(Weight::from_parts(0, 3751)) // Standard Error: 74 - .saturating_add(Weight::from_parts(1_903, 0).saturating_mul(b.into())) - // Standard Error: 780 - .saturating_add(Weight::from_parts(16_953, 0).saturating_mul(m.into())) - // Standard Error: 770 - .saturating_add(Weight::from_parts(148_483, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(1_785, 0).saturating_mul(b.into())) + // Standard Error: 775 + .saturating_add(Weight::from_parts(5_577, 0).saturating_mul(m.into())) + // Standard Error: 765 + .saturating_add(Weight::from_parts(148_547, 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, 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) - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + m * (40 ±0)` // Estimated: `4296 + m * (40 ±0)` - // Minimum execution time: 15_394_000 picoseconds. - Weight::from_parts(17_406_707, 0) + // Minimum execution time: 14_814_000 picoseconds. + Weight::from_parts(17_650_506, 0) .saturating_add(Weight::from_parts(0, 4296)) - // Standard Error: 621 - .saturating_add(Weight::from_parts(21_470, 0).saturating_mul(m.into())) + // Standard Error: 779 + .saturating_add(Weight::from_parts(17_419, 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, 40).saturating_mul(m.into())) } - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `409 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 17_751_000 picoseconds. - Weight::from_parts(18_224_791, 0) + // Minimum execution time: 16_802_000 picoseconds. + Weight::from_parts(17_524_486, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 815 - .saturating_add(Weight::from_parts(20_956, 0).saturating_mul(m.into())) - // Standard Error: 795 - .saturating_add(Weight::from_parts(134_837, 0).saturating_mul(p.into())) + // Standard Error: 853 + .saturating_add(Weight::from_parts(20_959, 0).saturating_mul(m.into())) + // Standard Error: 832 + .saturating_add(Weight::from_parts(147_498, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `711 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // Estimated: `4028 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` - // Minimum execution time: 24_949_000 picoseconds. - Weight::from_parts(26_555_197, 0) + // Minimum execution time: 25_371_000 picoseconds. + Weight::from_parts(24_749_254, 0) .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 110 - .saturating_add(Weight::from_parts(2_461, 0).saturating_mul(b.into())) - // Standard Error: 1_165 - .saturating_add(Weight::from_parts(12_781, 0).saturating_mul(m.into())) - // Standard Error: 1_136 - .saturating_add(Weight::from_parts(157_220, 0).saturating_mul(p.into())) + // Standard Error: 183 + .saturating_add(Weight::from_parts(2_826, 0).saturating_mul(b.into())) + // Standard Error: 1_942 + .saturating_add(Weight::from_parts(16_288, 0).saturating_mul(m.into())) + // Standard Error: 1_893 + .saturating_add(Weight::from_parts(175_273, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `429 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 18_933_000 picoseconds. - Weight::from_parts(21_099_875, 0) + // Minimum execution time: 19_540_000 picoseconds. + Weight::from_parts(20_463_529, 0) .saturating_add(Weight::from_parts(0, 3874)) - // Standard Error: 979 - .saturating_add(Weight::from_parts(16_343, 0).saturating_mul(m.into())) - // Standard Error: 955 - .saturating_add(Weight::from_parts(140_217, 0).saturating_mul(p.into())) + // Standard Error: 2_388 + .saturating_add(Weight::from_parts(13_721, 0).saturating_mul(m.into())) + // Standard Error: 2_328 + .saturating_add(Weight::from_parts(150_335, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `731 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // Estimated: `4048 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` - // Minimum execution time: 26_538_000 picoseconds. - Weight::from_parts(28_981_753, 0) + // Minimum execution time: 26_755_000 picoseconds. + Weight::from_parts(27_632_341, 0) .saturating_add(Weight::from_parts(0, 4048)) - // Standard Error: 123 - .saturating_add(Weight::from_parts(1_956, 0).saturating_mul(b.into())) - // Standard Error: 1_303 - .saturating_add(Weight::from_parts(5_792, 0).saturating_mul(m.into())) - // Standard Error: 1_271 - .saturating_add(Weight::from_parts(180_513, 0).saturating_mul(p.into())) + // Standard Error: 100 + .saturating_add(Weight::from_parts(2_423, 0).saturating_mul(b.into())) + // Standard Error: 1_064 + .saturating_add(Weight::from_parts(3_958, 0).saturating_mul(m.into())) + // Standard Error: 1_037 + .saturating_add(Weight::from_parts(187_807, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 9_909_000 picoseconds. - Weight::from_parts(11_388_547, 0) + // Minimum execution time: 10_442_000 picoseconds. + Weight::from_parts(11_145_606, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 743 - .saturating_add(Weight::from_parts(131_765, 0).saturating_mul(p.into())) + // Standard Error: 663 + .saturating_add(Weight::from_parts(135_158, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/pangolin/src/weights/pallet_conviction_voting.rs b/runtime/pangolin/src/weights/pallet_conviction_voting.rs index 2d91990b0..82f9f34cd 100644 --- a/runtime/pangolin/src/weights/pallet_conviction_voting.rs +++ b/runtime/pangolin/src/weights/pallet_conviction_voting.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,144 +56,144 @@ use core::marker::PhantomData; /// Weight functions for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); impl pallet_conviction_voting::WeightInfo for WeightInfo { - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(119), added: 2594, 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: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(119), added: 2594, 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: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `13189` // Estimated: `42428` - // Minimum execution time: 67_878_000 picoseconds. - Weight::from_parts(73_765_000, 0) + // Minimum execution time: 75_239_000 picoseconds. + Weight::from_parts(78_891_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(119), added: 2594, 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: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(119), added: 2594, 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: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `13910` // Estimated: `83866` - // Minimum execution time: 113_488_000 picoseconds. - Weight::from_parts(118_020_000, 0) + // Minimum execution time: 123_333_000 picoseconds. + Weight::from_parts(129_784_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn remove_vote() -> Weight { // Proof Size summary in bytes: // Measured: `13659` // Estimated: `83866` - // Minimum execution time: 88_561_000 picoseconds. - Weight::from_parts(92_591_000, 0) + // Minimum execution time: 98_570_000 picoseconds. + Weight::from_parts(106_621_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: // Measured: `12783` // Estimated: `30694` - // Minimum execution time: 30_929_000 picoseconds. - Weight::from_parts(33_101_000, 0) + // Minimum execution time: 34_671_000 picoseconds. + Weight::from_parts(37_124_000, 0) .saturating_add(Weight::from_parts(0, 30694)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ConvictionVoting VotingFor (r:2 w:2) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:100 w:100) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(119), added: 2594, 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: `ConvictionVoting::VotingFor` (r:2 w:2) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:100 w:100) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(119), added: 2594, 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, 100]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `7303 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 43_702_000 picoseconds. - Weight::from_parts(38_472_140, 0) + // Minimum execution time: 50_467_000 picoseconds. + Weight::from_parts(34_494_274, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 348_343 - .saturating_add(Weight::from_parts(41_517_014, 0).saturating_mul(r.into())) + // Standard Error: 362_360 + .saturating_add(Weight::from_parts(44_546_915, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3387).saturating_mul(r.into())) } - /// Storage: ConvictionVoting VotingFor (r:2 w:2) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:100 w:100) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:100 w:100) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 100]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `7159 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 22_181_000 picoseconds. - Weight::from_parts(16_683_017, 0) + // Minimum execution time: 25_392_000 picoseconds. + Weight::from_parts(13_065_763, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 349_261 - .saturating_add(Weight::from_parts(41_526_857, 0).saturating_mul(r.into())) + // Standard Error: 374_284 + .saturating_add(Weight::from_parts(44_477_994, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3387).saturating_mul(r.into())) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27229), added: 29704, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(119), added: 2594, 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: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27229), added: 29704, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(119), added: 2594, 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 unlock() -> Weight { // Proof Size summary in bytes: // Measured: `11969` // Estimated: `30694` - // Minimum execution time: 51_839_000 picoseconds. - Weight::from_parts(57_009_000, 0) + // Minimum execution time: 56_451_000 picoseconds. + Weight::from_parts(59_845_000, 0) .saturating_add(Weight::from_parts(0, 30694)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/pangolin/src/weights/pallet_democracy.rs b/runtime/pangolin/src/weights/pallet_democracy.rs index 5e274d0cb..bc6a77642 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,477 +56,477 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3810` // Estimated: `16987` - // Minimum execution time: 30_626_000 picoseconds. - Weight::from_parts(34_718_000, 0) + // Minimum execution time: 32_149_000 picoseconds. + Weight::from_parts(35_044_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `2559` // Estimated: `5495` - // Minimum execution time: 26_828_000 picoseconds. - Weight::from_parts(28_210_000, 0) + // Minimum execution time: 28_144_000 picoseconds. + Weight::from_parts(30_439_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3406` // Estimated: `7248` - // Minimum execution time: 35_024_000 picoseconds. - Weight::from_parts(39_820_000, 0) + // Minimum execution time: 38_625_000 picoseconds. + Weight::from_parts(41_184_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3428` // Estimated: `7248` - // Minimum execution time: 39_381_000 picoseconds. - Weight::from_parts(43_051_000, 0) + // Minimum execution time: 42_313_000 picoseconds. + Weight::from_parts(45_202_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 16_480_000 picoseconds. - Weight::from_parts(17_017_000, 0) + // Minimum execution time: 17_299_000 picoseconds. + Weight::from_parts(18_339_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4953` // Estimated: `16987` - // Minimum execution time: 73_434_000 picoseconds. - Weight::from_parts(76_692_000, 0) + // Minimum execution time: 76_626_000 picoseconds. + Weight::from_parts(80_355_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2161` // Estimated: `5503` - // Minimum execution time: 7_914_000 picoseconds. - Weight::from_parts(8_573_000, 0) + // Minimum execution time: 8_386_000 picoseconds. + Weight::from_parts(8_586_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_929_000 picoseconds. - Weight::from_parts(2_079_000, 0) + // Minimum execution time: 2_086_000 picoseconds. + Weight::from_parts(2_216_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_979_000 picoseconds. - Weight::from_parts(2_138_000, 0) + // Minimum execution time: 2_040_000 picoseconds. + Weight::from_parts(2_214_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 17_643_000 picoseconds. - Weight::from_parts(18_048_000, 0) + // Minimum execution time: 18_073_000 picoseconds. + Weight::from_parts(18_602_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2264` // Estimated: `5503` - // Minimum execution time: 18_702_000 picoseconds. - Weight::from_parts(19_194_000, 0) + // Minimum execution time: 19_362_000 picoseconds. + Weight::from_parts(19_913_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4885` // Estimated: `16987` - // Minimum execution time: 59_276_000 picoseconds. - Weight::from_parts(61_525_000, 0) + // Minimum execution time: 60_648_000 picoseconds. + Weight::from_parts(63_815_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 12_618_000 picoseconds. - Weight::from_parts(12_836_000, 0) + // Minimum execution time: 12_707_000 picoseconds. + Weight::from_parts(13_173_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 4_257_000 picoseconds. - Weight::from_parts(5_668_963, 0) + // Minimum execution time: 4_200_000 picoseconds. + Weight::from_parts(6_141_875, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_267 - .saturating_add(Weight::from_parts(1_994_163, 0).saturating_mul(r.into())) + // Standard Error: 3_219 + .saturating_add(Weight::from_parts(1_998_665, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(8_370_348, 0) + // Minimum execution time: 6_421_000 picoseconds. + Weight::from_parts(8_641_172, 0) .saturating_add(Weight::from_parts(0, 16987)) - // Standard Error: 3_446 - .saturating_add(Weight::from_parts(1_979_324, 0).saturating_mul(r.into())) + // Standard Error: 3_257 + .saturating_add(Weight::from_parts(2_009_049, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// 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) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// 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: `19764 + r * (2676 ±0)` - // Minimum execution time: 26_534_000 picoseconds. - Weight::from_parts(31_236_080, 0) + // Minimum execution time: 27_980_000 picoseconds. + Weight::from_parts(32_219_272, 0) .saturating_add(Weight::from_parts(0, 19764)) - // Standard Error: 7_266 - .saturating_add(Weight::from_parts(2_553_300, 0).saturating_mul(r.into())) + // Standard Error: 4_952 + .saturating_add(Weight::from_parts(2_593_237, 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()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `388 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` - // Minimum execution time: 13_036_000 picoseconds. - Weight::from_parts(14_721_389, 0) + // Minimum execution time: 12_923_000 picoseconds. + Weight::from_parts(14_871_236, 0) .saturating_add(Weight::from_parts(0, 13506)) - // Standard Error: 4_379 - .saturating_add(Weight::from_parts(2_462_146, 0).saturating_mul(r.into())) + // Standard Error: 4_385 + .saturating_add(Weight::from_parts(2_589_558, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_094_000 picoseconds. - Weight::from_parts(2_181_000, 0) + // Minimum execution time: 2_106_000 picoseconds. + Weight::from_parts(2_251_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// 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) + /// 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_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `385` + // Measured: `423` // Estimated: `7248` - // Minimum execution time: 16_320_000 picoseconds. - Weight::from_parts(25_063_034, 0) + // Minimum execution time: 16_593_000 picoseconds. + Weight::from_parts(26_208_515, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_400 - .saturating_add(Weight::from_parts(72_913, 0).saturating_mul(r.into())) + // Standard Error: 2_737 + .saturating_add(Weight::from_parts(92_149, 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) + /// 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)` + // Measured: `424 + r * (22 ±0)` // Estimated: `7248` - // Minimum execution time: 21_531_000 picoseconds. - Weight::from_parts(23_677_671, 0) + // Minimum execution time: 23_154_000 picoseconds. + Weight::from_parts(24_993_853, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_929 - .saturating_add(Weight::from_parts(85_642, 0).saturating_mul(r.into())) + // Standard Error: 1_745 + .saturating_add(Weight::from_parts(97_913, 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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_291_000 picoseconds. - Weight::from_parts(11_335_475, 0) + // Minimum execution time: 9_779_000 picoseconds. + Weight::from_parts(11_718_061, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_229 - .saturating_add(Weight::from_parts(73_507, 0).saturating_mul(r.into())) + // Standard Error: 1_120 + .saturating_add(Weight::from_parts(84_381, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 9_161_000 picoseconds. - Weight::from_parts(11_432_562, 0) + // Minimum execution time: 9_692_000 picoseconds. + Weight::from_parts(11_775_789, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_344 - .saturating_add(Weight::from_parts(74_876, 0).saturating_mul(r.into())) + // Standard Error: 1_267 + .saturating_add(Weight::from_parts(85_322, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3544` - // Minimum execution time: 11_525_000 picoseconds. - Weight::from_parts(12_085_000, 0) + // Minimum execution time: 11_896_000 picoseconds. + Weight::from_parts(12_313_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 10_251_000 picoseconds. - Weight::from_parts(10_566_000, 0) + // Minimum execution time: 10_654_000 picoseconds. + Weight::from_parts(11_067_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3621` // Estimated: `16987` - // Minimum execution time: 25_834_000 picoseconds. - Weight::from_parts(27_344_000, 0) + // Minimum execution time: 26_496_000 picoseconds. + Weight::from_parts(29_061_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3555` // Estimated: `16987` - // Minimum execution time: 24_169_000 picoseconds. - Weight::from_parts(25_483_000, 0) + // Minimum execution time: 24_930_000 picoseconds. + Weight::from_parts(27_066_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 8_955_000 picoseconds. - Weight::from_parts(9_603_000, 0) + // Minimum execution time: 9_339_000 picoseconds. + Weight::from_parts(9_647_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 11_346_000 picoseconds. - Weight::from_parts(11_619_000, 0) + // Minimum execution time: 11_797_000 picoseconds. + Weight::from_parts(12_545_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_fee_market.rs b/runtime/pangolin/src/weights/pallet_fee_market.rs index 5e45fa29c..77076dfe5 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,157 +56,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); impl pallet_fee_market::WeightInfo for WeightInfo { - /// Storage: PangoroFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: 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) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:1) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangoroFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1683` // Estimated: `27423` - // Minimum execution time: 83_776_000 picoseconds. - Weight::from_parts(86_727_000, 0) + // Minimum execution time: 86_139_000 picoseconds. + Weight::from_parts(88_262_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) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangoroFeeMarket RelayersMap (r:10 w:1) - /// 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) - /// Proof Skipped: PangoroFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `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: `PangoroFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 79_515_000 picoseconds. - Weight::from_parts(81_796_000, 0) + // Minimum execution time: 77_909_000 picoseconds. + Weight::from_parts(80_347_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) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: 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) - /// 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) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangoroFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `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: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 96_696_000 picoseconds. - Weight::from_parts(100_197_000, 0) + // Minimum execution time: 95_698_000 picoseconds. + Weight::from_parts(100_629_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) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangoroFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 61_848_000 picoseconds. - Weight::from_parts(65_746_000, 0) + // Minimum execution time: 60_863_000 picoseconds. + Weight::from_parts(63_898_000, 0) .saturating_add(Weight::from_parts(0, 27076)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PangoroFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket Orders (r:1 w:0) - /// 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) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket RelayersMap (r:9 w:1) - /// Proof Skipped: PangoroFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket AssignedRelayersNumber (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:1) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `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) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:9 w:1) + /// Proof: `PangoroFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1822` // Estimated: `25087` - // Minimum execution time: 80_555_000 picoseconds. - Weight::from_parts(83_326_000, 0) + // Minimum execution time: 80_499_000 picoseconds. + Weight::from_parts(84_621_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) - /// Proof Skipped: PangoroFeeMarket CollateralSlashProtect (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::CollateralSlashProtect` (r:0 w:1) + /// Proof: `PangoroFeeMarket::CollateralSlashProtect` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_slash_protect() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_563_000 picoseconds. - Weight::from_parts(4_809_000, 0) + // Minimum execution time: 4_685_000 picoseconds. + Weight::from_parts(5_073_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PangoroFeeMarket Relayers (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket RelayersMap (r:10 w:0) - /// Proof Skipped: PangoroFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket Orders (r:1 w:0) - /// Proof Skipped: PangoroFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: PangoroFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangoroFeeMarket AssignedRelayersNumber (r:0 w:1) - /// Proof Skipped: PangoroFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangoroFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::RelayersMap` (r:10 w:0) + /// Proof: `PangoroFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangoroFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangoroFeeMarket::AssignedRelayersNumber` (r:0 w:1) + /// Proof: `PangoroFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 60_929_000 picoseconds. - Weight::from_parts(63_178_000, 0) + // Minimum execution time: 59_122_000 picoseconds. + Weight::from_parts(62_817_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 efa0adbef..165c71765 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,87 +56,87 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_315_000 picoseconds. - Weight::from_parts(7_741_496, 0) + // Minimum execution time: 7_444_000 picoseconds. + Weight::from_parts(7_931_959, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_504 - .saturating_add(Weight::from_parts(96_999, 0).saturating_mul(r.into())) + // Standard Error: 1_969 + .saturating_add(Weight::from_parts(80_278, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 22_763_000 picoseconds. - Weight::from_parts(21_243_275, 0) + // Minimum execution time: 23_750_000 picoseconds. + Weight::from_parts(22_017_229, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 8_750 - .saturating_add(Weight::from_parts(182_005, 0).saturating_mul(r.into())) - // Standard Error: 1_707 - .saturating_add(Weight::from_parts(378_865, 0).saturating_mul(x.into())) + // Standard Error: 7_976 + .saturating_add(Weight::from_parts(174_680, 0).saturating_mul(r.into())) + // Standard Error: 1_556 + .saturating_add(Weight::from_parts(380_240, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 6_033_000 picoseconds. - Weight::from_parts(16_039_314, 0) + // Minimum execution time: 6_308_000 picoseconds. + Weight::from_parts(16_654_697, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_969 - .saturating_add(Weight::from_parts(2_259_530, 0).saturating_mul(s.into())) + // Standard Error: 2_955 + .saturating_add(Weight::from_parts(2_269_776, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2565).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 6_354_000 picoseconds. - Weight::from_parts(17_229_717, 0) + // Minimum execution time: 6_218_000 picoseconds. + Weight::from_parts(16_614_349, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_967 - .saturating_add(Weight::from_parts(895_890, 0).saturating_mul(p.into())) + // Standard Error: 2_769 + .saturating_add(Weight::from_parts(924_397, 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()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// 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: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -146,130 +144,130 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 42_227_000 picoseconds. - Weight::from_parts(23_220_247, 0) + // Minimum execution time: 43_181_000 picoseconds. + Weight::from_parts(23_400_960, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 13_619 - .saturating_add(Weight::from_parts(169_624, 0).saturating_mul(r.into())) - // Standard Error: 2_659 - .saturating_add(Weight::from_parts(879_123, 0).saturating_mul(s.into())) - // Standard Error: 2_659 - .saturating_add(Weight::from_parts(204_976, 0).saturating_mul(x.into())) + // Standard Error: 10_408 + .saturating_add(Weight::from_parts(204_760, 0).saturating_mul(r.into())) + // Standard Error: 2_032 + .saturating_add(Weight::from_parts(899_181, 0).saturating_mul(s.into())) + // Standard Error: 2_032 + .saturating_add(Weight::from_parts(206_754, 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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 22_541_000 picoseconds. - Weight::from_parts(21_802_467, 0) + // Minimum execution time: 23_670_000 picoseconds. + Weight::from_parts(22_087_274, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 6_743 - .saturating_add(Weight::from_parts(127_977, 0).saturating_mul(r.into())) - // Standard Error: 1_315 - .saturating_add(Weight::from_parts(374_416, 0).saturating_mul(x.into())) + // Standard Error: 5_784 + .saturating_add(Weight::from_parts(130_575, 0).saturating_mul(r.into())) + // Standard Error: 1_128 + .saturating_add(Weight::from_parts(386_456, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_669_000 picoseconds. - Weight::from_parts(19_323_141, 0) + // Minimum execution time: 21_956_000 picoseconds. + Weight::from_parts(21_095_889, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 7_834 - .saturating_add(Weight::from_parts(153_850, 0).saturating_mul(r.into())) - // Standard Error: 1_528 - .saturating_add(Weight::from_parts(386_929, 0).saturating_mul(x.into())) + // Standard Error: 6_310 + .saturating_add(Weight::from_parts(87_370, 0).saturating_mul(r.into())) + // Standard Error: 1_231 + .saturating_add(Weight::from_parts(382_844, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_561_000 picoseconds. - Weight::from_parts(4_946_551, 0) + // Minimum execution time: 4_662_000 picoseconds. + Weight::from_parts(5_032_753, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_824 - .saturating_add(Weight::from_parts(61_958, 0).saturating_mul(r.into())) + // Standard Error: 1_401 + .saturating_add(Weight::from_parts(59_350, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_527_000 picoseconds. - Weight::from_parts(5_020_417, 0) + // Minimum execution time: 4_803_000 picoseconds. + Weight::from_parts(5_075_684, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_869 - .saturating_add(Weight::from_parts(58_387, 0).saturating_mul(r.into())) + // Standard Error: 1_259 + .saturating_add(Weight::from_parts(58_907, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_594_000 picoseconds. - Weight::from_parts(4_933_988, 0) + // Minimum execution time: 4_763_000 picoseconds. + Weight::from_parts(5_019_511, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_506 - .saturating_add(Weight::from_parts(64_706, 0).saturating_mul(r.into())) + // Standard Error: 1_599 + .saturating_add(Weight::from_parts(65_595, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 15_599_000 picoseconds. - Weight::from_parts(15_237_790, 0) + // Minimum execution time: 15_288_000 picoseconds. + Weight::from_parts(14_740_568, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 8_338 - .saturating_add(Weight::from_parts(46_932, 0).saturating_mul(r.into())) - // Standard Error: 1_542 - .saturating_add(Weight::from_parts(598_734, 0).saturating_mul(x.into())) + // Standard Error: 6_096 + .saturating_add(Weight::from_parts(91_819, 0).saturating_mul(r.into())) + // Standard Error: 1_128 + .saturating_add(Weight::from_parts(608_135, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -277,90 +275,90 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `709 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 55_611_000 picoseconds. - Weight::from_parts(34_483_527, 0) + // Minimum execution time: 56_960_000 picoseconds. + Weight::from_parts(38_342_820, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 16_078 - .saturating_add(Weight::from_parts(283_543, 0).saturating_mul(r.into())) - // Standard Error: 3_139 - .saturating_add(Weight::from_parts(891_801, 0).saturating_mul(s.into())) - // Standard Error: 3_139 - .saturating_add(Weight::from_parts(211_978, 0).saturating_mul(x.into())) + // Standard Error: 11_583 + .saturating_add(Weight::from_parts(228_083, 0).saturating_mul(r.into())) + // Standard Error: 2_262 + .saturating_add(Weight::from_parts(897_209, 0).saturating_mul(s.into())) + // Standard Error: 2_262 + .saturating_add(Weight::from_parts(208_356, 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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 20_868_000 picoseconds. - Weight::from_parts(23_745_327, 0) + // Minimum execution time: 19_986_000 picoseconds. + Weight::from_parts(23_477_293, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 2_229 - .saturating_add(Weight::from_parts(43_542, 0).saturating_mul(s.into())) + // Standard Error: 1_762 + .saturating_add(Weight::from_parts(50_090, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 7_940_000 picoseconds. - Weight::from_parts(9_496_540, 0) + // Minimum execution time: 8_428_000 picoseconds. + Weight::from_parts(10_032_195, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 800 - .saturating_add(Weight::from_parts(27_203, 0).saturating_mul(s.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(25_414, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 21_542_000 picoseconds. - Weight::from_parts(23_590_505, 0) + // Minimum execution time: 22_320_000 picoseconds. + Weight::from_parts(24_877_353, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 2_039 - .saturating_add(Weight::from_parts(62_370, 0).saturating_mul(s.into())) + // Standard Error: 1_571 + .saturating_add(Weight::from_parts(48_731, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// 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) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// 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: `622 + s * (24 ±0)` + // Measured: `659 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 14_720_000 picoseconds. - Weight::from_parts(16_553_704, 0) + // Minimum execution time: 15_115_000 picoseconds. + Weight::from_parts(17_123_335, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 1_225 - .saturating_add(Weight::from_parts(36_052, 0).saturating_mul(s.into())) + // Standard Error: 1_215 + .saturating_add(Weight::from_parts(42_182, 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_preimage.rs b/runtime/pangolin/src/weights/pallet_preimage.rs index 7ca71a63e..d6469ded3 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,167 +56,167 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 20_401_000 picoseconds. - Weight::from_parts(20_741_000, 0) + // Minimum execution time: 21_396_000 picoseconds. + Weight::from_parts(21_771_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(s.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_493_000 picoseconds. - Weight::from_parts(10_763_000, 0) + // Minimum execution time: 10_820_000 picoseconds. + Weight::from_parts(11_053_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(s.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_195, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 10_579_000 picoseconds. - Weight::from_parts(10_914_000, 0) + // Minimum execution time: 10_277_000 picoseconds. + Weight::from_parts(10_627_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_226, 0).saturating_mul(s.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_195, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 31_155_000 picoseconds. - Weight::from_parts(34_080_000, 0) + // Minimum execution time: 36_490_000 picoseconds. + Weight::from_parts(39_617_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 18_150_000 picoseconds. - Weight::from_parts(21_319_000, 0) + // Minimum execution time: 21_376_000 picoseconds. + Weight::from_parts(23_757_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 17_754_000 picoseconds. - Weight::from_parts(20_826_000, 0) + // Minimum execution time: 18_621_000 picoseconds. + Weight::from_parts(21_178_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 11_174_000 picoseconds. - Weight::from_parts(12_255_000, 0) + // Minimum execution time: 11_852_000 picoseconds. + Weight::from_parts(13_519_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 10_799_000 picoseconds. - Weight::from_parts(11_669_000, 0) + // Minimum execution time: 11_238_000 picoseconds. + Weight::from_parts(11_584_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_424_000 picoseconds. - Weight::from_parts(6_719_000, 0) + // Minimum execution time: 6_806_000 picoseconds. + Weight::from_parts(7_236_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 18_438_000 picoseconds. - Weight::from_parts(21_111_000, 0) + // Minimum execution time: 19_253_000 picoseconds. + Weight::from_parts(22_113_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_678_000 picoseconds. - Weight::from_parts(7_293_000, 0) + // Minimum execution time: 6_711_000 picoseconds. + Weight::from_parts(7_411_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 6_396_000 picoseconds. - Weight::from_parts(7_018_000, 0) + // Minimum execution time: 6_689_000 picoseconds. + Weight::from_parts(7_079_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 a08d05248..f5daad7e6 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,176 +56,174 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 9_574_000 picoseconds. - Weight::from_parts(10_362_588, 0) + // Minimum execution time: 9_700_000 picoseconds. + Weight::from_parts(10_338_736, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_967 - .saturating_add(Weight::from_parts(32_767, 0).saturating_mul(p.into())) + // Standard Error: 1_874 + .saturating_add(Weight::from_parts(37_271, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 24_183_000 picoseconds. - Weight::from_parts(26_397_758, 0) + // Minimum execution time: 24_997_000 picoseconds. + Weight::from_parts(26_078_347, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_831 - .saturating_add(Weight::from_parts(89_196, 0).saturating_mul(a.into())) - // Standard Error: 3_959 - .saturating_add(Weight::from_parts(17_358, 0).saturating_mul(p.into())) + // Standard Error: 3_124 + .saturating_add(Weight::from_parts(115_372, 0).saturating_mul(a.into())) + // Standard Error: 3_227 + .saturating_add(Weight::from_parts(15_877, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `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: `5302` - // Minimum execution time: 15_932_000 picoseconds. - Weight::from_parts(17_051_048, 0) + // Minimum execution time: 16_326_000 picoseconds. + Weight::from_parts(17_445_084, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_180 - .saturating_add(Weight::from_parts(101_436, 0).saturating_mul(a.into())) - // Standard Error: 3_285 - .saturating_add(Weight::from_parts(17_966, 0).saturating_mul(p.into())) + // Standard Error: 2_106 + .saturating_add(Weight::from_parts(107_115, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 15_877_000 picoseconds. - Weight::from_parts(16_455_956, 0) + // Minimum execution time: 16_308_000 picoseconds. + Weight::from_parts(17_215_251, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_620 - .saturating_add(Weight::from_parts(105_282, 0).saturating_mul(a.into())) - // Standard Error: 2_707 - .saturating_add(Weight::from_parts(35_516, 0).saturating_mul(p.into())) + // Standard Error: 1_814 + .saturating_add(Weight::from_parts(104_798, 0).saturating_mul(a.into())) + // Standard Error: 1_874 + .saturating_add(Weight::from_parts(3_342, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 22_759_000 picoseconds. - Weight::from_parts(24_281_145, 0) + // Minimum execution time: 22_468_000 picoseconds. + Weight::from_parts(22_956_978, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_041 - .saturating_add(Weight::from_parts(95_381, 0).saturating_mul(a.into())) - // Standard Error: 3_142 - .saturating_add(Weight::from_parts(2_104, 0).saturating_mul(p.into())) + // Standard Error: 2_016 + .saturating_add(Weight::from_parts(117_414, 0).saturating_mul(a.into())) + // Standard Error: 2_083 + .saturating_add(Weight::from_parts(25_885, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// 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 add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_623_000 picoseconds. - Weight::from_parts(18_067_627, 0) + // Minimum execution time: 17_044_000 picoseconds. + Weight::from_parts(17_864_722, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_810 - .saturating_add(Weight::from_parts(6_114, 0).saturating_mul(p.into())) + // Standard Error: 1_655 + .saturating_add(Weight::from_parts(27_153, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_614_000 picoseconds. - Weight::from_parts(17_436_018, 0) + // Minimum execution time: 17_243_000 picoseconds. + Weight::from_parts(18_175_697, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_163 - .saturating_add(Weight::from_parts(33_302, 0).saturating_mul(p.into())) + // Standard Error: 1_849 + .saturating_add(Weight::from_parts(28_872, 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) + /// 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_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 14_880_000 picoseconds. - Weight::from_parts(15_321_458, 0) + // Minimum execution time: 15_604_000 picoseconds. + Weight::from_parts(16_243_899, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_065 - .saturating_add(Weight::from_parts(58_389, 0).saturating_mul(p.into())) + // Standard Error: 1_910 + .saturating_add(Weight::from_parts(35_799, 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) + /// 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 create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 19_011_000 picoseconds. - Weight::from_parts(19_838_831, 0) + // Minimum execution time: 18_585_000 picoseconds. + Weight::from_parts(19_480_348, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_340 - .saturating_add(Weight::from_parts(11_759, 0).saturating_mul(p.into())) + // Standard Error: 1_609 + .saturating_add(Weight::from_parts(8_125, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 16_212_000 picoseconds. - Weight::from_parts(17_039_708, 0) + // Minimum execution time: 15_877_000 picoseconds. + Weight::from_parts(16_490_042, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_887 - .saturating_add(Weight::from_parts(28_010, 0).saturating_mul(p.into())) + // Standard Error: 2_349 + .saturating_add(Weight::from_parts(38_767, 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_referenda.rs b/runtime/pangolin/src/weights/pallet_referenda.rs index b445aab67..c647ca89e 100644 --- a/runtime/pangolin/src/weights/pallet_referenda.rs +++ b/runtime/pangolin/src/weights/pallet_referenda.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,448 +56,448 @@ use core::marker::PhantomData; /// Weight functions for `pallet_referenda`. pub struct WeightInfo(PhantomData); impl pallet_referenda::WeightInfo for WeightInfo { - /// Storage: Referenda ReferendumCount (r:1 w:1) - /// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:0 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumCount` (r:1 w:1) + /// Proof: `Referenda::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:0 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) fn submit() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `42428` - // Minimum execution time: 27_020_000 picoseconds. - Weight::from_parts(27_661_000, 0) + // Minimum execution time: 27_195_000 picoseconds. + Weight::from_parts(28_288_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 35_426_000 picoseconds. - Weight::from_parts(36_888_000, 0) + // Minimum execution time: 34_165_000 picoseconds. + Weight::from_parts(35_105_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `42428` - // Minimum execution time: 44_229_000 picoseconds. - Weight::from_parts(47_439_000, 0) + // Minimum execution time: 46_120_000 picoseconds. + Weight::from_parts(48_349_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3403` // Estimated: `42428` - // Minimum execution time: 43_664_000 picoseconds. - Weight::from_parts(45_560_000, 0) + // Minimum execution time: 46_139_000 picoseconds. + Weight::from_parts(48_144_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 40_625_000 picoseconds. - Weight::from_parts(42_053_000, 0) + // Minimum execution time: 41_888_000 picoseconds. + Weight::from_parts(43_687_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4377` - // Minimum execution time: 25_607_000 picoseconds. - Weight::from_parts(26_060_000, 0) + // Minimum execution time: 27_020_000 picoseconds. + Weight::from_parts(27_450_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `458` // Estimated: `4377` - // Minimum execution time: 20_871_000 picoseconds. - Weight::from_parts(21_289_000, 0) + // Minimum execution time: 21_621_000 picoseconds. + Weight::from_parts(22_431_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `417` // Estimated: `4377` - // Minimum execution time: 20_051_000 picoseconds. - Weight::from_parts(20_677_000, 0) + // Minimum execution time: 20_774_000 picoseconds. + Weight::from_parts(21_204_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn cancel() -> Weight { // Proof Size summary in bytes: // Measured: `423` // Estimated: `83866` - // Minimum execution time: 23_903_000 picoseconds. - Weight::from_parts(24_481_000, 0) + // Minimum execution time: 24_682_000 picoseconds. + Weight::from_parts(25_285_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:1 w:0) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Referenda::MetadataOf` (r:1 w:0) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn kill() -> Weight { // Proof Size summary in bytes: // Measured: `913` // Estimated: `83866` - // Minimum execution time: 76_259_000 picoseconds. - Weight::from_parts(77_317_000, 0) + // Minimum execution time: 76_559_000 picoseconds. + Weight::from_parts(78_582_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Referenda TrackQueue (r:1 w:0) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:0) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: // Measured: `240` // Estimated: `5477` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(6_458_000, 0) + // Minimum execution time: 6_225_000 picoseconds. + Weight::from_parts(6_420_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: // Measured: `3198` // Estimated: `42428` - // Minimum execution time: 27_019_000 picoseconds. - Weight::from_parts(28_593_000, 0) + // Minimum execution time: 28_958_000 picoseconds. + Weight::from_parts(30_948_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: // Measured: `3256` // Estimated: `42428` - // Minimum execution time: 32_555_000 picoseconds. - Weight::from_parts(34_882_000, 0) + // Minimum execution time: 34_173_000 picoseconds. + Weight::from_parts(35_598_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 12_901_000 picoseconds. - Weight::from_parts(13_799_000, 0) + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_444_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 13_002_000 picoseconds. - Weight::from_parts(13_693_000, 0) + // Minimum execution time: 13_646_000 picoseconds. + Weight::from_parts(14_794_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3057` // Estimated: `5477` - // Minimum execution time: 15_646_000 picoseconds. - Weight::from_parts(16_535_000, 0) + // Minimum execution time: 16_052_000 picoseconds. + Weight::from_parts(17_419_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3077` // Estimated: `5477` - // Minimum execution time: 15_314_000 picoseconds. - Weight::from_parts(16_421_000, 0) + // Minimum execution time: 16_208_000 picoseconds. + Weight::from_parts(17_271_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `42428` - // Minimum execution time: 14_539_000 picoseconds. - Weight::from_parts(15_201_000, 0) + // Minimum execution time: 15_289_000 picoseconds. + Weight::from_parts(15_830_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 14_716_000 picoseconds. - Weight::from_parts(15_388_000, 0) + // Minimum execution time: 15_568_000 picoseconds. + Weight::from_parts(16_077_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: // Measured: `332` // Estimated: `4377` - // Minimum execution time: 10_429_000 picoseconds. - Weight::from_parts(11_791_000, 0) + // Minimum execution time: 10_522_000 picoseconds. + Weight::from_parts(11_005_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 21_582_000 picoseconds. - Weight::from_parts(22_469_000, 0) + // Minimum execution time: 21_106_000 picoseconds. + Weight::from_parts(21_920_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 23_649_000 picoseconds. - Weight::from_parts(24_356_000, 0) + // Minimum execution time: 23_086_000 picoseconds. + Weight::from_parts(24_001_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 18_615_000 picoseconds. - Weight::from_parts(19_406_000, 0) + // Minimum execution time: 18_305_000 picoseconds. + Weight::from_parts(19_143_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: // Measured: `459` // Estimated: `42428` - // Minimum execution time: 17_683_000 picoseconds. - Weight::from_parts(18_557_000, 0) + // Minimum execution time: 18_874_000 picoseconds. + Weight::from_parts(19_427_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 16_739_000 picoseconds. - Weight::from_parts(17_314_000, 0) + // Minimum execution time: 16_119_000 picoseconds. + Weight::from_parts(16_834_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: // Measured: `480` // Estimated: `42428` - // Minimum execution time: 16_358_000 picoseconds. - Weight::from_parts(17_044_000, 0) + // Minimum execution time: 16_387_000 picoseconds. + Weight::from_parts(16_992_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: // Measured: `480` // Estimated: `83866` - // Minimum execution time: 27_148_000 picoseconds. - Weight::from_parts(28_853_000, 0) + // Minimum execution time: 27_378_000 picoseconds. + Weight::from_parts(28_226_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 18_149_000 picoseconds. - Weight::from_parts(18_840_000, 0) + // Minimum execution time: 18_886_000 picoseconds. + Weight::from_parts(19_358_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:0 w:1) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Referenda::MetadataOf` (r:0 w:1) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `4377` - // Minimum execution time: 12_525_000 picoseconds. - Weight::from_parts(12_954_000, 0) + // Minimum execution time: 12_885_000 picoseconds. + Weight::from_parts(13_525_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(912), added: 3387, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:1 w:1) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(912), added: 3387, mode: `MaxEncodedLen`) + /// Storage: `Referenda::MetadataOf` (r:1 w:1) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `4377` - // Minimum execution time: 11_675_000 picoseconds. - Weight::from_parts(11_958_000, 0) + // Minimum execution time: 11_361_000 picoseconds. + Weight::from_parts(11_996_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .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 7680d40be..aea8f2807 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_242_000 picoseconds. - Weight::from_parts(2_358_000, 0) + // Minimum execution time: 2_160_000 picoseconds. + Weight::from_parts(2_284_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_172_000 picoseconds. - Weight::from_parts(3_845_985, 0) + // Minimum execution time: 2_112_000 picoseconds. + Weight::from_parts(4_190_188, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_633 - .saturating_add(Weight::from_parts(481_074, 0).saturating_mul(s.into())) + // Standard Error: 2_467 + .saturating_add(Weight::from_parts(512_625, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,36 +87,36 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_613_000 picoseconds. - Weight::from_parts(3_819_000, 0) + // Minimum execution time: 3_693_000 picoseconds. + Weight::from_parts(3_836_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 13_498_000 picoseconds. - Weight::from_parts(13_682_000, 0) + // Minimum execution time: 13_468_000 picoseconds. + Weight::from_parts(13_603_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(850, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(646, 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())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_450_000 picoseconds. - Weight::from_parts(4_659_000, 0) + // Minimum execution time: 4_446_000 picoseconds. + Weight::from_parts(4_633_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,89 +124,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_705_000 picoseconds. - Weight::from_parts(3_865_000, 0) + // Minimum execution time: 3_617_000 picoseconds. + Weight::from_parts(3_850_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_834_000 picoseconds. - Weight::from_parts(1_931_000, 0) + // Minimum execution time: 1_680_000 picoseconds. + Weight::from_parts(1_798_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_845_000 picoseconds. - Weight::from_parts(1_935_000, 0) + // Minimum execution time: 1_653_000 picoseconds. + Weight::from_parts(1_792_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_183_000 picoseconds. - Weight::from_parts(10_249_354, 0) + // Minimum execution time: 7_794_000 picoseconds. + Weight::from_parts(9_878_402, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_878 - .saturating_add(Weight::from_parts(466_519, 0).saturating_mul(s.into())) + // Standard Error: 3_394 + .saturating_add(Weight::from_parts(535_502, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 10_648_000 picoseconds. - Weight::from_parts(9_844_939, 0) + // Minimum execution time: 11_365_000 picoseconds. + Weight::from_parts(10_790_728, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_569 - .saturating_add(Weight::from_parts(911_936, 0).saturating_mul(s.into())) + // Standard Error: 5_825 + .saturating_add(Weight::from_parts(949_909, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 10_006_000 picoseconds. - Weight::from_parts(13_444_889, 0) + // Minimum execution time: 9_912_000 picoseconds. + Weight::from_parts(12_368_419, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_632 - .saturating_add(Weight::from_parts(476_595, 0).saturating_mul(s.into())) + // Standard Error: 3_263 + .saturating_add(Weight::from_parts(564_274, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 11_773_000 picoseconds. - Weight::from_parts(12_098_009, 0) + // Minimum execution time: 12_347_000 picoseconds. + Weight::from_parts(11_949_497, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_659 - .saturating_add(Weight::from_parts(861_745, 0).saturating_mul(s.into())) + // Standard Error: 3_750 + .saturating_add(Weight::from_parts(967_050, 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 1e6b493c7..f1d92cc41 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3712` - // Minimum execution time: 10_458_000 picoseconds. - Weight::from_parts(11_015_000, 0) + // Minimum execution time: 10_999_000 picoseconds. + Weight::from_parts(11_432_000, 0) .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3694` - // Minimum execution time: 7_295_000 picoseconds. - Weight::from_parts(7_643_000, 0) + // Minimum execution time: 7_628_000 picoseconds. + Weight::from_parts(7_981_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 91479b5d6..595175dc3 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 3_804_000 picoseconds. - Weight::from_parts(4_279_000, 0) + // Minimum execution time: 4_008_000 picoseconds. + Weight::from_parts(4_326_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +72,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 2_397_000 picoseconds. - Weight::from_parts(2_498_000, 0) + // Minimum execution time: 2_430_000 picoseconds. + Weight::from_parts(2_571_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/pangolin/src/weights/pallet_treasury.rs b/runtime/pangolin/src/weights/pallet_treasury.rs index deeec6a9b..78fc9c03b 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -62,87 +60,87 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 161_000 picoseconds. - Weight::from_parts(181_000, 0) + // Minimum execution time: 170_000 picoseconds. + Weight::from_parts(191_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `275` // Estimated: `1489` - // Minimum execution time: 19_021_000 picoseconds. - Weight::from_parts(19_662_000, 0) + // Minimum execution time: 20_113_000 picoseconds. + Weight::from_parts(21_349_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `571` // Estimated: `6172` - // Minimum execution time: 30_274_000 picoseconds. - Weight::from_parts(31_058_000, 0) + // Minimum execution time: 31_934_000 picoseconds. + Weight::from_parts(32_916_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `537 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 5_574_000 picoseconds. - Weight::from_parts(7_592_316, 0) + // Minimum execution time: 5_895_000 picoseconds. + Weight::from_parts(7_866_239, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 966 - .saturating_add(Weight::from_parts(50_068, 0).saturating_mul(p.into())) + // Standard Error: 1_083 + .saturating_add(Weight::from_parts(53_510, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `194` // Estimated: `1887` - // Minimum execution time: 4_502_000 picoseconds. - Weight::from_parts(4_623_000, 0) + // Minimum execution time: 4_457_000 picoseconds. + Weight::from_parts(4_646_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:100 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `328 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 19_266_000 picoseconds. - Weight::from_parts(19_816_397, 0) + // Minimum execution time: 20_049_000 picoseconds. + Weight::from_parts(19_483_493, 0) .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 5_605 - .saturating_add(Weight::from_parts(1_899_624, 0).saturating_mul(p.into())) + // Standard Error: 3_326 + .saturating_add(Weight::from_parts(1_901_736, 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 2c629a177..9b6336f59 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-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -63,18 +61,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_651_000 picoseconds. - Weight::from_parts(889_975, 0) + // Minimum execution time: 4_289_000 picoseconds. + Weight::from_parts(3_476_892, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_024 - .saturating_add(Weight::from_parts(3_744_601, 0).saturating_mul(c.into())) + // Standard Error: 3_242 + .saturating_add(Weight::from_parts(3_727_696, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_223_000 picoseconds. - Weight::from_parts(3_377_000, 0) + // Minimum execution time: 3_276_000 picoseconds. + Weight::from_parts(3_504_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -82,18 +80,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_239_000 picoseconds. - Weight::from_parts(818_666, 0) + // Minimum execution time: 4_357_000 picoseconds. + Weight::from_parts(7_218_489, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_063 - .saturating_add(Weight::from_parts(3_911_507, 0).saturating_mul(c.into())) + // Standard Error: 2_858 + .saturating_add(Weight::from_parts(3_934_064, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_494_000 picoseconds. - Weight::from_parts(5_733_000, 0) + // Minimum execution time: 5_805_000 picoseconds. + Weight::from_parts(6_042_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -101,10 +99,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_123_000 picoseconds. - Weight::from_parts(4_327_000, 0) + // Minimum execution time: 4_335_000 picoseconds. + Weight::from_parts(4_871_717, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_681 - .saturating_add(Weight::from_parts(3_692_136, 0).saturating_mul(c.into())) + // Standard Error: 2_783 + .saturating_add(Weight::from_parts(3_703_565, 0).saturating_mul(c.into())) } } diff --git a/runtime/pangolin/src/weights/pallet_whitelist.rs b/runtime/pangolin/src/weights/pallet_whitelist.rs index dbf30f861..57028fe5a 100644 --- a/runtime/pangolin/src/weights/pallet_whitelist.rs +++ b/runtime/pangolin/src/weights/pallet_whitelist.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `*`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,8 +30,6 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain @@ -58,68 +56,68 @@ use core::marker::PhantomData; /// Weight functions for `pallet_whitelist`. pub struct WeightInfo(PhantomData); impl pallet_whitelist::WeightInfo for WeightInfo { - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn whitelist_call() -> Weight { // Proof Size summary in bytes: // Measured: `84` // Estimated: `3544` - // Minimum execution time: 13_302_000 picoseconds. - Weight::from_parts(13_626_000, 0) + // Minimum execution time: 13_229_000 picoseconds. + Weight::from_parts(13_806_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn remove_whitelisted_call() -> Weight { // Proof Size summary in bytes: // Measured: `213` // Estimated: `3544` - // Minimum execution time: 11_158_000 picoseconds. - Weight::from_parts(11_795_000, 0) + // Minimum execution time: 11_591_000 picoseconds. + Weight::from_parts(12_018_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 4194294]`. fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `289 + n * (1 ±0)` // Estimated: `3753 + n * (1 ±0)` - // Minimum execution time: 19_192_000 picoseconds. - Weight::from_parts(19_323_000, 0) + // Minimum execution time: 20_170_000 picoseconds. + Weight::from_parts(20_587_000, 0) .saturating_add(Weight::from_parts(0, 3753)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(858, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(631, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10000]`. fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213` // Estimated: `3544` - // Minimum execution time: 13_464_000 picoseconds. - Weight::from_parts(14_355_420, 0) + // Minimum execution time: 14_045_000 picoseconds. + Weight::from_parts(14_767_597, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(829, 0).saturating_mul(n.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(766, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs index efa6d9b36..fad8dfe82 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,26 +56,26 @@ use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_900_000 picoseconds. - Weight::from_parts(4_186_000, 0) + // Minimum execution time: 3_688_000 picoseconds. + Weight::from_parts(3_906_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_769_000 picoseconds. - Weight::from_parts(4_077_000, 0) + // Minimum execution time: 3_700_000 picoseconds. + Weight::from_parts(3_866_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 8f6da2703..b0b5dbbd7 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,66 +56,66 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_account_migration`. pub struct WeightInfo(PhantomData); impl darwinia_account_migration::WeightInfo for WeightInfo { - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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: `29142` // Estimated: `32607` - // Minimum execution time: 146_615_000 picoseconds. - Weight::from_parts(149_125_000, 0) + // Minimum execution time: 140_621_000 picoseconds. + Weight::from_parts(145_667_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) - /// Storage: AccountMigration Accounts (r:1 w:1) - /// Proof: AccountMigration Accounts (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AccountMigration KtonAccounts (r:1 w:1) - /// 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 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) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: AccountMigration Ledgers (r:1 w:1) - /// Proof: AccountMigration Ledgers (max_values: None, max_size: Some(1845), added: 4320, mode: MaxEncodedLen) - /// Storage: AccountMigration Deposits (r:1 w:1) - /// Proof Skipped: AccountMigration Deposits (max_values: None, max_size: None, mode: Measured) - /// 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(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: Deposit Deposits (r:0 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:0 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountMigration::Accounts` (r:1 w:1) + /// Proof: `AccountMigration::Accounts` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::KtonAccounts` (r:1 w:1) + /// 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::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) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Ledgers` (r:1 w:1) + /// Proof: `AccountMigration::Ledgers` (`max_values`: None, `max_size`: Some(1845), added: 4320, mode: `MaxEncodedLen`) + /// Storage: `AccountMigration::Deposits` (r:1 w:1) + /// Proof: `AccountMigration::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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(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: `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]`. /// The range of component `y` is `[0, 99]`. /// The range of component `z` is `[0, 99]`. @@ -125,26 +123,26 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` - // Minimum execution time: 6_816_000 picoseconds. - Weight::from_parts(22_268_275, 0) + // Minimum execution time: 6_653_000 picoseconds. + Weight::from_parts(20_915_867, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 13_016 - .saturating_add(Weight::from_parts(7_507, 0).saturating_mul(x.into())) + // Standard Error: 12_059 + .saturating_add(Weight::from_parts(8_968, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `AccountMigration::Multisigs` (r:1 w:1) + /// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn complete_multisig_migration() -> Weight { // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 8_566_000 picoseconds. - Weight::from_parts(8_913_000, 0) + // Minimum execution time: 8_111_000 picoseconds. + Weight::from_parts(8_517_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 1ef4bd5a9..1c0391c00 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,56 +56,56 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_deposit`. pub struct WeightInfo(PhantomData); impl darwinia_deposit::WeightInfo for WeightInfo { - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: // Measured: `26745` // Estimated: `29615` - // Minimum execution time: 71_958_000 picoseconds. - Weight::from_parts(78_621_000, 0) + // Minimum execution time: 67_603_000 picoseconds. + Weight::from_parts(72_632_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `26512` // Estimated: `29615` - // Minimum execution time: 1_259_934_000 picoseconds. - Weight::from_parts(1_287_995_000, 0) + // Minimum execution time: 1_150_058_000 picoseconds. + Weight::from_parts(1_227_615_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Deposit Deposits (r:1 w:1) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// 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) + /// Storage: `Deposit::Deposits` (r:1 w:1) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `29615` - // Minimum execution time: 48_591_000 picoseconds. - Weight::from_parts(53_189_000, 0) + // Minimum execution time: 47_061_000 picoseconds. + Weight::from_parts(48_892_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 b90d12db9..829e7cd4e 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,100 +56,100 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_ecdsa_authority`. pub struct WeightInfo(PhantomData); impl darwinia_ecdsa_authority::WeightInfo for WeightInfo { - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:0) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:0) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `87` // Estimated: `1572` - // Minimum execution time: 9_918_000 picoseconds. - Weight::from_parts(10_293_000, 0) + // Minimum execution time: 9_662_000 picoseconds. + Weight::from_parts(10_211_000, 0) .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: // Measured: `87` // Estimated: `1572` - // Minimum execution time: 13_186_000 picoseconds. - Weight::from_parts(13_695_000, 0) + // Minimum execution time: 12_594_000 picoseconds. + Weight::from_parts(13_445_000, 0) .saturating_add(Weight::from_parts(0, 1572)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `1651` - // Minimum execution time: 13_631_000 picoseconds. - Weight::from_parts(14_297_000, 0) + // Minimum execution time: 13_035_000 picoseconds. + Weight::from_parts(13_417_000, 0) .saturating_add(Weight::from_parts(0, 1651)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:0) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: // Measured: `267` // Estimated: `1752` - // Minimum execution time: 13_891_000 picoseconds. - Weight::from_parts(14_626_000, 0) + // Minimum execution time: 12_934_000 picoseconds. + Weight::from_parts(13_430_000, 0) .saturating_add(Weight::from_parts(0, 1752)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority AuthoritiesChangeToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority AuthoritiesChangeToSign (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority NextAuthorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority NextAuthorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority Nonce (r:1 w:1) - /// Proof Skipped: EcdsaAuthority Nonce (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:0 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:1) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::AuthoritiesChangeToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::AuthoritiesChangeToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::NextAuthorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::NextAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::Nonce` (r:1 w:1) + /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:0 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: // Measured: `251` // Estimated: `1736` - // Minimum execution time: 41_975_000 picoseconds. - Weight::from_parts(43_277_000, 0) + // Minimum execution time: 39_949_000 picoseconds. + Weight::from_parts(42_677_000, 0) .saturating_add(Weight::from_parts(0, 1736)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: EcdsaAuthority Authorities (r:1 w:0) - /// Proof Skipped: EcdsaAuthority Authorities (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: EcdsaAuthority MessageRootToSign (r:1 w:1) - /// Proof Skipped: EcdsaAuthority MessageRootToSign (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `EcdsaAuthority::Authorities` (r:1 w:0) + /// Proof: `EcdsaAuthority::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EcdsaAuthority::MessageRootToSign` (r:1 w:1) + /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_new_message_root_signature() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `1730` - // Minimum execution time: 31_688_000 picoseconds. - Weight::from_parts(32_750_000, 0) + // Minimum execution time: 30_653_000 picoseconds. + Weight::from_parts(32_244_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 53d0521ed..b264890ca 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,148 +56,163 @@ use core::marker::PhantomData; /// Weight functions for `darwinia_staking`. pub struct WeightInfo(PhantomData); impl darwinia_staking::WeightInfo for WeightInfo { - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// 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(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 { // Proof Size summary in bytes: - // Measured: `1781` + // Measured: `1807` // Estimated: `29615` - // Minimum execution time: 63_535_000 picoseconds. - Weight::from_parts(123_328_968, 0) + // Minimum execution time: 62_640_000 picoseconds. + Weight::from_parts(123_707_108, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_338 - .saturating_add(Weight::from_parts(9_153, 0).saturating_mul(x.into())) + // Standard Error: 1_374 + .saturating_add(Weight::from_parts(5_101, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1430` + // Measured: `1456` // Estimated: `29615` - // Minimum execution time: 11_189_000 picoseconds. - Weight::from_parts(53_944_593, 0) + // Minimum execution time: 11_097_000 picoseconds. + Weight::from_parts(51_477_805, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 934 - .saturating_add(Weight::from_parts(5_440, 0).saturating_mul(x.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(4_083, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking RingPool (r:1 w:1) - /// Proof: DarwiniaStaking RingPool (max_values: Some(1), max_size: Some(16), added: 511, 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:0) - /// Proof: Deposit Deposits (max_values: None, max_size: Some(26150), added: 28625, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::RingPool` (r:1 w:1) + /// Proof: `DarwiniaStaking::RingPool` (`max_values`: Some(1), `max_size`: Some(16), added: 511, 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:0) + /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1534` + // Measured: `1560` // Estimated: `29615` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(46_278_799, 0) + // Minimum execution time: 9_160_000 picoseconds. + Weight::from_parts(43_058_183, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 822 - .saturating_add(Weight::from_parts(3_889, 0).saturating_mul(x.into())) + // Standard Error: 772 + .saturating_add(Weight::from_parts(4_444, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:1) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// 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(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) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:1) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// 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(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: `2056` + // Measured: `2045` // Estimated: `29615` - // Minimum execution time: 92_699_000 picoseconds. - Weight::from_parts(96_981_000, 0) + // Minimum execution time: 87_613_000 picoseconds. + Weight::from_parts(92_129_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: DarwiniaStaking Collators (r:1 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `321` + // Measured: `310` // Estimated: `3497` - // Minimum execution time: 5_205_000 picoseconds. - Weight::from_parts(5_775_000, 0) + // Minimum execution time: 8_089_000 picoseconds. + Weight::from_parts(8_376_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Ledgers (r:1 w:0) - /// Proof: DarwiniaStaking Ledgers (max_values: None, max_size: Some(1833), added: 4308, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:1 w:0) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Nominators (r:1 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Ledgers` (r:1 w:0) + /// Proof: `DarwiniaStaking::Ledgers` (`max_values`: None, `max_size`: Some(1833), added: 4308, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:1 w:0) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Nominators` (r:1 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `489` + // Measured: `478` // Estimated: `5298` - // Minimum execution time: 9_405_000 picoseconds. - Weight::from_parts(9_864_000, 0) + // Minimum execution time: 9_157_000 picoseconds. + Weight::from_parts(9_445_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: DarwiniaStaking Nominators (r:0 w:1) - /// Proof: DarwiniaStaking Nominators (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: DarwiniaStaking Collators (r:0 w:1) - /// Proof: DarwiniaStaking Collators (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::Nominators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::Collators` (r:0 w:1) + /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_537_000 picoseconds. - Weight::from_parts(3_736_000, 0) + // Minimum execution time: 3_323_000 picoseconds. + Weight::from_parts(3_742_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) - /// Proof: DarwiniaStaking CollatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `DarwiniaStaking::ExposureCacheStates` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCacheStates` (`max_values`: Some(1), `max_size`: Some(3), added: 498, mode: `MaxEncodedLen`) + /// Storage: `DarwiniaStaking::ExposureCache2` (r:1 w:0) + /// Proof: `DarwiniaStaking::ExposureCache2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `DarwiniaStaking::PendingRewards` (r:1 w:1) + /// Proof: `DarwiniaStaking::PendingRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:32 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `1578` + // Estimated: `83902` + // Minimum execution time: 159_520_000 picoseconds. + Weight::from_parts(164_733_000, 0) + .saturating_add(Weight::from_parts(0, 83902)) + .saturating_add(T::DbWeight::get().reads(35)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `DarwiniaStaking::CollatorCount` (r:0 w:1) + /// Proof: `DarwiniaStaking::CollatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_collator_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_855_000 picoseconds. - Weight::from_parts(1_959_000, 0) + // Minimum execution time: 1_811_000 picoseconds. + Weight::from_parts(1_973_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - fn payout() -> Weight { - Default::default() - } } diff --git a/runtime/pangoro/src/weights/frame_system.rs b/runtime/pangoro/src/weights/frame_system.rs index 02ad7c659..98c1bc77f 100644 --- a/runtime/pangoro/src/weights/frame_system.rs +++ b/runtime/pangoro/src/weights/frame_system.rs @@ -19,10 +19,10 @@ //! Autogenerated weights for `frame_system` //! //! 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-11-16, 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 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain -// pangoro-local +// pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -50,9 +48,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 `frame_system`. pub struct WeightInfo(PhantomData); @@ -62,80 +61,99 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_556_000 picoseconds. - Weight::from_parts(1_720_000, 0) + // Minimum execution time: 1_251_000 picoseconds. + Weight::from_parts(1_322_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(224, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(194, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_353_000 picoseconds. - Weight::from_parts(5_469_000, 0) + // Minimum execution time: 4_795_000 picoseconds. + Weight::from_parts(4_934_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_002, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(912, 0).saturating_mul(b.into())) } - fn set_code() -> Weight { - Weight::from_parts(1_000_000, 0) - } - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) - /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_608_000 picoseconds. - Weight::from_parts(2_780_000, 0) + // Minimum execution time: 2_384_000 picoseconds. + Weight::from_parts(2_583_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 66_370_382_000 picoseconds. + Weight::from_parts(68_286_261_000, 0) + .saturating_add(Weight::from_parts(0, 1649)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_439_000 picoseconds. - Weight::from_parts(4_547_000, 0) + // Minimum execution time: 1_342_000 picoseconds. + Weight::from_parts(1_418_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_133 - .saturating_add(Weight::from_parts(548_998, 0).saturating_mul(i.into())) + // Standard Error: 1_080 + .saturating_add(Weight::from_parts(517_143, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_543_000 picoseconds. - Weight::from_parts(1_599_000, 0) + // Minimum execution time: 1_323_000 picoseconds. + Weight::from_parts(1_379_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 549 - .saturating_add(Weight::from_parts(381_309, 0).saturating_mul(i.into())) + // Standard Error: 454 + .saturating_add(Weight::from_parts(360_915, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `110 + p * (69 ±0)` + // Measured: `106 + p * (69 ±0)` // Estimated: `99 + p * (70 ±0)` - // Minimum execution time: 2_796_000 picoseconds. - Weight::from_parts(2_897_000, 0) + // Minimum execution time: 2_576_000 picoseconds. + Weight::from_parts(2_610_000, 0) .saturating_add(Weight::from_parts(0, 99)) - // Standard Error: 718 - .saturating_add(Weight::from_parts(722_790, 0).saturating_mul(p.into())) + // Standard Error: 735 + .saturating_add(Weight::from_parts(694_206, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/pangoro/src/weights/pallet_assets.rs b/runtime/pangoro/src/weights/pallet_assets.rs index 4a0a13101..912d5393f 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,474 +56,470 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); 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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_568_000 picoseconds. - Weight::from_parts(9_011_000, 0) + // Minimum execution time: 8_132_000 picoseconds. + Weight::from_parts(8_437_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 8_200_000 picoseconds. - Weight::from_parts(8_741_000, 0) + // Minimum execution time: 7_862_000 picoseconds. + Weight::from_parts(8_232_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_481_000 picoseconds. - Weight::from_parts(8_731_000, 0) + // Minimum execution time: 7_939_000 picoseconds. + Weight::from_parts(8_445_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 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(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) + /// 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(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: `3631 + c * (2591 ±0)` - // Minimum execution time: 11_218_000 picoseconds. - Weight::from_parts(11_642_000, 0) + // Minimum execution time: 10_738_000 picoseconds. + Weight::from_parts(10_958_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())) + // Standard Error: 4_659 + .saturating_add(Weight::from_parts(9_179_427, 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, 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) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 11_026_000 picoseconds. - Weight::from_parts(11_413_000, 0) + // Minimum execution time: 10_724_000 picoseconds. + Weight::from_parts(10_980_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())) + // Standard Error: 1_930 + .saturating_add(Weight::from_parts(2_957_374, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 9_766_000 picoseconds. - Weight::from_parts(10_296_000, 0) + // Minimum execution time: 9_284_000 picoseconds. + Weight::from_parts(9_821_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 17_156_000 picoseconds. - Weight::from_parts(17_888_000, 0) + // Minimum execution time: 16_663_000 picoseconds. + Weight::from_parts(17_320_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(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`) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 21_559_000 picoseconds. - Weight::from_parts(22_239_000, 0) + // Minimum execution time: 20_772_000 picoseconds. + Weight::from_parts(21_762_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_661_000 picoseconds. - Weight::from_parts(31_314_000, 0) + // Minimum execution time: 29_350_000 picoseconds. + Weight::from_parts(29_931_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(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) + /// 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(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: `6168` - // Minimum execution time: 26_791_000 picoseconds. - Weight::from_parts(27_443_000, 0) + // Minimum execution time: 25_634_000 picoseconds. + Weight::from_parts(26_235_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(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) + /// 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(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: `6168` - // Minimum execution time: 30_522_000 picoseconds. - Weight::from_parts(31_059_000, 0) + // Minimum execution time: 29_502_000 picoseconds. + Weight::from_parts(30_319_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 10_896_000 picoseconds. - Weight::from_parts(11_325_000, 0) + // Minimum execution time: 10_436_000 picoseconds. + Weight::from_parts(10_754_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(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 11_188_000 picoseconds. - Weight::from_parts(11_604_000, 0) + // Minimum execution time: 10_351_000 picoseconds. + Weight::from_parts(10_739_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_280_000 picoseconds. - Weight::from_parts(8_607_000, 0) + // Minimum execution time: 7_759_000 picoseconds. + Weight::from_parts(8_103_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_246_000 picoseconds. - Weight::from_parts(8_611_000, 0) + // Minimum execution time: 7_929_000 picoseconds. + Weight::from_parts(8_351_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 9_932_000 picoseconds. - Weight::from_parts(10_571_000, 0) + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(10_332_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_335_000 picoseconds. - Weight::from_parts(8_772_000, 0) + // Minimum execution time: 8_386_000 picoseconds. + Weight::from_parts(8_866_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 Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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: `3631` - // Minimum execution time: 10_181_000 picoseconds. - Weight::from_parts(10_795_469, 0) + // Minimum execution time: 9_576_000 picoseconds. + Weight::from_parts(10_643_418, 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)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_495_000 picoseconds. - Weight::from_parts(11_035_000, 0) + // Minimum execution time: 10_111_000 picoseconds. + Weight::from_parts(10_755_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 Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// 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 { // Proof Size summary in bytes: // Measured: `200` // Estimated: `3631` - // Minimum execution time: 9_320_000 picoseconds. - Weight::from_parts(10_150_743, 0) + // Minimum execution time: 9_201_000 picoseconds. + Weight::from_parts(9_736_086, 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())) + // Standard Error: 532 + .saturating_add(Weight::from_parts(2_126, 0).saturating_mul(n.into())) + // Standard Error: 532 + .saturating_add(Weight::from_parts(2_616, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 10_393_000 picoseconds. - Weight::from_parts(10_812_000, 0) + // Minimum execution time: 10_022_000 picoseconds. + Weight::from_parts(10_249_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_529_000 picoseconds. - Weight::from_parts(8_855_000, 0) + // Minimum execution time: 8_127_000 picoseconds. + Weight::from_parts(8_492_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 Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_570_000 picoseconds. - Weight::from_parts(13_018_000, 0) + // Minimum execution time: 11_956_000 picoseconds. + Weight::from_parts(12_365_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 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(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) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// 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(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: `6168` - // Minimum execution time: 35_754_000 picoseconds. - Weight::from_parts(37_083_000, 0) + // Minimum execution time: 34_067_000 picoseconds. + Weight::from_parts(35_066_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 13_725_000 picoseconds. - Weight::from_parts(14_414_000, 0) + // Minimum execution time: 13_177_000 picoseconds. + Weight::from_parts(13_702_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 Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 13_900_000 picoseconds. - Weight::from_parts(14_266_000, 0) + // Minimum execution time: 13_241_000 picoseconds. + Weight::from_parts(13_778_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::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(166), added: 2641, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 8_841_000 picoseconds. - Weight::from_parts(9_401_000, 0) + // Minimum execution time: 8_662_000 picoseconds. + Weight::from_parts(8_968_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 23_890_000 picoseconds. - Weight::from_parts(24_541_000, 0) + // Minimum execution time: 23_364_000 picoseconds. + Weight::from_parts(24_092_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 22_592_000 picoseconds. - Weight::from_parts(23_383_000, 0) + // Minimum execution time: 21_496_000 picoseconds. + Weight::from_parts(22_126_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(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) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 22_268_000 picoseconds. - Weight::from_parts(22_994_000, 0) + // Minimum execution time: 21_750_000 picoseconds. + Weight::from_parts(22_322_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(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) + /// Storage: `Assets::Account` (r:1 w:1) + /// 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 refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 20_878_000 picoseconds. - Weight::from_parts(22_089_000, 0) + // Minimum execution time: 20_163_000 picoseconds. + Weight::from_parts(20_820_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(166), added: 2641, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// 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(114), added: 2589, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 11_192_000 picoseconds. - Weight::from_parts(11_650_000, 0) + // Minimum execution time: 10_534_000 picoseconds. + Weight::from_parts(10_793_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 bbe0ec4f1..8028dc763 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,102 +56,102 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 37_241_000 picoseconds. - Weight::from_parts(37_980_000, 0) + // Minimum execution time: 35_766_000 picoseconds. + Weight::from_parts(36_724_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 31_215_000 picoseconds. - Weight::from_parts(32_112_000, 0) + // Minimum execution time: 29_958_000 picoseconds. + Weight::from_parts(31_165_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 11_519_000 picoseconds. - Weight::from_parts(12_134_000, 0) + // Minimum execution time: 11_113_000 picoseconds. + Weight::from_parts(11_583_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 16_997_000 picoseconds. - Weight::from_parts(17_550_000, 0) + // Minimum execution time: 16_501_000 picoseconds. + Weight::from_parts(17_138_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 38_965_000 picoseconds. - Weight::from_parts(39_952_000, 0) + // Minimum execution time: 37_585_000 picoseconds. + Weight::from_parts(38_724_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 39_037_000 picoseconds. - Weight::from_parts(39_640_000, 0) + // Minimum execution time: 37_447_000 picoseconds. + Weight::from_parts(37_995_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 13_923_000 picoseconds. - Weight::from_parts(14_303_000, 0) + // Minimum execution time: 13_368_000 picoseconds. + Weight::from_parts(13_741_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// 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) + // Minimum execution time: 12_408_000 picoseconds. + Weight::from_parts(12_796_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())) + // Standard Error: 7_433 + .saturating_add(Weight::from_parts(10_230_144, 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 04d31dd05..6f92cafcf 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,33 +56,33 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_grandpa`. pub struct WeightInfo(PhantomData); impl pallet_bridge_grandpa::WeightInfo for WeightInfo { - /// Storage: BridgeRococoGrandpa PalletOperatingMode (r:1 w:0) - /// Proof: BridgeRococoGrandpa PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa RequestCount (r:1 w:1) - /// Proof: BridgeRococoGrandpa RequestCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa BestFinalized (r:1 w:1) - /// Proof: BridgeRococoGrandpa BestFinalized (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:2) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa CurrentAuthoritySet (r:1 w:0) - /// Proof: BridgeRococoGrandpa CurrentAuthoritySet (max_values: Some(1), max_size: Some(163850), added: 164345, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHashesPointer (r:1 w:1) - /// Proof: BridgeRococoGrandpa ImportedHashesPointer (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHashes (r:1 w:1) - /// Proof: BridgeRococoGrandpa ImportedHashes (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) + /// Storage: `BridgeRococoGrandpa::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::RequestCount` (r:1 w:1) + /// Proof: `BridgeRococoGrandpa::RequestCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::BestFinalized` (r:1 w:1) + /// Proof: `BridgeRococoGrandpa::BestFinalized` (`max_values`: Some(1), `max_size`: Some(36), added: 531, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:2) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::CurrentAuthoritySet` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::CurrentAuthoritySet` (`max_values`: Some(1), `max_size`: Some(163850), added: 164345, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHashesPointer` (r:1 w:1) + /// Proof: `BridgeRococoGrandpa::ImportedHashesPointer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHashes` (r:1 w:1) + /// Proof: `BridgeRococoGrandpa::ImportedHashes` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// The range of component `p` is `[51, 102]`. /// The range of component `v` is `[50, 100]`. fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2510 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_616_723_000 picoseconds. - Weight::from_parts(227_793_897, 0) + // Minimum execution time: 1_511_790_000 picoseconds. + Weight::from_parts(38_659_162, 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())) + // Standard Error: 41_780 + .saturating_add(Weight::from_parts(27_291_501, 0).saturating_mul(p.into())) + // Standard Error: 42_771 + .saturating_add(Weight::from_parts(1_463_860, 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 7b7d2cf8e..42d635d17 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,212 +56,212 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_messages`. pub struct WeightInfo(PhantomData); impl pallet_bridge_messages::WeightInfo for WeightInfo { - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangolinMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangolinMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangolinMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangolinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_minimal_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 57_565_000 picoseconds. - Weight::from_parts(58_590_000, 0) + // Minimum execution time: 55_932_000 picoseconds. + Weight::from_parts(57_105_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangolinMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangolinMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangolinMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangolinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_1_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 57_782_000 picoseconds. - Weight::from_parts(59_090_000, 0) + // Minimum execution time: 56_167_000 picoseconds. + Weight::from_parts(57_109_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket AssignedRelayers (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: BridgePangolinMessages OutboundMessages (r:0 w:9) - /// Proof: BridgePangolinMessages OutboundMessages (max_values: None, max_size: Some(2621484), added: 2623959, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `BridgePangolinMessages::OutboundMessages` (r:0 w:9) + /// Proof: `BridgePangolinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(2621484), added: 2623959, mode: `MaxEncodedLen`) fn send_16_kb_message_worst_case() -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 62_806_000 picoseconds. - Weight::from_parts(64_220_000, 0) + // Minimum execution time: 61_162_000 picoseconds. + Weight::from_parts(62_820_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: // Measured: `546` // Estimated: `69033` - // Minimum execution time: 28_448_000 picoseconds. - Weight::from_parts(28_908_000, 0) + // Minimum execution time: 27_130_000 picoseconds. + Weight::from_parts(28_288_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::InboundLanes` (`max_values`: None, `max_size`: Some(5660), added: 8135, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: // Measured: `546` // Estimated: `69033` - // Minimum execution time: 39_769_000 picoseconds. - Weight::from_parts(41_698_000, 0) + // Minimum execution time: 38_461_000 picoseconds. + Weight::from_parts(39_891_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::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: `546` // Estimated: `69033` - // Minimum execution time: 32_788_000 picoseconds. - Weight::from_parts(33_793_000, 0) + // Minimum execution time: 31_405_000 picoseconds. + Weight::from_parts(32_306_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::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: `546` // Estimated: `69033` - // Minimum execution time: 34_078_000 picoseconds. - Weight::from_parts(35_869_000, 0) + // Minimum execution time: 32_453_000 picoseconds. + Weight::from_parts(33_706_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::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: `546` // Estimated: `69033` - // Minimum execution time: 68_814_000 picoseconds. - Weight::from_parts(71_856_000, 0) + // Minimum execution time: 69_641_000 picoseconds. + Weight::from_parts(72_090_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages InboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages InboundLanes (max_values: None, max_size: Some(5660), added: 8135, mode: MaxEncodedLen) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::InboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::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: `546` // Estimated: `69033` - // Minimum execution time: 28_822_000 picoseconds. - Weight::from_parts(29_480_000, 0) + // Minimum execution time: 27_758_000 picoseconds. + Weight::from_parts(29_104_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket Orders (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) fn receive_delivery_proof_for_single_message() -> Weight { // Proof Size summary in bytes: // Measured: `597` // Estimated: `69033` - // Minimum execution time: 23_334_000 picoseconds. - Weight::from_parts(23_917_000, 0) + // Minimum execution time: 22_392_000 picoseconds. + Weight::from_parts(23_305_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket Orders (r:2 w:0) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::Orders` (r:2 w:0) + /// Proof: `PangolinFeeMarket::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: `597` // Estimated: `69033` - // Minimum execution time: 25_607_000 picoseconds. - Weight::from_parts(54_859_000, 0) + // Minimum execution time: 24_101_000 picoseconds. + Weight::from_parts(24_767_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: BridgePangolinMessages PalletOperatingMode (r:1 w:0) - /// Proof: BridgePangolinMessages PalletOperatingMode (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgePangolinMessages OutboundLanes (r:1 w:1) - /// Proof: BridgePangolinMessages OutboundLanes (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket Orders (r:2 w:0) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) + /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgePangolinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgePangolinMessages::OutboundLanes` (r:1 w:1) + /// Proof: `BridgePangolinMessages::OutboundLanes` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::Orders` (r:2 w:0) + /// Proof: `PangolinFeeMarket::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: `597` // Estimated: `69033` - // Minimum execution time: 27_216_000 picoseconds. - Weight::from_parts(56_077_000, 0) + // Minimum execution time: 24_610_000 picoseconds. + Weight::from_parts(25_762_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 69fb94f9a..53b74a42c 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,67 +56,67 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_parachains`. pub struct WeightInfo(PhantomData); impl pallet_bridge_parachains::WeightInfo for WeightInfo { - /// Storage: BridgeRococoParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeRococoParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ParasInfo (r:1023 w:1023) - /// Proof: BridgeRococoParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHashes (r:1023 w:1023) - /// Proof: BridgeRococoParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHeads (r:0 w:1023) - /// Proof: BridgeRococoParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeRococoParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeRococoParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ParasInfo` (r:1023 w:1023) + /// Proof: `BridgeRococoParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHashes` (r:1023 w:1023) + /// Proof: `BridgeRococoParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHeads` (r:0 w:1023) + /// Proof: `BridgeRococoParachain::ImportedParaHeads` (`max_values`: None, `max_size`: Some(1092), added: 3567, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 23_448_000 picoseconds. - Weight::from_parts(23_603_000, 0) + // Minimum execution time: 22_255_000 picoseconds. + Weight::from_parts(22_590_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())) + // Standard Error: 20_841 + .saturating_add(Weight::from_parts(17_232_471, 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, 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) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ParasInfo (r:1 w:1) - /// Proof: BridgeRococoParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeRococoParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeRococoParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeRococoParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeRococoParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeRococoParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeRococoParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgeRococoParachain::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: `451` // Estimated: `69033` - // Minimum execution time: 28_434_000 picoseconds. - Weight::from_parts(29_523_000, 0) + // Minimum execution time: 27_231_000 picoseconds. + Weight::from_parts(28_568_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: BridgeRococoParachain PalletOperatingMode (r:1 w:0) - /// Proof: BridgeRococoParachain PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: BridgeRococoGrandpa ImportedHeaders (r:1 w:0) - /// Proof: BridgeRococoGrandpa ImportedHeaders (max_values: None, max_size: Some(65568), added: 68043, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ParasInfo (r:1 w:1) - /// Proof: BridgeRococoParachain ParasInfo (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHashes (r:1 w:1) - /// Proof: BridgeRococoParachain ImportedParaHashes (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) - /// Storage: BridgeRococoParachain ImportedParaHeads (r:0 w:1) - /// Proof: BridgeRococoParachain ImportedParaHeads (max_values: None, max_size: Some(1092), added: 3567, mode: MaxEncodedLen) + /// Storage: `BridgeRococoParachain::PalletOperatingMode` (r:1 w:0) + /// Proof: `BridgeRococoParachain::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoGrandpa::ImportedHeaders` (r:1 w:0) + /// Proof: `BridgeRococoGrandpa::ImportedHeaders` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ParasInfo` (r:1 w:1) + /// Proof: `BridgeRococoParachain::ParasInfo` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHashes` (r:1 w:1) + /// Proof: `BridgeRococoParachain::ImportedParaHashes` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `BridgeRococoParachain::ImportedParaHeads` (r:0 w:1) + /// Proof: `BridgeRococoParachain::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: `451` // Estimated: `69033` - // Minimum execution time: 60_699_000 picoseconds. - Weight::from_parts(62_651_000, 0) + // Minimum execution time: 59_197_000 picoseconds. + Weight::from_parts(61_251_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 d4d135ed9..71aa25053 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -76,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` // Estimated: `12163 + m * (1231 ±11) + p * (3660 ±11)` - // Minimum execution time: 9_673_000 picoseconds. - Weight::from_parts(9_896_000, 0) + // Minimum execution time: 9_323_000 picoseconds. + Weight::from_parts(9_769_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())) + // Standard Error: 19_414 + .saturating_add(Weight::from_parts(2_079_704, 0).saturating_mul(m.into())) + // Standard Error: 19_414 + .saturating_add(Weight::from_parts(4_096_826, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `1517 + m * (20 ±0)` - // Minimum execution time: 9_976_000 picoseconds. - Weight::from_parts(9_917_991, 0) + // Minimum execution time: 9_597_000 picoseconds. + Weight::from_parts(9_494_863, 0) .saturating_add(Weight::from_parts(0, 1517)) - // 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())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(981, 0).saturating_mul(b.into())) + // Standard Error: 237 + .saturating_add(Weight::from_parts(7_745, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (20 ±0)` // Estimated: `3497 + m * (20 ±0)` - // Minimum execution time: 11_775_000 picoseconds. - Weight::from_parts(11_989_692, 0) + // Minimum execution time: 11_523_000 picoseconds. + Weight::from_parts(11_592_241, 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())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(792, 0).saturating_mul(b.into())) + // Standard Error: 272 + .saturating_add(Weight::from_parts(8_711, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `320 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 16_122_000 picoseconds. - Weight::from_parts(16_389_097, 0) + // Minimum execution time: 15_748_000 picoseconds. + Weight::from_parts(15_208_323, 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(Weight::from_parts(2_064, 0).saturating_mul(b.into())) + // Standard Error: 856 + .saturating_add(Weight::from_parts(12_788, 0).saturating_mul(m.into())) + // Standard Error: 845 + .saturating_add(Weight::from_parts(152_259, 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, 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) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `795 + m * (40 ±0)` // Estimated: `4259 + m * (40 ±0)` - // Minimum execution time: 15_972_000 picoseconds. - Weight::from_parts(18_414_072, 0) + // Minimum execution time: 15_588_000 picoseconds. + Weight::from_parts(17_673_546, 0) .saturating_add(Weight::from_parts(0, 4259)) - // Standard Error: 791 - .saturating_add(Weight::from_parts(13_420, 0).saturating_mul(m.into())) + // Standard Error: 753 + .saturating_add(Weight::from_parts(17_717, 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, 40).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `372 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 17_903_000 picoseconds. - Weight::from_parts(18_505_881, 0) + // Minimum execution time: 17_644_000 picoseconds. + Weight::from_parts(18_472_386, 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())) + // Standard Error: 719 + .saturating_add(Weight::from_parts(11_072, 0).saturating_mul(m.into())) + // Standard Error: 701 + .saturating_add(Weight::from_parts(142_099, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `674 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 24_905_000 picoseconds. + Weight::from_parts(25_280_408, 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())) + // Standard Error: 78 + .saturating_add(Weight::from_parts(1_958, 0).saturating_mul(b.into())) + // Standard Error: 826 + .saturating_add(Weight::from_parts(12_707, 0).saturating_mul(m.into())) + // Standard Error: 805 + .saturating_add(Weight::from_parts(170_841, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `392 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 20_028_000 picoseconds. - Weight::from_parts(21_357_274, 0) + // Minimum execution time: 18_930_000 picoseconds. + Weight::from_parts(20_335_514, 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())) + // Standard Error: 727 + .saturating_add(Weight::from_parts(14_200, 0).saturating_mul(m.into())) + // Standard Error: 709 + .saturating_add(Weight::from_parts(142_503, 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, 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) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `694 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_768_000 picoseconds. + Weight::from_parts(27_921_135, 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())) + // Standard Error: 99 + .saturating_add(Weight::from_parts(2_132, 0).saturating_mul(b.into())) + // Standard Error: 1_056 + .saturating_add(Weight::from_parts(685, 0).saturating_mul(m.into())) + // Standard Error: 1_029 + .saturating_add(Weight::from_parts(183_564, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `189 + p * (32 ±0)` // Estimated: `1674 + p * (32 ±0)` - // Minimum execution time: 10_071_000 picoseconds. - Weight::from_parts(11_403_523, 0) + // Minimum execution time: 9_858_000 picoseconds. + Weight::from_parts(10_729_868, 0) .saturating_add(Weight::from_parts(0, 1674)) - // Standard Error: 788 - .saturating_add(Weight::from_parts(133_811, 0).saturating_mul(p.into())) + // Standard Error: 609 + .saturating_add(Weight::from_parts(134_133, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs b/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs index 958990d31..a3cc27309 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: TechnicalCommittee Members (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:100 w:100) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -76,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 10_291_000 picoseconds. - Weight::from_parts(10_652_000, 0) + // Minimum execution time: 10_158_000 picoseconds. + Weight::from_parts(10_386_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())) + // Standard Error: 19_283 + .saturating_add(Weight::from_parts(2_089_331, 0).saturating_mul(m.into())) + // Standard Error: 19_283 + .saturating_add(Weight::from_parts(4_082_612, 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)) @@ -90,8 +88,8 @@ impl pallet_collective::WeightInfo for WeightInfo { .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) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -100,20 +98,20 @@ 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_340_000 picoseconds. - Weight::from_parts(10_298_703, 0) + // Minimum execution time: 9_867_000 picoseconds. + Weight::from_parts(9_861_070, 0) .saturating_add(Weight::from_parts(0, 1588)) - // 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())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(837, 0).saturating_mul(b.into())) + // Standard Error: 160 + .saturating_add(Weight::from_parts(6_198, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:0) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. /// The range of component `b` is `[2, 1024]`. @@ -122,26 +120,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (20 ±0)` // Estimated: `3568 + m * (20 ±0)` - // Minimum execution time: 12_281_000 picoseconds. - Weight::from_parts(12_737_889, 0) + // Minimum execution time: 11_458_000 picoseconds. + Weight::from_parts(11_559_665, 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())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(873, 0).saturating_mul(b.into())) + // Standard Error: 217 + .saturating_add(Weight::from_parts(10_432, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .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) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalCount (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -152,47 +150,47 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 16_306_000 picoseconds. - Weight::from_parts(17_103_945, 0) + // Minimum execution time: 15_898_000 picoseconds. + Weight::from_parts(15_735_896, 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())) + // Standard Error: 76 + .saturating_add(Weight::from_parts(2_114, 0).saturating_mul(b.into())) + // Standard Error: 799 + .saturating_add(Weight::from_parts(10_433, 0).saturating_mul(m.into())) + // Standard Error: 789 + .saturating_add(Weight::from_parts(152_834, 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, 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) - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `866 + m * (40 ±0)` // Estimated: `4330 + m * (40 ±0)` - // Minimum execution time: 16_442_000 picoseconds. - Weight::from_parts(18_723_308, 0) + // Minimum execution time: 15_977_000 picoseconds. + Weight::from_parts(18_172_248, 0) .saturating_add(Weight::from_parts(0, 4330)) - // Standard Error: 780 - .saturating_add(Weight::from_parts(16_694, 0).saturating_mul(m.into())) + // Standard Error: 706 + .saturating_add(Weight::from_parts(14_471, 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, 40).saturating_mul(m.into())) } - /// Storage: TechnicalCommittee Voting (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -201,26 +199,26 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 18_377_000 picoseconds. - Weight::from_parts(19_216_954, 0) + // Minimum execution time: 17_619_000 picoseconds. + Weight::from_parts(18_772_330, 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())) + // Standard Error: 687 + .saturating_add(Weight::from_parts(12_380, 0).saturating_mul(m.into())) + // Standard Error: 669 + .saturating_add(Weight::from_parts(142_674, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -231,31 +229,31 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `745 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 25_002_000 picoseconds. + Weight::from_parts(26_130_908, 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())) + // Standard Error: 92 + .saturating_add(Weight::from_parts(2_224, 0).saturating_mul(b.into())) + // Standard Error: 980 + .saturating_add(Weight::from_parts(3_862, 0).saturating_mul(m.into())) + // Standard Error: 955 + .saturating_add(Weight::from_parts(181_660, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. /// The range of component `m` is `[4, 100]`. @@ -264,28 +262,28 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 20_098_000 picoseconds. - Weight::from_parts(21_337_727, 0) + // Minimum execution time: 19_701_000 picoseconds. + Weight::from_parts(20_716_310, 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())) + // Standard Error: 689 + .saturating_add(Weight::from_parts(12_709, 0).saturating_mul(m.into())) + // Standard Error: 672 + .saturating_add(Weight::from_parts(144_678, 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, 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) - /// Storage: TechnicalCommittee Members (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:1 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Proposals (r:1 w:1) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -296,38 +294,38 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `765 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` // 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) + // Minimum execution time: 26_841_000 picoseconds. + Weight::from_parts(28_391_165, 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())) + // Standard Error: 96 + .saturating_add(Weight::from_parts(2_163, 0).saturating_mul(b.into())) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(2_855, 0).saturating_mul(m.into())) + // Standard Error: 996 + .saturating_add(Weight::from_parts(180_946, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .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) - /// Storage: TechnicalCommittee Voting (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) - /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 10_271_000 picoseconds. - Weight::from_parts(11_886_094, 0) + // Minimum execution time: 10_256_000 picoseconds. + Weight::from_parts(11_251_484, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 785 - .saturating_add(Weight::from_parts(134_815, 0).saturating_mul(p.into())) + // Standard Error: 621 + .saturating_add(Weight::from_parts(133_275, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/pangoro/src/weights/pallet_democracy.rs b/runtime/pangoro/src/weights/pallet_democracy.rs index 8acd1370d..2a89a1dad 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,477 +56,477 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `3810` // Estimated: `16987` - // Minimum execution time: 32_603_000 picoseconds. - Weight::from_parts(36_343_000, 0) + // Minimum execution time: 31_774_000 picoseconds. + Weight::from_parts(34_534_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `2559` // Estimated: `5495` - // Minimum execution time: 27_445_000 picoseconds. - Weight::from_parts(29_437_000, 0) + // Minimum execution time: 26_221_000 picoseconds. + Weight::from_parts(29_157_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3406` // Estimated: `7248` - // Minimum execution time: 39_079_000 picoseconds. - Weight::from_parts(43_713_000, 0) + // Minimum execution time: 37_842_000 picoseconds. + Weight::from_parts(41_432_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// 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: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// 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`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3428` // Estimated: `7248` - // Minimum execution time: 42_495_000 picoseconds. - Weight::from_parts(45_257_000, 0) + // Minimum execution time: 40_731_000 picoseconds. + Weight::from_parts(45_358_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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 17_875_000 picoseconds. - Weight::from_parts(18_198_000, 0) + // Minimum execution time: 16_863_000 picoseconds. + Weight::from_parts(17_472_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `4920` // Estimated: `16987` - // Minimum execution time: 78_341_000 picoseconds. - Weight::from_parts(82_300_000, 0) + // Minimum execution time: 76_356_000 picoseconds. + Weight::from_parts(79_265_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `2161` // Estimated: `5503` - // Minimum execution time: 8_397_000 picoseconds. - Weight::from_parts(8_769_000, 0) + // Minimum execution time: 8_233_000 picoseconds. + Weight::from_parts(8_476_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_100_000 picoseconds. - Weight::from_parts(2_243_000, 0) + // Minimum execution time: 1_964_000 picoseconds. + Weight::from_parts(2_108_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_016_000 picoseconds. - Weight::from_parts(2_167_000, 0) + // Minimum execution time: 2_018_000 picoseconds. + Weight::from_parts(2_154_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 18_519_000 picoseconds. - Weight::from_parts(19_185_000, 0) + // Minimum execution time: 17_744_000 picoseconds. + Weight::from_parts(18_634_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(2038), added: 4513, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(2038), added: 4513, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `2264` // Estimated: `5503` - // Minimum execution time: 19_896_000 picoseconds. - Weight::from_parts(20_184_000, 0) + // Minimum execution time: 19_086_000 picoseconds. + Weight::from_parts(19_690_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(2030), added: 4505, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(2030), added: 4505, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `4852` // Estimated: `16987` - // Minimum execution time: 62_709_000 picoseconds. - Weight::from_parts(65_971_000, 0) + // Minimum execution time: 61_371_000 picoseconds. + Weight::from_parts(66_199_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 13_286_000 picoseconds. - Weight::from_parts(13_792_000, 0) + // Minimum execution time: 12_852_000 picoseconds. + Weight::from_parts(13_173_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(6_860_494, 0) + // Minimum execution time: 4_575_000 picoseconds. + Weight::from_parts(5_575_571, 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())) + // Standard Error: 4_406 + .saturating_add(Weight::from_parts(2_000_675, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` - // Minimum execution time: 7_187_000 picoseconds. - Weight::from_parts(8_849_962, 0) + // Minimum execution time: 6_821_000 picoseconds. + Weight::from_parts(8_016_256, 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())) + // Standard Error: 3_748 + .saturating_add(Weight::from_parts(2_009_304, 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)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// 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) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// 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: `19764 + r * (2676 ±0)` - // Minimum execution time: 28_230_000 picoseconds. - Weight::from_parts(32_967_942, 0) + // Minimum execution time: 27_707_000 picoseconds. + Weight::from_parts(31_349_004, 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())) + // Standard Error: 5_609 + .saturating_add(Weight::from_parts(2_601_654, 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()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `388 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` - // Minimum execution time: 13_096_000 picoseconds. - Weight::from_parts(14_348_099, 0) + // Minimum execution time: 12_695_000 picoseconds. + Weight::from_parts(14_206_605, 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())) + // Standard Error: 4_510 + .saturating_add(Weight::from_parts(2_531_287, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_059_000 picoseconds. - Weight::from_parts(2_185_000, 0) + // Minimum execution time: 2_013_000 picoseconds. + Weight::from_parts(2_113_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// 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) + /// 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_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `7248` - // Minimum execution time: 16_321_000 picoseconds. - Weight::from_parts(26_615_010, 0) + // Minimum execution time: 16_071_000 picoseconds. + Weight::from_parts(25_666_546, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_838 - .saturating_add(Weight::from_parts(95_493, 0).saturating_mul(r.into())) + // Standard Error: 2_834 + .saturating_add(Weight::from_parts(94_923, 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) + /// 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: `7248` - // Minimum execution time: 23_391_000 picoseconds. - Weight::from_parts(26_183_979, 0) + // Minimum execution time: 22_275_000 picoseconds. + Weight::from_parts(24_412_546, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 4_193 - .saturating_add(Weight::from_parts(91_790, 0).saturating_mul(r.into())) + // Standard Error: 1_889 + .saturating_add(Weight::from_parts(100_702, 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) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 10_020_000 picoseconds. - Weight::from_parts(12_080_053, 0) + // Minimum execution time: 9_459_000 picoseconds. + Weight::from_parts(11_605_578, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_392 - .saturating_add(Weight::from_parts(83_649, 0).saturating_mul(r.into())) + // Standard Error: 1_234 + .saturating_add(Weight::from_parts(80_060, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3783), added: 6258, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3783), added: 6258, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 10_072_000 picoseconds. - Weight::from_parts(12_568_778, 0) + // Minimum execution time: 9_519_000 picoseconds. + Weight::from_parts(11_583_434, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_259 - .saturating_add(Weight::from_parts(77_765, 0).saturating_mul(r.into())) + // Standard Error: 1_198 + .saturating_add(Weight::from_parts(84_172, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `327` // Estimated: `3544` - // Minimum execution time: 12_774_000 picoseconds. - Weight::from_parts(13_373_000, 0) + // Minimum execution time: 12_235_000 picoseconds. + Weight::from_parts(12_905_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 11_073_000 picoseconds. - Weight::from_parts(11_399_000, 0) + // Minimum execution time: 10_629_000 picoseconds. + Weight::from_parts(11_081_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3659` // Estimated: `16987` - // Minimum execution time: 29_385_000 picoseconds. - Weight::from_parts(30_841_000, 0) + // Minimum execution time: 26_517_000 picoseconds. + Weight::from_parts(29_952_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(15502), added: 15997, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(15502), added: 15997, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `3555` // Estimated: `16987` - // Minimum execution time: 25_560_000 picoseconds. - Weight::from_parts(27_834_000, 0) + // Minimum execution time: 24_679_000 picoseconds. + Weight::from_parts(26_400_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 10_389_000 picoseconds. - Weight::from_parts(11_181_000, 0) + // Minimum execution time: 9_761_000 picoseconds. + Weight::from_parts(10_163_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 12_437_000 picoseconds. - Weight::from_parts(12_940_000, 0) + // Minimum execution time: 12_129_000 picoseconds. + Weight::from_parts(12_657_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 6715f7c3c..2069234ca 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,170 +56,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 22_400_000 picoseconds. - Weight::from_parts(23_527_420, 0) + // Minimum execution time: 21_949_000 picoseconds. + Weight::from_parts(22_693_169, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 4_611 - .saturating_add(Weight::from_parts(141_405, 0).saturating_mul(v.into())) + // Standard Error: 3_977 + .saturating_add(Weight::from_parts(128_157, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 32_240_000 picoseconds. - Weight::from_parts(33_110_565, 0) + // Minimum execution time: 31_050_000 picoseconds. + Weight::from_parts(32_102_843, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 7_232 - .saturating_add(Weight::from_parts(164_191, 0).saturating_mul(v.into())) + // Standard Error: 6_943 + .saturating_add(Weight::from_parts(150_062, 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, 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) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752 + v * (56 ±0)` - // Minimum execution time: 32_088_000 picoseconds. - Weight::from_parts(33_585_573, 0) + // Minimum execution time: 30_925_000 picoseconds. + Weight::from_parts(32_277_098, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 6_834 - .saturating_add(Weight::from_parts(112_078, 0).saturating_mul(v.into())) + // Standard Error: 6_203 + .saturating_add(Weight::from_parts(121_573, 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, 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) + /// Storage: `PhragmenElection::Voting` (r:1 w:1) + /// Proof: `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: `4752` - // Minimum execution time: 34_137_000 picoseconds. - Weight::from_parts(35_874_000, 0) + // Minimum execution time: 33_946_000 picoseconds. + Weight::from_parts(36_134_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) - /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1116 + c * (36 ±0)` // Estimated: `2592 + c * (37 ±0)` - // Minimum execution time: 25_562_000 picoseconds. - Weight::from_parts(27_577_748, 0) + // Minimum execution time: 24_553_000 picoseconds. + Weight::from_parts(26_083_105, 0) .saturating_add(Weight::from_parts(0, 2592)) - // Standard Error: 4_838 - .saturating_add(Weight::from_parts(64_063, 0).saturating_mul(c.into())) + // Standard Error: 4_797 + .saturating_add(Weight::from_parts(97_555, 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, 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) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `375 + c * (38 ±0)` // Estimated: `1857 + c * (39 ±0)` - // Minimum execution time: 23_143_000 picoseconds. - Weight::from_parts(25_223_578, 0) + // Minimum execution time: 22_109_000 picoseconds. + Weight::from_parts(24_517_936, 0) .saturating_add(Weight::from_parts(0, 1857)) - // Standard Error: 5_117 - .saturating_add(Weight::from_parts(61_496, 0).saturating_mul(c.into())) + // Standard Error: 4_300 + .saturating_add(Weight::from_parts(49_652, 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())) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `1137` // Estimated: `2622` - // Minimum execution time: 31_101_000 picoseconds. - Weight::from_parts(34_319_000, 0) + // Minimum execution time: 29_632_000 picoseconds. + Weight::from_parts(31_939_000, 0) .saturating_add(Weight::from_parts(0, 2622)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `700` // Estimated: `2185` - // Minimum execution time: 22_615_000 picoseconds. - Weight::from_parts(24_463_000, 0) + // Minimum execution time: 21_230_000 picoseconds. + Weight::from_parts(23_280_000, 0) .saturating_add(Weight::from_parts(0, 2185)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_member_without_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -230,76 +228,76 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn Weight::from_parts(500_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `1332` // Estimated: `6172` - // Minimum execution time: 46_822_000 picoseconds. - Weight::from_parts(49_696_000, 0) + // Minimum execution time: 46_178_000 picoseconds. + Weight::from_parts(48_101_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: PhragmenElection Voting (r:301 w:300) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: PhragmenElection Members (r:1 w:0) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:0) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Candidates (r:1 w:0) - /// 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) + /// Storage: `PhragmenElection::Voting` (r:301 w:300) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:0) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:0) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Candidates` (r:1 w:0) + /// Proof: `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]`. /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `939 + v * (582 ±0)` // Estimated: `4424 + v * (3762 ±0)` - // Minimum execution time: 7_732_373_000 picoseconds. - Weight::from_parts(7_827_124_000, 0) + // Minimum execution time: 7_444_971_000 picoseconds. + Weight::from_parts(7_548_667_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())) + // Standard Error: 206_127 + .saturating_add(Weight::from_parts(31_041_182, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .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) - /// Storage: PhragmenElection Members (r:1 w:1) - /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection RunnersUp (r:1 w:1) - /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PhragmenElection Voting (r:301 w:0) - /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:17 w:17) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PhragmenElection ElectionRounds (r:1 w:1) - /// Proof Skipped: PhragmenElection ElectionRounds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PhragmenElection::Candidates` (r:1 w:1) + /// Proof: `PhragmenElection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Members` (r:1 w:1) + /// Proof: `PhragmenElection::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::RunnersUp` (r:1 w:1) + /// Proof: `PhragmenElection::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PhragmenElection::Voting` (r:301 w:0) + /// Proof: `PhragmenElection::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:17 w:17) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PhragmenElection::ElectionRounds` (r:1 w:1) + /// Proof: `PhragmenElection::ElectionRounds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 30]`. /// The range of component `v` is `[1, 300]`. /// The range of component `e` is `[300, 4800]`. @@ -307,15 +305,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // 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) + // Minimum execution time: 492_452_000 picoseconds. + Weight::from_parts(496_776_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())) + // Standard Error: 2_139_841 + .saturating_add(Weight::from_parts(14_396_059, 0).saturating_mul(c.into())) + // Standard Error: 213_045 + .saturating_add(Weight::from_parts(6_199_941, 0).saturating_mul(v.into())) + // Standard Error: 13_667 + .saturating_add(Weight::from_parts(157_993, 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()))) diff --git a/runtime/pangoro/src/weights/pallet_fee_market.rs b/runtime/pangoro/src/weights/pallet_fee_market.rs index ff6fba994..d2221a1d5 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,157 +56,157 @@ use core::marker::PhantomData; /// Weight functions for `pallet_fee_market`. pub struct WeightInfo(PhantomData); impl pallet_fee_market::WeightInfo for WeightInfo { - /// Storage: PangolinFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) - /// Storage: 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) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:1) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangolinFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enroll_and_lock_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `27389` - // Minimum execution time: 91_746_000 picoseconds. - Weight::from_parts(94_678_000, 0) + // Minimum execution time: 89_316_000 picoseconds. + Weight::from_parts(91_934_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) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: PangolinFeeMarket RelayersMap (r:10 w:1) - /// 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) - /// Proof Skipped: PangolinFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `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: `PangolinFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn increase_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 87_369_000 picoseconds. - Weight::from_parts(90_169_000, 0) + // Minimum execution time: 85_226_000 picoseconds. + Weight::from_parts(87_279_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) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: 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) - /// 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) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangolinFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `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: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn decrease_locked_collateral() -> Weight { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 107_741_000 picoseconds. - Weight::from_parts(111_720_000, 0) + // Minimum execution time: 102_947_000 picoseconds. + Weight::from_parts(105_707_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) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// 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) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:10 w:1) + /// Proof: `PangolinFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_relay_fee() -> Weight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 69_006_000 picoseconds. - Weight::from_parts(71_519_000, 0) + // Minimum execution time: 66_886_000 picoseconds. + Weight::from_parts(69_474_000, 0) .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PangolinFeeMarket Relayers (r:1 w:1) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket Orders (r:1 w:0) - /// 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) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket RelayersMap (r:9 w:1) - /// Proof Skipped: PangolinFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket AssignedRelayersNumber (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:1) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `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) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:9 w:1) + /// Proof: `PangolinFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayersNumber` (r:1 w:0) + /// Proof: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn cancel_enrollment() -> Weight { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `25053` - // Minimum execution time: 90_179_000 picoseconds. - Weight::from_parts(92_908_000, 0) + // Minimum execution time: 87_679_000 picoseconds. + Weight::from_parts(91_378_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) - /// Proof Skipped: PangolinFeeMarket CollateralSlashProtect (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::CollateralSlashProtect` (r:0 w:1) + /// Proof: `PangolinFeeMarket::CollateralSlashProtect` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_slash_protect() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_656_000 picoseconds. - Weight::from_parts(4_825_000, 0) + // Minimum execution time: 4_543_000 picoseconds. + Weight::from_parts(4_882_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PangolinFeeMarket Relayers (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket RelayersMap (r:10 w:0) - /// Proof Skipped: PangolinFeeMarket RelayersMap (max_values: None, max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket Orders (r:1 w:0) - /// Proof Skipped: PangolinFeeMarket Orders (max_values: None, max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) - /// Proof Skipped: PangolinFeeMarket AssignedRelayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PangolinFeeMarket AssignedRelayersNumber (r:0 w:1) - /// Proof Skipped: PangolinFeeMarket AssignedRelayersNumber (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PangolinFeeMarket::Relayers` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Relayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::RelayersMap` (r:10 w:0) + /// Proof: `PangolinFeeMarket::RelayersMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::Orders` (r:1 w:0) + /// Proof: `PangolinFeeMarket::Orders` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayers` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PangolinFeeMarket::AssignedRelayersNumber` (r:0 w:1) + /// Proof: `PangolinFeeMarket::AssignedRelayersNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_assigned_relayers_number() -> Weight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 66_526_000 picoseconds. - Weight::from_parts(69_368_000, 0) + // Minimum execution time: 64_419_000 picoseconds. + Weight::from_parts(66_484_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 eabaec2da..f6070d584 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,87 +56,87 @@ use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_781_000 picoseconds. - Weight::from_parts(8_246_448, 0) + // Minimum execution time: 7_608_000 picoseconds. + Weight::from_parts(8_030_586, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_386 - .saturating_add(Weight::from_parts(99_334, 0).saturating_mul(r.into())) + // Standard Error: 2_002 + .saturating_add(Weight::from_parts(87_370, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 24_152_000 picoseconds. - Weight::from_parts(21_871_050, 0) + // Minimum execution time: 23_705_000 picoseconds. + Weight::from_parts(23_002_235, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 7_861 + .saturating_add(Weight::from_parts(144_494, 0).saturating_mul(r.into())) + // Standard Error: 1_533 + .saturating_add(Weight::from_parts(368_069, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:100 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 5_865_000 picoseconds. - Weight::from_parts(18_769_987, 0) + // Minimum execution time: 5_663_000 picoseconds. + Weight::from_parts(15_945_120, 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())) + // Standard Error: 2_952 + .saturating_add(Weight::from_parts(2_282_447, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2565).saturating_mul(s.into())) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 5_742_000 picoseconds. - Weight::from_parts(20_711_072, 0) + // Minimum execution time: 5_732_000 picoseconds. + Weight::from_parts(16_059_940, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 14_386 - .saturating_add(Weight::from_parts(901_991, 0).saturating_mul(p.into())) + // Standard Error: 2_821 + .saturating_add(Weight::from_parts(922_974, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// 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: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -146,130 +144,130 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445 + r * (5 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 43_941_000 picoseconds. - Weight::from_parts(21_359_556, 0) + // Minimum execution time: 43_646_000 picoseconds. + Weight::from_parts(26_475_746, 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())) + // Standard Error: 12_000 + .saturating_add(Weight::from_parts(184_696, 0).saturating_mul(r.into())) + // Standard Error: 2_343 + .saturating_add(Weight::from_parts(872_625, 0).saturating_mul(s.into())) + // Standard Error: 2_343 + .saturating_add(Weight::from_parts(205_224, 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()))) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 23_566_000 picoseconds. - Weight::from_parts(22_261_385, 0) + // Minimum execution time: 22_763_000 picoseconds. + Weight::from_parts(21_947_187, 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())) + // Standard Error: 6_122 + .saturating_add(Weight::from_parts(116_989, 0).saturating_mul(r.into())) + // Standard Error: 1_194 + .saturating_add(Weight::from_parts(392_520, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// 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 cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 21_689_000 picoseconds. - Weight::from_parts(21_575_674, 0) + // Minimum execution time: 21_126_000 picoseconds. + Weight::from_parts(20_468_418, 0) .saturating_add(Weight::from_parts(0, 10991)) - // 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())) + // Standard Error: 4_631 + .saturating_add(Weight::from_parts(78_411, 0).saturating_mul(r.into())) + // Standard Error: 903 + .saturating_add(Weight::from_parts(400_444, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_833_000 picoseconds. - Weight::from_parts(5_219_318, 0) + // Minimum execution time: 4_596_000 picoseconds. + Weight::from_parts(4_866_871, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_271 - .saturating_add(Weight::from_parts(66_341, 0).saturating_mul(r.into())) + // Standard Error: 1_439 + .saturating_add(Weight::from_parts(69_673, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_393_000 picoseconds. - Weight::from_parts(4_852_549, 0) + // Minimum execution time: 4_334_000 picoseconds. + Weight::from_parts(4_626_201, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_460 - .saturating_add(Weight::from_parts(54_802, 0).saturating_mul(r.into())) + // Standard Error: 1_337 + .saturating_add(Weight::from_parts(59_895, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:1) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 4_363_000 picoseconds. - Weight::from_parts(4_828_626, 0) + // Minimum execution time: 4_246_000 picoseconds. + Weight::from_parts(4_613_892, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_159 - .saturating_add(Weight::from_parts(54_287, 0).saturating_mul(r.into())) + // Standard Error: 1_382 + .saturating_add(Weight::from_parts(54_328, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity Registrars (r:1 w:0) - /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(901), added: 1396, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(901), added: 1396, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 15_517_000 picoseconds. - Weight::from_parts(14_489_953, 0) + // Minimum execution time: 14_886_000 picoseconds. + Weight::from_parts(14_275_829, 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())) + // Standard Error: 5_873 + .saturating_add(Weight::from_parts(99_059, 0).saturating_mul(r.into())) + // Standard Error: 1_086 + .saturating_add(Weight::from_parts(614_256, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) - /// Storage: Identity IdentityOf (r:1 w:1) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:100) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. @@ -277,90 +275,90 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `675 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 59_112_000 picoseconds. - Weight::from_parts(36_057_093, 0) + // Minimum execution time: 58_165_000 picoseconds. + Weight::from_parts(38_448_947, 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())) + // Standard Error: 12_115 + .saturating_add(Weight::from_parts(231_004, 0).saturating_mul(r.into())) + // Standard Error: 2_365 + .saturating_add(Weight::from_parts(883_816, 0).saturating_mul(s.into())) + // Standard Error: 2_365 + .saturating_add(Weight::from_parts(217_183, 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()))) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 20_482_000 picoseconds. - Weight::from_parts(24_234_547, 0) + // Minimum execution time: 19_554_000 picoseconds. + Weight::from_parts(22_910_221, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 2_034 - .saturating_add(Weight::from_parts(44_475, 0).saturating_mul(s.into())) + // Standard Error: 1_394 + .saturating_add(Weight::from_parts(46_013, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 8_109_000 picoseconds. - Weight::from_parts(9_611_643, 0) + // Minimum execution time: 7_690_000 picoseconds. + Weight::from_parts(9_116_750, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 765 - .saturating_add(Weight::from_parts(29_831, 0).saturating_mul(s.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(29_015, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Identity IdentityOf (r:1 w:0) - /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7526), added: 10001, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:1 w:1) - /// Proof: Identity SuperOf (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen) - /// Storage: Identity SubsOf (r:1 w:1) - /// Proof: Identity SubsOf (max_values: None, max_size: Some(2046), added: 4521, mode: MaxEncodedLen) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2046), added: 4521, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 22_252_000 picoseconds. - Weight::from_parts(24_820_757, 0) + // Minimum execution time: 21_387_000 picoseconds. + Weight::from_parts(23_524_284, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 2_038 - .saturating_add(Weight::from_parts(57_534, 0).saturating_mul(s.into())) + // Standard Error: 1_290 + .saturating_add(Weight::from_parts(58_747, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Identity SuperOf (r:1 w:1) - /// 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) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// 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: `622 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 15_609_000 picoseconds. - Weight::from_parts(17_474_012, 0) + // Minimum execution time: 15_094_000 picoseconds. + Weight::from_parts(16_724_938, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 1_274 - .saturating_add(Weight::from_parts(43_068, 0).saturating_mul(s.into())) + // Standard Error: 1_002 + .saturating_add(Weight::from_parts(40_095, 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 b0ded4df9..993df7f86 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,158 +56,158 @@ use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - /// Storage: TechnicalMembership Members (r:1 w:1) - /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(2002), added: 2497, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 10_428_000 picoseconds. - Weight::from_parts(11_458_897, 0) + // Minimum execution time: 10_140_000 picoseconds. + Weight::from_parts(10_835_093, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 599 - .saturating_add(Weight::from_parts(7_132, 0).saturating_mul(m.into())) + // Standard Error: 421 + .saturating_add(Weight::from_parts(9_380, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_469_000 picoseconds. - Weight::from_parts(13_237_367, 0) + // Minimum execution time: 11_986_000 picoseconds. + Weight::from_parts(12_804_054, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 539 - .saturating_add(Weight::from_parts(6_989, 0).saturating_mul(m.into())) + // Standard Error: 831 + .saturating_add(Weight::from_parts(6_134, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_471_000 picoseconds. - Weight::from_parts(13_280_824, 0) + // Minimum execution time: 12_021_000 picoseconds. + Weight::from_parts(12_771_113, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 660 - .saturating_add(Weight::from_parts(16_571, 0).saturating_mul(m.into())) + // Standard Error: 504 + .saturating_add(Weight::from_parts(15_588, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:0) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:0) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_135_000 picoseconds. - Weight::from_parts(14_795_382, 0) + // Minimum execution time: 11_638_000 picoseconds. + Weight::from_parts(12_901_233, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 4_531 - .saturating_add(Weight::from_parts(59_515, 0).saturating_mul(m.into())) + // Standard Error: 678 + .saturating_add(Weight::from_parts(71_976, 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, 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) - /// Storage: TechnicalCommittee Proposals (r:1 w:0) - /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalMembership Prime (r:1 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Members (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:1) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalMembership::Prime` (r:1 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `215 + m * (40 ±0)` // Estimated: `3487 + m * (40 ±0)` - // Minimum execution time: 12_998_000 picoseconds. - Weight::from_parts(13_839_469, 0) + // Minimum execution time: 12_393_000 picoseconds. + Weight::from_parts(13_270_991, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 583 - .saturating_add(Weight::from_parts(14_816, 0).saturating_mul(m.into())) + // Standard Error: 451 + .saturating_add(Weight::from_parts(14_214, 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, 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) - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Members` (r:1 w:0) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(2002), added: 2497, mode: `MaxEncodedLen`) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (20 ±0)` // Estimated: `3487 + m * (20 ±0)` - // Minimum execution time: 5_073_000 picoseconds. - Weight::from_parts(5_595_886, 0) + // Minimum execution time: 4_704_000 picoseconds. + Weight::from_parts(5_252_056, 0) .saturating_add(Weight::from_parts(0, 3487)) - // Standard Error: 216 - .saturating_add(Weight::from_parts(4_088, 0).saturating_mul(m.into())) + // Standard Error: 246 + .saturating_add(Weight::from_parts(6_130, 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())) } - /// Storage: TechnicalMembership Prime (r:0 w:1) - /// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: TechnicalCommittee Prime (r:0 w:1) - /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `TechnicalMembership::Prime` (r:0 w:1) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `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 { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_998_000 picoseconds. - Weight::from_parts(2_260_370, 0) + // Minimum execution time: 1_927_000 picoseconds. + Weight::from_parts(2_127_239, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 200 - .saturating_add(Weight::from_parts(128, 0).saturating_mul(m.into())) + // Standard Error: 125 + .saturating_add(Weight::from_parts(869, 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 91cbb1cf1..ad0f1874e 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,167 +56,167 @@ use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3544` - // Minimum execution time: 22_510_000 picoseconds. - Weight::from_parts(23_092_000, 0) + // Minimum execution time: 21_660_000 picoseconds. + Weight::from_parts(1_039_229, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_468, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 11_692_000 picoseconds. - Weight::from_parts(11_945_000, 0) + // Minimum execution time: 11_305_000 picoseconds. + Weight::from_parts(11_436_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_189, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 11_370_000 picoseconds. - Weight::from_parts(11_815_000, 0) + // Minimum execution time: 10_788_000 picoseconds. + Weight::from_parts(10_948_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_408, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3544` - // Minimum execution time: 35_666_000 picoseconds. - Weight::from_parts(39_929_000, 0) + // Minimum execution time: 41_859_000 picoseconds. + Weight::from_parts(44_303_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 22_256_000 picoseconds. - Weight::from_parts(25_922_000, 0) + // Minimum execution time: 25_182_000 picoseconds. + Weight::from_parts(28_121_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `214` // Estimated: `3544` - // Minimum execution time: 20_367_000 picoseconds. - Weight::from_parts(23_302_000, 0) + // Minimum execution time: 23_048_000 picoseconds. + Weight::from_parts(25_394_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 12_195_000 picoseconds. - Weight::from_parts(14_333_000, 0) + // Minimum execution time: 15_337_000 picoseconds. + Weight::from_parts(16_918_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3544` - // Minimum execution time: 12_395_000 picoseconds. - Weight::from_parts(15_818_000, 0) + // Minimum execution time: 16_884_000 picoseconds. + Weight::from_parts(18_905_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 6_840_000 picoseconds. - Weight::from_parts(8_396_000, 0) + // Minimum execution time: 8_075_000 picoseconds. + Weight::from_parts(9_108_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 20_908_000 picoseconds. - Weight::from_parts(23_423_000, 0) + // Minimum execution time: 21_986_000 picoseconds. + Weight::from_parts(24_712_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 7_262_000 picoseconds. - Weight::from_parts(8_341_000, 0) + // Minimum execution time: 7_036_000 picoseconds. + Weight::from_parts(7_857_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 6_947_000 picoseconds. - Weight::from_parts(8_025_000, 0) + // Minimum execution time: 7_292_000 picoseconds. + Weight::from_parts(7_989_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 5e0685058..4da84d0e5 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,176 +56,176 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 9_719_000 picoseconds. - Weight::from_parts(10_170_657, 0) + // Minimum execution time: 9_189_000 picoseconds. + Weight::from_parts(9_851_464, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_833 - .saturating_add(Weight::from_parts(43_064, 0).saturating_mul(p.into())) + // Standard Error: 2_397 + .saturating_add(Weight::from_parts(36_398, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `401 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 25_173_000 picoseconds. - Weight::from_parts(24_928_410, 0) + // Minimum execution time: 24_100_000 picoseconds. + Weight::from_parts(24_976_329, 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())) + // Standard Error: 4_255 + .saturating_add(Weight::from_parts(144_289, 0).saturating_mul(a.into())) + // Standard Error: 4_397 + .saturating_add(Weight::from_parts(26_914, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 16_826_000 picoseconds. - Weight::from_parts(17_885_288, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_913_203, 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())) + // Standard Error: 5_521 + .saturating_add(Weight::from_parts(110_683, 0).saturating_mul(a.into())) + // Standard Error: 5_704 + .saturating_add(Weight::from_parts(19_320, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 16_323_000 picoseconds. - Weight::from_parts(17_175_530, 0) + // Minimum execution time: 15_709_000 picoseconds. + Weight::from_parts(16_519_415, 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())) + // Standard Error: 2_370 + .saturating_add(Weight::from_parts(113_044, 0).saturating_mul(a.into())) + // Standard Error: 2_449 + .saturating_add(Weight::from_parts(16_477, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(1837), added: 4312, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(1837), added: 4312, 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 `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 22_532_000 picoseconds. - Weight::from_parts(23_884_593, 0) + // Minimum execution time: 21_912_000 picoseconds. + Weight::from_parts(21_922_644, 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())) + // Standard Error: 3_302 + .saturating_add(Weight::from_parts(139_703, 0).saturating_mul(a.into())) + // Standard Error: 3_412 + .saturating_add(Weight::from_parts(38_466, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(845), added: 3320, mode: MaxEncodedLen) + /// 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 add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 17_082_000 picoseconds. - Weight::from_parts(17_993_603, 0) + // Minimum execution time: 16_456_000 picoseconds. + Weight::from_parts(17_284_907, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_043 - .saturating_add(Weight::from_parts(31_750, 0).saturating_mul(p.into())) + // Standard Error: 2_040 + .saturating_add(Weight::from_parts(34_381, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 17_433_000 picoseconds. - Weight::from_parts(18_334_918, 0) + // Minimum execution time: 16_630_000 picoseconds. + Weight::from_parts(17_646_152, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_533 - .saturating_add(Weight::from_parts(28_980, 0).saturating_mul(p.into())) + // Standard Error: 2_062 + .saturating_add(Weight::from_parts(28_282, 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) + /// 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_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_533_000 picoseconds. - Weight::from_parts(16_213_938, 0) + // Minimum execution time: 15_119_000 picoseconds. + Weight::from_parts(15_739_932, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_780 - .saturating_add(Weight::from_parts(63_504, 0).saturating_mul(p.into())) + // Standard Error: 1_493 + .saturating_add(Weight::from_parts(31_057, 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) + /// 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 create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 18_521_000 picoseconds. - Weight::from_parts(19_704_437, 0) + // Minimum execution time: 17_895_000 picoseconds. + Weight::from_parts(18_694_531, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 5_663 - .saturating_add(Weight::from_parts(9_541, 0).saturating_mul(p.into())) + // Standard Error: 2_273 + .saturating_add(Weight::from_parts(21_268, 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) + /// 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 { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 15_798_000 picoseconds. - Weight::from_parts(16_666_598, 0) + // Minimum execution time: 15_311_000 picoseconds. + Weight::from_parts(16_046_825, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_409 - .saturating_add(Weight::from_parts(42_322, 0).saturating_mul(p.into())) + // Standard Error: 1_749 + .saturating_add(Weight::from_parts(35_863, 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 50415304e..9dd0e7824 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_367_000 picoseconds. - Weight::from_parts(2_534_000, 0) + // Minimum execution time: 2_083_000 picoseconds. + Weight::from_parts(2_359_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 2_238_000 picoseconds. - Weight::from_parts(4_304_874, 0) + // Minimum execution time: 2_033_000 picoseconds. + Weight::from_parts(4_168_362, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_726 - .saturating_add(Weight::from_parts(437_680, 0).saturating_mul(s.into())) + // Standard Error: 1_498 + .saturating_add(Weight::from_parts(471_439, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,36 +87,36 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_524_000 picoseconds. - Weight::from_parts(3_749_000, 0) + // Minimum execution time: 3_467_000 picoseconds. + Weight::from_parts(3_592_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(79), added: 2554, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(79), added: 2554, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `217 + s * (1 ±0)` // Estimated: `3682 + s * (1 ±0)` - // Minimum execution time: 13_947_000 picoseconds. - Weight::from_parts(14_138_000, 0) + // Minimum execution time: 13_778_000 picoseconds. + Weight::from_parts(13_970_000, 0) .saturating_add(Weight::from_parts(0, 3682)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(676, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(708, 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())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_359_000 picoseconds. - Weight::from_parts(4_539_000, 0) + // Minimum execution time: 4_265_000 picoseconds. + Weight::from_parts(4_584_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,89 +124,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_541_000 picoseconds. - Weight::from_parts(3_712_000, 0) + // Minimum execution time: 3_492_000 picoseconds. + Weight::from_parts(3_571_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_783_000 picoseconds. - Weight::from_parts(1_864_000, 0) + // Minimum execution time: 1_618_000 picoseconds. + Weight::from_parts(1_672_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_783_000 picoseconds. - Weight::from_parts(1_852_000, 0) + // Minimum execution time: 1_584_000 picoseconds. + Weight::from_parts(1_716_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 7_976_000 picoseconds. - Weight::from_parts(10_432_931, 0) + // Minimum execution time: 7_498_000 picoseconds. + Weight::from_parts(9_918_416, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_656 - .saturating_add(Weight::from_parts(444_946, 0).saturating_mul(s.into())) + // Standard Error: 2_512 + .saturating_add(Weight::from_parts(486_164, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_545_000 picoseconds. - Weight::from_parts(10_652_549, 0) + // Minimum execution time: 10_949_000 picoseconds. + Weight::from_parts(10_446_265, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_981 - .saturating_add(Weight::from_parts(846_755, 0).saturating_mul(s.into())) + // Standard Error: 2_382 + .saturating_add(Weight::from_parts(873_635, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 10_735_000 picoseconds. - Weight::from_parts(13_054_145, 0) + // Minimum execution time: 9_803_000 picoseconds. + Weight::from_parts(12_386_767, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_433 - .saturating_add(Weight::from_parts(472_079, 0).saturating_mul(s.into())) + // Standard Error: 2_699 + .saturating_add(Weight::from_parts(517_159, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 12_647_000 picoseconds. - Weight::from_parts(13_103_382, 0) + // Minimum execution time: 11_928_000 picoseconds. + Weight::from_parts(11_872_022, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 14_413 - .saturating_add(Weight::from_parts(858_322, 0).saturating_mul(s.into())) + // Standard Error: 3_676 + .saturating_add(Weight::from_parts(891_875, 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 d41566027..da62da24c 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,30 +56,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:1 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:1 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 10_730_000 picoseconds. - Weight::from_parts(11_383_000, 0) + // Minimum execution time: 10_188_000 picoseconds. + Weight::from_parts(10_884_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:1) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:1) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 7_264_000 picoseconds. - Weight::from_parts(7_549_000, 0) + // Minimum execution time: 7_043_000 picoseconds. + Weight::from_parts(7_522_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 ffc3bee7c..f0024d002 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -58,14 +56,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 4_555_000 picoseconds. - Weight::from_parts(4_850_000, 0) + // Minimum execution time: 4_415_000 picoseconds. + Weight::from_parts(4_888_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +72,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 2_955_000 picoseconds. - Weight::from_parts(3_121_000, 0) + // Minimum execution time: 2_861_000 picoseconds. + Weight::from_parts(2_989_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/pangoro/src/weights/pallet_treasury.rs b/runtime/pangoro/src/weights/pallet_treasury.rs index 4cec1bf66..8046a7faf 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -62,87 +60,87 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 157_000 picoseconds. - Weight::from_parts(174_000, 0) + // Minimum execution time: 155_000 picoseconds. + Weight::from_parts(182_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 20_340_000 picoseconds. - Weight::from_parts(21_172_000, 0) + // Minimum execution time: 19_986_000 picoseconds. + Weight::from_parts(21_054_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `504` // Estimated: `6172` - // Minimum execution time: 32_353_000 picoseconds. - Weight::from_parts(32_954_000, 0) + // Minimum execution time: 31_348_000 picoseconds. + Weight::from_parts(31_866_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 6_490_000 picoseconds. - Weight::from_parts(8_436_937, 0) + // Minimum execution time: 6_054_000 picoseconds. + Weight::from_parts(7_699_496, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_565 - .saturating_add(Weight::from_parts(52_325, 0).saturating_mul(p.into())) + // Standard Error: 1_070 + .saturating_add(Weight::from_parts(53_441, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 5_102_000 picoseconds. - Weight::from_parts(5_440_000, 0) + // Minimum execution time: 4_941_000 picoseconds. + Weight::from_parts(5_155_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:100 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 20_631_000 picoseconds. - Weight::from_parts(19_926_402, 0) + // Minimum execution time: 19_796_000 picoseconds. + Weight::from_parts(19_519_875, 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())) + // Standard Error: 3_273 + .saturating_add(Weight::from_parts(1_885_993, 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 b4b25ce8e..bebbc8743 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-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-16, 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-dev"), DB CACHE: 1024 +//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -30,18 +30,16 @@ // pallet // --header // .maintain/license-header -// --execution -// wasm // --heap-pages // 4096 // --chain // pangoro-dev // --output // runtime/pangoro/src/weights -// --extrinsic -// * // --pallet // * +// --extrinsic +// * // --steps // 50 // --repeat @@ -63,18 +61,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_250_000 picoseconds. - Weight::from_parts(4_694_615, 0) + // Minimum execution time: 4_143_000 picoseconds. + Weight::from_parts(3_470_873, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_835 - .saturating_add(Weight::from_parts(3_592_354, 0).saturating_mul(c.into())) + // Standard Error: 2_299 + .saturating_add(Weight::from_parts(3_455_913, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_136_000 picoseconds. - Weight::from_parts(3_369_000, 0) + // Minimum execution time: 2_975_000 picoseconds. + Weight::from_parts(3_143_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -82,18 +80,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_234_000 picoseconds. - Weight::from_parts(22_799_588, 0) + // Minimum execution time: 4_198_000 picoseconds. + Weight::from_parts(4_402_849, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 7_363 - .saturating_add(Weight::from_parts(3_777_345, 0).saturating_mul(c.into())) + // Standard Error: 2_520 + .saturating_add(Weight::from_parts(3_675_328, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_890_000 picoseconds. - Weight::from_parts(6_205_000, 0) + // Minimum execution time: 5_480_000 picoseconds. + Weight::from_parts(5_901_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -101,10 +99,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_291_000 picoseconds. - Weight::from_parts(10_356_513, 0) + // Minimum execution time: 4_273_000 picoseconds. + Weight::from_parts(6_068_103, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_581 - .saturating_add(Weight::from_parts(3_568_584, 0).saturating_mul(c.into())) + // Standard Error: 2_716 + .saturating_add(Weight::from_parts(3_456_409, 0).saturating_mul(c.into())) } }