From 08b08add973c306dd6dffcece178cb6f67716af0 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Thu, 18 Jan 2024 10:21:41 +0800 Subject: [PATCH] Release `v6.6.0` (#1387) * Bump versions * Disable tx-pause Signed-off-by: Xavier Lau * Benchmark * Fix * Improve migration * Set storage version --------- Signed-off-by: Xavier Lau --- Cargo.lock | 45 +- Cargo.toml | 2 +- node/src/chain_spec/darwinia.rs | 4 +- pallet/account-migration/src/weights.rs | 1 - pallet/deposit/src/weights.rs | 1 - pallet/ecdsa-authority/src/weights.rs | 1 - pallet/staking/src/weights.rs | 1 - runtime/crab/src/lib.rs | 2 +- runtime/crab/src/migration.rs | 76 +-- runtime/crab/src/pallets/governance.rs | 2 +- runtime/crab/src/pallets/tx_pause.rs | 12 +- runtime/crab/src/weights.rs | 3 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 2 +- .../src/weights/darwinia_account_migration.rs | 16 +- runtime/crab/src/weights/darwinia_deposit.rs | 20 +- runtime/crab/src/weights/darwinia_staking.rs | 46 +- runtime/crab/src/weights/frame_system.rs | 50 +- runtime/crab/src/weights/pallet_assets.rs | 150 +++--- runtime/crab/src/weights/pallet_balances.rs | 38 +- .../crab/src/weights/pallet_bridge_grandpa.rs | 14 +- .../src/weights/pallet_bridge_messages.rs | 98 ++-- .../src/weights/pallet_bridge_parachains.rs | 18 +- ...ical_committee.rs => pallet_collective.rs} | 182 +++---- .../src/weights/pallet_conviction_voting.rs | 45 +- runtime/crab/src/weights/pallet_fee_market.rs | 30 +- runtime/crab/src/weights/pallet_identity.rs | 162 +++--- runtime/crab/src/weights/pallet_preimage.rs | 60 +-- runtime/crab/src/weights/pallet_proxy.rs | 106 ++-- runtime/crab/src/weights/pallet_referenda.rs | 149 +++--- runtime/crab/src/weights/pallet_scheduler.rs | 73 +-- runtime/crab/src/weights/pallet_session.rs | 10 +- runtime/crab/src/weights/pallet_timestamp.rs | 10 +- runtime/crab/src/weights/pallet_treasury.rs | 28 +- runtime/crab/src/weights/pallet_tx_pause.rs | 82 +++ runtime/crab/src/weights/pallet_utility.rs | 70 ++- runtime/crab/src/weights/pallet_vesting.rs | 98 ++-- runtime/crab/src/weights/pallet_whitelist.rs | 45 +- runtime/darwinia/Cargo.toml | 8 +- runtime/darwinia/src/lib.rs | 8 +- runtime/darwinia/src/migration.rs | 10 +- runtime/darwinia/src/pallets.rs | 2 +- runtime/darwinia/src/pallets/governance.rs | 13 +- runtime/darwinia/src/pallets/system.rs | 3 +- runtime/darwinia/src/pallets/tx_pause.rs | 12 +- runtime/darwinia/src/weights.rs | 6 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 9 +- .../src/weights/darwinia_account_migration.rs | 17 +- .../darwinia/src/weights/darwinia_deposit.rs | 15 +- .../src/weights/darwinia_ecdsa_authority.rs | 63 ++- .../darwinia/src/weights/darwinia_staking.rs | 65 ++- runtime/darwinia/src/weights/frame_system.rs | 55 +- runtime/darwinia/src/weights/pallet_assets.rs | 151 +++--- .../darwinia/src/weights/pallet_balances.rs | 41 +- .../src/weights/pallet_bridge_grandpa.rs | 17 +- .../src/weights/pallet_bridge_messages.rs | 69 ++- .../src/weights/pallet_bridge_parachains.rs | 25 +- .../src/weights/pallet_collective.rs} | 151 +++--- .../src/weights/pallet_collective_council.rs | 329 ------------ .../src/weights/pallet_conviction_voting.rs | 200 +++++++ .../darwinia/src/weights/pallet_democracy.rs | 105 ++-- .../darwinia/src/weights/pallet_fee_market.rs | 31 +- .../darwinia/src/weights/pallet_identity.rs | 161 +++--- .../darwinia/src/weights/pallet_preimage.rs | 61 ++- runtime/darwinia/src/weights/pallet_proxy.rs | 91 ++-- .../darwinia/src/weights/pallet_referenda.rs | 506 ++++++++++++++++++ .../darwinia/src/weights/pallet_scheduler.rs | 63 ++- .../darwinia/src/weights/pallet_session.rs | 11 +- .../darwinia/src/weights/pallet_timestamp.rs | 9 +- .../darwinia/src/weights/pallet_treasury.rs | 31 +- .../darwinia/src/weights/pallet_utility.rs | 35 +- .../darwinia/src/weights/pallet_vesting.rs | 97 ++-- .../darwinia/src/weights/pallet_whitelist.rs | 123 +++++ runtime/darwinia/tests/tests.rs | 2 +- runtime/pangolin/src/lib.rs | 2 +- runtime/pangolin/src/pallets/governance.rs | 2 +- runtime/pangolin/src/pallets/tx_pause.rs | 12 +- runtime/pangolin/src/weights.rs | 3 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 5 +- .../src/weights/darwinia_account_migration.rs | 19 +- .../pangolin/src/weights/darwinia_deposit.rs | 21 +- .../src/weights/darwinia_ecdsa_authority.rs | 27 +- .../pangolin/src/weights/darwinia_staking.rs | 51 +- runtime/pangolin/src/weights/frame_system.rs | 47 +- runtime/pangolin/src/weights/pallet_assets.rs | 147 ++--- .../pangolin/src/weights/pallet_balances.rs | 39 +- .../src/weights/pallet_bridge_grandpa.rs | 15 +- .../src/weights/pallet_bridge_messages.rs | 87 +-- .../src/weights/pallet_bridge_parachains.rs | 19 +- .../src/weights/pallet_collective.rs} | 217 ++++---- .../src/weights/pallet_conviction_voting.rs | 39 +- .../pangolin/src/weights/pallet_fee_market.rs | 31 +- .../pangolin/src/weights/pallet_identity.rs | 163 +++--- .../pangolin/src/weights/pallet_preimage.rs | 55 +- runtime/pangolin/src/weights/pallet_proxy.rs | 107 ++-- .../pangolin/src/weights/pallet_referenda.rs | 119 ++-- .../pangolin/src/weights/pallet_scheduler.rs | 76 +-- .../pangolin/src/weights/pallet_session.rs | 11 +- .../pangolin/src/weights/pallet_timestamp.rs | 15 +- .../pangolin/src/weights/pallet_treasury.rs | 27 +- .../pangolin/src/weights/pallet_tx_pause.rs | 82 +++ .../pangolin/src/weights/pallet_utility.rs | 71 +-- .../pangolin/src/weights/pallet_whitelist.rs | 39 +- runtime/pangoro/src/lib.rs | 3 +- runtime/pangoro/src/pallets/governance.rs | 13 +- runtime/pangoro/src/pallets/tx_pause.rs | 12 +- runtime/pangoro/src/weights.rs | 7 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 11 +- .../src/weights/darwinia_account_migration.rs | 17 +- .../pangoro/src/weights/darwinia_deposit.rs | 15 +- .../src/weights/darwinia_ecdsa_authority.rs | 63 ++- .../pangoro/src/weights/darwinia_staking.rs | 63 ++- runtime/pangoro/src/weights/frame_system.rs | 49 +- runtime/pangoro/src/weights/pallet_assets.rs | 147 +++-- .../pangoro/src/weights/pallet_balances.rs | 39 +- .../src/weights/pallet_bridge_grandpa.rs | 15 +- .../src/weights/pallet_bridge_messages.rs | 87 +-- .../src/weights/pallet_bridge_parachains.rs | 19 +- ...ical_committee.rs => pallet_collective.rs} | 209 ++++---- .../src/weights/pallet_collective_council.rs | 331 ------------ .../src/weights/pallet_conviction_voting.rs | 200 +++++++ .../pangoro/src/weights/pallet_democracy.rs | 109 ++-- .../pangoro/src/weights/pallet_fee_market.rs | 31 +- .../pangoro/src/weights/pallet_identity.rs | 163 +++--- .../pangoro/src/weights/pallet_preimage.rs | 61 ++- runtime/pangoro/src/weights/pallet_proxy.rs | 101 ++-- .../pangoro/src/weights/pallet_referenda.rs | 504 +++++++++++++++++ .../pangoro/src/weights/pallet_scheduler.rs | 72 +-- runtime/pangoro/src/weights/pallet_session.rs | 11 +- .../pangoro/src/weights/pallet_timestamp.rs | 9 +- .../pangoro/src/weights/pallet_treasury.rs | 31 +- .../pangoro/src/weights/pallet_tx_pause.rs | 82 +++ runtime/pangoro/src/weights/pallet_utility.rs | 71 +-- .../pangoro/src/weights/pallet_whitelist.rs | 123 +++++ tool/weight-checker/src/t.rs | 1 - 134 files changed, 4921 insertions(+), 3643 deletions(-) rename runtime/crab/src/weights/{pallet_collective_technical_committee.rs => pallet_collective.rs} (74%) create mode 100644 runtime/crab/src/weights/pallet_tx_pause.rs rename runtime/{pangolin/src/weights/pallet_collective_technical_committee.rs => darwinia/src/weights/pallet_collective.rs} (76%) delete mode 100644 runtime/darwinia/src/weights/pallet_collective_council.rs create mode 100644 runtime/darwinia/src/weights/pallet_conviction_voting.rs create mode 100644 runtime/darwinia/src/weights/pallet_referenda.rs create mode 100644 runtime/darwinia/src/weights/pallet_whitelist.rs rename runtime/{darwinia/src/weights/pallet_collective_technical_committee.rs => pangolin/src/weights/pallet_collective.rs} (68%) create mode 100644 runtime/pangolin/src/weights/pallet_tx_pause.rs rename runtime/pangoro/src/weights/{pallet_collective_technical_committee.rs => pallet_collective.rs} (69%) delete mode 100644 runtime/pangoro/src/weights/pallet_collective_council.rs create mode 100644 runtime/pangoro/src/weights/pallet_conviction_voting.rs create mode 100644 runtime/pangoro/src/weights/pallet_referenda.rs create mode 100644 runtime/pangoro/src/weights/pallet_tx_pause.rs create mode 100644 runtime/pangoro/src/weights/pallet_whitelist.rs diff --git a/Cargo.lock b/Cargo.lock index b4e69a8bc..43a7329d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1801,7 +1801,7 @@ dependencies = [ [[package]] name = "crab-runtime" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -2844,7 +2844,7 @@ dependencies = [ [[package]] name = "darwinia" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "async-trait", @@ -2923,7 +2923,7 @@ dependencies = [ [[package]] name = "darwinia-account-migration" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "darwinia-deposit", @@ -2948,7 +2948,7 @@ dependencies = [ [[package]] name = "darwinia-asset-limit" -version = "6.5.1" +version = "6.6.0" dependencies = [ "frame-support", "frame-system", @@ -2959,7 +2959,7 @@ dependencies = [ [[package]] name = "darwinia-common-runtime" -version = "6.5.1" +version = "6.6.0" dependencies = [ "bp-darwinia-core", "darwinia-precompile-assets", @@ -2987,7 +2987,7 @@ dependencies = [ [[package]] name = "darwinia-deposit" -version = "6.5.1" +version = "6.6.0" dependencies = [ "darwinia-staking-traits", "dc-inflation", @@ -3008,7 +3008,7 @@ dependencies = [ [[package]] name = "darwinia-ecdsa-authority" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "dc-primitives", @@ -3028,7 +3028,7 @@ dependencies = [ [[package]] name = "darwinia-message-gadget" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "frame-support", @@ -3047,7 +3047,7 @@ dependencies = [ [[package]] name = "darwinia-message-transact" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "bp-message-dispatch", @@ -3076,7 +3076,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-assets" -version = "6.5.1" +version = "6.6.0" dependencies = [ "fp-evm", "frame-support", @@ -3097,7 +3097,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-bls12-381" -version = "6.5.1" +version = "6.6.0" dependencies = [ "ark-bls12-381", "ark-ec", @@ -3115,7 +3115,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-deposit" -version = "6.5.1" +version = "6.6.0" dependencies = [ "darwinia-deposit", "fp-evm", @@ -3135,7 +3135,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-staking" -version = "6.5.1" +version = "6.6.0" dependencies = [ "darwinia-deposit", "darwinia-staking", @@ -3156,7 +3156,7 @@ dependencies = [ [[package]] name = "darwinia-precompile-state-storage" -version = "6.5.1" +version = "6.6.0" dependencies = [ "fp-evm", "frame-support", @@ -3175,7 +3175,7 @@ dependencies = [ [[package]] name = "darwinia-runtime" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -3254,7 +3254,6 @@ dependencies = [ "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", - "pallet-tx-pause", "pallet-utility", "pallet-vesting", "pallet-whitelist", @@ -3291,7 +3290,7 @@ dependencies = [ [[package]] name = "darwinia-staking" -version = "6.5.1" +version = "6.6.0" dependencies = [ "darwinia-deposit", "darwinia-staking-traits", @@ -3319,7 +3318,7 @@ dependencies = [ [[package]] name = "darwinia-staking-traits" -version = "6.5.1" +version = "6.6.0" dependencies = [ "parity-scale-codec", "scale-info", @@ -3354,7 +3353,7 @@ dependencies = [ [[package]] name = "dc-inflation" -version = "6.5.1" +version = "6.6.0" dependencies = [ "dc-types", "primitive-types", @@ -3364,7 +3363,7 @@ dependencies = [ [[package]] name = "dc-primitives" -version = "6.5.1" +version = "6.6.0" dependencies = [ "dc-types", "fp-account", @@ -3374,7 +3373,7 @@ dependencies = [ [[package]] name = "dc-types" -version = "6.5.1" +version = "6.6.0" [[package]] name = "der" @@ -9283,7 +9282,7 @@ dependencies = [ [[package]] name = "pangolin-runtime" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "bp-darwinia-core", @@ -9399,7 +9398,7 @@ dependencies = [ [[package]] name = "pangoro-runtime" -version = "6.5.1" +version = "6.6.0" dependencies = [ "array-bytes", "bp-darwinia-core", diff --git a/Cargo.toml b/Cargo.toml index e1214a5ea..908d7c6a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ edition = "2021" homepage = "https://darwinia.network" license = "GPL-3.0" repository = "https://github.com/darwinia-network/darwinia" -version = "6.5.1" +version = "6.6.0" [workspace.dependencies] # crates.io diff --git a/node/src/chain_spec/darwinia.rs b/node/src/chain_spec/darwinia.rs index 1c7527bb4..b3a79f955 100644 --- a/node/src/chain_spec/darwinia.rs +++ b/node/src/chain_spec/darwinia.rs @@ -226,7 +226,7 @@ pub fn genesis_config() -> ChainSpec { treasury: Default::default(), // Utility stuff. - tx_pause: Default::default(), + // tx_pause: Default::default(), // XCM stuff. polkadot_xcm: PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), ..Default::default() }, @@ -336,7 +336,7 @@ fn testnet_genesis( treasury: Default::default(), // Utility stuff. - tx_pause: Default::default(), + // tx_pause: Default::default(), // XCM stuff. polkadot_xcm: PolkadotXcmConfig { diff --git a/pallet/account-migration/src/weights.rs b/pallet/account-migration/src/weights.rs index 24648dcbb..7124200ad 100644 --- a/pallet/account-migration/src/weights.rs +++ b/pallet/account-migration/src/weights.rs @@ -21,7 +21,6 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: diff --git a/pallet/deposit/src/weights.rs b/pallet/deposit/src/weights.rs index fd230a4ae..603d89f68 100644 --- a/pallet/deposit/src/weights.rs +++ b/pallet/deposit/src/weights.rs @@ -21,7 +21,6 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: diff --git a/pallet/ecdsa-authority/src/weights.rs b/pallet/ecdsa-authority/src/weights.rs index 24b9d2d35..68bce63ab 100644 --- a/pallet/ecdsa-authority/src/weights.rs +++ b/pallet/ecdsa-authority/src/weights.rs @@ -21,7 +21,6 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: diff --git a/pallet/staking/src/weights.rs b/pallet/staking/src/weights.rs index 0e23b2376..816a27cba 100644 --- a/pallet/staking/src/weights.rs +++ b/pallet/staking/src/weights.rs @@ -21,7 +21,6 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `inv.cafe`, CPU: `Intel(R) Core(TM) i9-14900KF` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pangolin-dev"), DB CACHE: 1024 // Executed Command: diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index ac3a0f9d3..54cde965c 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -79,7 +79,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Crab2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_1_0, + spec_version: 6_6_0_0, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/runtime/crab/src/migration.rs b/runtime/crab/src/migration.rs index bdd33d52c..60e8bb20f 100644 --- a/runtime/crab/src/migration.rs +++ b/runtime/crab/src/migration.rs @@ -41,41 +41,47 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { } fn migrate() -> frame_support::weights::Weight { - let _ = - migration::clear_storage_prefix(b"MessageGadget", b"CommitmentContract", &[], None, None); - let _ = migration::clear_storage_prefix(b"EcdsaAuthority", b"Authorities", &[], None, None); - let _ = migration::clear_storage_prefix(b"EcdsaAuthority", b"NextAuthorities", &[], None, None); - let _ = migration::clear_storage_prefix(b"EcdsaAuthority", b"Nonce", &[], None, None); - let _ = migration::clear_storage_prefix( - b"EcdsaAuthority", - b"AuthoritiesChangeToSign", - &[], - None, - None, - ); - let _ = - migration::clear_storage_prefix(b"EcdsaAuthority", b"MessageRootToSign", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"Proposals", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"ProposalOf", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"Voting", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"ProposalCount", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"Members", &[], None, None); - let _ = migration::clear_storage_prefix(b"Council", b"Prime", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"PublicPropCount", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"PublicProps", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"DepositOf", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"ReferendumCount", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"LowestUnbaked", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"ReferendumInfoOf", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"VotingOf", &[], None, None); - let _ = - migration::clear_storage_prefix(b"Democracy", b"LastTabledWasExternal", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"NextExternal", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"Blacklist", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"Cancellations", &[], None, None); - let _ = migration::clear_storage_prefix(b"Democracy", b"MetadataOf", &[], None, None); + let items: &[(&[u8], &[&[u8]])] = &[ + (b"MessageGadget", &[b"CommitmentContract"]), + ( + b"EcdsaAuthority", + &[ + b"Authorities", + b"NextAuthorities", + b"Nonce", + b"AuthoritiesChangeToSign", + b"MessageRootToSign", + ], + ), + ( + b"Council", + &[b"Proposals", b"ProposalOf", b"Voting", b"ProposalCount", b"Members", b"Prime"], + ), + ( + b"Democracy", + &[ + b"PublicPropCount", + b"PublicProps", + b"DepositOf", + b"ReferendumCount", + b"LowestUnbaked", + b"ReferendumInfoOf", + b"VotingOf", + b"LastTabledWasExternal", + b"NextExternal", + b"Blacklist", + b"Cancellations", + b"MetadataOf", + ], + ), + ]; + + let w = items.iter().fold(0, |w, (p, is)| { + w + is.iter().fold(0, |w, i| { + w + migration::clear_storage_prefix(p, i, &[], None, None).backend as u64 + }) + }); // frame_support::weights::Weight::zero() - RuntimeBlockWeights::get().max_block - // ::DbWeight::get().reads_writes(0, 2) + ::DbWeight::get().reads_writes(0, w) } diff --git a/runtime/crab/src/pallets/governance.rs b/runtime/crab/src/pallets/governance.rs index 3d885472c..5f05ae9b2 100644 --- a/runtime/crab/src/pallets/governance.rs +++ b/runtime/crab/src/pallets/governance.rs @@ -48,7 +48,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_conviction_voting::Config for Runtime { diff --git a/runtime/crab/src/pallets/tx_pause.rs b/runtime/crab/src/pallets/tx_pause.rs index 01659e268..dcac67a41 100644 --- a/runtime/crab/src/pallets/tx_pause.rs +++ b/runtime/crab/src/pallets/tx_pause.rs @@ -20,6 +20,15 @@ use crate::*; pub struct TxPauseWhitelistedCalls; +// #[cfg(feature = "runtime-benchmarks")] +// impl frame_support::traits::Contains> +// for TxPauseWhitelistedCalls +// { +// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf) -> bool { +// false +// } +// } +// #[cfg(not(feature = "runtime-benchmarks"))] impl frame_support::traits::Contains> for TxPauseWhitelistedCalls { @@ -50,7 +59,6 @@ impl pallet_tx_pause::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type UnpauseOrigin = RootOrAtLeastTwoThird; - // TODO: Update the benchmark weight info - type WeightInfo = (); + type WeightInfo = weights::pallet_tx_pause::WeightInfo; type WhitelistedCalls = TxPauseWhitelistedCalls; } diff --git a/runtime/crab/src/weights.rs b/runtime/crab/src/weights.rs index 96f564163..0a9301fe0 100644 --- a/runtime/crab/src/weights.rs +++ b/runtime/crab/src/weights.rs @@ -34,7 +34,7 @@ pub mod frame_system; pub mod pallet_assets; pub mod pallet_balances; pub mod pallet_bridge_grandpa; -pub mod pallet_collective_technical_committee; +pub mod pallet_collective; pub mod pallet_conviction_voting; pub mod pallet_fee_market; pub mod pallet_identity; @@ -45,6 +45,7 @@ pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_treasury; +pub mod pallet_tx_pause; pub mod pallet_utility; pub mod pallet_vesting; pub mod pallet_whitelist; diff --git a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs index 21c9e367e..8fac1c42b 100644 --- a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 diff --git a/runtime/crab/src/weights/darwinia_account_migration.rs b/runtime/crab/src/weights/darwinia_account_migration.rs index 1a398b683..0b9982e3b 100644 --- a/runtime/crab/src/weights/darwinia_account_migration.rs +++ b/runtime/crab/src/weights/darwinia_account_migration.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -83,8 +83,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `29142` // Estimated: `32607` - // Minimum execution time: 198_000_000 picoseconds. - Weight::from_parts(203_000_000, 0) + // Minimum execution time: 182_000_000 picoseconds. + Weight::from_parts(184_000_000, 0) .saturating_add(Weight::from_parts(0, 32607)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(15)) @@ -123,10 +123,10 @@ impl darwinia_account_migration::WeightInfo for WeightI // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(29_213_918, 0) + Weight::from_parts(26_269_884, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 17_131 - .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(x.into())) + // Standard Error: 15_730 + .saturating_add(Weight::from_parts(10_152, 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())) @@ -140,8 +140,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_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 f6549f28a..8157ab50a 100644 --- a/runtime/crab/src/weights/darwinia_deposit.rs +++ b/runtime/crab/src/weights/darwinia_deposit.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -67,10 +67,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: - // Measured: `26779` + // Measured: `26745` // Estimated: `29615` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(88_000_000, 0) + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(84_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -83,10 +83,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `26546` + // Measured: `26512` // Estimated: `29615` - // Minimum execution time: 1_915_000_000 picoseconds. - Weight::from_parts(1_951_000_000, 0) + // Minimum execution time: 1_709_000_000 picoseconds. + Weight::from_parts(1_721_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -101,10 +101,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// 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` + // Measured: `26634` // Estimated: `29615` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(60_000_000, 0) + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(63_000_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_staking.rs b/runtime/crab/src/weights/darwinia_staking.rs index 818365421..75d4a7294 100644 --- a/runtime/crab/src/weights/darwinia_staking.rs +++ b/runtime/crab/src/weights/darwinia_staking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -74,11 +74,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1907` // Estimated: `29615` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(176_329_502, 0) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(158_171_173, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_844 - .saturating_add(Weight::from_parts(10_145, 0).saturating_mul(x.into())) + // Standard Error: 1_736 + .saturating_add(Weight::from_parts(10_138, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -95,11 +95,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1556` // Estimated: `29615` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(77_435_711, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(68_981_598, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_362 - .saturating_add(Weight::from_parts(7_010, 0).saturating_mul(x.into())) + // Standard Error: 1_214 + .saturating_add(Weight::from_parts(8_153, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -116,11 +116,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1660` // Estimated: `29615` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(65_347_136, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(58_939_316, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_117 - .saturating_add(Weight::from_parts(6_804, 0).saturating_mul(x.into())) + // Standard Error: 1_015 + .saturating_add(Weight::from_parts(5_660, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -138,8 +138,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2145` // Estimated: `29615` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(134_000_000, 0) + // Minimum execution time: 114_000_000 picoseconds. + Weight::from_parts(119_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -150,8 +150,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3497` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +166,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `578` // Estimated: `5298` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,7 +181,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -197,8 +197,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1415` // Estimated: `4880` - // Minimum execution time: 208_000_000 picoseconds. - Weight::from_parts(216_000_000, 0) + // Minimum execution time: 179_000_000 picoseconds. + Weight::from_parts(183_000_000, 0) .saturating_add(Weight::from_parts(0, 4880)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -209,7 +209,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/crab/src/weights/frame_system.rs b/runtime/crab/src/weights/frame_system.rs index b301fde55..9fa65f872 100644 --- a/runtime/crab/src/weights/frame_system.rs +++ b/runtime/crab/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -60,22 +60,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_305_470, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_772_293, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(151, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(152, 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: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(945, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(946, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -85,8 +85,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,11 +105,11 @@ impl frame_system::WeightInfo for WeightInfo { /// 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: 71_248_000_000 picoseconds. - Weight::from_parts(72_147_000_000, 0) - .saturating_add(Weight::from_parts(0, 1683)) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 70_732_000_000 picoseconds. + Weight::from_parts(72_583_000_000, 0) + .saturating_add(Weight::from_parts(0, 1649)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -120,11 +120,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_016 - .saturating_add(Weight::from_parts(823_351, 0).saturating_mul(i.into())) + // Standard Error: 858 + .saturating_add(Weight::from_parts(735_130, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -137,8 +137,8 @@ impl frame_system::WeightInfo for WeightInfo { // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 951 - .saturating_add(Weight::from_parts(590_749, 0).saturating_mul(i.into())) + // Standard Error: 831 + .saturating_add(Weight::from_parts(523_080, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -147,12 +147,12 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `117 + p * (69 ±0)` - // Estimated: `113 + p * (70 ±0)` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) - .saturating_add(Weight::from_parts(0, 113)) - // Standard Error: 1_047 - .saturating_add(Weight::from_parts(1_070_339, 0).saturating_mul(p.into())) + // Estimated: `105 + p * (70 ±0)` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 105)) + // Standard Error: 836 + .saturating_add(Weight::from_parts(948_364, 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 2c546766a..519721397 100644 --- a/runtime/crab/src/weights/pallet_assets.rs +++ b/runtime/crab/src/weights/pallet_assets.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -61,8 +61,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +73,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,8 +85,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,11 +102,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `472 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 5_421 - .saturating_add(Weight::from_parts(13_516_479, 0).saturating_mul(c.into())) + // Standard Error: 8_168 + .saturating_add(Weight::from_parts(11_911_268, 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)) @@ -122,11 +122,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 3_821 - .saturating_add(Weight::from_parts(4_360_093, 0).saturating_mul(a.into())) + // Standard Error: 6_556 + .saturating_add(Weight::from_parts(3_917_920, 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)) @@ -141,8 +141,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -155,8 +155,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -169,8 +169,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -185,8 +185,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(47_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -201,8 +201,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -217,8 +217,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -231,8 +231,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -245,8 +245,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -257,8 +257,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -269,8 +269,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -283,8 +283,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -295,8 +295,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -307,15 +307,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn 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: 14_000_000 picoseconds. - Weight::from_parts(15_661_352, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_807_562, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 1_095 - .saturating_add(Weight::from_parts(3_437, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -327,8 +325,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -339,17 +337,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `200` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_120_062, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_072_189, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 1_404 - .saturating_add(Weight::from_parts(5_259, 0).saturating_mul(n.into())) - // Standard Error: 1_404 - .saturating_add(Weight::from_parts(858, 0).saturating_mul(s.into())) + // Standard Error: 1_010 + .saturating_add(Weight::from_parts(3_400, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -361,8 +357,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -373,8 +369,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -387,8 +383,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -405,8 +401,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `562` // Estimated: `6168` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(50_000_000, 0) + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(42_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -419,8 +415,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -433,8 +429,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -445,8 +441,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -461,8 +457,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -475,8 +471,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -491,8 +487,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -505,8 +501,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -519,8 +515,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_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 f559ccdd3..edb886436 100644 --- a/runtime/crab/src/weights/pallet_balances.rs +++ b/runtime/crab/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -61,8 +61,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(48_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,8 +73,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(48_000_000, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,8 +85,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -97,8 +97,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,8 +109,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(58_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -121,8 +121,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,8 +133,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,11 +146,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `91 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 8_205 - .saturating_add(Weight::from_parts(15_481_698, 0).saturating_mul(u.into())) + // Standard Error: 9_609 + .saturating_add(Weight::from_parts(13_823_893, 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 8ebd5c54d..13dbae0ba 100644 --- a/runtime/crab/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/crab/src/weights/pallet_bridge_grandpa.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -71,15 +71,17 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { + fn submit_finality_proof(p: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2544 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_705_000_000 picoseconds. - Weight::from_parts(1_750_000_000, 0) + // Minimum execution time: 1_743_000_000 picoseconds. + Weight::from_parts(48_846_332, 0) .saturating_add(Weight::from_parts(0, 165335)) - // Standard Error: 170_189 - .saturating_add(Weight::from_parts(21_593_346, 0).saturating_mul(p.into())) + // Standard Error: 27_381 + .saturating_add(Weight::from_parts(30_335_508, 0).saturating_mul(p.into())) + // Standard Error: 28_030 + .saturating_add(Weight::from_parts(1_830_656, 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 73031b4a6..25783d152 100644 --- a/runtime/crab/src/weights/pallet_bridge_messages.rs +++ b/runtime/crab/src/weights/pallet_bridge_messages.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -67,10 +67,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `406` + // Measured: `372` // Estimated: `6172` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(84_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(70_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -87,10 +87,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `406` + // Measured: `372` // Estimated: `6172` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(71_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -107,10 +107,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `406` + // Measured: `372` // Estimated: `6172` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(89_000_000, 0) + // Minimum execution time: 75_000_000 picoseconds. + Weight::from_parts(76_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -121,14 +121,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -137,14 +139,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 50_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -153,14 +157,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -169,14 +175,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -185,14 +193,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(80_000_000, 0) + // Minimum execution time: 77_000_000 picoseconds. + Weight::from_parts(77_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -201,14 +211,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `576` + // Measured: `546` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgeDarwiniaMessages::PalletOperatingMode` (r:1 w:0) @@ -221,10 +233,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `661` + // Measured: `627` // Estimated: `69033` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -239,10 +251,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `661` + // Measured: `627` // Estimated: `69033` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -257,10 +269,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `661` + // Measured: `627` // Estimated: `69033` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(30_000_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 05960639a..4f07c8dbc 100644 --- a/runtime/crab/src/weights/pallet_bridge_parachains.rs +++ b/runtime/crab/src/weights/pallet_bridge_parachains.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -70,11 +70,11 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `551` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - // Standard Error: 29_985 - .saturating_add(Weight::from_parts(23_362_941, 0).saturating_mul(p.into())) + // Standard Error: 29_088 + .saturating_add(Weight::from_parts(22_342_148, 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()))) @@ -94,8 +94,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `551` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -114,8 +114,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `551` // Estimated: `69033` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(71_000_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_technical_committee.rs b/runtime/crab/src/weights/pallet_collective.rs similarity index 74% rename from runtime/crab/src/weights/pallet_collective_technical_committee.rs rename to runtime/crab/src/weights/pallet_collective.rs index 7c6167a66..a93cf540b 100644 --- a/runtime/crab/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/crab/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -66,20 +66,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` + // Estimated: `12234 + m * (1231 ±14) + p * (3660 ±14)` // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 12234)) - // Standard Error: 23_376 - .saturating_add(Weight::from_parts(2_138_186, 0).saturating_mul(m.into())) - // Standard Error: 23_376 - .saturating_add(Weight::from_parts(5_512_608, 0).saturating_mul(p.into())) + // Standard Error: 33_720 + .saturating_add(Weight::from_parts(2_161_709, 0).saturating_mul(m.into())) + // Standard Error: 33_720 + .saturating_add(Weight::from_parts(5_139_691, 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)) @@ -89,44 +86,44 @@ impl pallet_collective::WeightInfo for WeightInfo { } /// 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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `1588 + m * (20 ±0)` + // Measured: `107 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_224_870, 0) - .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(1_058, 0).saturating_mul(b.into())) - // Standard Error: 357 - .saturating_add(Weight::from_parts(4_441, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + Weight::from_parts(15_375_492, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 53 + .saturating_add(Weight::from_parts(628, 0).saturating_mul(b.into())) + // Standard Error: 548 + .saturating_add(Weight::from_parts(5_742, 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: `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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `3568 + m * (20 ±0)` + // Measured: `107 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_563_515, 0) - .saturating_add(Weight::from_parts(0, 3568)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(b.into())) - // Standard Error: 291 - .saturating_add(Weight::from_parts(5_413, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + Weight::from_parts(16_768_307, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 76 + .saturating_add(Weight::from_parts(1_368, 0).saturating_mul(b.into())) + // Standard Error: 786 + .saturating_add(Weight::from_parts(10_068, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) @@ -142,22 +139,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `391 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_147_067, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_454_594, 0) .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 61 - .saturating_add(Weight::from_parts(1_831, 0).saturating_mul(b.into())) - // Standard Error: 646 - .saturating_add(Weight::from_parts(6_026, 0).saturating_mul(m.into())) - // Standard Error: 638 - .saturating_add(Weight::from_parts(126_274, 0).saturating_mul(p.into())) + // Standard Error: 73 + .saturating_add(Weight::from_parts(1_076, 0).saturating_mul(b.into())) + // Standard Error: 767 + .saturating_add(Weight::from_parts(9_112, 0).saturating_mul(m.into())) + // Standard Error: 758 + .saturating_add(Weight::from_parts(131_534, 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())) @@ -168,16 +162,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 18_000_000 picoseconds. - Weight::from_parts(19_017_174, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_162_069, 0) .saturating_add(Weight::from_parts(0, 4330)) - // Standard Error: 677 - .saturating_add(Weight::from_parts(7_628, 0).saturating_mul(m.into())) + // Standard Error: 784 + .saturating_add(Weight::from_parts(12_801, 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())) @@ -192,19 +185,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `443 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_951_790, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_606_220, 0) .saturating_add(Weight::from_parts(0, 3888)) - // Standard Error: 674 - .saturating_add(Weight::from_parts(6_223, 0).saturating_mul(m.into())) - // Standard Error: 658 - .saturating_add(Weight::from_parts(126_492, 0).saturating_mul(p.into())) + // Standard Error: 923 + .saturating_add(Weight::from_parts(5_621, 0).saturating_mul(m.into())) + // Standard Error: 900 + .saturating_add(Weight::from_parts(133_114, 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())) @@ -216,28 +207,27 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 36_000_000 picoseconds. - Weight::from_parts(37_313_835, 0) - .saturating_add(Weight::from_parts(0, 4062)) - // Standard Error: 113 - .saturating_add(Weight::from_parts(647, 0).saturating_mul(b.into())) - // Standard Error: 1_204 - .saturating_add(Weight::from_parts(7_468, 0).saturating_mul(m.into())) - // Standard Error: 1_174 - .saturating_add(Weight::from_parts(142_426, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `749 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4066 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(32_332_856, 0) + .saturating_add(Weight::from_parts(0, 4066)) + // Standard Error: 227 + .saturating_add(Weight::from_parts(2_351, 0).saturating_mul(b.into())) + // Standard Error: 2_408 + .saturating_add(Weight::from_parts(3_876, 0).saturating_mul(m.into())) + // Standard Error: 2_348 + .saturating_add(Weight::from_parts(173_571, 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())) @@ -255,19 +245,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `463 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(28_671_374, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_858_985, 0) .saturating_add(Weight::from_parts(0, 3908)) - // Standard Error: 942 - .saturating_add(Weight::from_parts(8_498, 0).saturating_mul(m.into())) - // Standard Error: 919 - .saturating_add(Weight::from_parts(125_866, 0).saturating_mul(p.into())) + // Standard Error: 734 + .saturating_add(Weight::from_parts(6_616, 0).saturating_mul(m.into())) + // Standard Error: 716 + .saturating_add(Weight::from_parts(131_205, 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())) @@ -281,26 +269,27 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 38_000_000 picoseconds. - Weight::from_parts(39_980_686, 0) - .saturating_add(Weight::from_parts(0, 4082)) - // Standard Error: 152 - .saturating_add(Weight::from_parts(1_466, 0).saturating_mul(b.into())) - // Standard Error: 1_567 - .saturating_add(Weight::from_parts(155_490, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `769 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4086 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(38_204_592, 0) + .saturating_add(Weight::from_parts(0, 4086)) + // Standard Error: 114 + .saturating_add(Weight::from_parts(404, 0).saturating_mul(b.into())) + // Standard Error: 1_210 + .saturating_add(Weight::from_parts(6_657, 0).saturating_mul(m.into())) + // Standard Error: 1_180 + .saturating_add(Weight::from_parts(153_626, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(6)) .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())) @@ -313,16 +302,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 15_000_000 picoseconds. - Weight::from_parts(15_471_073, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_623_548, 0) .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 515 - .saturating_add(Weight::from_parts(119_510, 0).saturating_mul(p.into())) + // Standard Error: 905 + .saturating_add(Weight::from_parts(121_040, 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_conviction_voting.rs b/runtime/crab/src/weights/pallet_conviction_voting.rs index abe5933c2..56f523d3f 100644 --- a/runtime/crab/src/weights/pallet_conviction_voting.rs +++ b/runtime/crab/src/weights/pallet_conviction_voting.rs @@ -19,10 +19,9 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -33,9 +32,9 @@ // --heap-pages // 4096 // --chain -// pangolin-dev +// crab-dev // --output -// runtime/pangolin/src/weights +// runtime/crab/src/weights // --pallet // * // --extrinsic @@ -72,8 +71,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13189` // Estimated: `42428` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(101_000_000, 0) + // Minimum execution time: 88_000_000 picoseconds. + Weight::from_parts(98_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +93,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13910` // Estimated: `83866` - // Minimum execution time: 160_000_000 picoseconds. - Weight::from_parts(166_000_000, 0) + // Minimum execution time: 147_000_000 picoseconds. + Weight::from_parts(155_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) @@ -110,8 +109,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13659` // Estimated: `83866` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(135_000_000, 0) + // Minimum execution time: 122_000_000 picoseconds. + Weight::from_parts(129_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -124,8 +123,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `12783` // Estimated: `30694` - // Minimum execution time: 48_000_000 picoseconds. - Weight::from_parts(50_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 30694)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,11 +146,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `7303 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(36_006_496, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(32_422_822, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 521_291 - .saturating_add(Weight::from_parts(62_834_036, 0).saturating_mul(r.into())) + // Standard Error: 474_255 + .saturating_add(Weight::from_parts(55_802_810, 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)) @@ -169,11 +168,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `7159 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(3_763_790, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(2_038_079, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 523_106 - .saturating_add(Weight::from_parts(62_601_296, 0).saturating_mul(r.into())) + // Standard Error: 472_570 + .saturating_add(Weight::from_parts(55_858_277, 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)) @@ -192,8 +191,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `11969` // Estimated: `30694` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(80_000_000, 0) + // Minimum execution time: 73_000_000 picoseconds. + Weight::from_parts(81_000_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/crab/src/weights/pallet_fee_market.rs b/runtime/crab/src/weights/pallet_fee_market.rs index cda3545a4..222063b5d 100644 --- a/runtime/crab/src/weights/pallet_fee_market.rs +++ b/runtime/crab/src/weights/pallet_fee_market.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -75,8 +75,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1683` // Estimated: `27423` - // Minimum execution time: 128_000_000 picoseconds. - Weight::from_parts(132_000_000, 0) + // Minimum execution time: 110_000_000 picoseconds. + Weight::from_parts(112_000_000, 0) .saturating_add(Weight::from_parts(0, 27423)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -101,8 +101,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 120_000_000 picoseconds. - Weight::from_parts(124_000_000, 0) + // Minimum execution time: 104_000_000 picoseconds. + Weight::from_parts(107_000_000, 0) .saturating_add(Weight::from_parts(0, 27495)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -127,8 +127,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(155_000_000, 0) + // Minimum execution time: 129_000_000 picoseconds. + Weight::from_parts(130_000_000, 0) .saturating_add(Weight::from_parts(0, 27495)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -147,8 +147,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(99_000_000, 0) + // Minimum execution time: 83_000_000 picoseconds. + Weight::from_parts(85_000_000, 0) .saturating_add(Weight::from_parts(0, 27076)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) @@ -173,8 +173,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1822` // Estimated: `25087` - // Minimum execution time: 122_000_000 picoseconds. - Weight::from_parts(126_000_000, 0) + // Minimum execution time: 105_000_000 picoseconds. + Weight::from_parts(107_000_000, 0) .saturating_add(Weight::from_parts(0, 25087)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -185,8 +185,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,8 +204,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 95_000_000 picoseconds. - Weight::from_parts(98_000_000, 0) + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(83_000_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/crab/src/weights/pallet_identity.rs b/runtime/crab/src/weights/pallet_identity.rs index 912bdd7ec..4bd933c25 100644 --- a/runtime/crab/src/weights/pallet_identity.rs +++ b/runtime/crab/src/weights/pallet_identity.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -62,11 +62,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_911_830, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_300_685, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_577 - .saturating_add(Weight::from_parts(69_765, 0).saturating_mul(r.into())) + // Standard Error: 6_574 + .saturating_add(Weight::from_parts(62_322, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,13 +78,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_640_472, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_738_545, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 7_802 - .saturating_add(Weight::from_parts(41_321, 0).saturating_mul(r.into())) - // Standard Error: 1_522 - .saturating_add(Weight::from_parts(537_216, 0).saturating_mul(x.into())) + // Standard Error: 3_599 + .saturating_add(Weight::from_parts(45_641, 0).saturating_mul(r.into())) + // Standard Error: 702 + .saturating_add(Weight::from_parts(532_281, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -99,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(22_707_242, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(19_004_883, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 4_460 - .saturating_add(Weight::from_parts(3_345_411, 0).saturating_mul(s.into())) + // Standard Error: 2_986 + .saturating_add(Weight::from_parts(3_071_387, 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)) @@ -121,11 +121,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(23_923_181, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(19_315_648, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_612 - .saturating_add(Weight::from_parts(1_323_279, 0).saturating_mul(p.into())) + // Standard Error: 3_041 + .saturating_add(Weight::from_parts(1_232_923, 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()))) @@ -143,15 +143,15 @@ 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: 58_000_000 picoseconds. - Weight::from_parts(18_216_581, 0) + // Minimum execution time: 53_000_000 picoseconds. + Weight::from_parts(25_668_908, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 29_247 - .saturating_add(Weight::from_parts(611_124, 0).saturating_mul(r.into())) - // Standard Error: 5_711 - .saturating_add(Weight::from_parts(1_370_000, 0).saturating_mul(s.into())) - // Standard Error: 5_711 - .saturating_add(Weight::from_parts(345_612, 0).saturating_mul(x.into())) + // Standard Error: 7_430 + .saturating_add(Weight::from_parts(96_424, 0).saturating_mul(r.into())) + // Standard Error: 1_451 + .saturating_add(Weight::from_parts(1_228_651, 0).saturating_mul(s.into())) + // Standard Error: 1_451 + .saturating_add(Weight::from_parts(285_335, 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()))) @@ -166,13 +166,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `355 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_405_300, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_854_201, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 9_378 - .saturating_add(Weight::from_parts(38_903, 0).saturating_mul(r.into())) - // Standard Error: 1_829 - .saturating_add(Weight::from_parts(561_058, 0).saturating_mul(x.into())) + // Standard Error: 4_394 + .saturating_add(Weight::from_parts(43_457, 0).saturating_mul(r.into())) + // Standard Error: 857 + .saturating_add(Weight::from_parts(546_515, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,15 +180,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(_r: u32, x: u32, ) -> Weight { + fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(30_220_524, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_218_213, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_355 - .saturating_add(Weight::from_parts(540_543, 0).saturating_mul(x.into())) + // Standard Error: 3_816 + .saturating_add(Weight::from_parts(11_566, 0).saturating_mul(r.into())) + // Standard Error: 744 + .saturating_add(Weight::from_parts(547_059, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -199,11 +201,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_847_801, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_635_000, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_272 - .saturating_add(Weight::from_parts(23_130, 0).saturating_mul(r.into())) + // Standard Error: 3_217 + .saturating_add(Weight::from_parts(61_239, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -214,11 +216,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_119_796, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_715_701, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 4_310 - .saturating_add(Weight::from_parts(25_021, 0).saturating_mul(r.into())) + // Standard Error: 3_855 + .saturating_add(Weight::from_parts(75_871, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -229,11 +231,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_603_546, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_738_925, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_007 - .saturating_add(Weight::from_parts(85_131, 0).saturating_mul(r.into())) + // Standard Error: 3_029 + .saturating_add(Weight::from_parts(62_507, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -247,13 +249,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(21_081_754, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(16_965_999, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 10_742 - .saturating_add(Weight::from_parts(40_584, 0).saturating_mul(r.into())) - // Standard Error: 1_987 - .saturating_add(Weight::from_parts(850_742, 0).saturating_mul(x.into())) + // Standard Error: 5_329 + .saturating_add(Weight::from_parts(42_722, 0).saturating_mul(r.into())) + // Standard Error: 986 + .saturating_add(Weight::from_parts(848_605, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -272,15 +274,15 @@ 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: 80_000_000 picoseconds. - Weight::from_parts(49_354_504, 0) + // Minimum execution time: 71_000_000 picoseconds. + Weight::from_parts(40_395_680, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 27_967 - .saturating_add(Weight::from_parts(98_482, 0).saturating_mul(r.into())) - // Standard Error: 5_461 - .saturating_add(Weight::from_parts(1_361_371, 0).saturating_mul(s.into())) - // Standard Error: 5_461 - .saturating_add(Weight::from_parts(307_513, 0).saturating_mul(x.into())) + // Standard Error: 10_354 + .saturating_add(Weight::from_parts(231_928, 0).saturating_mul(r.into())) + // Standard Error: 2_022 + .saturating_add(Weight::from_parts(1_235_081, 0).saturating_mul(s.into())) + // Standard Error: 2_022 + .saturating_add(Weight::from_parts(300_562, 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()))) @@ -296,11 +298,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(34_662_745, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(27_852_260, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_497 - .saturating_add(Weight::from_parts(23_444, 0).saturating_mul(s.into())) + // Standard Error: 978 + .saturating_add(Weight::from_parts(16_559, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -313,11 +315,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(14_040_319, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(11_045_572, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 989 - .saturating_add(Weight::from_parts(4_831, 0).saturating_mul(s.into())) + // Standard Error: 815 + .saturating_add(Weight::from_parts(13_243, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -332,11 +334,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(36_127_436, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(29_099_185, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_820 - .saturating_add(Weight::from_parts(7_808, 0).saturating_mul(s.into())) + // Standard Error: 1_164 + .saturating_add(Weight::from_parts(19_208, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -351,11 +353,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `659 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_792_685, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_452_897, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 1_407 - .saturating_add(Weight::from_parts(14_429, 0).saturating_mul(s.into())) + // Standard Error: 713 + .saturating_add(Weight::from_parts(19_157, 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_preimage.rs b/runtime/crab/src/weights/pallet_preimage.rs index 3ea5ff24e..fdabdef10 100644 --- a/runtime/crab/src/weights/pallet_preimage.rs +++ b/runtime/crab/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -64,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_117, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,11 +81,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_113, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_078, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,11 +98,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_118, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,8 +114,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -128,8 +128,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -140,8 +140,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -152,8 +152,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -164,8 +164,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -176,8 +176,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -190,8 +190,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -202,7 +202,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. + // Minimum execution time: 7_000_000 picoseconds. Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) @@ -214,8 +214,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_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 4a8a6e453..84eeefed1 100644 --- a/runtime/crab/src/weights/pallet_proxy.rs +++ b/runtime/crab/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -57,17 +57,19 @@ 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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)` + // Measured: `153 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_098_599, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_047_586, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_207 - .saturating_add(Weight::from_parts(27_667, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 2_674 + .saturating_add(Weight::from_parts(27_603, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -75,18 +77,22 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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 { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `401 + a * (56 ±0) + p * (25 ±0)` + // Measured: `405 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(38_139_262, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(31_864_090, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 7_190 - .saturating_add(Weight::from_parts(162_089, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Standard Error: 2_329 + .saturating_add(Weight::from_parts(138_228, 0).saturating_mul(a.into())) + // Standard Error: 2_407 + .saturating_add(Weight::from_parts(26_193, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Proxy::Announcements` (r:1 w:1) @@ -99,11 +105,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(25_601_459, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_168_239, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_313 - .saturating_add(Weight::from_parts(92_605, 0).saturating_mul(a.into())) + // Standard Error: 1_784 + .saturating_add(Weight::from_parts(125_351, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,15 +119,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn 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: 23_000_000 picoseconds. - Weight::from_parts(24_649_318, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_863_880, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 1_951 - .saturating_add(Weight::from_parts(113_651, 0).saturating_mul(a.into())) + // Standard Error: 2_303 + .saturating_add(Weight::from_parts(134_482, 0).saturating_mul(a.into())) + // Standard Error: 2_380 + .saturating_add(Weight::from_parts(329, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,15 +141,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, _p: u32, ) -> Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_158_666, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_406_884, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_019 - .saturating_add(Weight::from_parts(132_453, 0).saturating_mul(a.into())) + // Standard Error: 2_343 + .saturating_add(Weight::from_parts(135_438, 0).saturating_mul(a.into())) + // Standard Error: 2_421 + .saturating_add(Weight::from_parts(22_040, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -152,11 +162,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(26_789_451, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_432_298, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_940 - .saturating_add(Weight::from_parts(34_829, 0).saturating_mul(p.into())) + // Standard Error: 2_743 + .saturating_add(Weight::from_parts(2_429, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,11 +177,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_206_072, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_888_428, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_777 - .saturating_add(Weight::from_parts(16_103, 0).saturating_mul(p.into())) + // Standard Error: 2_456 + .saturating_add(Weight::from_parts(43_915, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,11 +192,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_472_781, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_847_386, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_115 - .saturating_add(Weight::from_parts(25_593, 0).saturating_mul(p.into())) + // Standard Error: 1_598 + .saturating_add(Weight::from_parts(9_189, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,11 +207,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_700_037, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_229_780, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_058 - .saturating_add(Weight::from_parts(6_827, 0).saturating_mul(p.into())) + // Standard Error: 2_314 + .saturating_add(Weight::from_parts(400, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -212,11 +222,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_878_124, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_820_283, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_066 - .saturating_add(Weight::from_parts(13_076, 0).saturating_mul(p.into())) + // Standard Error: 2_009 + .saturating_add(Weight::from_parts(33_451, 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_referenda.rs b/runtime/crab/src/weights/pallet_referenda.rs index 2505affc2..39c4227c0 100644 --- a/runtime/crab/src/weights/pallet_referenda.rs +++ b/runtime/crab/src/weights/pallet_referenda.rs @@ -19,10 +19,9 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -33,9 +32,9 @@ // --heap-pages // 4096 // --chain -// pangolin-dev +// crab-dev // --output -// runtime/pangolin/src/weights +// runtime/crab/src/weights // --pallet // * // --extrinsic @@ -66,8 +65,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `42428` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -80,8 +79,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(51_000_000, 0) + // Minimum execution time: 43_000_000 picoseconds. + Weight::from_parts(44_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -96,10 +95,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// 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` + // Measured: `3342` // Estimated: `42428` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -114,10 +113,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// 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` + // Measured: `3362` // Estimated: `42428` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +131,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 61_000_000 picoseconds. - Weight::from_parts(63_000_000, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -142,15 +141,17 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// 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_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `494` - // Estimated: `4377` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) - .saturating_add(Weight::from_parts(0, 4377)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `549` + // Estimated: `83866` + // Minimum execution time: 50_000_000 picoseconds. + Weight::from_parts(50_000_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`) @@ -158,8 +159,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458` // Estimated: `4377` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -170,8 +171,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `417` // Estimated: `4377` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -184,8 +185,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `83866` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -200,10 +201,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `913` + // Measured: `879` // Estimated: `83866` - // Minimum execution time: 112_000_000 picoseconds. - Weight::from_parts(117_000_000, 0) + // Minimum execution time: 96_000_000 picoseconds. + Weight::from_parts(97_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -216,8 +217,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `5477` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -230,10 +231,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// 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` + // Measured: `3242` // Estimated: `42428` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -246,10 +247,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// 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` + // Measured: `3228` // Estimated: `42428` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -262,8 +263,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -276,8 +277,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -292,7 +293,7 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3057` // Estimated: `5477` - // Minimum execution time: 19_000_000 picoseconds. + // Minimum execution time: 17_000_000 picoseconds. Weight::from_parts(19_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) @@ -308,8 +309,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3077` // Estimated: `5477` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -322,8 +323,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `387` // Estimated: `42428` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -336,8 +337,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -348,8 +349,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `332` // Estimated: `4377` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -364,8 +365,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -380,8 +381,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -394,8 +395,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -408,8 +409,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `459` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -422,8 +423,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -436,8 +437,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `42428` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -452,8 +453,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `83866` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -466,8 +467,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -482,8 +483,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `4377` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -496,8 +497,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `409` // Estimated: `4377` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_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/crab/src/weights/pallet_scheduler.rs b/runtime/crab/src/weights/pallet_scheduler.rs index 1632bf4d2..19c75943d 100644 --- a/runtime/crab/src/weights/pallet_scheduler.rs +++ b/runtime/crab/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -62,7 +62,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `31` // Estimated: `1489` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,10 +75,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `78 + s * (177 ±0)` // Estimated: `42428` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(5_895_736, 0) + Weight::from_parts(5_289_624, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_892 - .saturating_add(Weight::from_parts(690_793, 0).saturating_mul(s.into())) + // Standard Error: 1_593 + .saturating_add(Weight::from_parts(621_222, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,7 +86,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -99,11 +99,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(564, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(505, 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())) @@ -114,8 +114,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -127,20 +127,23 @@ impl pallet_scheduler::WeightInfo for WeightInfo { Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -150,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(14_924_470, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_380_000, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_168 - .saturating_add(Weight::from_parts(662_103, 0).saturating_mul(s.into())) + // Standard Error: 1_670 + .saturating_add(Weight::from_parts(602_122, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(15_492_816, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(13_204_081, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_865 - .saturating_add(Weight::from_parts(1_206_477, 0).saturating_mul(s.into())) + // Standard Error: 2_110 + .saturating_add(Weight::from_parts(1_081_565, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -184,11 +187,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(18_211_294, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(16_053_176, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_723 - .saturating_add(Weight::from_parts(685_661, 0).saturating_mul(s.into())) + // Standard Error: 4_408 + .saturating_add(Weight::from_parts(611_788, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -201,11 +204,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(17_324_244, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(14_699_102, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_054 - .saturating_add(Weight::from_parts(1_236_931, 0).saturating_mul(s.into())) + // Standard Error: 1_791 + .saturating_add(Weight::from_parts(1_110_545, 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 a1860c12e..33f1471c0 100644 --- a/runtime/crab/src/weights/pallet_session.rs +++ b/runtime/crab/src/weights/pallet_session.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -63,8 +63,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -77,8 +77,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_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 f7c7dae3b..513b2a333 100644 --- a/runtime/crab/src/weights/pallet_timestamp.rs +++ b/runtime/crab/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -59,19 +59,19 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// 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` + // Measured: `42` // Estimated: `1493` // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `128` + // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(4_000_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 bb2d4c320..775ad8fc5 100644 --- a/runtime/crab/src/weights/pallet_treasury.rs +++ b/runtime/crab/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -71,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -85,8 +85,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `504` // Estimated: `6172` - // Minimum execution time: 48_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -100,11 +100,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(10_311_966, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(9_236_268, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_246 - .saturating_add(Weight::from_parts(34_802, 0).saturating_mul(p.into())) + // Standard Error: 774 + .saturating_add(Weight::from_parts(22_842, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,7 +114,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 7_000_000 picoseconds. + // Minimum execution time: 6_000_000 picoseconds. Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) @@ -135,11 +135,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(49_164_223, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(51_691_642, 0) .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 57_700 - .saturating_add(Weight::from_parts(2_907_346, 0).saturating_mul(p.into())) + // Standard Error: 108_499 + .saturating_add(Weight::from_parts(2_874_643, 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_tx_pause.rs b/runtime/crab/src/weights/pallet_tx_pause.rs new file mode 100644 index 000000000..23ecdb53a --- /dev/null +++ b/runtime/crab/src/weights/pallet_tx_pause.rs @@ -0,0 +1,82 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_tx_pause` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// crab-dev +// --output +// runtime/crab/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_tx_pause`. +pub struct WeightInfo(PhantomData); +impl pallet_tx_pause::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn pause() -> Weight { + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn unpause() -> Weight { + // Proof Size summary in bytes: + // Measured: `566` + // Estimated: `3997` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/crab/src/weights/pallet_utility.rs b/runtime/crab/src/weights/pallet_utility.rs index d4aca56ce..261b498c4 100644 --- a/runtime/crab/src/weights/pallet_utility.rs +++ b/runtime/crab/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -55,53 +55,65 @@ use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(2_391_639, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_578 - .saturating_add(Weight::from_parts(5_805_866, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(3_488_147, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 1_707 + .saturating_add(Weight::from_parts(6_102_682, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn as_derivative() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(28_515_544, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_498 - .saturating_add(Weight::from_parts(6_032_027, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(46_808_526, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 15_138 + .saturating_add(Weight::from_parts(6_366_598, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(8_978_654, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_848 - .saturating_add(Weight::from_parts(5_740_841, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_120_058, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 3_181 + .saturating_add(Weight::from_parts(6_105_561, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/crab/src/weights/pallet_vesting.rs b/runtime/crab/src/weights/pallet_vesting.rs index b01ca618d..cb3878fc0 100644 --- a/runtime/crab/src/weights/pallet_vesting.rs +++ b/runtime/crab/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 @@ -63,15 +63,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 31_000_000 picoseconds. - Weight::from_parts(32_756_188, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_239_836, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 6_577 - .saturating_add(Weight::from_parts(78_493, 0).saturating_mul(s.into())) + // Standard Error: 2_550 + .saturating_add(Weight::from_parts(10_045, 0).saturating_mul(l.into())) + // Standard Error: 4_538 + .saturating_add(Weight::from_parts(54_189, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,17 +85,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 34_000_000 picoseconds. - Weight::from_parts(35_125_337, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(31_000_301, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_993 - .saturating_add(Weight::from_parts(13_736, 0).saturating_mul(l.into())) - // Standard Error: 3_547 - .saturating_add(Weight::from_parts(63_659, 0).saturating_mul(s.into())) + // Standard Error: 2_688 + .saturating_add(Weight::from_parts(18_249, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -111,13 +111,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(34_038_119, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_461_585, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_889 - .saturating_add(Weight::from_parts(4_738, 0).saturating_mul(l.into())) - // Standard Error: 3_361 - .saturating_add(Weight::from_parts(55_607, 0).saturating_mul(s.into())) + // Standard Error: 1_976 + .saturating_add(Weight::from_parts(9_081, 0).saturating_mul(l.into())) + // Standard Error: 3_516 + .saturating_add(Weight::from_parts(59_984, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -131,17 +131,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 37_000_000 picoseconds. - Weight::from_parts(34_747_874, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_798_815, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 4_441 - .saturating_add(Weight::from_parts(64_148, 0).saturating_mul(l.into())) - // Standard Error: 7_902 - .saturating_add(Weight::from_parts(134_554, 0).saturating_mul(s.into())) + // Standard Error: 2_041 + .saturating_add(Weight::from_parts(19_914, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -155,15 +153,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(_l: u32, s: u32, ) -> Weight { + fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `307 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 74_000_000 picoseconds. - Weight::from_parts(78_130_934, 0) + // Minimum execution time: 63_000_000 picoseconds. + Weight::from_parts(64_795_518, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 10_078 - .saturating_add(Weight::from_parts(88_026, 0).saturating_mul(s.into())) + // Standard Error: 1_914 + .saturating_add(Weight::from_parts(5_949, 0).saturating_mul(l.into())) + // Standard Error: 3_407 + .saturating_add(Weight::from_parts(95_742, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -181,13 +181,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `469 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6172` - // Minimum execution time: 75_000_000 picoseconds. - Weight::from_parts(77_286_073, 0) + // Minimum execution time: 66_000_000 picoseconds. + Weight::from_parts(67_050_889, 0) .saturating_add(Weight::from_parts(0, 6172)) - // Standard Error: 2_233 - .saturating_add(Weight::from_parts(20_624, 0).saturating_mul(l.into())) - // Standard Error: 3_973 - .saturating_add(Weight::from_parts(92_049, 0).saturating_mul(s.into())) + // Standard Error: 7_355 + .saturating_add(Weight::from_parts(21_080, 0).saturating_mul(l.into())) + // Standard Error: 13_086 + .saturating_add(Weight::from_parts(137_169, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -201,15 +201,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 34_000_000 picoseconds. - Weight::from_parts(36_711_707, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_609_565, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 4_580 - .saturating_add(Weight::from_parts(11_390, 0).saturating_mul(s.into())) + // Standard Error: 2_568 + .saturating_add(Weight::from_parts(29_521, 0).saturating_mul(l.into())) + // Standard Error: 4_743 + .saturating_add(Weight::from_parts(22_319, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,13 +229,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(37_866_167, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_357_911, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 2_532 - .saturating_add(Weight::from_parts(26_241, 0).saturating_mul(l.into())) - // Standard Error: 4_675 - .saturating_add(Weight::from_parts(81_959, 0).saturating_mul(s.into())) + // Standard Error: 1_841 + .saturating_add(Weight::from_parts(4_311, 0).saturating_mul(l.into())) + // Standard Error: 3_401 + .saturating_add(Weight::from_parts(49_371, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/crab/src/weights/pallet_whitelist.rs b/runtime/crab/src/weights/pallet_whitelist.rs index f829af0ff..d48cb9d09 100644 --- a/runtime/crab/src/weights/pallet_whitelist.rs +++ b/runtime/crab/src/weights/pallet_whitelist.rs @@ -19,10 +19,9 @@ //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -33,9 +32,9 @@ // --heap-pages // 4096 // --chain -// pangolin-dev +// crab-dev // --output -// runtime/pangolin/src/weights +// runtime/crab/src/weights // --pallet // * // --extrinsic @@ -62,10 +61,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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` + // Measured: `48` // Estimated: `3544` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -76,10 +75,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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` + // Measured: `176` // Estimated: `3544` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -93,13 +92,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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: 29_000_000 picoseconds. - Weight::from_parts(31_003_752, 0) - .saturating_add(Weight::from_parts(0, 3753)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(470, 0).saturating_mul(n.into())) + // Measured: `252 + n * (1 ±0)` + // Estimated: `3716 + n * (1 ±0)` + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(15_735_519, 0) + .saturating_add(Weight::from_parts(0, 3716)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(473, 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())) @@ -111,13 +110,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10000]`. fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `213` + // Measured: `176` // Estimated: `3544` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(18_844_119, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_206_667, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 31 - .saturating_add(Weight::from_parts(1_715, 0).saturating_mul(n.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(987, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/Cargo.toml b/runtime/darwinia/Cargo.toml index 040c2c7d6..42497a5e3 100644 --- a/runtime/darwinia/Cargo.toml +++ b/runtime/darwinia/Cargo.toml @@ -116,7 +116,7 @@ pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-treasury = { workspace = true } -pallet-tx-pause = { workspace = true } +# pallet-tx-pause = { workspace = true } pallet-utility = { workspace = true } pallet-vesting = { workspace = true } pallet-whitelist = { workspace = true } @@ -253,7 +253,7 @@ std = [ "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-treasury/std", - "pallet-tx-pause/std", + # "pallet-tx-pause/std", "pallet-utility/std", "pallet-vesting/std", "pallet-whitelist/std", @@ -352,7 +352,7 @@ runtime-benchmarks = [ "pallet-scheduler/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", - "pallet-tx-pause/runtime-benchmarks", + # "pallet-tx-pause/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-whitelist/runtime-benchmarks", @@ -424,7 +424,7 @@ try-runtime = [ "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", - "pallet-tx-pause/try-runtime", + # "pallet-tx-pause/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-whitelist/try-runtime", diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index 1da184dc2..6b536b268 100644 --- a/runtime/darwinia/src/lib.rs +++ b/runtime/darwinia/src/lib.rs @@ -79,7 +79,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Darwinia2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_1_0, + spec_version: 6_6_0_0, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -152,7 +152,7 @@ frame_support::construct_runtime! { Scheduler: pallet_scheduler = 28, Preimage: pallet_preimage = 29, Proxy: pallet_proxy = 30, - TxPause: pallet_tx_pause = 52, + // TxPause: pallet_tx_pause = 52, // XCM stuff. XcmpQueue: cumulus_pallet_xcmp_queue = 32, @@ -198,6 +198,7 @@ frame_benchmarking::define_benchmarks! { [pallet_balances, Balances] [pallet_collective, TechnicalCommittee] [pallet_conviction_voting, ConvictionVoting] + [pallet_democracy, Democracy] [pallet_identity, Identity] [pallet_preimage, Preimage] [pallet_proxy, Proxy] @@ -206,8 +207,9 @@ frame_benchmarking::define_benchmarks! { [pallet_session, SessionBench::] [pallet_timestamp, Timestamp] [pallet_treasury, Treasury] - [pallet_tx_pause, TxPause] + // [pallet_tx_pause, TxPause] [pallet_utility, Utility] + [pallet_vesting, Vesting] [pallet_whitelist, Whitelist] } diff --git a/runtime/darwinia/src/migration.rs b/runtime/darwinia/src/migration.rs index d98ccfecb..7d109d3ce 100644 --- a/runtime/darwinia/src/migration.rs +++ b/runtime/darwinia/src/migration.rs @@ -41,7 +41,8 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { } fn migrate() -> frame_support::weights::Weight { - // polkadot-sdk + // substrate + use frame_support::pallet_prelude::StorageVersion; use sp_core::H160; use sp_std::str::FromStr; @@ -53,7 +54,8 @@ fn migrate() -> frame_support::weights::Weight { return RuntimeBlockWeights::get().max_block; } - frame_support::weights::Weight::zero() - // RuntimeBlockWeights::get().max_block - // ::DbWeight::get().reads_writes(0, 1) + StorageVersion::new(1).put::>(); + + // frame_support::weights::Weight::zero() + ::DbWeight::get().reads_writes(0, 5) } diff --git a/runtime/darwinia/src/pallets.rs b/runtime/darwinia/src/pallets.rs index f5da4979b..f4e2156c7 100644 --- a/runtime/darwinia/src/pallets.rs +++ b/runtime/darwinia/src/pallets.rs @@ -81,7 +81,7 @@ mod preimage; mod proxy; -mod tx_pause; +// mod tx_pause; // XCM stuff. mod xcmp_queue; diff --git a/runtime/darwinia/src/pallets/governance.rs b/runtime/darwinia/src/pallets/governance.rs index 97423043e..37d02c535 100644 --- a/runtime/darwinia/src/pallets/governance.rs +++ b/runtime/darwinia/src/pallets/governance.rs @@ -50,7 +50,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_council::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; @@ -62,7 +62,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_conviction_voting::Config for Runtime { @@ -72,8 +72,7 @@ impl pallet_conviction_voting::Config for Runtime { type Polls = Referenda; type RuntimeEvent = RuntimeEvent; type VoteLockingPeriod = ConstU32<{ DAYS }>; - // type WeightInfo = weights::pallet_conviction_voting::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_conviction_voting::WeightInfo; } pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); @@ -95,8 +94,7 @@ impl pallet_referenda::Config for Runtime { type Tracks = TracksInfo; type UndecidingTimeout = ConstU32<{ 28 * DAYS }>; type Votes = pallet_conviction_voting::VotesOf; - // type WeightInfo = weights::pallet_referenda::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_referenda::WeightInfo; } impl custom_origins::Config for Runtime {} @@ -108,8 +106,7 @@ impl pallet_whitelist::Config for Runtime { type Preimages = Preimage; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; - // type WeightInfo = weights::pallet_whitelist::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_whitelist::WeightInfo; type WhitelistOrigin = RootOrAtLeastFourFifth; } diff --git a/runtime/darwinia/src/pallets/system.rs b/runtime/darwinia/src/pallets/system.rs index 12c7ee996..b093bbb7d 100644 --- a/runtime/darwinia/src/pallets/system.rs +++ b/runtime/darwinia/src/pallets/system.rs @@ -65,7 +65,8 @@ impl frame_system::Config for Runtime { /// The identifier used to distinguish between accounts. type AccountId = AccountId; /// The basic call filter to use in dispatchable. - type BaseCallFilter = TxPause; + type BaseCallFilter = frame_support::traits::Everything; + // type BaseCallFilter = TxPause; type Block = Block; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). type BlockHashCount = ConstU32<256>; diff --git a/runtime/darwinia/src/pallets/tx_pause.rs b/runtime/darwinia/src/pallets/tx_pause.rs index 01659e268..dcac67a41 100644 --- a/runtime/darwinia/src/pallets/tx_pause.rs +++ b/runtime/darwinia/src/pallets/tx_pause.rs @@ -20,6 +20,15 @@ use crate::*; pub struct TxPauseWhitelistedCalls; +// #[cfg(feature = "runtime-benchmarks")] +// impl frame_support::traits::Contains> +// for TxPauseWhitelistedCalls +// { +// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf) -> bool { +// false +// } +// } +// #[cfg(not(feature = "runtime-benchmarks"))] impl frame_support::traits::Contains> for TxPauseWhitelistedCalls { @@ -50,7 +59,6 @@ impl pallet_tx_pause::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type UnpauseOrigin = RootOrAtLeastTwoThird; - // TODO: Update the benchmark weight info - type WeightInfo = (); + type WeightInfo = weights::pallet_tx_pause::WeightInfo; type WhitelistedCalls = TxPauseWhitelistedCalls; } diff --git a/runtime/darwinia/src/weights.rs b/runtime/darwinia/src/weights.rs index 1085d90f3..0c0024a78 100644 --- a/runtime/darwinia/src/weights.rs +++ b/runtime/darwinia/src/weights.rs @@ -35,16 +35,18 @@ pub mod frame_system; pub mod pallet_assets; pub mod pallet_balances; pub mod pallet_bridge_grandpa; -pub mod pallet_collective_council; -pub mod pallet_collective_technical_committee; +pub mod pallet_collective; +pub mod pallet_conviction_voting; pub mod pallet_democracy; pub mod pallet_fee_market; pub mod pallet_identity; pub mod pallet_preimage; pub mod pallet_proxy; +pub mod pallet_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; +pub mod pallet_whitelist; diff --git a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs index d63696190..8099bb41e 100644 --- a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,7 +74,7 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Measured: `76` // Estimated: `1561` // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + Weight::from_parts(5_000_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 53dcf8d6e..1e4fa9a92 100644 --- a/runtime/darwinia/src/weights/darwinia_account_migration.rs +++ b/runtime/darwinia/src/weights/darwinia_account_migration.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -84,8 +83,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `29175` // Estimated: `32640` - // Minimum execution time: 202_000_000 picoseconds. - Weight::from_parts(205_000_000, 0) + // Minimum execution time: 177_000_000 picoseconds. + Weight::from_parts(179_000_000, 0) .saturating_add(Weight::from_parts(0, 32640)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(15)) @@ -124,10 +123,10 @@ impl darwinia_account_migration::WeightInfo for WeightI // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(29_199_710, 0) + Weight::from_parts(25_860_766, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 17_482 - .saturating_add(Weight::from_parts(5_805, 0).saturating_mul(x.into())) + // Standard Error: 15_340 + .saturating_add(Weight::from_parts(6_053, 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())) @@ -141,8 +140,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_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 32ce15051..acd010548 100644 --- a/runtime/darwinia/src/weights/darwinia_deposit.rs +++ b/runtime/darwinia/src/weights/darwinia_deposit.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -70,8 +69,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26845` // Estimated: `29615` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(106_000_000, 0) + // Minimum execution time: 77_000_000 picoseconds. + Weight::from_parts(78_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -86,8 +85,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26612` // Estimated: `29615` - // Minimum execution time: 1_943_000_000 picoseconds. - Weight::from_parts(1_972_000_000, 0) + // Minimum execution time: 1_656_000_000 picoseconds. + Weight::from_parts(1_665_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -104,8 +103,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26701` // Estimated: `29615` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(65_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(57_000_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 743e8d524..6f7ebaa72 100644 --- a/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/darwinia/src/weights/darwinia_ecdsa_authority.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -64,11 +63,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `121` - // Estimated: `1606` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) - .saturating_add(Weight::from_parts(0, 1606)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,11 +79,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn add_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `121` - // Estimated: `1606` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) - .saturating_add(Weight::from_parts(0, 1606)) + // Measured: `154` + // Estimated: `1639` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,11 +95,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `200` - // Estimated: `1685` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 1685)) + // Measured: `233` + // Estimated: `1718` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) + .saturating_add(Weight::from_parts(0, 1718)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +111,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// Proof: `EcdsaAuthority::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn swap_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `301` - // Estimated: `1786` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 1786)) + // Measured: `334` + // Estimated: `1819` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) + .saturating_add(Weight::from_parts(0, 1819)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,11 +131,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// Proof: `EcdsaAuthority::MessageRootToSign` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn submit_authorities_change_signature() -> Weight { // Proof Size summary in bytes: - // Measured: `285` - // Estimated: `1770` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(55_000_000, 0) - .saturating_add(Weight::from_parts(0, 1770)) + // Measured: `318` + // Estimated: `1803` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) + .saturating_add(Weight::from_parts(0, 1803)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -146,11 +145,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: `279` - // Estimated: `1764` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(42_000_000, 0) - .saturating_add(Weight::from_parts(0, 1764)) + // Measured: `312` + // Estimated: `1797` + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_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/darwinia/src/weights/darwinia_staking.rs b/runtime/darwinia/src/weights/darwinia_staking.rs index a690c16de..4b8ed8502 100644 --- a/runtime/darwinia/src/weights/darwinia_staking.rs +++ b/runtime/darwinia/src/weights/darwinia_staking.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -73,13 +72,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1840` + // Measured: `1907` // Estimated: `29615` - // Minimum execution time: 91_000_000 picoseconds. - Weight::from_parts(178_904_819, 0) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(158_532_492, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_920 - .saturating_add(Weight::from_parts(8_832, 0).saturating_mul(x.into())) + // Standard Error: 1_618 + .saturating_add(Weight::from_parts(7_889, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -94,13 +93,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1489` + // Measured: `1556` // Estimated: `29615` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(77_050_313, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(69_062_763, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_396 - .saturating_add(Weight::from_parts(10_034, 0).saturating_mul(x.into())) + // Standard Error: 1_215 + .saturating_add(Weight::from_parts(7_113, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,13 +114,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1593` + // Measured: `1660` // Estimated: `29615` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(65_463_224, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(58_166_866, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_125 - .saturating_add(Weight::from_parts(8_643, 0).saturating_mul(x.into())) + // Standard Error: 1_004 + .saturating_add(Weight::from_parts(5_700, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -137,10 +136,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2078` + // Measured: `2145` // Estimated: `29615` - // Minimum execution time: 128_000_000 picoseconds. - Weight::from_parts(135_000_000, 0) + // Minimum execution time: 117_000_000 picoseconds. + Weight::from_parts(118_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -149,10 +148,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `310` + // Measured: `377` // Estimated: `3497` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -165,10 +164,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `478` + // Measured: `545` // Estimated: `5298` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,8 +180,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -196,10 +195,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1611` + // Measured: `1718` // Estimated: `83902` - // Minimum execution time: 249_000_000 picoseconds. - Weight::from_parts(253_000_000, 0) + // Minimum execution time: 220_000_000 picoseconds. + Weight::from_parts(222_000_000, 0) .saturating_add(Weight::from_parts(0, 83902)) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().writes(2)) @@ -210,8 +209,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/frame_system.rs b/runtime/darwinia/src/weights/frame_system.rs index df0cd9042..0735f32d5 100644 --- a/runtime/darwinia/src/weights/frame_system.rs +++ b/runtime/darwinia/src/weights/frame_system.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -61,8 +60,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_397_235, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(962_176, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 .saturating_add(Weight::from_parts(151, 0).saturating_mul(b.into())) @@ -72,11 +71,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(949, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(945, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -86,8 +85,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -106,11 +105,11 @@ impl frame_system::WeightInfo for WeightInfo { /// 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: 70_963_000_000 picoseconds. - Weight::from_parts(71_905_000_000, 0) - .saturating_add(Weight::from_parts(0, 1683)) + // Measured: `231` + // Estimated: `1716` + // Minimum execution time: 72_055_000_000 picoseconds. + Weight::from_parts(72_941_000_000, 0) + .saturating_add(Weight::from_parts(0, 1716)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -121,11 +120,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_406 - .saturating_add(Weight::from_parts(837_914, 0).saturating_mul(i.into())) + // Standard Error: 932 + .saturating_add(Weight::from_parts(748_946, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -135,11 +134,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 863 - .saturating_add(Weight::from_parts(581_491, 0).saturating_mul(i.into())) + // Standard Error: 813 + .saturating_add(Weight::from_parts(534_517, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -147,13 +146,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101 + p * (69 ±0)` - // Estimated: `103 + p * (70 ±0)` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) - .saturating_add(Weight::from_parts(0, 103)) - // Standard Error: 966 - .saturating_add(Weight::from_parts(1_069_699, 0).saturating_mul(p.into())) + // Measured: `99 + p * (69 ±0)` + // Estimated: `106 + p * (70 ±0)` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 106)) + // Standard Error: 979 + .saturating_add(Weight::from_parts(947_516, 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 391068b3c..5127392a4 100644 --- a/runtime/darwinia/src/weights/pallet_assets.rs +++ b/runtime/darwinia/src/weights/pallet_assets.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,13 +100,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `463 + c * (183 ±0)` + // Measured: `502 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 9_503 - .saturating_add(Weight::from_parts(13_488_963, 0).saturating_mul(c.into())) + // Standard Error: 6_928 + .saturating_add(Weight::from_parts(11_829_295, 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)) @@ -123,11 +122,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(18_239_884, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 15_972 - .saturating_add(Weight::from_parts(4_342_885, 0).saturating_mul(a.into())) + // Standard Error: 2_557 + .saturating_add(Weight::from_parts(3_894_522, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +141,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,8 +155,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -170,8 +169,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -186,8 +185,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -202,8 +201,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -218,8 +217,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -232,8 +231,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,8 +245,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -258,8 +257,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -270,8 +269,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,8 +283,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -296,8 +295,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -312,13 +311,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_275_200, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_099_182, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 1_145 - .saturating_add(Weight::from_parts(4_627, 0).saturating_mul(n.into())) - // Standard Error: 1_145 - .saturating_add(Weight::from_parts(5_887, 0).saturating_mul(s.into())) + // Standard Error: 1_168 + .saturating_add(Weight::from_parts(1_306, 0).saturating_mul(n.into())) + // Standard Error: 1_168 + .saturating_add(Weight::from_parts(3_519, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -330,8 +329,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -342,13 +341,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `200` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_319_450, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_127_957, 0) .saturating_add(Weight::from_parts(0, 3631)) + // Standard Error: 717 + .saturating_add(Weight::from_parts(233, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -360,8 +361,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -373,7 +374,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Measured: `270` // Estimated: `3631` // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,8 +387,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -404,8 +405,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `562` // Estimated: `6168` - // Minimum execution time: 48_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -418,8 +419,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -432,8 +433,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -444,8 +445,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -460,8 +461,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -474,8 +475,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -490,8 +491,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -504,8 +505,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -518,8 +519,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_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 816acbc58..2ec5c11db 100644 --- a/runtime/darwinia/src/weights/pallet_balances.rs +++ b/runtime/darwinia/src/weights/pallet_balances.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 52_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(47_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(46_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,8 +97,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +109,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `234` // Estimated: `6172` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -122,8 +121,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -134,8 +133,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -145,13 +144,13 @@ impl pallet_balances::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `91 + u * (124 ±0)` + // Measured: `124 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 11_951 - .saturating_add(Weight::from_parts(15_546_734, 0).saturating_mul(u.into())) + // Standard Error: 6_536 + .saturating_add(Weight::from_parts(13_682_016, 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 4851cf96b..4b7921b37 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -74,15 +73,15 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2510 + p * (40 ±0)` + // Measured: `2544 + p * (40 ±0)` // Estimated: `165335` - // Minimum execution time: 1_735_000_000 picoseconds. - Weight::from_parts(143_312_610, 0) + // Minimum execution time: 1_739_000_000 picoseconds. + Weight::from_parts(55_533_183, 0) .saturating_add(Weight::from_parts(0, 165335)) - // Standard Error: 55_241 - .saturating_add(Weight::from_parts(29_788_390, 0).saturating_mul(p.into())) - // Standard Error: 56_552 - .saturating_add(Weight::from_parts(1_568_344, 0).saturating_mul(v.into())) + // Standard Error: 34_099 + .saturating_add(Weight::from_parts(30_327_601, 0).saturating_mul(p.into())) + // Standard Error: 34_908 + .saturating_add(Weight::from_parts(1_780_047, 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 4ac348ebd..6c3cc8b03 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_messages.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_messages.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_messages` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -70,8 +69,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(70_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -90,8 +89,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(84_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(71_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -110,8 +109,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(89_000_000, 0) + // Minimum execution time: 75_000_000 picoseconds. + Weight::from_parts(76_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -124,10 +123,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -140,10 +139,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(48_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,10 +155,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -172,10 +171,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,10 +187,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(79_000_000, 0) + // Minimum execution time: 75_000_000 picoseconds. + Weight::from_parts(76_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,10 +203,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `576` // Estimated: `134569` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -222,10 +221,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `627` // Estimated: `134569` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,10 +239,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `627` // Estimated: `134569` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -258,10 +257,10 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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` + // Measured: `627` // Estimated: `134569` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(30_000_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 3c0aacbe6..aa9c55c1b 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_parachains.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_parachains.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -69,13 +68,13 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// The range of component `p` is `[1, 1024]`. fn submit_parachain_heads_with_n_parachains(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `451` + // Measured: `485` // Estimated: `134569 + p * (2539 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) - // Standard Error: 27_622 - .saturating_add(Weight::from_parts(23_309_987, 0).saturating_mul(p.into())) + // Standard Error: 28_234 + .saturating_add(Weight::from_parts(21_911_524, 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()))) @@ -93,10 +92,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// 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` + // Measured: `485` // Estimated: `134569` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 134569)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -113,10 +112,10 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf /// 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` + // Measured: `485` // Estimated: `134569` - // Minimum execution time: 72_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(70_000_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/pangolin/src/weights/pallet_collective_technical_committee.rs b/runtime/darwinia/src/weights/pallet_collective.rs similarity index 76% rename from runtime/pangolin/src/weights/pallet_collective_technical_committee.rs rename to runtime/darwinia/src/weights/pallet_collective.rs index d12247099..6ccdbf958 100644 --- a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/darwinia/src/weights/pallet_collective.rs @@ -19,10 +19,9 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -33,9 +32,9 @@ // --heap-pages // 4096 // --chain -// pangolin-dev +// darwinia-dev // --output -// runtime/pangolin/src/weights +// runtime/darwinia/src/weights // --pallet // * // --extrinsic @@ -67,20 +66,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` + // Estimated: `12200 + m * (1231 ±14) + p * (3660 ±14)` // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 12200)) - // Standard Error: 23_541 - .saturating_add(Weight::from_parts(2_129_611, 0).saturating_mul(m.into())) - // Standard Error: 23_541 - .saturating_add(Weight::from_parts(5_528_368, 0).saturating_mul(p.into())) + // Standard Error: 33_229 + .saturating_add(Weight::from_parts(2_079_268, 0).saturating_mul(m.into())) + // Standard Error: 33_229 + .saturating_add(Weight::from_parts(5_129_549, 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)) @@ -92,19 +88,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_098_913, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_041_148, 0) .saturating_add(Weight::from_parts(0, 1554)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(975, 0).saturating_mul(b.into())) - // Standard Error: 359 - .saturating_add(Weight::from_parts(5_183, 0).saturating_mul(m.into())) + // Standard Error: 50 + .saturating_add(Weight::from_parts(912, 0).saturating_mul(b.into())) + // Standard Error: 519 + .saturating_add(Weight::from_parts(4_668, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -114,19 +108,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (20 ±0)` // Estimated: `3534 + m * (20 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_630_121, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_516_788, 0) .saturating_add(Weight::from_parts(0, 3534)) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_031, 0).saturating_mul(b.into())) - // Standard Error: 282 - .saturating_add(Weight::from_parts(5_344, 0).saturating_mul(m.into())) + // Standard Error: 53 + .saturating_add(Weight::from_parts(857, 0).saturating_mul(b.into())) + // Standard Error: 556 + .saturating_add(Weight::from_parts(2_775, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } @@ -143,22 +135,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `357 + m * (20 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(23_418_893, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(20_677_190, 0) .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 71 - .saturating_add(Weight::from_parts(1_849, 0).saturating_mul(b.into())) - // Standard Error: 747 - .saturating_add(Weight::from_parts(12_967, 0).saturating_mul(m.into())) - // Standard Error: 737 - .saturating_add(Weight::from_parts(130_407, 0).saturating_mul(p.into())) + // Standard Error: 73 + .saturating_add(Weight::from_parts(1_601, 0).saturating_mul(b.into())) + // Standard Error: 763 + .saturating_add(Weight::from_parts(11_492, 0).saturating_mul(m.into())) + // Standard Error: 753 + .saturating_add(Weight::from_parts(126_744, 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())) @@ -169,16 +158,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 18_000_000 picoseconds. - Weight::from_parts(19_301_637, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_205_752, 0) .saturating_add(Weight::from_parts(0, 4296)) - // Standard Error: 761 - .saturating_add(Weight::from_parts(7_792, 0).saturating_mul(m.into())) + // Standard Error: 978 + .saturating_add(Weight::from_parts(10_231, 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())) @@ -193,19 +181,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `409 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_707_939, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_592_895, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 793 - .saturating_add(Weight::from_parts(7_892, 0).saturating_mul(m.into())) - // Standard Error: 774 - .saturating_add(Weight::from_parts(131_464, 0).saturating_mul(p.into())) + // Standard Error: 775 + .saturating_add(Weight::from_parts(5_012, 0).saturating_mul(m.into())) + // Standard Error: 755 + .saturating_add(Weight::from_parts(128_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())) @@ -222,22 +208,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 36_000_000 picoseconds. - Weight::from_parts(38_479_487, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(33_020_998, 0) .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 112 - .saturating_add(Weight::from_parts(564, 0).saturating_mul(b.into())) - // Standard Error: 1_192 - .saturating_add(Weight::from_parts(4_125, 0).saturating_mul(m.into())) - // Standard Error: 1_162 - .saturating_add(Weight::from_parts(140_098, 0).saturating_mul(p.into())) + // Standard Error: 131 + .saturating_add(Weight::from_parts(915, 0).saturating_mul(b.into())) + // Standard Error: 1_351 + .saturating_add(Weight::from_parts(150_911, 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())) @@ -256,19 +237,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `429 + m * (40 ±0) + p * (36 ±0)` // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_443_149, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(25_291_699, 0) .saturating_add(Weight::from_parts(0, 3874)) - // Standard Error: 887 - .saturating_add(Weight::from_parts(6_669, 0).saturating_mul(m.into())) - // Standard Error: 864 - .saturating_add(Weight::from_parts(131_963, 0).saturating_mul(p.into())) + // Standard Error: 1_036 + .saturating_add(Weight::from_parts(6_702, 0).saturating_mul(m.into())) + // Standard Error: 1_011 + .saturating_add(Weight::from_parts(122_283, 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())) @@ -287,22 +266,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 39_000_000 picoseconds. - Weight::from_parts(38_506_275, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(35_803_332, 0) .saturating_add(Weight::from_parts(0, 4048)) - // Standard Error: 145 - .saturating_add(Weight::from_parts(1_554, 0).saturating_mul(b.into())) - // Standard Error: 1_542 - .saturating_add(Weight::from_parts(12_040, 0).saturating_mul(m.into())) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(166_171, 0).saturating_mul(p.into())) + // Standard Error: 131 + .saturating_add(Weight::from_parts(300, 0).saturating_mul(b.into())) + // Standard Error: 1_352 + .saturating_add(Weight::from_parts(153_516, 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())) @@ -316,16 +290,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 15_000_000 picoseconds. - Weight::from_parts(15_868_494, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_503_402, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 1_115 - .saturating_add(Weight::from_parts(122_281, 0).saturating_mul(p.into())) + // Standard Error: 1_004 + .saturating_add(Weight::from_parts(117_564, 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_council.rs b/runtime/darwinia/src/weights/pallet_collective_council.rs deleted file mode 100644 index 67d4b5b71..000000000 --- a/runtime/darwinia/src/weights/pallet_collective_council.rs +++ /dev/null @@ -1,329 +0,0 @@ -// This file is part of Darwinia. -// -// Copyright (C) 2018-2023 Darwinia Network -// SPDX-License-Identifier: GPL-3.0 -// -// Darwinia is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// Darwinia is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Darwinia. If not, see . - -//! Autogenerated weights for `pallet_collective` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 - -// Executed Command: -// target/release/darwinia -// benchmark -// pallet -// --header -// .maintain/license-header -// --heap-pages -// 4096 -// --chain -// darwinia-dev -// --output -// runtime/darwinia/src/weights -// --pallet -// * -// --extrinsic -// * -// --steps -// 50 -// --repeat -// 20 - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_collective`. -pub struct WeightInfo(PhantomData); -impl pallet_collective::WeightInfo for WeightInfo { - /// 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]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12200 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) - .saturating_add(Weight::from_parts(0, 12200)) - // Standard Error: 26_266 - .saturating_add(Weight::from_parts(2_185_270, 0).saturating_mul(m.into())) - // Standard Error: 26_266 - .saturating_add(Weight::from_parts(5_399_851, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) - } - /// 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]`. - /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `69 + m * (20 ±0)` - // Estimated: `1554 + m * (20 ±0)` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_028_320, 0) - .saturating_add(Weight::from_parts(0, 1554)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_137, 0).saturating_mul(b.into())) - // Standard Error: 346 - .saturating_add(Weight::from_parts(6_120, 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: `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]`. - /// The range of component `m` is `[1, 100]`. - fn propose_execute(b: u32, m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `69 + m * (20 ±0)` - // Estimated: `3534 + m * (20 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_098_283, 0) - .saturating_add(Weight::from_parts(0, 3534)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_409, 0).saturating_mul(b.into())) - // Standard Error: 290 - .saturating_add(Weight::from_parts(7_554, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `357 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(24_722_507, 0) - .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 68 - .saturating_add(Weight::from_parts(953, 0).saturating_mul(b.into())) - // Standard Error: 717 - .saturating_add(Weight::from_parts(7_698, 0).saturating_mul(m.into())) - // Standard Error: 708 - .saturating_add(Weight::from_parts(128_854, 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: `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: 18_000_000 picoseconds. - Weight::from_parts(19_449_318, 0) - .saturating_add(Weight::from_parts(0, 4296)) - // Standard Error: 764 - .saturating_add(Weight::from_parts(6_779, 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: `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]`. - /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `409 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_132_258, 0) - .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 779 - .saturating_add(Weight::from_parts(5_165, 0).saturating_mul(m.into())) - // Standard Error: 760 - .saturating_add(Weight::from_parts(127_561, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. - fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - // 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: 36_000_000 picoseconds. - Weight::from_parts(39_006_117, 0) - .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 149 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(b.into())) - // Standard Error: 1_538 - .saturating_add(Weight::from_parts(150_018, 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: `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]`. - /// The range of component `p` is `[1, 100]`. - fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `429 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(29_298_558, 0) - .saturating_add(Weight::from_parts(0, 3874)) - // Standard Error: 1_003 - .saturating_add(Weight::from_parts(6_182, 0).saturating_mul(m.into())) - // Standard Error: 978 - .saturating_add(Weight::from_parts(120_724, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. - fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - // 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: 39_000_000 picoseconds. - Weight::from_parts(41_353_974, 0) - .saturating_add(Weight::from_parts(0, 4048)) - // Standard Error: 161 - .saturating_add(Weight::from_parts(2_367, 0).saturating_mul(b.into())) - // Standard Error: 1_668 - .saturating_add(Weight::from_parts(155_369, 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: `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: 15_000_000 picoseconds. - Weight::from_parts(15_574_652, 0) - .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 1_127 - .saturating_add(Weight::from_parts(123_217, 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_conviction_voting.rs b/runtime/darwinia/src/weights/pallet_conviction_voting.rs new file mode 100644 index 000000000..79e9d220b --- /dev/null +++ b/runtime/darwinia/src/weights/pallet_conviction_voting.rs @@ -0,0 +1,200 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_conviction_voting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// darwinia-dev +// --output +// runtime/darwinia/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13156` + // Estimated: `42428` + // Minimum execution time: 87_000_000 picoseconds. + Weight::from_parts(95_000_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`) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `13877` + // Estimated: `83866` + // Minimum execution time: 153_000_000 picoseconds. + Weight::from_parts(164_000_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`) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `13626` + // Estimated: `83866` + // Minimum execution time: 126_000_000 picoseconds. + Weight::from_parts(131_000_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`) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `12750` + // Estimated: `30694` + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(49_000_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`) + /// The range of component `r` is `[0, 100]`. + fn delegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7270 + r * (386 ±0)` + // Estimated: `83866 + r * (3387 ±0)` + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(5_207_089, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 507_425 + .saturating_add(Weight::from_parts(60_470_535, 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`) + /// The range of component `r` is `[0, 100]`. + fn undelegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7126 + r * (386 ±0)` + // Estimated: `83866 + r * (3387 ±0)` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 256_820 + .saturating_add(Weight::from_parts(59_783_959, 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`) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `11936` + // Estimated: `30694` + // Minimum execution time: 73_000_000 picoseconds. + Weight::from_parts(79_000_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/darwinia/src/weights/pallet_democracy.rs b/runtime/darwinia/src/weights/pallet_democracy.rs index e7bb6c9c9..1b39051b3 100644 --- a/runtime/darwinia/src/weights/pallet_democracy.rs +++ b/runtime/darwinia/src/weights/pallet_democracy.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -81,7 +80,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `2593` // Estimated: `5495` // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,8 +97,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3440` // Estimated: `7248` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(44_000_000, 0) .saturating_add(Weight::from_parts(0, 7248)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -116,8 +115,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3462` // Estimated: `7248` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(48_000_000, 0) .saturating_add(Weight::from_parts(0, 7248)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +131,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -156,8 +155,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4987` // Estimated: `16987` - // Minimum execution time: 98_000_000 picoseconds. - Weight::from_parts(107_000_000, 0) + // Minimum execution time: 97_000_000 picoseconds. + Weight::from_parts(106_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -171,7 +170,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `2195` // Estimated: `5503` // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -194,7 +193,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -210,8 +209,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -226,8 +225,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2298` // Estimated: `5503` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -244,8 +243,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4919` // Estimated: `16987` - // Minimum execution time: 80_000_000 picoseconds. - Weight::from_parts(81_000_000, 0) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(83_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -258,8 +257,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -275,11 +274,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_436_767, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(16_459_563, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 9_518 - .saturating_add(Weight::from_parts(3_029_890, 0).saturating_mul(r.into())) + // Standard Error: 16_668 + .saturating_add(Weight::from_parts(2_757_781, 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)) @@ -303,10 +302,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `211 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(13_667_058, 0) + Weight::from_parts(13_504_977, 0) .saturating_add(Weight::from_parts(0, 16987)) - // Standard Error: 9_044 - .saturating_add(Weight::from_parts(2_965_135, 0).saturating_mul(r.into())) + // Standard Error: 9_615 + .saturating_add(Weight::from_parts(2_869_665, 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)) @@ -326,10 +325,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `764 + r * (108 ±0)` // Estimated: `19764 + r * (2676 ±0)` // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(47_831_577, 0) + Weight::from_parts(34_147_192, 0) .saturating_add(Weight::from_parts(0, 19764)) - // Standard Error: 17_111 - .saturating_add(Weight::from_parts(3_790_910, 0).saturating_mul(r.into())) + // Standard Error: 22_991 + .saturating_add(Weight::from_parts(4_082_187, 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)) @@ -346,10 +345,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `422 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(16_688_744, 0) + Weight::from_parts(19_521_557, 0) .saturating_add(Weight::from_parts(0, 13506)) - // Standard Error: 16_245 - .saturating_add(Weight::from_parts(3_878_197, 0).saturating_mul(r.into())) + // Standard Error: 18_001 + .saturating_add(Weight::from_parts(3_824_448, 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)) @@ -378,13 +377,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `419` + // Measured: `457` // Estimated: `7248` // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(33_469_460, 0) + Weight::from_parts(32_769_304, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 3_095 - .saturating_add(Weight::from_parts(27_265, 0).saturating_mul(r.into())) + // Standard Error: 3_460 + .saturating_add(Weight::from_parts(47_627, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -399,13 +398,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `420 + r * (22 ±0)` + // Measured: `458 + r * (22 ±0)` // Estimated: `7248` // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(29_256_538, 0) + Weight::from_parts(31_328_751, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 4_541 - .saturating_add(Weight::from_parts(122_143, 0).saturating_mul(r.into())) + // Standard Error: 4_772 + .saturating_add(Weight::from_parts(61_143, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -418,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(16_862_466, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(15_291_246, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 2_940 - .saturating_add(Weight::from_parts(58_727, 0).saturating_mul(r.into())) + // Standard Error: 2_426 + .saturating_add(Weight::from_parts(60_350, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -435,11 +434,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `683 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_920_734, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_659_994, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_627 - .saturating_add(Weight::from_parts(47_766, 0).saturating_mul(r.into())) + // Standard Error: 2_175 + .saturating_add(Weight::from_parts(68_892, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -484,7 +483,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `3655` // Estimated: `16987` // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -498,7 +497,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `3589` // Estimated: `16987` // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -526,7 +525,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `269` // Estimated: `3666` // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + Weight::from_parts(18_000_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_fee_market.rs b/runtime/darwinia/src/weights/pallet_fee_market.rs index ebe73af0b..56bbb9595 100644 --- a/runtime/darwinia/src/weights/pallet_fee_market.rs +++ b/runtime/darwinia/src/weights/pallet_fee_market.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -76,8 +75,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `27389` - // Minimum execution time: 127_000_000 picoseconds. - Weight::from_parts(129_000_000, 0) + // Minimum execution time: 111_000_000 picoseconds. + Weight::from_parts(113_000_000, 0) .saturating_add(Weight::from_parts(0, 27389)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -102,8 +101,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 119_000_000 picoseconds. - Weight::from_parts(121_000_000, 0) + // Minimum execution time: 105_000_000 picoseconds. + Weight::from_parts(106_000_000, 0) .saturating_add(Weight::from_parts(0, 27461)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -128,8 +127,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 145_000_000 picoseconds. - Weight::from_parts(148_000_000, 0) + // Minimum execution time: 127_000_000 picoseconds. + Weight::from_parts(129_000_000, 0) .saturating_add(Weight::from_parts(0, 27461)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,8 +147,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(96_000_000, 0) + // Minimum execution time: 84_000_000 picoseconds. + Weight::from_parts(84_000_000, 0) .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +173,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `25053` - // Minimum execution time: 119_000_000 picoseconds. - Weight::from_parts(122_000_000, 0) + // Minimum execution time: 101_000_000 picoseconds. + Weight::from_parts(111_000_000, 0) .saturating_add(Weight::from_parts(0, 25053)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -186,8 +185,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,8 +204,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(95_000_000, 0) + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(82_000_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 c173949d5..a80451bcd 100644 --- a/runtime/darwinia/src/weights/pallet_identity.rs +++ b/runtime/darwinia/src/weights/pallet_identity.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -63,11 +62,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_842_526, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_210_605, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_115 - .saturating_add(Weight::from_parts(42_801, 0).saturating_mul(r.into())) + // Standard Error: 2_721 + .saturating_add(Weight::from_parts(55_818, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,15 +74,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn set_identity(_r: u32, x: u32, ) -> Weight { + fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_316_219, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(25_427_963, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 806 - .saturating_add(Weight::from_parts(540_459, 0).saturating_mul(x.into())) + // Standard Error: 4_079 + .saturating_add(Weight::from_parts(80_495, 0).saturating_mul(r.into())) + // Standard Error: 796 + .saturating_add(Weight::from_parts(542_626, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(22_531_582, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(19_258_567, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_521 - .saturating_add(Weight::from_parts(3_333_570, 0).saturating_mul(s.into())) + // Standard Error: 3_348 + .saturating_add(Weight::from_parts(3_071_313, 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)) @@ -120,11 +121,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(22_077_021, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(18_920_433, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_883 - .saturating_add(Weight::from_parts(1_357_774, 0).saturating_mul(p.into())) + // Standard Error: 2_945 + .saturating_add(Weight::from_parts(1_225_152, 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()))) @@ -142,15 +143,15 @@ 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: 57_000_000 picoseconds. - Weight::from_parts(31_356_976, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(21_866_269, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 17_178 - .saturating_add(Weight::from_parts(189_274, 0).saturating_mul(r.into())) - // Standard Error: 3_354 - .saturating_add(Weight::from_parts(1_335_381, 0).saturating_mul(s.into())) - // Standard Error: 3_354 - .saturating_add(Weight::from_parts(260_657, 0).saturating_mul(x.into())) + // Standard Error: 7_537 + .saturating_add(Weight::from_parts(155_754, 0).saturating_mul(r.into())) + // Standard Error: 1_471 + .saturating_add(Weight::from_parts(1_221_217, 0).saturating_mul(s.into())) + // Standard Error: 1_471 + .saturating_add(Weight::from_parts(305_435, 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()))) @@ -161,15 +162,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 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: 30_000_000 picoseconds. - Weight::from_parts(31_950_729, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_216_128, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 909 - .saturating_add(Weight::from_parts(556_581, 0).saturating_mul(x.into())) + // Standard Error: 3_989 + .saturating_add(Weight::from_parts(51_605, 0).saturating_mul(r.into())) + // Standard Error: 778 + .saturating_add(Weight::from_parts(552_545, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,11 +184,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(28_095_503, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_944_189, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 620 - .saturating_add(Weight::from_parts(550_288, 0).saturating_mul(x.into())) + // Standard Error: 1_212 + .saturating_add(Weight::from_parts(549_482, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,11 +199,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_842_981, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_670_163, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_149 - .saturating_add(Weight::from_parts(20_485, 0).saturating_mul(r.into())) + // Standard Error: 3_095 + .saturating_add(Weight::from_parts(57_965, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -211,11 +214,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_901_766, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_692_221, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_148 - .saturating_add(Weight::from_parts(15_570, 0).saturating_mul(r.into())) + // Standard Error: 3_235 + .saturating_add(Weight::from_parts(67_413, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,11 +229,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_932_973, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_746_172, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_515 - .saturating_add(Weight::from_parts(32_250, 0).saturating_mul(r.into())) + // Standard Error: 3_749 + .saturating_add(Weight::from_parts(55_864, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -244,13 +247,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(18_117_466, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(16_608_008, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 5_209 - .saturating_add(Weight::from_parts(65_526, 0).saturating_mul(r.into())) - // Standard Error: 963 - .saturating_add(Weight::from_parts(855_472, 0).saturating_mul(x.into())) + // Standard Error: 5_005 + .saturating_add(Weight::from_parts(36_371, 0).saturating_mul(r.into())) + // Standard Error: 926 + .saturating_add(Weight::from_parts(858_150, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -269,15 +272,15 @@ 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: 78_000_000 picoseconds. - Weight::from_parts(53_546_272, 0) + // Minimum execution time: 71_000_000 picoseconds. + Weight::from_parts(44_683_317, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 17_050 - .saturating_add(Weight::from_parts(66_646, 0).saturating_mul(r.into())) - // Standard Error: 3_329 - .saturating_add(Weight::from_parts(1_325_476, 0).saturating_mul(s.into())) - // Standard Error: 3_329 - .saturating_add(Weight::from_parts(273_375, 0).saturating_mul(x.into())) + // Standard Error: 11_383 + .saturating_add(Weight::from_parts(130_742, 0).saturating_mul(r.into())) + // Standard Error: 2_223 + .saturating_add(Weight::from_parts(1_223_421, 0).saturating_mul(s.into())) + // Standard Error: 2_223 + .saturating_add(Weight::from_parts(275_144, 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()))) @@ -293,11 +296,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(32_098_260, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(27_338_424, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_002 - .saturating_add(Weight::from_parts(9_337, 0).saturating_mul(s.into())) + // Standard Error: 992 + .saturating_add(Weight::from_parts(22_308, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -310,11 +313,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_581_729, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(11_300_166, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 736 - .saturating_add(Weight::from_parts(10_601, 0).saturating_mul(s.into())) + // Standard Error: 1_061 + .saturating_add(Weight::from_parts(9_552, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -329,11 +332,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_957_265, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(28_745_209, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_144 - .saturating_add(Weight::from_parts(12_369, 0).saturating_mul(s.into())) + // Standard Error: 890 + .saturating_add(Weight::from_parts(22_446, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -344,13 +347,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// 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 { + 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: 22_000_000 picoseconds. - Weight::from_parts(24_055_175, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_329_644, 0) .saturating_add(Weight::from_parts(0, 5511)) + // Standard Error: 737 + .saturating_add(Weight::from_parts(20_366, 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_preimage.rs b/runtime/darwinia/src/weights/pallet_preimage.rs index 4fee1dff3..a27e64eee 100644 --- a/runtime/darwinia/src/weights/pallet_preimage.rs +++ b/runtime/darwinia/src/weights/pallet_preimage.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -65,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(19_615_816, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_018, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_058, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,11 +81,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_119, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +98,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_115, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,8 +114,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -129,8 +128,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -141,8 +140,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +152,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -165,8 +164,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3544` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -177,8 +176,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +190,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -203,8 +202,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -215,8 +214,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_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 b7c825dbf..6f1922851 100644 --- a/runtime/darwinia/src/weights/pallet_proxy.rs +++ b/runtime/darwinia/src/weights/pallet_proxy.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -63,11 +62,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_084_079, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_962_122, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_139 - .saturating_add(Weight::from_parts(29_891, 0).saturating_mul(p.into())) + // Standard Error: 2_378 + .saturating_add(Weight::from_parts(20_224, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -78,15 +77,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, _p: u32, ) -> Weight { + 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: 36_000_000 picoseconds. - Weight::from_parts(39_234_475, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_556_840, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_235 - .saturating_add(Weight::from_parts(48_264, 0).saturating_mul(a.into())) + // Standard Error: 2_237 + .saturating_add(Weight::from_parts(138_357, 0).saturating_mul(a.into())) + // Standard Error: 2_312 + .saturating_add(Weight::from_parts(23_669, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +101,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_223_699, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_175_536, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 1_704 - .saturating_add(Weight::from_parts(121_466, 0).saturating_mul(a.into())) + // Standard Error: 3_527 + .saturating_add(Weight::from_parts(119_966, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,11 +119,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_227_191, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_658_746, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 1_942 - .saturating_add(Weight::from_parts(90_877, 0).saturating_mul(a.into())) + // Standard Error: 2_285 + .saturating_add(Weight::from_parts(129_841, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -138,13 +139,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_549_187, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_341_904, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_572 - .saturating_add(Weight::from_parts(135_413, 0).saturating_mul(a.into())) - // Standard Error: 3_691 - .saturating_add(Weight::from_parts(18_140, 0).saturating_mul(p.into())) + // Standard Error: 1_786 + .saturating_add(Weight::from_parts(119_351, 0).saturating_mul(a.into())) + // Standard Error: 1_845 + .saturating_add(Weight::from_parts(23_852, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -155,11 +156,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_806_359, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_822_986, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_927 - .saturating_add(Weight::from_parts(25_878, 0).saturating_mul(p.into())) + // Standard Error: 2_713 + .saturating_add(Weight::from_parts(11_147, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -170,52 +171,54 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(25_837_433, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_819_976, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 3_956 - .saturating_add(Weight::from_parts(75_551, 0).saturating_mul(p.into())) + // Standard Error: 2_368 + .saturating_add(Weight::from_parts(13_790, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxies(_p: u32, ) -> Weight { + fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(25_042_300, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_132_722, 0) .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 2_013 + .saturating_add(Weight::from_parts(31_525, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn create_pure(p: u32, ) -> Weight { + fn create_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_146_050, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_169_175, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 4_089 - .saturating_add(Weight::from_parts(72_806, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. - fn kill_pure(_p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_739_696, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_771_115, 0) .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 1_529 + .saturating_add(Weight::from_parts(14_661, 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_referenda.rs b/runtime/darwinia/src/weights/pallet_referenda.rs new file mode 100644 index 000000000..3f8849a99 --- /dev/null +++ b/runtime/darwinia/src/weights/pallet_referenda.rs @@ -0,0 +1,506 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// darwinia-dev +// --output +// runtime/darwinia/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn submit() -> Weight { + // Proof Size summary in bytes: + // Measured: `275` + // Estimated: `42428` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_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`) + fn place_decision_deposit_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `83866` + // Minimum execution time: 44_000_000 picoseconds. + Weight::from_parts(53_000_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`) + fn place_decision_deposit_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3314` + // Estimated: `42428` + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(48_000_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`) + fn place_decision_deposit_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3334` + // Estimated: `42428` + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(49_000_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`) + fn place_decision_deposit_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `83866` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(53_000_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: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + fn place_decision_deposit_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `83866` + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_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`) + fn refund_decision_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `425` + // Estimated: `4377` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_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`) + fn refund_submission_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `384` + // Estimated: `4377` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_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`) + fn cancel() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `83866` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_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`) + fn kill() -> Weight { + // Proof Size summary in bytes: + // Measured: `880` + // Estimated: `83866` + // Minimum execution time: 94_000_000 picoseconds. + Weight::from_parts(96_000_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`) + fn one_fewer_deciding_queue_empty() -> Weight { + // Proof Size summary in bytes: + // Measured: `207` + // Estimated: `5477` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_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`) + fn one_fewer_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3179` + // Estimated: `42428` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(32_000_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`) + fn one_fewer_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3165` + // Estimated: `42428` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(34_000_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`) + fn nudge_referendum_requeued_insertion() -> Weight { + // Proof Size summary in bytes: + // Measured: `3020` + // Estimated: `5477` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_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`) + fn nudge_referendum_requeued_slide() -> Weight { + // Proof Size summary in bytes: + // Measured: `3020` + // Estimated: `5477` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_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`) + fn nudge_referendum_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3024` + // Estimated: `5477` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_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`) + fn nudge_referendum_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3044` + // Estimated: `5477` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_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`) + fn nudge_referendum_no_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `354` + // Estimated: `42428` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_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`) + fn nudge_referendum_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_timed_out() -> Weight { + // Proof Size summary in bytes: + // Measured: `299` + // Estimated: `4377` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_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`) + fn nudge_referendum_begin_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_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`) + fn nudge_referendum_begin_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(29_000_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`) + fn nudge_referendum_begin_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_000_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`) + fn nudge_referendum_end_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `426` + // Estimated: `42428` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_000_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`) + fn nudge_referendum_continue_not_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_continue_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `42428` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `83866` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_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`) + fn nudge_referendum_rejected() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_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`) + fn set_some_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `4377` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_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`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `376` + // Estimated: `4377` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_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/darwinia/src/weights/pallet_scheduler.rs b/runtime/darwinia/src/weights/pallet_scheduler.rs index 5e6d764da..0607d1be1 100644 --- a/runtime/darwinia/src/weights/pallet_scheduler.rs +++ b/runtime/darwinia/src/weights/pallet_scheduler.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +74,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(6_103_222, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(5_342_832, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_507 - .saturating_add(Weight::from_parts(682_821, 0).saturating_mul(s.into())) + // Standard Error: 1_656 + .saturating_add(Weight::from_parts(685_773, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,7 +86,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -100,11 +99,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(10_957_141, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(467, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(536, 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())) @@ -124,7 +123,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -133,7 +132,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { @@ -141,7 +140,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -151,11 +150,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(14_383_058, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_112_705, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_510 - .saturating_add(Weight::from_parts(668_691, 0).saturating_mul(s.into())) + // Standard Error: 2_499 + .saturating_add(Weight::from_parts(695_889, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -168,11 +167,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(14_704_816, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(13_331_102, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_201 - .saturating_add(Weight::from_parts(1_227_183, 0).saturating_mul(s.into())) + // Standard Error: 2_165 + .saturating_add(Weight::from_parts(1_216_192, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,11 +184,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(18_145_176, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(15_824_941, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_180 - .saturating_add(Weight::from_parts(686_890, 0).saturating_mul(s.into())) + // Standard Error: 2_300 + .saturating_add(Weight::from_parts(682_900, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,11 +201,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(16_951_183, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(14_905_795, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_767 - .saturating_add(Weight::from_parts(1_246_933, 0).saturating_mul(s.into())) + // Standard Error: 2_189 + .saturating_add(Weight::from_parts(1_240_792, 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 2b02865bf..2ae0730cf 100644 --- a/runtime/darwinia/src/weights/pallet_session.rs +++ b/runtime/darwinia/src/weights/pallet_session.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -64,8 +63,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -78,8 +77,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_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 66c029e12..1b19c5a39 100644 --- a/runtime/darwinia/src/weights/pallet_timestamp.rs +++ b/runtime/darwinia/src/weights/pallet_timestamp.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,7 +72,7 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Measured: `128` // Estimated: `0` // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + Weight::from_parts(4_000_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 5a76e3a82..aaaaf421d 100644 --- a/runtime/darwinia/src/weights/pallet_treasury.rs +++ b/runtime/darwinia/src/weights/pallet_treasury.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -72,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `275` // Estimated: `1489` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,8 +85,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `571` // Estimated: `6172` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -101,11 +100,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `537 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_970_640, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(9_176_312, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_482 - .saturating_add(Weight::from_parts(21_937, 0).saturating_mul(p.into())) + // Standard Error: 895 + .saturating_add(Weight::from_parts(26_635, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,8 +114,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `194` // Estimated: `1887` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,11 +135,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `328 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(35_608_214, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(27_033_130, 0) .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 67_596 - .saturating_add(Weight::from_parts(2_917_241, 0).saturating_mul(p.into())) + // Standard Error: 38_413 + .saturating_add(Weight::from_parts(2_596_059, 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 be0300f23..04bc8aee4 100644 --- a/runtime/darwinia/src/weights/pallet_utility.rs +++ b/runtime/darwinia/src/weights/pallet_utility.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -61,18 +60,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(64_762_610, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(10_580_025, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 14_779 - .saturating_add(Weight::from_parts(6_084_139, 0).saturating_mul(c.into())) + // Standard Error: 2_636 + .saturating_add(Weight::from_parts(5_041_119, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -80,18 +79,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(20_618_651, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(12_842_793, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 7_779 - .saturating_add(Weight::from_parts(6_214_340, 0).saturating_mul(c.into())) + // Standard Error: 1_420 + .saturating_add(Weight::from_parts(5_294_489, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -99,10 +98,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_506_614, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_765 - .saturating_add(Weight::from_parts(5_986_843, 0).saturating_mul(c.into())) + // Standard Error: 1_949 + .saturating_add(Weight::from_parts(5_007_962, 0).saturating_mul(c.into())) } } diff --git a/runtime/darwinia/src/weights/pallet_vesting.rs b/runtime/darwinia/src/weights/pallet_vesting.rs index 5b38a4a83..678da5bf8 100644 --- a/runtime/darwinia/src/weights/pallet_vesting.rs +++ b/runtime/darwinia/src/weights/pallet_vesting.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 // Executed Command: @@ -69,12 +68,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Measured: `179 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_624_170, 0) + Weight::from_parts(28_724_060, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_781 - .saturating_add(Weight::from_parts(1_925, 0).saturating_mul(l.into())) - // Standard Error: 3_168 - .saturating_add(Weight::from_parts(27_622, 0).saturating_mul(s.into())) + // Standard Error: 3_600 + .saturating_add(Weight::from_parts(42_681, 0).saturating_mul(l.into())) + // Standard Error: 6_405 + .saturating_add(Weight::from_parts(101_780, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +89,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(33_880_248, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_609_827, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 3_170 - .saturating_add(Weight::from_parts(36_975, 0).saturating_mul(l.into())) - // Standard Error: 5_640 - .saturating_add(Weight::from_parts(61_614, 0).saturating_mul(s.into())) + // Standard Error: 5_663 + .saturating_add(Weight::from_parts(8_706, 0).saturating_mul(l.into())) + // Standard Error: 10_076 + .saturating_add(Weight::from_parts(117_105, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,13 +113,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(32_819_327, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(32_774_554, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 1_797 - .saturating_add(Weight::from_parts(30_176, 0).saturating_mul(l.into())) - // Standard Error: 3_197 - .saturating_add(Weight::from_parts(61_937, 0).saturating_mul(s.into())) + // Standard Error: 4_806 + .saturating_add(Weight::from_parts(3_515, 0).saturating_mul(l.into())) + // Standard Error: 8_552 + .saturating_add(Weight::from_parts(83_106, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,15 +133,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 37_000_000 picoseconds. - Weight::from_parts(39_509_915, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_606_542, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 4_909 - .saturating_add(Weight::from_parts(26_824, 0).saturating_mul(l.into())) + // Standard Error: 2_341 + .saturating_add(Weight::from_parts(6_712, 0).saturating_mul(l.into())) + // Standard Error: 4_165 + .saturating_add(Weight::from_parts(47_417, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,15 +157,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(l: u32, _s: u32, ) -> Weight { + fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `307 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4752` - // Minimum execution time: 74_000_000 picoseconds. - Weight::from_parts(79_466_965, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(72_230_787, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 6_301 - .saturating_add(Weight::from_parts(12_294, 0).saturating_mul(l.into())) + // Standard Error: 3_925 + .saturating_add(Weight::from_parts(27_510, 0).saturating_mul(l.into())) + // Standard Error: 6_984 + .saturating_add(Weight::from_parts(73_710, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -182,13 +185,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `502 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6172` - // Minimum execution time: 76_000_000 picoseconds. - Weight::from_parts(78_803_418, 0) + // Minimum execution time: 72_000_000 picoseconds. + Weight::from_parts(75_540_349, 0) .saturating_add(Weight::from_parts(0, 6172)) - // Standard Error: 5_940 - .saturating_add(Weight::from_parts(66_089, 0).saturating_mul(l.into())) - // Standard Error: 10_570 - .saturating_add(Weight::from_parts(79_989, 0).saturating_mul(s.into())) + // Standard Error: 2_369 + .saturating_add(Weight::from_parts(12_956, 0).saturating_mul(l.into())) + // Standard Error: 4_215 + .saturating_add(Weight::from_parts(66_525, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -202,15 +205,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 33_000_000 picoseconds. - Weight::from_parts(35_648_006, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_741_479, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 9_764 - .saturating_add(Weight::from_parts(68_003, 0).saturating_mul(s.into())) + // Standard Error: 2_912 + .saturating_add(Weight::from_parts(9_919, 0).saturating_mul(l.into())) + // Standard Error: 5_378 + .saturating_add(Weight::from_parts(44_684, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -224,15 +229,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// 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 { + 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: 38_000_000 picoseconds. - Weight::from_parts(40_596_429, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(33_729_963, 0) .saturating_add(Weight::from_parts(0, 4752)) - // Standard Error: 3_980 - .saturating_add(Weight::from_parts(7_016, 0).saturating_mul(l.into())) + // Standard Error: 5_178 + .saturating_add(Weight::from_parts(80_399, 0).saturating_mul(l.into())) + // Standard Error: 9_562 + .saturating_add(Weight::from_parts(146_442, 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/pallet_whitelist.rs b/runtime/darwinia/src/weights/pallet_whitelist.rs new file mode 100644 index 000000000..aa4cf4f62 --- /dev/null +++ b/runtime/darwinia/src/weights/pallet_whitelist.rs @@ -0,0 +1,123 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_whitelist` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// darwinia-dev +// --output +// runtime/darwinia/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn whitelist_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `3544` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_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`) + fn remove_whitelisted_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `3544` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_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`) + /// The range of component `n` is `[1, 4194294]`. + fn dispatch_whitelisted_call(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `323 + n * (1 ±0)` + // Estimated: `3787 + n * (1 ±0)` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 3787)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(459, 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`) + /// The range of component `n` is `[1, 10000]`. + fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `3544` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(18_610_438, 0) + .saturating_add(Weight::from_parts(0, 3544)) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_038, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/darwinia/tests/tests.rs b/runtime/darwinia/tests/tests.rs index 24610373e..31561c054 100644 --- a/runtime/darwinia/tests/tests.rs +++ b/runtime/darwinia/tests/tests.rs @@ -23,4 +23,4 @@ darwinia_common_runtime::impl_fee_tests! {} darwinia_common_runtime::impl_evm_tests! {} darwinia_common_runtime::impl_account_migration_tests! {} darwinia_common_runtime::impl_messages_bridge_tests! {} -darwinia_common_runtime::impl_maintenance_tests! {} +// darwinia_common_runtime::impl_maintenance_tests! {} diff --git a/runtime/pangolin/src/lib.rs b/runtime/pangolin/src/lib.rs index b8c12eba4..504cea40c 100644 --- a/runtime/pangolin/src/lib.rs +++ b/runtime/pangolin/src/lib.rs @@ -80,7 +80,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Pangolin2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_1_1, + spec_version: 6_6_0_0, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/runtime/pangolin/src/pallets/governance.rs b/runtime/pangolin/src/pallets/governance.rs index d679bbcfd..4862699e4 100644 --- a/runtime/pangolin/src/pallets/governance.rs +++ b/runtime/pangolin/src/pallets/governance.rs @@ -54,7 +54,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_conviction_voting::Config for Runtime { diff --git a/runtime/pangolin/src/pallets/tx_pause.rs b/runtime/pangolin/src/pallets/tx_pause.rs index 01659e268..dcac67a41 100644 --- a/runtime/pangolin/src/pallets/tx_pause.rs +++ b/runtime/pangolin/src/pallets/tx_pause.rs @@ -20,6 +20,15 @@ use crate::*; pub struct TxPauseWhitelistedCalls; +// #[cfg(feature = "runtime-benchmarks")] +// impl frame_support::traits::Contains> +// for TxPauseWhitelistedCalls +// { +// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf) -> bool { +// false +// } +// } +// #[cfg(not(feature = "runtime-benchmarks"))] impl frame_support::traits::Contains> for TxPauseWhitelistedCalls { @@ -50,7 +59,6 @@ impl pallet_tx_pause::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type UnpauseOrigin = RootOrAtLeastTwoThird; - // TODO: Update the benchmark weight info - type WeightInfo = (); + type WeightInfo = weights::pallet_tx_pause::WeightInfo; type WhitelistedCalls = TxPauseWhitelistedCalls; } diff --git a/runtime/pangolin/src/weights.rs b/runtime/pangolin/src/weights.rs index aba537435..7cf92ddc9 100644 --- a/runtime/pangolin/src/weights.rs +++ b/runtime/pangolin/src/weights.rs @@ -35,7 +35,7 @@ pub mod frame_system; pub mod pallet_assets; pub mod pallet_balances; pub mod pallet_bridge_grandpa; -pub mod pallet_collective_technical_committee; +pub mod pallet_collective; pub mod pallet_conviction_voting; pub mod pallet_fee_market; pub mod pallet_identity; @@ -46,5 +46,6 @@ pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_treasury; +pub mod pallet_tx_pause; pub mod pallet_utility; pub mod pallet_whitelist; diff --git a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs index 6921aaed5..abd170e93 100644 --- a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -75,7 +74,7 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Measured: `76` // Estimated: `1561` // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + Weight::from_parts(5_000_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 c10af9784..998a9aa0e 100644 --- a/runtime/pangolin/src/weights/darwinia_account_migration.rs +++ b/runtime/pangolin/src/weights/darwinia_account_migration.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -84,8 +83,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `29212` // Estimated: `32677` - // Minimum execution time: 205_000_000 picoseconds. - Weight::from_parts(208_000_000, 0) + // Minimum execution time: 175_000_000 picoseconds. + Weight::from_parts(177_000_000, 0) .saturating_add(Weight::from_parts(0, 32677)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(15)) @@ -123,11 +122,11 @@ 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: 8_000_000 picoseconds. - Weight::from_parts(30_162_390, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(25_324_410, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 17_839 - .saturating_add(Weight::from_parts(4_230, 0).saturating_mul(x.into())) + // Standard Error: 14_980 + .saturating_add(Weight::from_parts(8_081, 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())) @@ -141,8 +140,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_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 b9b5231b4..5d2cb9b54 100644 --- a/runtime/pangolin/src/weights/darwinia_deposit.rs +++ b/runtime/pangolin/src/weights/darwinia_deposit.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -68,10 +67,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) fn lock() -> Weight { // Proof Size summary in bytes: - // Measured: `26848` + // Measured: `26812` // Estimated: `29615` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(107_000_000, 0) + // Minimum execution time: 74_000_000 picoseconds. + Weight::from_parts(75_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -84,10 +83,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `26578` + // Measured: `26541` // Estimated: `29615` - // Minimum execution time: 1_913_000_000 picoseconds. - Weight::from_parts(2_019_000_000, 0) + // Minimum execution time: 1_609_000_000 picoseconds. + Weight::from_parts(1_616_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -102,10 +101,10 @@ impl darwinia_deposit::WeightInfo for WeightInfo { /// 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` + // Measured: `26668` // Estimated: `29615` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(70_000_000, 0) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(52_000_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 fa43025e4..b17c9cbf3 100644 --- a/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/pangolin/src/weights/darwinia_ecdsa_authority.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -66,8 +65,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `154` // Estimated: `1639` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +81,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `154` // Estimated: `1639` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 1639)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +97,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `233` // Estimated: `1718` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 1718)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -114,8 +113,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `334` // Estimated: `1819` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 1819)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -134,8 +133,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `318` // Estimated: `1803` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(57_000_000, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) .saturating_add(Weight::from_parts(0, 1803)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,8 +147,8 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `312` // Estimated: `1797` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(42_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_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 0dfa1c7f8..b3a2b5dfe 100644 --- a/runtime/pangolin/src/weights/darwinia_staking.rs +++ b/runtime/pangolin/src/weights/darwinia_staking.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -75,11 +74,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1977` // Estimated: `29615` - // Minimum execution time: 95_000_000 picoseconds. - Weight::from_parts(182_769_745, 0) + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(156_297_839, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_901 - .saturating_add(Weight::from_parts(12_881, 0).saturating_mul(x.into())) + // Standard Error: 1_666 + .saturating_add(Weight::from_parts(5_049, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -96,11 +95,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1589` // Estimated: `29615` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(80_663_050, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(66_739_405, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_400 - .saturating_add(Weight::from_parts(8_240, 0).saturating_mul(x.into())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(6_506, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,11 +116,11 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1693` // Estimated: `29615` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(69_547_689, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(58_989_639, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_181 - .saturating_add(Weight::from_parts(5_370, 0).saturating_mul(x.into())) + // Standard Error: 1_147 + .saturating_add(Weight::from_parts(4_521, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,8 +138,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2215` // Estimated: `29615` - // Minimum execution time: 135_000_000 picoseconds. - Weight::from_parts(139_000_000, 0) + // Minimum execution time: 116_000_000 picoseconds. + Weight::from_parts(118_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -151,8 +150,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3497` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -167,8 +166,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `578` // Estimated: `5298` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,8 +180,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -198,8 +197,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1449` // Estimated: `4914` - // Minimum execution time: 214_000_000 picoseconds. - Weight::from_parts(219_000_000, 0) + // Minimum execution time: 184_000_000 picoseconds. + Weight::from_parts(186_000_000, 0) .saturating_add(Weight::from_parts(0, 4914)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -210,8 +209,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/frame_system.rs b/runtime/pangolin/src/weights/frame_system.rs index 013b03582..cea9c04c0 100644 --- a/runtime/pangolin/src/weights/frame_system.rs +++ b/runtime/pangolin/src/weights/frame_system.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -61,8 +60,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_066_646, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_748_529, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 .saturating_add(Weight::from_parts(151, 0).saturating_mul(b.into())) @@ -72,11 +71,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(940, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(947, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -86,8 +85,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -108,8 +107,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `231` // Estimated: `1716` - // Minimum execution time: 70_944_000_000 picoseconds. - Weight::from_parts(73_070_000_000, 0) + // Minimum execution time: 71_623_000_000 picoseconds. + Weight::from_parts(72_721_000_000, 0) .saturating_add(Weight::from_parts(0, 1716)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -121,11 +120,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_106 - .saturating_add(Weight::from_parts(829_488, 0).saturating_mul(i.into())) + // Standard Error: 953 + .saturating_add(Weight::from_parts(741_706, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -135,11 +134,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 842 - .saturating_add(Weight::from_parts(582_621, 0).saturating_mul(i.into())) + // Standard Error: 854 + .saturating_add(Weight::from_parts(526_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) @@ -147,13 +146,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109 + p * (69 ±0)` - // Estimated: `109 + p * (70 ±0)` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) - .saturating_add(Weight::from_parts(0, 109)) - // Standard Error: 900 - .saturating_add(Weight::from_parts(1_062_976, 0).saturating_mul(p.into())) + // Measured: `102 + p * (69 ±0)` + // Estimated: `106 + p * (70 ±0)` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 106)) + // Standard Error: 979 + .saturating_add(Weight::from_parts(953_086, 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 16e89ca94..53ff6a6e7 100644 --- a/runtime/pangolin/src/weights/pallet_assets.rs +++ b/runtime/pangolin/src/weights/pallet_assets.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `157` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,11 +102,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `821 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 8_628 - .saturating_add(Weight::from_parts(13_579_700, 0).saturating_mul(c.into())) + // Standard Error: 6_750 + .saturating_add(Weight::from_parts(11_866_407, 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)) @@ -123,11 +122,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(9_088_700, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 8_667 - .saturating_add(Weight::from_parts(4_394_265, 0).saturating_mul(a.into())) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(3_893_932, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +141,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,8 +155,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -170,8 +169,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -186,8 +185,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `449` // Estimated: `6168` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(46_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -202,8 +201,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `449` // Estimated: `6168` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -218,8 +217,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `449` // Estimated: `6168` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(46_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -232,8 +231,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,8 +245,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -258,8 +257,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -270,8 +269,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,8 +283,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -296,8 +295,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -312,8 +311,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_536_569, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_774_456, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -326,8 +325,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `478` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -338,15 +337,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `237` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_923_154, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_341_483, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 780 - .saturating_add(Weight::from_parts(92, 0).saturating_mul(n.into())) + // Standard Error: 1_217 + .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) + // Standard Error: 1_217 + .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -358,8 +359,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `478` // Estimated: `3631` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -370,8 +371,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -384,8 +385,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -402,8 +403,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `599` // Estimated: `6168` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(42_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -416,8 +417,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `457` // Estimated: `3631` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -430,8 +431,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `457` // Estimated: `3631` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -442,8 +443,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -458,8 +459,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `512` // Estimated: `3631` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -472,8 +473,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3631` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -488,8 +489,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `590` // Estimated: `3631` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -502,8 +503,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `448` // Estimated: `3631` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -516,8 +517,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `410` // Estimated: `3631` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_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 2c2a2a9a9..42a096197 100644 --- a/runtime/pangolin/src/weights/pallet_balances.rs +++ b/runtime/pangolin/src/weights/pallet_balances.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_000_000, 0) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(47_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 47_000_000 picoseconds. - Weight::from_parts(48_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,8 +97,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +109,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `234` // Estimated: `6172` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(60_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -122,8 +121,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(60_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -134,8 +133,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `195` // Estimated: `3581` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,11 +146,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `424 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 6_502 - .saturating_add(Weight::from_parts(15_505_006, 0).saturating_mul(u.into())) + // Standard Error: 7_292 + .saturating_add(Weight::from_parts(13_716_884, 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 4c45463b2..c3451f21b 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -76,13 +75,13 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -70,8 +69,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(71_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -90,8 +89,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(71_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -110,8 +109,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `372` // Estimated: `6172` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(89_000_000, 0) + // Minimum execution time: 75_000_000 picoseconds. + Weight::from_parts(77_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -122,14 +121,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -138,14 +139,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 50_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -154,14 +157,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -170,14 +175,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(43_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -186,14 +193,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(80_000_000, 0) + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(77_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -202,14 +211,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `504` + // Measured: `508` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangoroMessages::PalletOperatingMode` (r:1 w:0) @@ -224,8 +235,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `589` // Estimated: `69033` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -242,8 +253,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `589` // Estimated: `69033` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -260,8 +271,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `589` // Estimated: `69033` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_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 1bc99e434..c579ad5cb 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_parachains.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_parachains.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -71,11 +70,11 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - // Standard Error: 27_734 - .saturating_add(Weight::from_parts(23_221_671, 0).saturating_mul(p.into())) + // Standard Error: 28_671 + .saturating_add(Weight::from_parts(21_930_026, 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()))) @@ -95,8 +94,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -115,8 +114,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(70_000_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/darwinia/src/weights/pallet_collective_technical_committee.rs b/runtime/pangolin/src/weights/pallet_collective.rs similarity index 68% rename from runtime/darwinia/src/weights/pallet_collective_technical_committee.rs rename to runtime/pangolin/src/weights/pallet_collective.rs index afb8e61c7..7f470b53e 100644 --- a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangolin/src/weights/pallet_collective.rs @@ -19,10 +19,9 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("darwinia-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: // target/release/darwinia @@ -33,9 +32,9 @@ // --heap-pages // 4096 // --chain -// darwinia-dev +// pangolin-dev // --output -// runtime/darwinia/src/weights +// runtime/pangolin/src/weights // --pallet // * // --extrinsic @@ -67,20 +66,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) - .saturating_add(Weight::from_parts(0, 12234)) - // Standard Error: 25_259 - .saturating_add(Weight::from_parts(2_199_826, 0).saturating_mul(m.into())) - // Standard Error: 25_259 - .saturating_add(Weight::from_parts(5_432_109, 0).saturating_mul(p.into())) + // Estimated: `12200 + m * (1231 ±14) + p * (3660 ±14)` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 12200)) + // Standard Error: 31_755 + .saturating_add(Weight::from_parts(2_040_719, 0).saturating_mul(m.into())) + // Standard Error: 31_755 + .saturating_add(Weight::from_parts(5_188_838, 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,44 +86,44 @@ impl pallet_collective::WeightInfo for WeightInfo { } /// 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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `1588 + m * (20 ±0)` + // Measured: `73 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_016_500, 0) - .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_029, 0).saturating_mul(b.into())) - // Standard Error: 349 - .saturating_add(Weight::from_parts(6_049, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + Weight::from_parts(14_818_050, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 49 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(b.into())) + // Standard Error: 510 + .saturating_add(Weight::from_parts(6_433, 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: `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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `3568 + m * (20 ±0)` + // Measured: `73 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_110_147, 0) - .saturating_add(Weight::from_parts(0, 3568)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_336, 0).saturating_mul(b.into())) - // Standard Error: 295 - .saturating_add(Weight::from_parts(7_590, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + Weight::from_parts(17_066_921, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 73 + .saturating_add(Weight::from_parts(1_061, 0).saturating_mul(b.into())) + // Standard Error: 756 + .saturating_add(Weight::from_parts(7_606, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) @@ -143,22 +139,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(23_956_583, 0) - .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 57 - .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(b.into())) - // Standard Error: 602 - .saturating_add(Weight::from_parts(9_609, 0).saturating_mul(m.into())) - // Standard Error: 595 - .saturating_add(Weight::from_parts(129_595, 0).saturating_mul(p.into())) + // Measured: `357 + m * (20 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_450_819, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 61 + .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(b.into())) + // Standard Error: 643 + .saturating_add(Weight::from_parts(6_886, 0).saturating_mul(m.into())) + // Standard Error: 635 + .saturating_add(Weight::from_parts(124_072, 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())) @@ -169,16 +162,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 18_000_000 picoseconds. - Weight::from_parts(19_649_166, 0) - .saturating_add(Weight::from_parts(0, 4330)) - // Standard Error: 949 - .saturating_add(Weight::from_parts(2_553, 0).saturating_mul(m.into())) + // Measured: `832 + m * (40 ±0)` + // Estimated: `4296 + m * (40 ±0)` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_644_654, 0) + .saturating_add(Weight::from_parts(0, 4296)) + // Standard Error: 728 + .saturating_add(Weight::from_parts(15_827, 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())) @@ -193,19 +185,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_799_280, 0) - .saturating_add(Weight::from_parts(0, 3888)) - // Standard Error: 766 - .saturating_add(Weight::from_parts(7_097, 0).saturating_mul(m.into())) - // Standard Error: 747 - .saturating_add(Weight::from_parts(130_469, 0).saturating_mul(p.into())) + // Measured: `409 + m * (40 ±0) + p * (36 ±0)` + // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_245_534, 0) + .saturating_add(Weight::from_parts(0, 3854)) + // Standard Error: 693 + .saturating_add(Weight::from_parts(5_928, 0).saturating_mul(m.into())) + // Standard Error: 676 + .saturating_add(Weight::from_parts(132_000, 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())) @@ -217,26 +207,25 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 36_000_000 picoseconds. - Weight::from_parts(39_155_241, 0) - .saturating_add(Weight::from_parts(0, 4062)) - // Standard Error: 137 - .saturating_add(Weight::from_parts(461, 0).saturating_mul(b.into())) - // Standard Error: 1_415 - .saturating_add(Weight::from_parts(149_906, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `715 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4032 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_383_192, 0) + .saturating_add(Weight::from_parts(0, 4032)) + // Standard Error: 144 + .saturating_add(Weight::from_parts(767, 0).saturating_mul(b.into())) + // Standard Error: 1_492 + .saturating_add(Weight::from_parts(159_252, 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())) @@ -254,19 +243,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `463 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(29_363_992, 0) - .saturating_add(Weight::from_parts(0, 3908)) - // Standard Error: 1_144 - .saturating_add(Weight::from_parts(6_248, 0).saturating_mul(m.into())) - // Standard Error: 1_115 - .saturating_add(Weight::from_parts(121_532, 0).saturating_mul(p.into())) + // Measured: `429 + m * (40 ±0) + p * (36 ±0)` + // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_968_976, 0) + .saturating_add(Weight::from_parts(0, 3874)) + // Standard Error: 681 + .saturating_add(Weight::from_parts(10_451, 0).saturating_mul(m.into())) + // Standard Error: 664 + .saturating_add(Weight::from_parts(132_625, 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())) @@ -280,26 +267,25 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 39_000_000 picoseconds. - Weight::from_parts(40_973_181, 0) - .saturating_add(Weight::from_parts(0, 4082)) - // Standard Error: 152 - .saturating_add(Weight::from_parts(2_109, 0).saturating_mul(b.into())) - // Standard Error: 1_569 - .saturating_add(Weight::from_parts(152_867, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `735 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4052 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(38_367_677, 0) + .saturating_add(Weight::from_parts(0, 4052)) + // Standard Error: 2_036 + .saturating_add(Weight::from_parts(10_854, 0).saturating_mul(m.into())) + // Standard Error: 1_985 + .saturating_add(Weight::from_parts(153_413, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(6)) .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())) @@ -312,16 +298,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 15_000_000 picoseconds. - Weight::from_parts(15_501_633, 0) - .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 1_005 - .saturating_add(Weight::from_parts(125_297, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_143_985, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 590 + .saturating_add(Weight::from_parts(120_552, 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 abe5933c2..b0e2f3bd7 100644 --- a/runtime/pangolin/src/weights/pallet_conviction_voting.rs +++ b/runtime/pangolin/src/weights/pallet_conviction_voting.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -72,8 +71,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13189` // Estimated: `42428` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(101_000_000, 0) + // Minimum execution time: 87_000_000 picoseconds. + Weight::from_parts(95_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +93,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13910` // Estimated: `83866` - // Minimum execution time: 160_000_000 picoseconds. - Weight::from_parts(166_000_000, 0) + // Minimum execution time: 148_000_000 picoseconds. + Weight::from_parts(158_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) @@ -110,8 +109,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13659` // Estimated: `83866` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(135_000_000, 0) + // Minimum execution time: 121_000_000 picoseconds. + Weight::from_parts(126_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -124,8 +123,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `12783` // Estimated: `30694` - // Minimum execution time: 48_000_000 picoseconds. - Weight::from_parts(50_000_000, 0) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 30694)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,11 +146,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `7303 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(36_006_496, 0) + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(29_493_210, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 521_291 - .saturating_add(Weight::from_parts(62_834_036, 0).saturating_mul(r.into())) + // Standard Error: 470_381 + .saturating_add(Weight::from_parts(55_692_665, 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)) @@ -169,11 +168,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `7159 + r * (386 ±0)` // Estimated: `83866 + r * (3387 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(3_763_790, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(1_474_467, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 523_106 - .saturating_add(Weight::from_parts(62_601_296, 0).saturating_mul(r.into())) + // Standard Error: 470_270 + .saturating_add(Weight::from_parts(55_664_610, 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)) @@ -192,8 +191,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `11969` // Estimated: `30694` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(80_000_000, 0) + // Minimum execution time: 73_000_000 picoseconds. + Weight::from_parts(79_000_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_fee_market.rs b/runtime/pangolin/src/weights/pallet_fee_market.rs index e3aecb90c..b97c9c34c 100644 --- a/runtime/pangolin/src/weights/pallet_fee_market.rs +++ b/runtime/pangolin/src/weights/pallet_fee_market.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -76,8 +75,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1683` // Estimated: `27423` - // Minimum execution time: 127_000_000 picoseconds. - Weight::from_parts(129_000_000, 0) + // Minimum execution time: 110_000_000 picoseconds. + Weight::from_parts(111_000_000, 0) .saturating_add(Weight::from_parts(0, 27423)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -102,8 +101,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 118_000_000 picoseconds. - Weight::from_parts(121_000_000, 0) + // Minimum execution time: 103_000_000 picoseconds. + Weight::from_parts(105_000_000, 0) .saturating_add(Weight::from_parts(0, 27495)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -128,8 +127,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1755` // Estimated: `27495` - // Minimum execution time: 148_000_000 picoseconds. - Weight::from_parts(153_000_000, 0) + // Minimum execution time: 126_000_000 picoseconds. + Weight::from_parts(128_000_000, 0) .saturating_add(Weight::from_parts(0, 27495)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,8 +147,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 95_000_000 picoseconds. - Weight::from_parts(98_000_000, 0) + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(84_000_000, 0) .saturating_add(Weight::from_parts(0, 27076)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +173,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1822` // Estimated: `25087` - // Minimum execution time: 123_000_000 picoseconds. - Weight::from_parts(125_000_000, 0) + // Minimum execution time: 104_000_000 picoseconds. + Weight::from_parts(106_000_000, 0) .saturating_add(Weight::from_parts(0, 25087)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -186,8 +185,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,8 +204,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1336` // Estimated: `27076` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(92_000_000, 0) + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(82_000_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 170d05625..6858a9c18 100644 --- a/runtime/pangolin/src/weights/pallet_identity.rs +++ b/runtime/pangolin/src/weights/pallet_identity.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -63,11 +62,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_040_247, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_161_640, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_765 - .saturating_add(Weight::from_parts(33_587, 0).saturating_mul(r.into())) + // Standard Error: 7_364 + .saturating_add(Weight::from_parts(76_298, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -75,15 +74,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn set_identity(_r: u32, x: u32, ) -> Weight { + fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_431_994, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_782_458, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 623 - .saturating_add(Weight::from_parts(534_098, 0).saturating_mul(x.into())) + // Standard Error: 5_272 + .saturating_add(Weight::from_parts(12_737, 0).saturating_mul(r.into())) + // Standard Error: 1_028 + .saturating_add(Weight::from_parts(535_050, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(23_901_867, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(18_386_559, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_515 - .saturating_add(Weight::from_parts(3_289_057, 0).saturating_mul(s.into())) + // Standard Error: 2_839 + .saturating_add(Weight::from_parts(3_063_235, 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)) @@ -120,11 +121,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(23_097_886, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(18_621_445, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_268 - .saturating_add(Weight::from_parts(1_326_294, 0).saturating_mul(p.into())) + // Standard Error: 2_833 + .saturating_add(Weight::from_parts(1_231_554, 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()))) @@ -142,15 +143,15 @@ 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: 58_000_000 picoseconds. - Weight::from_parts(27_175_438, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(24_156_785, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 8_116 - .saturating_add(Weight::from_parts(176_511, 0).saturating_mul(r.into())) - // Standard Error: 1_584 - .saturating_add(Weight::from_parts(1_336_071, 0).saturating_mul(s.into())) - // Standard Error: 1_584 - .saturating_add(Weight::from_parts(305_763, 0).saturating_mul(x.into())) + // Standard Error: 8_514 + .saturating_add(Weight::from_parts(150_208, 0).saturating_mul(r.into())) + // Standard Error: 1_662 + .saturating_add(Weight::from_parts(1_224_914, 0).saturating_mul(s.into())) + // Standard Error: 1_662 + .saturating_add(Weight::from_parts(285_185, 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()))) @@ -161,15 +162,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 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: 31_000_000 picoseconds. - Weight::from_parts(32_064_086, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_674_870, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_011 - .saturating_add(Weight::from_parts(555_705, 0).saturating_mul(x.into())) + // Standard Error: 4_420 + .saturating_add(Weight::from_parts(17_388, 0).saturating_mul(r.into())) + // Standard Error: 862 + .saturating_add(Weight::from_parts(544_998, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,15 +180,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(_r: u32, x: u32, ) -> Weight { + fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(30_475_934, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(23_842_898, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 791 - .saturating_add(Weight::from_parts(542_381, 0).saturating_mul(x.into())) + // Standard Error: 3_146 + .saturating_add(Weight::from_parts(18_600, 0).saturating_mul(r.into())) + // Standard Error: 613 + .saturating_add(Weight::from_parts(547_363, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,11 +201,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_830_518, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_786_565, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_615 - .saturating_add(Weight::from_parts(33_558, 0).saturating_mul(r.into())) + // Standard Error: 5_923 + .saturating_add(Weight::from_parts(50_150, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -211,11 +216,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_897_335, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_678_846, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 1_722 - .saturating_add(Weight::from_parts(12_254, 0).saturating_mul(r.into())) + // Standard Error: 3_190 + .saturating_add(Weight::from_parts(54_322, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,11 +231,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_674_441, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_719_000, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_718 - .saturating_add(Weight::from_parts(38_188, 0).saturating_mul(r.into())) + // Standard Error: 3_494 + .saturating_add(Weight::from_parts(51_575, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -244,13 +249,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(20_884_940, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(16_218_117, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_822 - .saturating_add(Weight::from_parts(11_972, 0).saturating_mul(r.into())) - // Standard Error: 707 - .saturating_add(Weight::from_parts(846_954, 0).saturating_mul(x.into())) + // Standard Error: 4_391 + .saturating_add(Weight::from_parts(44_653, 0).saturating_mul(r.into())) + // Standard Error: 812 + .saturating_add(Weight::from_parts(853_359, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -265,17 +270,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `743 + r * (11 ±0) + s * (20 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(56_276_244, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(40_724_806, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_351 - .saturating_add(Weight::from_parts(1_304_407, 0).saturating_mul(s.into())) - // Standard Error: 3_351 - .saturating_add(Weight::from_parts(289_549, 0).saturating_mul(x.into())) + // Standard Error: 9_092 + .saturating_add(Weight::from_parts(181_115, 0).saturating_mul(r.into())) + // Standard Error: 1_775 + .saturating_add(Weight::from_parts(1_229_556, 0).saturating_mul(s.into())) + // Standard Error: 1_775 + .saturating_add(Weight::from_parts(294_635, 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()))) @@ -287,13 +294,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// 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 { + fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(33_376_763, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(27_348_911, 0) .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(19_279, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -306,11 +315,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(13_456_217, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_994_409, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 613 - .saturating_add(Weight::from_parts(9_151, 0).saturating_mul(s.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(11_067, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -325,11 +334,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(35_584_599, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_731_648, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_623 - .saturating_add(Weight::from_parts(7_624, 0).saturating_mul(s.into())) + // Standard Error: 841 + .saturating_add(Weight::from_parts(23_997, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -344,11 +353,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `659 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_571_322, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_409_969, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 593 - .saturating_add(Weight::from_parts(7_276, 0).saturating_mul(s.into())) + // Standard Error: 968 + .saturating_add(Weight::from_parts(18_809, 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 5d2606d59..2ca212fe4 100644 --- a/runtime/pangolin/src/weights/pallet_preimage.rs +++ b/runtime/pangolin/src/weights/pallet_preimage.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -65,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3544` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(43_727_347, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_009, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_083, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,11 +81,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_033, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_043, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +98,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_047, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,8 +114,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `342` // Estimated: `3544` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -129,7 +128,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 16_000_000 picoseconds. + // Minimum execution time: 15_000_000 picoseconds. Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) @@ -141,8 +140,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `176` // Estimated: `3544` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +152,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,7 +177,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Measured: `106` // Estimated: `3544` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +190,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -203,8 +202,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -215,8 +214,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3544` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_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 86046737a..cb63bfcf4 100644 --- a/runtime/pangolin/src/weights/pallet_proxy.rs +++ b/runtime/pangolin/src/weights/pallet_proxy.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -58,17 +57,19 @@ 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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)` + // Measured: `153 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_053_225, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_206_693, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_237 - .saturating_add(Weight::from_parts(17_189, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 5_034 + .saturating_add(Weight::from_parts(33_331, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -76,18 +77,22 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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 { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `401 + a * (56 ±0) + p * (25 ±0)` + // Measured: `405 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(36_622_761, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(32_381_531, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_156 - .saturating_add(Weight::from_parts(156_889, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Standard Error: 2_205 + .saturating_add(Weight::from_parts(125_863, 0).saturating_mul(a.into())) + // Standard Error: 2_278 + .saturating_add(Weight::from_parts(8_054, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Proxy::Announcements` (r:1 w:1) @@ -100,11 +105,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(25_031_038, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_048_816, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 1_957 - .saturating_add(Weight::from_parts(105_067, 0).saturating_mul(a.into())) + // Standard Error: 2_150 + .saturating_add(Weight::from_parts(126_759, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,17 +119,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_267_880, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_325_566, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_058 - .saturating_add(Weight::from_parts(122_501, 0).saturating_mul(a.into())) - // Standard Error: 2_127 - .saturating_add(Weight::from_parts(8_785, 0).saturating_mul(p.into())) + // Standard Error: 3_239 + .saturating_add(Weight::from_parts(127_873, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -136,17 +139,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, p: u32, ) -> Weight { + fn announce(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_557_974, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_899_072, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 6_159 - .saturating_add(Weight::from_parts(137_674, 0).saturating_mul(a.into())) - // Standard Error: 6_364 - .saturating_add(Weight::from_parts(22_189, 0).saturating_mul(p.into())) + // Standard Error: 3_515 + .saturating_add(Weight::from_parts(120_357, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -157,26 +158,24 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_735_345, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_464_732, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_846 - .saturating_add(Weight::from_parts(13_186, 0).saturating_mul(p.into())) + // Standard Error: 2_111 + .saturating_add(Weight::from_parts(37_323, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32, ) -> Weight { + fn remove_proxy(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_109_729, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_416_166, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_844 - .saturating_add(Weight::from_parts(16_383, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -187,11 +186,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_488_814, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_604_706, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_761 - .saturating_add(Weight::from_parts(22_756, 0).saturating_mul(p.into())) + // Standard Error: 2_766 + .saturating_add(Weight::from_parts(20_315, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,11 +201,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_750_677, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_907_498, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_052 - .saturating_add(Weight::from_parts(5_755, 0).saturating_mul(p.into())) + // Standard Error: 1_839 + .saturating_add(Weight::from_parts(17_558, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -217,11 +216,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_626_102, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_883_362, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_869 - .saturating_add(Weight::from_parts(34_841, 0).saturating_mul(p.into())) + // Standard Error: 2_737 + .saturating_add(Weight::from_parts(31_035, 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 2505affc2..64929e72f 100644 --- a/runtime/pangolin/src/weights/pallet_referenda.rs +++ b/runtime/pangolin/src/weights/pallet_referenda.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -66,8 +65,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `42428` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -80,8 +79,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(51_000_000, 0) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -98,8 +97,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `42428` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -116,8 +115,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3403` // Estimated: `42428` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +131,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `549` // Estimated: `83866` - // Minimum execution time: 61_000_000 picoseconds. - Weight::from_parts(63_000_000, 0) + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(52_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -146,8 +145,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `494` // Estimated: `4377` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(35_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -158,8 +157,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458` // Estimated: `4377` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -170,8 +169,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `417` // Estimated: `4377` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -184,8 +183,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `83866` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -202,8 +201,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `913` // Estimated: `83866` - // Minimum execution time: 112_000_000 picoseconds. - Weight::from_parts(117_000_000, 0) + // Minimum execution time: 95_000_000 picoseconds. + Weight::from_parts(96_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -216,8 +215,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `5477` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -232,8 +231,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3198` // Estimated: `42428` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -248,8 +247,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3256` // Estimated: `42428` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -262,8 +261,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -292,8 +291,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3057` // Estimated: `5477` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -308,8 +307,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3077` // Estimated: `5477` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -322,8 +321,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `387` // Estimated: `42428` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -336,8 +335,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -348,8 +347,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `332` // Estimated: `4377` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -364,8 +363,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -380,8 +379,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `423` // Estimated: `42428` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -394,8 +393,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -408,8 +407,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `459` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -422,8 +421,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -436,8 +435,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `42428` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -452,8 +451,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `83866` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -466,8 +465,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -482,8 +481,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `476` // Estimated: `4377` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 4377)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -496,8 +495,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `409` // Estimated: `4377` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_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 40083860f..0e02eeb12 100644 --- a/runtime/pangolin/src/weights/pallet_scheduler.rs +++ b/runtime/pangolin/src/weights/pallet_scheduler.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -63,7 +62,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `31` // Estimated: `1489` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +74,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(6_093_328, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(5_411_751, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_827 - .saturating_add(Weight::from_parts(682_898, 0).saturating_mul(s.into())) + // Standard Error: 1_662 + .saturating_add(Weight::from_parts(616_404, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,8 +86,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -100,11 +99,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(471, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(484, 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())) @@ -115,8 +114,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -124,17 +123,20 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: @@ -151,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(14_330_352, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_711_764, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_844 - .saturating_add(Weight::from_parts(677_291, 0).saturating_mul(s.into())) + // Standard Error: 2_235 + .saturating_add(Weight::from_parts(593_805, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -168,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(15_029_551, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(13_152_000, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_443 - .saturating_add(Weight::from_parts(1_237_507, 0).saturating_mul(s.into())) + // Standard Error: 1_923 + .saturating_add(Weight::from_parts(1_086_352, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,11 +187,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(18_141_882, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(15_690_823, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_826 - .saturating_add(Weight::from_parts(714_617, 0).saturating_mul(s.into())) + // Standard Error: 2_144 + .saturating_add(Weight::from_parts(611_150, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,11 +204,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(17_723_673, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(14_686_040, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_921 - .saturating_add(Weight::from_parts(1_230_914, 0).saturating_mul(s.into())) + // Standard Error: 1_844 + .saturating_add(Weight::from_parts(1_103_606, 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 76b914a3f..22d9eea8c 100644 --- a/runtime/pangolin/src/weights/pallet_session.rs +++ b/runtime/pangolin/src/weights/pallet_session.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -64,8 +63,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3712` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -78,8 +77,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3694` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_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 68ea9ebe9..3afe4ac24 100644 --- a/runtime/pangolin/src/weights/pallet_timestamp.rs +++ b/runtime/pangolin/src/weights/pallet_timestamp.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -60,20 +59,20 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// 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` + // Measured: `6` // Estimated: `1493` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `94` + // Measured: `57` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_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 b9b947b8f..2691bbfd1 100644 --- a/runtime/pangolin/src/weights/pallet_treasury.rs +++ b/runtime/pangolin/src/weights/pallet_treasury.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -72,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `275` // Estimated: `1489` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,8 +85,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `571` // Estimated: `6172` - // Minimum execution time: 47_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -101,11 +100,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `537 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(11_233_428, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(9_084_859, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 1_786 - .saturating_add(Weight::from_parts(26_572, 0).saturating_mul(p.into())) + // Standard Error: 727 + .saturating_add(Weight::from_parts(24_013, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +135,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `328 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(23_771_775, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(70_998_886, 0) .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 33_913 - .saturating_add(Weight::from_parts(2_932_718, 0).saturating_mul(p.into())) + // Standard Error: 75_815 + .saturating_add(Weight::from_parts(2_198_406, 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_tx_pause.rs b/runtime/pangolin/src/weights/pallet_tx_pause.rs new file mode 100644 index 000000000..d3e7ecc06 --- /dev/null +++ b/runtime/pangolin/src/weights/pallet_tx_pause.rs @@ -0,0 +1,82 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_tx_pause` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// pangolin-dev +// --output +// runtime/pangolin/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_tx_pause`. +pub struct WeightInfo(PhantomData); +impl pallet_tx_pause::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn pause() -> Weight { + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn unpause() -> Weight { + // Proof Size summary in bytes: + // Measured: `566` + // Estimated: `3997` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/pangolin/src/weights/pallet_utility.rs b/runtime/pangolin/src/weights/pallet_utility.rs index ca8c1c0e9..8a1f5ced9 100644 --- a/runtime/pangolin/src/weights/pallet_utility.rs +++ b/runtime/pangolin/src/weights/pallet_utility.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -56,53 +55,65 @@ use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(12_519_781, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 12_106 - .saturating_add(Weight::from_parts(5_908_580, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(12_890_040, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 3_329 + .saturating_add(Weight::from_parts(6_369_186, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn as_derivative() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 7_854 - .saturating_add(Weight::from_parts(6_306_868, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(69_496_426, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 25_386 + .saturating_add(Weight::from_parts(6_604_027, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(9_628_444, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_760 - .saturating_add(Weight::from_parts(6_000_483, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(587_482, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 2_115 + .saturating_add(Weight::from_parts(6_345_616, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/pangolin/src/weights/pallet_whitelist.rs b/runtime/pangolin/src/weights/pallet_whitelist.rs index f829af0ff..24ad446f7 100644 --- a/runtime/pangolin/src/weights/pallet_whitelist.rs +++ b/runtime/pangolin/src/weights/pallet_whitelist.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangolin-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,10 +61,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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` + // Measured: `48` // Estimated: `3544` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -76,10 +75,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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` + // Measured: `176` // Estimated: `3544` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -93,13 +92,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// 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: 29_000_000 picoseconds. - Weight::from_parts(31_003_752, 0) - .saturating_add(Weight::from_parts(0, 3753)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(470, 0).saturating_mul(n.into())) + // Measured: `252 + n * (1 ±0)` + // Estimated: `3716 + n * (1 ±0)` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) + .saturating_add(Weight::from_parts(0, 3716)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(506, 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())) @@ -111,13 +110,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10000]`. fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `213` + // Measured: `176` // Estimated: `3544` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(18_844_119, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_577_553, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 31 - .saturating_add(Weight::from_parts(1_715, 0).saturating_mul(n.into())) + // Standard Error: 22 + .saturating_add(Weight::from_parts(953, 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/lib.rs b/runtime/pangoro/src/lib.rs index 0557d1a6c..cffd06434 100644 --- a/runtime/pangoro/src/lib.rs +++ b/runtime/pangoro/src/lib.rs @@ -79,7 +79,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Pangoro2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_5_1_1, + spec_version: 6_6_0_0, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -195,6 +195,7 @@ frame_benchmarking::define_benchmarks! { [pallet_balances, Balances] [pallet_collective, TechnicalCommittee] [pallet_conviction_voting, ConvictionVoting] + [pallet_democracy, Democracy] [pallet_identity, Identity] [pallet_preimage, Preimage] [pallet_proxy, Proxy] diff --git a/runtime/pangoro/src/pallets/governance.rs b/runtime/pangoro/src/pallets/governance.rs index 2ffaf4998..9d48aed09 100644 --- a/runtime/pangoro/src/pallets/governance.rs +++ b/runtime/pangoro/src/pallets/governance.rs @@ -56,7 +56,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_council::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; @@ -68,7 +68,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; type SetMembersOrigin = RootOr; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; + type WeightInfo = weights::pallet_collective::WeightInfo; } impl pallet_conviction_voting::Config for Runtime { @@ -78,8 +78,7 @@ impl pallet_conviction_voting::Config for Runtime { type Polls = Referenda; type RuntimeEvent = RuntimeEvent; type VoteLockingPeriod = Time2; - // type WeightInfo = weights::pallet_conviction_voting::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_conviction_voting::WeightInfo; } pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); @@ -101,8 +100,7 @@ impl pallet_referenda::Config for Runtime { type Tracks = TracksInfo; type UndecidingTimeout = Time2; type Votes = pallet_conviction_voting::VotesOf; - // type WeightInfo = weights::pallet_referenda::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_referenda::WeightInfo; } impl custom_origins::Config for Runtime {} @@ -114,8 +112,7 @@ impl pallet_whitelist::Config for Runtime { type Preimages = Preimage; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; - // type WeightInfo = weights::pallet_whitelist::WeightInfo; - type WeightInfo = (); + type WeightInfo = weights::pallet_whitelist::WeightInfo; type WhitelistOrigin = RootOrAtLeastFourFifth; } diff --git a/runtime/pangoro/src/pallets/tx_pause.rs b/runtime/pangoro/src/pallets/tx_pause.rs index 01659e268..dcac67a41 100644 --- a/runtime/pangoro/src/pallets/tx_pause.rs +++ b/runtime/pangoro/src/pallets/tx_pause.rs @@ -20,6 +20,15 @@ use crate::*; pub struct TxPauseWhitelistedCalls; +// #[cfg(feature = "runtime-benchmarks")] +// impl frame_support::traits::Contains> +// for TxPauseWhitelistedCalls +// { +// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf) -> bool { +// false +// } +// } +// #[cfg(not(feature = "runtime-benchmarks"))] impl frame_support::traits::Contains> for TxPauseWhitelistedCalls { @@ -50,7 +59,6 @@ impl pallet_tx_pause::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type UnpauseOrigin = RootOrAtLeastTwoThird; - // TODO: Update the benchmark weight info - type WeightInfo = (); + type WeightInfo = weights::pallet_tx_pause::WeightInfo; type WhitelistedCalls = TxPauseWhitelistedCalls; } diff --git a/runtime/pangoro/src/weights.rs b/runtime/pangoro/src/weights.rs index 11f84e93a..7d3ef05d2 100644 --- a/runtime/pangoro/src/weights.rs +++ b/runtime/pangoro/src/weights.rs @@ -35,15 +35,18 @@ pub mod frame_system; pub mod pallet_assets; pub mod pallet_balances; pub mod pallet_bridge_grandpa; -pub mod pallet_collective_council; -pub mod pallet_collective_technical_committee; +pub mod pallet_collective; +pub mod pallet_conviction_voting; pub mod pallet_democracy; pub mod pallet_fee_market; pub mod pallet_identity; pub mod pallet_preimage; pub mod pallet_proxy; +pub mod pallet_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; pub mod pallet_treasury; +pub mod pallet_tx_pause; pub mod pallet_utility; +pub mod pallet_whitelist; diff --git a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs index a2c550f0b..c0b62ddab 100644 --- a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_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 a0de19ecd..791449039 100644 --- a/runtime/pangoro/src/weights/darwinia_account_migration.rs +++ b/runtime/pangoro/src/weights/darwinia_account_migration.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_account_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -84,8 +83,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `29142` // Estimated: `32607` - // Minimum execution time: 206_000_000 picoseconds. - Weight::from_parts(210_000_000, 0) + // Minimum execution time: 182_000_000 picoseconds. + Weight::from_parts(184_000_000, 0) .saturating_add(Weight::from_parts(0, 32607)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(15)) @@ -124,10 +123,10 @@ impl darwinia_account_migration::WeightInfo for WeightI // Measured: `0` // Estimated: `2 + x * (165 ±0) + z * (165 ±0)` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(30_313_661, 0) + Weight::from_parts(26_054_744, 0) .saturating_add(Weight::from_parts(0, 2)) - // Standard Error: 17_857 - .saturating_add(Weight::from_parts(3_725, 0).saturating_mul(x.into())) + // Standard Error: 15_646 + .saturating_add(Weight::from_parts(10_637, 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())) @@ -141,8 +140,8 @@ impl darwinia_account_migration::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `3499` // Estimated: `6964` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_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 10521246d..66605075e 100644 --- a/runtime/pangoro/src/weights/darwinia_deposit.rs +++ b/runtime/pangoro/src/weights/darwinia_deposit.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_deposit` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -70,8 +69,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26745` // Estimated: `29615` - // Minimum execution time: 103_000_000 picoseconds. - Weight::from_parts(109_000_000, 0) + // Minimum execution time: 87_000_000 picoseconds. + Weight::from_parts(90_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -86,8 +85,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26512` // Estimated: `29615` - // Minimum execution time: 1_910_000_000 picoseconds. - Weight::from_parts(2_006_000_000, 0) + // Minimum execution time: 1_686_000_000 picoseconds. + Weight::from_parts(1_710_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -104,8 +103,8 @@ impl darwinia_deposit::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `26634` // Estimated: `29615` - // Minimum execution time: 61_000_000 picoseconds. - Weight::from_parts(71_000_000, 0) + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(66_000_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 ae26c42fb..a5dba8cca 100644 --- a/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs +++ b/runtime/pangoro/src/weights/darwinia_ecdsa_authority.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_ecdsa_authority` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -64,11 +63,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) - .saturating_add(Weight::from_parts(0, 1572)) + // Measured: `121` + // Estimated: `1606` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 1606)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,11 +79,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) - .saturating_add(Weight::from_parts(0, 1572)) + // Measured: `121` + // Estimated: `1606` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 1606)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,11 +95,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 1651)) + // Measured: `200` + // Estimated: `1685` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) + .saturating_add(Weight::from_parts(0, 1685)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +111,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 1752)) + // Measured: `301` + // Estimated: `1786` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) + .saturating_add(Weight::from_parts(0, 1786)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,11 +131,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 55_000_000 picoseconds. - Weight::from_parts(56_000_000, 0) - .saturating_add(Weight::from_parts(0, 1736)) + // Measured: `285` + // Estimated: `1770` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(53_000_000, 0) + .saturating_add(Weight::from_parts(0, 1770)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -146,11 +145,11 @@ impl darwinia_ecdsa_authority::WeightInfo for WeightInf /// 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: 40_000_000 picoseconds. - Weight::from_parts(41_000_000, 0) - .saturating_add(Weight::from_parts(0, 1730)) + // Measured: `279` + // Estimated: `1764` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_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/pangoro/src/weights/darwinia_staking.rs b/runtime/pangoro/src/weights/darwinia_staking.rs index e9327f6a0..f54f11386 100644 --- a/runtime/pangoro/src/weights/darwinia_staking.rs +++ b/runtime/pangoro/src/weights/darwinia_staking.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `darwinia_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -73,13 +72,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn stake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1807` + // Measured: `1874` // Estimated: `29615` - // Minimum execution time: 93_000_000 picoseconds. - Weight::from_parts(183_571_833, 0) + // Minimum execution time: 78_000_000 picoseconds. + Weight::from_parts(158_839_574, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_975 - .saturating_add(Weight::from_parts(11_025, 0).saturating_mul(x.into())) + // Standard Error: 1_759 + .saturating_add(Weight::from_parts(9_644, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -94,13 +93,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn unstake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1456` + // Measured: `1523` // Estimated: `29615` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(81_554_306, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(68_831_139, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_461 - .saturating_add(Weight::from_parts(6_782, 0).saturating_mul(x.into())) + // Standard Error: 1_205 + .saturating_add(Weight::from_parts(6_760, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,13 +114,13 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 1023]`. fn restake(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1560` + // Measured: `1627` // Estimated: `29615` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(68_755_372, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(58_642_554, 0) .saturating_add(Weight::from_parts(0, 29615)) - // Standard Error: 1_185 - .saturating_add(Weight::from_parts(5_879, 0).saturating_mul(x.into())) + // Standard Error: 1_024 + .saturating_add(Weight::from_parts(5_599, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -137,10 +136,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `2045` + // Measured: `2112` // Estimated: `29615` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(138_000_000, 0) + // Minimum execution time: 118_000_000 picoseconds. + Weight::from_parts(120_000_000, 0) .saturating_add(Weight::from_parts(0, 29615)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -149,10 +148,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `DarwiniaStaking::Collators` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn collect() -> Weight { // Proof Size summary in bytes: - // Measured: `310` + // Measured: `377` // Estimated: `3497` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -165,10 +164,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `DarwiniaStaking::Nominators` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nominate() -> Weight { // Proof Size summary in bytes: - // Measured: `478` + // Measured: `545` // Estimated: `5298` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5298)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,8 +180,8 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -196,10 +195,10 @@ impl darwinia_staking::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1578` + // Measured: `1645` // Estimated: `83902` - // Minimum execution time: 250_000_000 picoseconds. - Weight::from_parts(268_000_000, 0) + // Minimum execution time: 220_000_000 picoseconds. + Weight::from_parts(222_000_000, 0) .saturating_add(Weight::from_parts(0, 83902)) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().writes(2)) @@ -210,7 +209,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/pangoro/src/weights/frame_system.rs b/runtime/pangoro/src/weights/frame_system.rs index fe748f1f2..bd436d071 100644 --- a/runtime/pangoro/src/weights/frame_system.rs +++ b/runtime/pangoro/src/weights/frame_system.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -61,22 +60,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_336_764, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_189_470, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(151, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(150, 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: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(948, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(945, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -87,7 +86,7 @@ impl frame_system::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `1485` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -106,11 +105,11 @@ impl frame_system::WeightInfo for WeightInfo { /// 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: 70_905_000_000 picoseconds. - Weight::from_parts(71_898_000_000, 0) - .saturating_add(Weight::from_parts(0, 1649)) + // Measured: `198` + // Estimated: `1683` + // Minimum execution time: 71_302_000_000 picoseconds. + Weight::from_parts(72_156_000_000, 0) + .saturating_add(Weight::from_parts(0, 1683)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -121,11 +120,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. + // Minimum execution time: 1_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_212 - .saturating_add(Weight::from_parts(839_763, 0).saturating_mul(i.into())) + // Standard Error: 3_086 + .saturating_add(Weight::from_parts(768_437, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,8 +137,8 @@ impl frame_system::WeightInfo for WeightInfo { // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 940 - .saturating_add(Weight::from_parts(585_333, 0).saturating_mul(i.into())) + // Standard Error: 720 + .saturating_add(Weight::from_parts(526_459, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -147,13 +146,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `106 + p * (69 ±0)` - // Estimated: `99 + p * (70 ±0)` - // Minimum execution time: 4_000_000 picoseconds. + // Measured: `98 + p * (69 ±0)` + // Estimated: `102 + p * (70 ±0)` + // Minimum execution time: 3_000_000 picoseconds. Weight::from_parts(4_000_000, 0) - .saturating_add(Weight::from_parts(0, 99)) - // Standard Error: 970 - .saturating_add(Weight::from_parts(1_055_440, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 102)) + // Standard Error: 823 + .saturating_add(Weight::from_parts(963_185, 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 3d1d4630d..e8396e707 100644 --- a/runtime/pangoro/src/weights/pallet_assets.rs +++ b/runtime/pangoro/src/weights/pallet_assets.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,11 +102,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436 + c * (183 ±0)` // Estimated: `3631 + c * (2591 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(56_652_407, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 27_482 - .saturating_add(Weight::from_parts(13_476_420, 0).saturating_mul(c.into())) + // Standard Error: 5_992 + .saturating_add(Weight::from_parts(11_853_169, 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)) @@ -123,11 +122,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `421 + a * (74 ±0)` // Estimated: `3631 + a * (2603 ±0)` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 2_967 - .saturating_add(Weight::from_parts(4_312_908, 0).saturating_mul(a.into())) + // Standard Error: 2_654 + .saturating_add(Weight::from_parts(3_884_322, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +141,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,8 +155,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -170,8 +169,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -186,8 +185,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -202,8 +201,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -218,8 +217,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `464` // Estimated: `6168` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -232,8 +231,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,8 +245,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -258,8 +257,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -270,8 +269,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,8 +283,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -296,8 +295,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -308,17 +307,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(14_826_286, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_382_533, 0) .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 809 - .saturating_add(Weight::from_parts(1_434, 0).saturating_mul(n.into())) - // Standard Error: 809 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(s.into())) + // Standard Error: 1_109 + .saturating_add(Weight::from_parts(379, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -330,8 +327,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -346,8 +343,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `200` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_971_107, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_111_658, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -360,8 +357,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -372,8 +369,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,8 +383,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -404,8 +401,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `562` // Estimated: `6168` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(50_000_000, 0) + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(42_000_000, 0) .saturating_add(Weight::from_parts(0, 6168)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -418,8 +415,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -432,8 +429,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `420` // Estimated: `3631` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -444,8 +441,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `270` // Estimated: `3631` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -460,8 +457,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `441` // Estimated: `3631` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -474,8 +471,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `313` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -490,8 +487,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `519` // Estimated: `3631` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -504,8 +501,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `411` // Estimated: `3631` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 3631)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -518,8 +515,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `373` // Estimated: `3631` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_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 8e4e207d7..c2fa0b500 100644 --- a/runtime/pangoro/src/weights/pallet_balances.rs +++ b/runtime/pangoro/src/weights/pallet_balances.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(56_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(48_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +73,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(47_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +85,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,8 +97,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +109,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `201` // Estimated: `6172` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -122,8 +121,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `39` // Estimated: `3581` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -134,8 +133,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `162` // Estimated: `3581` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,11 +146,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `58 + u * (124 ±0)` // Estimated: `990 + u * (2591 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 13_163 - .saturating_add(Weight::from_parts(15_638_186, 0).saturating_mul(u.into())) + // Standard Error: 7_724 + .saturating_add(Weight::from_parts(13_752_879, 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 77f1333f5..aea66d24f 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_grandpa` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -76,13 +75,13 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -70,8 +69,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(71_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -90,8 +89,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(72_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -110,8 +109,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `376` // Estimated: `6172` - // Minimum execution time: 84_000_000 picoseconds. - Weight::from_parts(86_000_000, 0) + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(77_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(12)) @@ -122,14 +121,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -138,14 +139,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_two_messages_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(55_000_000, 0) + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -154,14 +157,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_with_outbound_lane_state() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -170,14 +175,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_1_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -186,14 +193,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_message_proof_16_kb() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 81_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(77_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -202,14 +211,16 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn receive_single_prepaid_message_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `546` + // Measured: `550` // Estimated: `69033` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BridgePangolinMessages::PalletOperatingMode` (r:1 w:0) @@ -224,8 +235,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `597` // Estimated: `69033` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -242,8 +253,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `597` // Estimated: `69033` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -260,8 +271,8 @@ impl pallet_bridge_messages::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `597` // Estimated: `69033` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_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 b2612ef23..be2950b0a 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_parachains.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_parachains.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_bridge_parachains` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -71,11 +70,11 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033 + p * (2539 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(28_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) - // Standard Error: 26_892 - .saturating_add(Weight::from_parts(23_315_900, 0).saturating_mul(p.into())) + // Standard Error: 27_390 + .saturating_add(Weight::from_parts(22_049_922, 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()))) @@ -95,8 +94,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(38_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 69033)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -115,8 +114,8 @@ impl pallet_bridge_parachains::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `451` // Estimated: `69033` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(71_000_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_technical_committee.rs b/runtime/pangoro/src/weights/pallet_collective.rs similarity index 69% rename from runtime/pangoro/src/weights/pallet_collective_technical_committee.rs rename to runtime/pangoro/src/weights/pallet_collective.rs index bed8be610..b0af6635e 100644 --- a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangoro/src/weights/pallet_collective.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -67,20 +66,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12234 + m * (1231 ±10) + p * (3660 ±10)` + // Estimated: `12200 + m * (1231 ±14) + p * (3660 ±14)` // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) - .saturating_add(Weight::from_parts(0, 12234)) - // Standard Error: 32_123 - .saturating_add(Weight::from_parts(2_345_940, 0).saturating_mul(m.into())) - // Standard Error: 32_123 - .saturating_add(Weight::from_parts(5_398_826, 0).saturating_mul(p.into())) + Weight::from_parts(14_000_000, 0) + .saturating_add(Weight::from_parts(0, 12200)) + // Standard Error: 32_771 + .saturating_add(Weight::from_parts(2_063_774, 0).saturating_mul(m.into())) + // Standard Error: 32_771 + .saturating_add(Weight::from_parts(5_175_331, 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,44 +86,44 @@ impl pallet_collective::WeightInfo for WeightInfo { } /// 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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `1588 + m * (20 ±0)` + // Measured: `73 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_351_650, 0) - .saturating_add(Weight::from_parts(0, 1588)) - // Standard Error: 35 - .saturating_add(Weight::from_parts(844, 0).saturating_mul(b.into())) - // Standard Error: 368 - .saturating_add(Weight::from_parts(3_349, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + Weight::from_parts(15_319_178, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 45 + .saturating_add(Weight::from_parts(662, 0).saturating_mul(b.into())) + // Standard Error: 465 + .saturating_add(Weight::from_parts(3_748, 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: `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]`. + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `103 + m * (20 ±0)` - // Estimated: `3568 + m * (20 ±0)` + // Measured: `73 + m * (20 ±0)` + // Estimated: `3997 + m * (20 ±0)` // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_719_962, 0) - .saturating_add(Weight::from_parts(0, 3568)) - // Standard Error: 29 - .saturating_add(Weight::from_parts(900, 0).saturating_mul(b.into())) - // Standard Error: 307 - .saturating_add(Weight::from_parts(4_992, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + Weight::from_parts(16_754_071, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 68 + .saturating_add(Weight::from_parts(1_322, 0).saturating_mul(b.into())) + // Standard Error: 707 + .saturating_add(Weight::from_parts(8_652, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) @@ -143,22 +139,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_341_842, 0) - .saturating_add(Weight::from_parts(0, 3785)) - // Standard Error: 68 - .saturating_add(Weight::from_parts(1_340, 0).saturating_mul(b.into())) - // Standard Error: 712 - .saturating_add(Weight::from_parts(10_913, 0).saturating_mul(m.into())) - // Standard Error: 703 - .saturating_add(Weight::from_parts(128_719, 0).saturating_mul(p.into())) + // Measured: `357 + m * (20 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (21 ±0) + p * (36 ±0)` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_073_255, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 74 + .saturating_add(Weight::from_parts(1_246, 0).saturating_mul(b.into())) + // Standard Error: 775 + .saturating_add(Weight::from_parts(8_637, 0).saturating_mul(m.into())) + // Standard Error: 765 + .saturating_add(Weight::from_parts(131_394, 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())) @@ -169,16 +162,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 18_000_000 picoseconds. - Weight::from_parts(19_554_199, 0) - .saturating_add(Weight::from_parts(0, 4330)) - // Standard Error: 1_201 - .saturating_add(Weight::from_parts(11_376, 0).saturating_mul(m.into())) + // Measured: `832 + m * (40 ±0)` + // Estimated: `4296 + m * (40 ±0)` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_104_034, 0) + .saturating_add(Weight::from_parts(0, 4296)) + // Standard Error: 759 + .saturating_add(Weight::from_parts(8_957, 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())) @@ -193,19 +185,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_696_226, 0) - .saturating_add(Weight::from_parts(0, 3888)) - // Standard Error: 936 - .saturating_add(Weight::from_parts(153, 0).saturating_mul(m.into())) - // Standard Error: 913 - .saturating_add(Weight::from_parts(129_751, 0).saturating_mul(p.into())) + // Measured: `409 + m * (40 ±0) + p * (36 ±0)` + // Estimated: `3854 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(23_213_131, 0) + .saturating_add(Weight::from_parts(0, 3854)) + // Standard Error: 947 + .saturating_add(Weight::from_parts(127_261, 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())) @@ -217,26 +205,25 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 36_000_000 picoseconds. - Weight::from_parts(39_088_068, 0) - .saturating_add(Weight::from_parts(0, 4062)) - // Standard Error: 137 - .saturating_add(Weight::from_parts(601, 0).saturating_mul(b.into())) - // Standard Error: 1_416 - .saturating_add(Weight::from_parts(155_252, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `715 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4032 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(35_376_968, 0) + .saturating_add(Weight::from_parts(0, 4032)) + // Standard Error: 219 + .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(b.into())) + // Standard Error: 2_256 + .saturating_add(Weight::from_parts(160_716, 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())) @@ -254,19 +241,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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]`. - /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `463 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3908 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_843_049, 0) - .saturating_add(Weight::from_parts(0, 3908)) - // Standard Error: 1_145 - .saturating_add(Weight::from_parts(13_667, 0).saturating_mul(m.into())) - // Standard Error: 1_117 - .saturating_add(Weight::from_parts(127_083, 0).saturating_mul(p.into())) + // Measured: `429 + m * (40 ±0) + p * (36 ±0)` + // Estimated: `3874 + m * (41 ±0) + p * (36 ±0)` + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_526_140, 0) + .saturating_add(Weight::from_parts(0, 3874)) + // Standard Error: 707 + .saturating_add(Weight::from_parts(8_116, 0).saturating_mul(m.into())) + // Standard Error: 689 + .saturating_add(Weight::from_parts(129_568, 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())) @@ -280,26 +265,27 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// 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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // 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: 38_000_000 picoseconds. - Weight::from_parts(40_513_698, 0) - .saturating_add(Weight::from_parts(0, 4082)) - // Standard Error: 166 - .saturating_add(Weight::from_parts(1_856, 0).saturating_mul(b.into())) - // Standard Error: 1_710 - .saturating_add(Weight::from_parts(158_457, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `735 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)` + // Estimated: `4052 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)` + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(37_141_680, 0) + .saturating_add(Weight::from_parts(0, 4052)) + // Standard Error: 109 + .saturating_add(Weight::from_parts(943, 0).saturating_mul(b.into())) + // Standard Error: 1_161 + .saturating_add(Weight::from_parts(7_532, 0).saturating_mul(m.into())) + // Standard Error: 1_132 + .saturating_add(Weight::from_parts(151_101, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(6)) .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())) @@ -312,16 +298,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: 15_000_000 picoseconds. - Weight::from_parts(15_963_607, 0) - .saturating_add(Weight::from_parts(0, 1745)) - // Standard Error: 747 - .saturating_add(Weight::from_parts(116_361, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_303_176, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 586 + .saturating_add(Weight::from_parts(118_249, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/pangoro/src/weights/pallet_collective_council.rs b/runtime/pangoro/src/weights/pallet_collective_council.rs deleted file mode 100644 index bb04f053f..000000000 --- a/runtime/pangoro/src/weights/pallet_collective_council.rs +++ /dev/null @@ -1,331 +0,0 @@ -// This file is part of Darwinia. -// -// Copyright (C) 2018-2023 Darwinia Network -// SPDX-License-Identifier: GPL-3.0 -// -// Darwinia is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// Darwinia is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Darwinia. If not, see . - -//! Autogenerated weights for `pallet_collective` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 - -// Executed Command: -// target/release/darwinia -// benchmark -// pallet -// --header -// .maintain/license-header -// --heap-pages -// 4096 -// --chain -// pangoro-dev -// --output -// runtime/pangoro/src/weights -// --pallet -// * -// --extrinsic -// * -// --steps -// 50 -// --repeat -// 20 - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_collective`. -pub struct WeightInfo(PhantomData); -impl pallet_collective::WeightInfo for WeightInfo { - /// 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]`. - /// The range of component `m` is `[0, 100]`. - /// The range of component `n` is `[0, 100]`. - /// The range of component `p` is `[0, 100]`. - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)` - // Estimated: `12163 + m * (1231 ±10) + p * (3660 ±10)` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) - .saturating_add(Weight::from_parts(0, 12163)) - // Standard Error: 34_913 - .saturating_add(Weight::from_parts(2_392_077, 0).saturating_mul(m.into())) - // Standard Error: 34_913 - .saturating_add(Weight::from_parts(5_337_512, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into())) - } - /// 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]`. - /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `32 + m * (20 ±0)` - // Estimated: `1517 + m * (20 ±0)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(14_678_596, 0) - .saturating_add(Weight::from_parts(0, 1517)) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_141, 0).saturating_mul(b.into())) - // Standard Error: 256 - .saturating_add(Weight::from_parts(2_533, 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: `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]`. - /// The range of component `m` is `[1, 100]`. - fn propose_execute(b: u32, m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `32 + m * (20 ±0)` - // Estimated: `3497 + m * (20 ±0)` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_032_740, 0) - .saturating_add(Weight::from_parts(0, 3497)) - // Standard Error: 29 - .saturating_add(Weight::from_parts(801, 0).saturating_mul(b.into())) - // Standard Error: 305 - .saturating_add(Weight::from_parts(7_094, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[2, 100]`. - /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `320 + m * (20 ±0) + p * (36 ±0)` - // Estimated: `3714 + m * (21 ±0) + p * (36 ±0)` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_625_038, 0) - .saturating_add(Weight::from_parts(0, 3714)) - // Standard Error: 68 - .saturating_add(Weight::from_parts(1_453, 0).saturating_mul(b.into())) - // Standard Error: 719 - .saturating_add(Weight::from_parts(10_207, 0).saturating_mul(m.into())) - // Standard Error: 710 - .saturating_add(Weight::from_parts(130_221, 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: `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: 17_000_000 picoseconds. - Weight::from_parts(19_070_469, 0) - .saturating_add(Weight::from_parts(0, 4259)) - // Standard Error: 1_017 - .saturating_add(Weight::from_parts(9_506, 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: `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]`. - /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `372 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3817 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_271_074, 0) - .saturating_add(Weight::from_parts(0, 3817)) - // Standard Error: 1_048 - .saturating_add(Weight::from_parts(1_001, 0).saturating_mul(m.into())) - // Standard Error: 1_022 - .saturating_add(Weight::from_parts(126_610, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. - fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - // 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: 35_000_000 picoseconds. - Weight::from_parts(37_488_982, 0) - .saturating_add(Weight::from_parts(0, 3991)) - // Standard Error: 114 - .saturating_add(Weight::from_parts(574, 0).saturating_mul(b.into())) - // Standard Error: 1_212 - .saturating_add(Weight::from_parts(4_451, 0).saturating_mul(m.into())) - // Standard Error: 1_181 - .saturating_add(Weight::from_parts(144_441, 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: `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]`. - /// The range of component `p` is `[1, 100]`. - fn close_disapproved(m: u32, p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `392 + m * (40 ±0) + p * (36 ±0)` - // Estimated: `3837 + m * (41 ±0) + p * (36 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_412_333, 0) - .saturating_add(Weight::from_parts(0, 3837)) - // Standard Error: 1_082 - .saturating_add(Weight::from_parts(12_211, 0).saturating_mul(m.into())) - // Standard Error: 1_055 - .saturating_add(Weight::from_parts(125_683, 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: `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]`. - /// The range of component `b` is `[2, 1024]`. - /// The range of component `m` is `[4, 100]`. - /// The range of component `p` is `[1, 100]`. - fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - // 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: 38_000_000 picoseconds. - Weight::from_parts(39_951_706, 0) - .saturating_add(Weight::from_parts(0, 4011)) - // Standard Error: 145 - .saturating_add(Weight::from_parts(1_396, 0).saturating_mul(b.into())) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(159_283, 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: `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: 14_000_000 picoseconds. - Weight::from_parts(15_307_808, 0) - .saturating_add(Weight::from_parts(0, 1674)) - // Standard Error: 634 - .saturating_add(Weight::from_parts(117_716, 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_conviction_voting.rs b/runtime/pangoro/src/weights/pallet_conviction_voting.rs new file mode 100644 index 000000000..0c7e3e5cc --- /dev/null +++ b/runtime/pangoro/src/weights/pallet_conviction_voting.rs @@ -0,0 +1,200 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_conviction_voting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// pangoro-dev +// --output +// runtime/pangoro/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13156` + // Estimated: `42428` + // Minimum execution time: 88_000_000 picoseconds. + Weight::from_parts(95_000_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`) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `13877` + // Estimated: `83866` + // Minimum execution time: 154_000_000 picoseconds. + Weight::from_parts(164_000_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`) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `13626` + // Estimated: `83866` + // Minimum execution time: 125_000_000 picoseconds. + Weight::from_parts(136_000_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`) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `12750` + // Estimated: `30694` + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(50_000_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`) + /// The range of component `r` is `[0, 100]`. + fn delegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7270 + r * (386 ±0)` + // Estimated: `83866 + r * (3387 ±0)` + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(3_865_391, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 508_090 + .saturating_add(Weight::from_parts(60_503_162, 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`) + /// The range of component `r` is `[0, 100]`. + fn undelegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7126 + r * (386 ±0)` + // Estimated: `83866 + r * (3387 ±0)` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 259_719 + .saturating_add(Weight::from_parts(59_791_052, 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`) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `11936` + // Estimated: `30694` + // Minimum execution time: 71_000_000 picoseconds. + Weight::from_parts(78_000_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/pangoro/src/weights/pallet_democracy.rs b/runtime/pangoro/src/weights/pallet_democracy.rs index 7b3b2b820..cadb9fdcb 100644 --- a/runtime/pangoro/src/weights/pallet_democracy.rs +++ b/runtime/pangoro/src/weights/pallet_democracy.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -68,8 +67,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3810` // Estimated: `16987` - // Minimum execution time: 38_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -80,7 +79,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2559` // Estimated: `5495` - // Minimum execution time: 34_000_000 picoseconds. + // Minimum execution time: 33_000_000 picoseconds. Weight::from_parts(34_000_000, 0) .saturating_add(Weight::from_parts(0, 5495)) .saturating_add(T::DbWeight::get().reads(1)) @@ -99,7 +98,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `3406` // Estimated: `7248` // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + Weight::from_parts(51_000_000, 0) .saturating_add(Weight::from_parts(0, 7248)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -116,8 +115,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3428` // Estimated: `7248` - // Minimum execution time: 47_000_000 picoseconds. - Weight::from_parts(48_000_000, 0) + // Minimum execution time: 45_000_000 picoseconds. + Weight::from_parts(46_000_000, 0) .saturating_add(Weight::from_parts(0, 7248)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +131,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -156,8 +155,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4920` // Estimated: `16987` - // Minimum execution time: 97_000_000 picoseconds. - Weight::from_parts(99_000_000, 0) + // Minimum execution time: 95_000_000 picoseconds. + Weight::from_parts(98_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -170,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2161` // Estimated: `5503` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -210,8 +209,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -226,8 +225,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2264` // Estimated: `5503` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 5503)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -244,8 +243,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4852` // Estimated: `16987` - // Minimum execution time: 80_000_000 picoseconds. - Weight::from_parts(83_000_000, 0) + // Minimum execution time: 77_000_000 picoseconds. + Weight::from_parts(79_000_000, 0) .saturating_add(Weight::from_parts(0, 16987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -258,8 +257,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -276,10 +275,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_753_901, 0) + Weight::from_parts(9_606_112, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 20_718 - .saturating_add(Weight::from_parts(3_172_992, 0).saturating_mul(r.into())) + // Standard Error: 10_738 + .saturating_add(Weight::from_parts(2_881_597, 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)) @@ -302,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `16987 + r * (2676 ±0)` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(17_042_939, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(14_068_607, 0) .saturating_add(Weight::from_parts(0, 16987)) - // Standard Error: 19_865 - .saturating_add(Weight::from_parts(2_979_050, 0).saturating_mul(r.into())) + // Standard Error: 10_034 + .saturating_add(Weight::from_parts(2_866_776, 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)) @@ -325,11 +324,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `730 + r * (108 ±0)` // Estimated: `19764 + r * (2676 ±0)` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(55_245_165, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(45_084_950, 0) .saturating_add(Weight::from_parts(0, 19764)) - // Standard Error: 21_959 - .saturating_add(Weight::from_parts(3_803_403, 0).saturating_mul(r.into())) + // Standard Error: 24_135 + .saturating_add(Weight::from_parts(3_815_443, 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)) @@ -345,11 +344,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388 + r * (108 ±0)` // Estimated: `13506 + r * (2676 ±0)` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(24_526_392, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(27_138_932, 0) .saturating_add(Weight::from_parts(0, 13506)) - // Standard Error: 21_886 - .saturating_add(Weight::from_parts(3_909_212, 0).saturating_mul(r.into())) + // Standard Error: 16_960 + .saturating_add(Weight::from_parts(3_601_939, 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)) @@ -362,7 +361,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) @@ -381,10 +380,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `385` // Estimated: `7248` // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(32_968_440, 0) + Weight::from_parts(31_974_475, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 4_215 - .saturating_add(Weight::from_parts(48_134, 0).saturating_mul(r.into())) + // Standard Error: 2_436 + .saturating_add(Weight::from_parts(28_468, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -401,11 +400,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + r * (22 ±0)` // Estimated: `7248` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(33_899_340, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_283_567, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 4_954 - .saturating_add(Weight::from_parts(69_005, 0).saturating_mul(r.into())) + // Standard Error: 3_672 + .saturating_add(Weight::from_parts(49_988, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -418,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `649 + r * (26 ±0)` // Estimated: `7248` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(16_063_640, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_672_077, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_607 - .saturating_add(Weight::from_parts(39_511, 0).saturating_mul(r.into())) + // Standard Error: 862 + .saturating_add(Weight::from_parts(48_059, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -436,10 +435,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `649 + r * (26 ±0)` // Estimated: `7248` // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(15_764_934, 0) + Weight::from_parts(14_527_707, 0) .saturating_add(Weight::from_parts(0, 7248)) - // Standard Error: 1_195 - .saturating_add(Weight::from_parts(45_363, 0).saturating_mul(r.into())) + // Standard Error: 1_750 + .saturating_add(Weight::from_parts(58_462, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -454,7 +453,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Measured: `327` // Estimated: `3544` // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -525,8 +524,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_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_fee_market.rs b/runtime/pangoro/src/weights/pallet_fee_market.rs index 246ee0259..f78362090 100644 --- a/runtime/pangoro/src/weights/pallet_fee_market.rs +++ b/runtime/pangoro/src/weights/pallet_fee_market.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_fee_market` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -76,8 +75,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `27389` - // Minimum execution time: 131_000_000 picoseconds. - Weight::from_parts(136_000_000, 0) + // Minimum execution time: 116_000_000 picoseconds. + Weight::from_parts(117_000_000, 0) .saturating_add(Weight::from_parts(0, 27389)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -102,8 +101,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 124_000_000 picoseconds. - Weight::from_parts(127_000_000, 0) + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(111_000_000, 0) .saturating_add(Weight::from_parts(0, 27461)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -128,8 +127,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1721` // Estimated: `27461` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(153_000_000, 0) + // Minimum execution time: 131_000_000 picoseconds. + Weight::from_parts(133_000_000, 0) .saturating_add(Weight::from_parts(0, 27461)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,8 +147,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(101_000_000, 0) + // Minimum execution time: 87_000_000 picoseconds. + Weight::from_parts(88_000_000, 0) .saturating_add(Weight::from_parts(0, 27042)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +173,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1788` // Estimated: `25053` - // Minimum execution time: 124_000_000 picoseconds. - Weight::from_parts(128_000_000, 0) + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(110_000_000, 0) .saturating_add(Weight::from_parts(0, 25053)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(5)) @@ -186,8 +185,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,8 +204,8 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `27042` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(99_000_000, 0) + // Minimum execution time: 84_000_000 picoseconds. + Weight::from_parts(86_000_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 2d585fd90..34326886e 100644 --- a/runtime/pangoro/src/weights/pallet_identity.rs +++ b/runtime/pangoro/src/weights/pallet_identity.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -63,11 +62,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_992_403, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_108_671, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 3_601 - .saturating_add(Weight::from_parts(48_487, 0).saturating_mul(r.into())) + // Standard Error: 2_585 + .saturating_add(Weight::from_parts(63_164, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -79,13 +78,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `430 + r * (5 ±0)` // Estimated: `10991` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(30_914_867, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_877_850, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_046 - .saturating_add(Weight::from_parts(53_379, 0).saturating_mul(r.into())) - // Standard Error: 594 - .saturating_add(Weight::from_parts(528_530, 0).saturating_mul(x.into())) + // Standard Error: 3_236 + .saturating_add(Weight::from_parts(26_626, 0).saturating_mul(r.into())) + // Standard Error: 631 + .saturating_add(Weight::from_parts(537_432, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89` // Estimated: `10991 + s * (2565 ±0)` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(24_287_153, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(19_563_185, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 4_724 - .saturating_add(Weight::from_parts(3_338_910, 0).saturating_mul(s.into())) + // Standard Error: 4_203 + .saturating_add(Weight::from_parts(3_077_520, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,11 +121,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169 + p * (20 ±0)` // Estimated: `10991` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(22_954_124, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(18_601_270, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 3_871 - .saturating_add(Weight::from_parts(1_345_877, 0).saturating_mul(p.into())) + // Standard Error: 2_833 + .saturating_add(Weight::from_parts(1_239_513, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -144,15 +143,15 @@ 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: 57_000_000 picoseconds. - Weight::from_parts(26_520_033, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(23_621_609, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 8_499 - .saturating_add(Weight::from_parts(199_922, 0).saturating_mul(r.into())) - // Standard Error: 1_659 - .saturating_add(Weight::from_parts(1_347_381, 0).saturating_mul(s.into())) - // Standard Error: 1_659 - .saturating_add(Weight::from_parts(298_505, 0).saturating_mul(x.into())) + // Standard Error: 8_772 + .saturating_add(Weight::from_parts(162_566, 0).saturating_mul(r.into())) + // Standard Error: 1_713 + .saturating_add(Weight::from_parts(1_243_471, 0).saturating_mul(s.into())) + // Standard Error: 1_713 + .saturating_add(Weight::from_parts(286_312, 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()))) @@ -163,15 +162,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 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: 30_000_000 picoseconds. - Weight::from_parts(31_621_059, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(26_091_864, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 644 - .saturating_add(Weight::from_parts(545_567, 0).saturating_mul(x.into())) + // Standard Error: 5_443 + .saturating_add(Weight::from_parts(63_565, 0).saturating_mul(r.into())) + // Standard Error: 1_062 + .saturating_add(Weight::from_parts(551_846, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,15 +180,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(_r: u32, x: u32, ) -> Weight { + fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(30_710_189, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(24_364_704, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_550 - .saturating_add(Weight::from_parts(525_818, 0).saturating_mul(x.into())) + // Standard Error: 3_405 + .saturating_add(Weight::from_parts(12_451, 0).saturating_mul(r.into())) + // Standard Error: 664 + .saturating_add(Weight::from_parts(548_493, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,11 +201,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_920_547, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_571_284, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_037 - .saturating_add(Weight::from_parts(15_698, 0).saturating_mul(r.into())) + // Standard Error: 3_114 + .saturating_add(Weight::from_parts(52_386, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -213,11 +216,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_896_399, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_588_783, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_170 - .saturating_add(Weight::from_parts(19_705, 0).saturating_mul(r.into())) + // Standard Error: 3_752 + .saturating_add(Weight::from_parts(72_606, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -228,11 +231,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `77 + r * (45 ±0)` // Estimated: `2386` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_664_387, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_710_201, 0) .saturating_add(Weight::from_parts(0, 2386)) - // Standard Error: 2_515 - .saturating_add(Weight::from_parts(67_186, 0).saturating_mul(r.into())) + // Standard Error: 3_165 + .saturating_add(Weight::from_parts(52_499, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,15 +245,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7526), added: 10001, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_r: u32, x: u32, ) -> Weight { + fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421 + r * (45 ±0) + x * (66 ±0)` // Estimated: `10991` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_920_917, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(16_498_908, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 741 - .saturating_add(Weight::from_parts(858_828, 0).saturating_mul(x.into())) + // Standard Error: 3_651 + .saturating_add(Weight::from_parts(44_004, 0).saturating_mul(r.into())) + // Standard Error: 675 + .saturating_add(Weight::from_parts(850_623, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -269,15 +274,15 @@ 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: 79_000_000 picoseconds. - Weight::from_parts(45_507_320, 0) + // Minimum execution time: 71_000_000 picoseconds. + Weight::from_parts(39_123_941, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 9_356 - .saturating_add(Weight::from_parts(232_079, 0).saturating_mul(r.into())) - // Standard Error: 1_827 - .saturating_add(Weight::from_parts(1_351_322, 0).saturating_mul(s.into())) - // Standard Error: 1_827 - .saturating_add(Weight::from_parts(316_822, 0).saturating_mul(x.into())) + // Standard Error: 10_653 + .saturating_add(Weight::from_parts(267_107, 0).saturating_mul(r.into())) + // Standard Error: 2_080 + .saturating_add(Weight::from_parts(1_234_455, 0).saturating_mul(s.into())) + // Standard Error: 2_080 + .saturating_add(Weight::from_parts(319_902, 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()))) @@ -293,11 +298,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `536 + s * (23 ±0)` // Estimated: `10991` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(32_272_995, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(27_985_504, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 1_054 - .saturating_add(Weight::from_parts(8_955, 0).saturating_mul(s.into())) + // Standard Error: 1_030 + .saturating_add(Weight::from_parts(14_453, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -310,11 +315,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `615 + s * (4 ±0)` // Estimated: `10991` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_774_051, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(11_242_466, 0) .saturating_add(Weight::from_parts(0, 10991)) - // Standard Error: 874 - .saturating_add(Weight::from_parts(8_955, 0).saturating_mul(s.into())) + // Standard Error: 679 + .saturating_add(Weight::from_parts(11_066, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -325,13 +330,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// 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 { + fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `647 + s * (24 ±0)` // Estimated: `10991` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_491_622, 0) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(28_976_671, 0) .saturating_add(Weight::from_parts(0, 10991)) + // Standard Error: 855 + .saturating_add(Weight::from_parts(21_178, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -346,11 +353,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `622 + s * (24 ±0)` // Estimated: `5511` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(23_019_210, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_990_153, 0) .saturating_add(Weight::from_parts(0, 5511)) - // Standard Error: 620 - .saturating_add(Weight::from_parts(11_521, 0).saturating_mul(s.into())) + // Standard Error: 818 + .saturating_add(Weight::from_parts(20_151, 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_preimage.rs b/runtime/pangoro/src/weights/pallet_preimage.rs index 45193365c..c9d80dff2 100644 --- a/runtime/pangoro/src/weights/pallet_preimage.rs +++ b/runtime/pangoro/src/weights/pallet_preimage.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -65,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3544` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(17_094_415, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_031, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_105, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,11 +81,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(12_956_535, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_073, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_065, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +98,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_026, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,8 +114,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3544` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -129,8 +128,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -141,8 +140,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `3544` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -153,8 +152,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -165,8 +164,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3544` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -177,8 +176,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +190,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3544` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -203,8 +202,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 3544)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -215,8 +214,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3544` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_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 95480215a..2adafe223 100644 --- a/runtime/pangoro/src/weights/pallet_proxy.rs +++ b/runtime/pangoro/src/weights/pallet_proxy.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -58,17 +57,19 @@ 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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)` + // Measured: `153 + p * (25 ±0)` // Estimated: `4310` // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_934_812, 0) + Weight::from_parts(14_109_546, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_081 - .saturating_add(Weight::from_parts(30_746, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 3_432 + .saturating_add(Weight::from_parts(36_240, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) @@ -76,20 +77,22 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// 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: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, 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)` + // Measured: `405 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(34_042_803, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(31_725_044, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 4_094 - .saturating_add(Weight::from_parts(169_936, 0).saturating_mul(a.into())) - // Standard Error: 4_230 - .saturating_add(Weight::from_parts(37_745, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Standard Error: 2_147 + .saturating_add(Weight::from_parts(139_174, 0).saturating_mul(a.into())) + // Standard Error: 2_218 + .saturating_add(Weight::from_parts(20_573, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Proxy::Announcements` (r:1 w:1) @@ -102,11 +105,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_626_013, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_833_110, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 2_456 - .saturating_add(Weight::from_parts(112_432, 0).saturating_mul(a.into())) + // Standard Error: 1_934 + .saturating_add(Weight::from_parts(127_997, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -120,11 +123,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `329 + a * (56 ±0)` // Estimated: `5302` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_343_179, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_991_957, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 1_925 - .saturating_add(Weight::from_parts(121_351, 0).saturating_mul(a.into())) + // Standard Error: 3_499 + .saturating_add(Weight::from_parts(128_932, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -140,13 +143,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `345 + a * (56 ±0) + p * (25 ±0)` // Estimated: `5302` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(31_825_924, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(27_391_466, 0) .saturating_add(Weight::from_parts(0, 5302)) - // Standard Error: 3_255 - .saturating_add(Weight::from_parts(139_188, 0).saturating_mul(a.into())) - // Standard Error: 3_363 - .saturating_add(Weight::from_parts(26_455, 0).saturating_mul(p.into())) + // Standard Error: 2_022 + .saturating_add(Weight::from_parts(138_899, 0).saturating_mul(a.into())) + // Standard Error: 2_089 + .saturating_add(Weight::from_parts(18_033, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -157,11 +160,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_124_871, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_875_707, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_278 - .saturating_add(Weight::from_parts(24_814, 0).saturating_mul(p.into())) + // Standard Error: 1_582 + .saturating_add(Weight::from_parts(11_874, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,11 +175,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(26_191_287, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_019_718, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_732 - .saturating_add(Weight::from_parts(13_963, 0).saturating_mul(p.into())) + // Standard Error: 3_462 + .saturating_add(Weight::from_parts(13_420, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -187,26 +190,24 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_544_623, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_377_069, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_612 - .saturating_add(Weight::from_parts(21_351, 0).saturating_mul(p.into())) + // Standard Error: 1_606 + .saturating_add(Weight::from_parts(27_379, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(845), added: 3320, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn create_pure(p: u32, ) -> Weight { + fn create_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161` // Estimated: `4310` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_678_367, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_292_227, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 2_056 - .saturating_add(Weight::from_parts(6_935, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -217,11 +218,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174 + p * (25 ±0)` // Estimated: `4310` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(23_882_827, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_812_327, 0) .saturating_add(Weight::from_parts(0, 4310)) - // Standard Error: 1_640 - .saturating_add(Weight::from_parts(14_543, 0).saturating_mul(p.into())) + // Standard Error: 2_594 + .saturating_add(Weight::from_parts(30_555, 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_referenda.rs b/runtime/pangoro/src/weights/pallet_referenda.rs new file mode 100644 index 000000000..4c23fd546 --- /dev/null +++ b/runtime/pangoro/src/weights/pallet_referenda.rs @@ -0,0 +1,504 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// pangoro-dev +// --output +// runtime/pangoro/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn submit() -> Weight { + // Proof Size summary in bytes: + // Measured: `275` + // Estimated: `42428` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_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`) + fn place_decision_deposit_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `83866` + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_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`) + fn place_decision_deposit_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3350` + // Estimated: `42428` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(54_000_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`) + fn place_decision_deposit_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3370` + // Estimated: `42428` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(55_000_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`) + fn place_decision_deposit_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `83866` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(52_000_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`) + fn place_decision_deposit_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `461` + // Estimated: `4377` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_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`) + fn refund_decision_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `425` + // Estimated: `4377` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_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`) + fn refund_submission_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `384` + // Estimated: `4377` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_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`) + fn cancel() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `83866` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_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`) + fn kill() -> Weight { + // Proof Size summary in bytes: + // Measured: `846` + // Estimated: `83866` + // Minimum execution time: 96_000_000 picoseconds. + Weight::from_parts(97_000_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`) + fn one_fewer_deciding_queue_empty() -> Weight { + // Proof Size summary in bytes: + // Measured: `207` + // Estimated: `5477` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_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`) + fn one_fewer_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3165` + // Estimated: `42428` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_000_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`) + fn one_fewer_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3223` + // Estimated: `42428` + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_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`) + fn nudge_referendum_requeued_insertion() -> Weight { + // Proof Size summary in bytes: + // Measured: `3020` + // Estimated: `5477` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_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`) + fn nudge_referendum_requeued_slide() -> Weight { + // Proof Size summary in bytes: + // Measured: `3020` + // Estimated: `5477` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_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`) + fn nudge_referendum_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3024` + // Estimated: `5477` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(21_000_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`) + fn nudge_referendum_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3044` + // Estimated: `5477` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(22_000_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`) + fn nudge_referendum_no_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `354` + // Estimated: `42428` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_timed_out() -> Weight { + // Proof Size summary in bytes: + // Measured: `299` + // Estimated: `4377` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_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`) + fn nudge_referendum_begin_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_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`) + fn nudge_referendum_begin_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `42428` + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_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`) + fn nudge_referendum_begin_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_000_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`) + fn nudge_referendum_end_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `426` + // Estimated: `42428` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(23_000_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`) + fn nudge_referendum_continue_not_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_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`) + fn nudge_referendum_continue_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `42428` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_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`) + fn nudge_referendum_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `83866` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_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`) + fn nudge_referendum_rejected() -> Weight { + // Proof Size summary in bytes: + // Measured: `443` + // Estimated: `42428` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_000_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`) + fn set_some_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `481` + // Estimated: `4377` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_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`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `376` + // Estimated: `4377` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_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/pangoro/src/weights/pallet_scheduler.rs b/runtime/pangoro/src/weights/pallet_scheduler.rs index 599eb7400..b4c4dcfa7 100644 --- a/runtime/pangoro/src/weights/pallet_scheduler.rs +++ b/runtime/pangoro/src/weights/pallet_scheduler.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,7 +61,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) @@ -75,11 +74,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(5_933_979, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(5_619_256, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_779 - .saturating_add(Weight::from_parts(683_442, 0).saturating_mul(s.into())) + // Standard Error: 1_728 + .saturating_add(Weight::from_parts(678_252, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,7 +87,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -100,11 +99,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `217 + s * (1 ±0)` // Estimated: `3682 + s * (1 ±0)` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(34_290_764, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3682)) // Standard Error: 2 - .saturating_add(Weight::from_parts(404, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(469, 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())) @@ -115,7 +114,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. + // Minimum execution time: 5_000_000 picoseconds. Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) @@ -125,23 +124,26 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -151,11 +153,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(14_367_058, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_515_058, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_625 - .saturating_add(Weight::from_parts(665_018, 0).saturating_mul(s.into())) + // Standard Error: 1_766 + .saturating_add(Weight::from_parts(663_385, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -168,11 +170,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(14_775_918, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(12_900_816, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_824 - .saturating_add(Weight::from_parts(1_237_258, 0).saturating_mul(s.into())) + // Standard Error: 2_340 + .saturating_add(Weight::from_parts(1_224_360, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -185,11 +187,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(18_063_529, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(15_852_941, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_270 - .saturating_add(Weight::from_parts(680_917, 0).saturating_mul(s.into())) + // Standard Error: 3_302 + .saturating_add(Weight::from_parts(678_002, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -202,11 +204,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(17_054_122, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_023_346, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_563 - .saturating_add(Weight::from_parts(1_237_877, 0).saturating_mul(s.into())) + // Standard Error: 1_498 + .saturating_add(Weight::from_parts(1_223_241, 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 bba71178f..bc9570983 100644 --- a/runtime/pangoro/src/weights/pallet_session.rs +++ b/runtime/pangoro/src/weights/pallet_session.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -64,8 +63,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `3711` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -78,8 +77,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3693` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_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 138ffdf50..38ca557f8 100644 --- a/runtime/pangoro/src/weights/pallet_timestamp.rs +++ b/runtime/pangoro/src/weights/pallet_timestamp.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +61,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,7 +72,7 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Measured: `94` // Estimated: `0` // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + Weight::from_parts(4_000_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 efecf0a8f..0256213b3 100644 --- a/runtime/pangoro/src/weights/pallet_treasury.rs +++ b/runtime/pangoro/src/weights/pallet_treasury.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -72,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `1489` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,8 +85,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `504` // Estimated: `6172` - // Minimum execution time: 47_000_000 picoseconds. - Weight::from_parts(48_000_000, 0) + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) .saturating_add(Weight::from_parts(0, 6172)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -101,11 +100,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `504 + p * (8 ±0)` // Estimated: `3549` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(10_925_854, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(9_414_070, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 834 - .saturating_add(Weight::from_parts(22_524, 0).saturating_mul(p.into())) + // Standard Error: 892 + .saturating_add(Weight::from_parts(17_909, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,8 +114,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161` // Estimated: `1887` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,11 +135,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `252 + p * (97 ±0)` // Estimated: `3581 + p * (2559 ±0)` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(36_293_756, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(22_963_133, 0) .saturating_add(Weight::from_parts(0, 3581)) - // Standard Error: 61_492 - .saturating_add(Weight::from_parts(2_804_689, 0).saturating_mul(p.into())) + // Standard Error: 8_342 + .saturating_add(Weight::from_parts(2_477_319, 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_tx_pause.rs b/runtime/pangoro/src/weights/pallet_tx_pause.rs new file mode 100644 index 000000000..f0eea2e62 --- /dev/null +++ b/runtime/pangoro/src/weights/pallet_tx_pause.rs @@ -0,0 +1,82 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_tx_pause` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// pangoro-dev +// --output +// runtime/pangoro/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_tx_pause`. +pub struct WeightInfo(PhantomData); +impl pallet_tx_pause::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn pause() -> Weight { + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `TxPause::PausedCalls` (r:1 w:1) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) + fn unpause() -> Weight { + // Proof Size summary in bytes: + // Measured: `566` + // Estimated: `3997` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/pangoro/src/weights/pallet_utility.rs b/runtime/pangoro/src/weights/pallet_utility.rs index 62bd6527b..8d14bbeb1 100644 --- a/runtime/pangoro/src/weights/pallet_utility.rs +++ b/runtime/pangoro/src/weights/pallet_utility.rs @@ -19,9 +19,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Xaviers-MacBook-Pro-16.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 // Executed Command: @@ -56,53 +55,65 @@ use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(28_073_553, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 9_769 - .saturating_add(Weight::from_parts(5_692_645, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(10_370_811, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 1_180 + .saturating_add(Weight::from_parts(6_063_539, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) fn as_derivative() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(393_802, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_119 - .saturating_add(Weight::from_parts(6_030_045, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(3_825_160, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 1_760 + .saturating_add(Weight::from_parts(6_354_401, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `TxPause::PausedCalls` (r:1 w:0) + /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(37_378_872, 0) - .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 11_006 - .saturating_add(Weight::from_parts(5_678_701, 0).saturating_mul(c.into())) + // Measured: `4` + // Estimated: `3997` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 3997)) + // Standard Error: 7_950 + .saturating_add(Weight::from_parts(6_089_973, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/runtime/pangoro/src/weights/pallet_whitelist.rs b/runtime/pangoro/src/weights/pallet_whitelist.rs new file mode 100644 index 000000000..369e58c1b --- /dev/null +++ b/runtime/pangoro/src/weights/pallet_whitelist.rs @@ -0,0 +1,123 @@ +// This file is part of Darwinia. +// +// Copyright (C) 2018-2023 Darwinia Network +// SPDX-License-Identifier: GPL-3.0 +// +// Darwinia is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Darwinia is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Darwinia. If not, see . + +//! Autogenerated weights for `pallet_whitelist` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("pangoro-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/release/darwinia +// benchmark +// pallet +// --header +// .maintain/license-header +// --heap-pages +// 4096 +// --chain +// pangoro-dev +// --output +// runtime/pangoro/src/weights +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_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`) + fn whitelist_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `122` + // Estimated: `3544` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_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`) + fn remove_whitelisted_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `251` + // Estimated: `3544` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_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`) + /// The range of component `n` is `[1, 4194294]`. + fn dispatch_whitelisted_call(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `327 + n * (1 ±0)` + // Estimated: `3791 + n * (1 ±0)` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) + .saturating_add(Weight::from_parts(0, 3791)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(515, 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`) + /// The range of component `n` is `[1, 10000]`. + fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `251` + // Estimated: `3544` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(18_128_526, 0) + .saturating_add(Weight::from_parts(0, 3544)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(995, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/tool/weight-checker/src/t.rs b/tool/weight-checker/src/t.rs index c88f48217..4a4501634 100644 --- a/tool/weight-checker/src/t.rs +++ b/tool/weight-checker/src/t.rs @@ -21,7 +21,6 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-05-24, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cypress`, CPU: `AMD Ryzen 7 5700G with Radeon Graphics` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("darwinia-local"), DB CACHE: 1024 // Executed Command: