From f940d8daa51cecc60bd7b24d51ed16e2d0b6d4c8 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 30 May 2024 09:45:08 +0200 Subject: [PATCH 1/5] Add people-polkadot to chain-spec-generator --- Cargo.lock | 1 + chain-spec-generator/Cargo.toml | 2 + chain-spec-generator/src/common.rs | 6 +- chain-spec-generator/src/main.rs | 4 + .../src/system_parachains_specs.rs | 85 +++++++++++++++++++ 5 files changed, 97 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index c0fffd7eed..17770e82db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2371,6 +2371,7 @@ dependencies = [ "pallet-staking", "parachains-common", "people-kusama-runtime", + "people-polkadot-runtime", "polkadot-primitives", "polkadot-runtime", "polkadot-runtime-constants", diff --git a/chain-spec-generator/Cargo.toml b/chain-spec-generator/Cargo.toml index 030dccbeb9..4d44340016 100644 --- a/chain-spec-generator/Cargo.toml +++ b/chain-spec-generator/Cargo.toml @@ -39,6 +39,7 @@ encointer-kusama-runtime = { workspace = true } glutton-kusama-runtime = { workspace = true } coretime-kusama-runtime = { workspace = true } people-kusama-runtime = { workspace = true } +people-polkadot-runtime = { workspace = true } [features] fast-runtime = ["kusama-runtime/fast-runtime", "polkadot-runtime/fast-runtime"] @@ -56,6 +57,7 @@ runtime-benchmarks = [ "pallet-staking/runtime-benchmarks", "parachains-common/runtime-benchmarks", "people-kusama-runtime/runtime-benchmarks", + "people-polkadot-runtime/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "polkadot-runtime/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", diff --git a/chain-spec-generator/src/common.rs b/chain-spec-generator/src/common.rs index c76e20c865..24162a4600 100644 --- a/chain-spec-generator/src/common.rs +++ b/chain-spec-generator/src/common.rs @@ -20,7 +20,7 @@ use crate::{ system_parachains_specs::{ AssetHubKusamaChainSpec, AssetHubPolkadotChainSpec, BridgeHubKusamaChainSpec, BridgeHubPolkadotChainSpec, CollectivesPolkadotChainSpec, EncointerKusamaChainSpec, - GluttonKusamaChainSpec, + GluttonKusamaChainSpec, PeopleKusamaChainSpec, PeoplePolkadotChainSpec, }, ChainSpec, }; @@ -90,6 +90,10 @@ pub fn from_json_file(filepath: &str, supported: String) -> Result Ok(Box::new(EncointerKusamaChainSpec::from_json_file(path)?)), + x if x.starts_with("people-kusama") => + Ok(Box::new(PeopleKusamaChainSpec::from_json_file(path)?)), + x if x.starts_with("people-polkadot") => + Ok(Box::new(PeoplePolkadotChainSpec::from_json_file(path)?)), _ => Err(format!("Unknown chain 'id' in json file. Only supported: {supported}'")), } } diff --git a/chain-spec-generator/src/main.rs b/chain-spec-generator/src/main.rs index 4a72781717..913d976d56 100644 --- a/chain-spec-generator/src/main.rs +++ b/chain-spec-generator/src/main.rs @@ -84,6 +84,10 @@ fn main() -> Result<(), String> { "people-kusama-local", Box::new(system_parachains_specs::people_kusama_local_testnet_config) as Box<_>, ), + ( + "people-polkadot-local", + Box::new(system_parachains_specs::people_polkadot_local_testnet_config) as Box<_>, + ), ]); if let Some(function) = supported_chains.get(&*cli.chain) { diff --git a/chain-spec-generator/src/system_parachains_specs.rs b/chain-spec-generator/src/system_parachains_specs.rs index 965b56f9de..0810937738 100644 --- a/chain-spec-generator/src/system_parachains_specs.rs +++ b/chain-spec-generator/src/system_parachains_specs.rs @@ -50,6 +50,8 @@ pub type CoretimeKusamaChainSpec = sc_chain_spec::GenericChainSpec<(), Extension pub type PeopleKusamaChainSpec = sc_chain_spec::GenericChainSpec<(), Extensions>; +pub type PeoplePolkadotChainSpec = sc_chain_spec::GenericChainSpec<(), Extensions>; + const ASSET_HUB_POLKADOT_ED: Balance = asset_hub_polkadot_runtime::ExistentialDeposit::get(); const ASSET_HUB_KUSAMA_ED: Balance = asset_hub_kusama_runtime::ExistentialDeposit::get(); @@ -66,6 +68,8 @@ const CORETIME_KUSAMA_ED: Balance = coretime_kusama_runtime::ExistentialDeposit: const PEOPLE_KUSAMA_ED: Balance = people_kusama_runtime::ExistentialDeposit::get(); +const PEOPLE_POLKADOT_ED: Balance = people_polkadot_runtime::ExistentialDeposit::get(); + /// The default XCM version to set in genesis config. const SAFE_XCM_VERSION: u32 = xcm::prelude::XCM_VERSION; @@ -144,6 +148,13 @@ pub fn people_kusama_session_keys(keys: AuraId) -> people_kusama_runtime::Sessio people_kusama_runtime::SessionKeys { aura: keys } } +/// Generate the session keys from individual elements. +/// +/// The input must be a tuple of individual keys (a single arg for now since we have just one key). +pub fn people_polkadot_session_keys(keys: AuraId) -> people_polkadot_runtime::SessionKeys { + people_polkadot_runtime::SessionKeys { aura: keys } +} + // AssetHubPolkadot fn asset_hub_polkadot_genesis( invulnerables: Vec<(AccountId, AssetHubPolkadotAuraId)>, @@ -757,3 +768,77 @@ pub fn people_kusama_local_testnet_config() -> Result, String .build(), )) } + +// PeoplePolkadot +fn people_polkadot_genesis( + invulnerables: Vec<(AccountId, AuraId)>, + endowed_accounts: Vec, + id: ParaId, +) -> serde_json::Value { + serde_json::json!({ + "balances": people_polkadot_runtime::BalancesConfig { + balances: endowed_accounts + .iter() + .cloned() + .map(|k| (k, PEOPLE_POLKADOT_ED * 4096 * 4096)) + .collect(), + }, + "parachainInfo": people_polkadot_runtime::ParachainInfoConfig { + parachain_id: id, + ..Default::default() + }, + "collatorSelection": people_polkadot_runtime::CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: PEOPLE_POLKADOT_ED * 16, + ..Default::default() + }, + "session": people_polkadot_runtime::SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + people_polkadot_session_keys(aura), // session keys + ) + }) + .collect(), + }, + "polkadotXcm": { + "safeXcmVersion": Some(SAFE_XCM_VERSION), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. `aura: Default::default()` + }) +} + +fn people_polkadot_local_genesis(para_id: ParaId) -> serde_json::Value { + crate::system_parachains_specs::people_polkadot_genesis( + // initial collators. + invulnerables(), + testnet_accounts(), + para_id, + ) +} + +pub fn people_polkadot_local_testnet_config() -> Result, String> { + let mut properties = sc_chain_spec::Properties::new(); + properties.insert("ss58Format".into(), 0.into()); + properties.insert("tokenSymbol".into(), "DOT".into()); + properties.insert("tokenDecimals".into(), 10.into()); + + Ok(Box::new( + PeoplePolkadotChainSpec::builder( + people_polkadot_runtime::WASM_BINARY.expect("PeoplePolkadot wasm not available!"), + Extensions { relay_chain: "polkadot-local".into(), para_id: 1004 }, + ) + .with_name("Polkadot People Local") + .with_id("people-polkadot-local") + .with_chain_type(ChainType::Local) + .with_genesis_config_patch(crate::system_parachains_specs::people_polkadot_local_genesis( + 1004.into(), + )) + .with_properties(properties) + .build(), + )) +} From 83fc1dda65aa0e9cfe0699e8ee7be1065ff7abe7 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 30 May 2024 10:40:43 +0200 Subject: [PATCH 2/5] Added `[cumulus_pallet_parachain_system, ParachainSystem]` --- system-parachains/people/people-kusama/src/lib.rs | 1 + system-parachains/people/people-polkadot/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/system-parachains/people/people-kusama/src/lib.rs b/system-parachains/people/people-kusama/src/lib.rs index 45bb9568d3..1cfe1dfe0f 100644 --- a/system-parachains/people/people-kusama/src/lib.rs +++ b/system-parachains/people/people-kusama/src/lib.rs @@ -567,6 +567,7 @@ mod benches { // Polkadot [polkadot_runtime_common::identity_migrator, IdentityMigrator] // Cumulus + [cumulus_pallet_parachain_system, ParachainSystem] [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_collator_selection, CollatorSelection] // XCM diff --git a/system-parachains/people/people-polkadot/src/lib.rs b/system-parachains/people/people-polkadot/src/lib.rs index c3d01a9608..f7915fac98 100644 --- a/system-parachains/people/people-polkadot/src/lib.rs +++ b/system-parachains/people/people-polkadot/src/lib.rs @@ -576,6 +576,7 @@ mod benches { // Polkadot [polkadot_runtime_common::identity_migrator, IdentityMigrator] // Cumulus + [cumulus_pallet_parachain_system, ParachainSystem] [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_collator_selection, CollatorSelection] // XCM From cb6782840ec3ffdf9a721a93ad5dff7d6aa99b24 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 30 May 2024 12:49:21 +0200 Subject: [PATCH 3/5] Added `[pallet_message_queue, MessageQueue]` --- system-parachains/people/people-kusama/src/lib.rs | 1 + system-parachains/people/people-polkadot/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/system-parachains/people/people-kusama/src/lib.rs b/system-parachains/people/people-kusama/src/lib.rs index 1cfe1dfe0f..861a09b6c0 100644 --- a/system-parachains/people/people-kusama/src/lib.rs +++ b/system-parachains/people/people-kusama/src/lib.rs @@ -559,6 +559,7 @@ mod benches { [frame_system, SystemBench::] [pallet_balances, Balances] [pallet_identity, Identity] + [pallet_message_queue, MessageQueue] [pallet_multisig, Multisig] [pallet_proxy, Proxy] [pallet_session, SessionBench::] diff --git a/system-parachains/people/people-polkadot/src/lib.rs b/system-parachains/people/people-polkadot/src/lib.rs index f7915fac98..6cf08ad38c 100644 --- a/system-parachains/people/people-polkadot/src/lib.rs +++ b/system-parachains/people/people-polkadot/src/lib.rs @@ -568,6 +568,7 @@ mod benches { [frame_system, SystemBench::] [pallet_balances, Balances] [pallet_identity, Identity] + [pallet_message_queue, MessageQueue] [pallet_multisig, Multisig] [pallet_proxy, Proxy] [pallet_session, SessionBench::] From ae1debcb2e66c3bc6ecd76f52fbb1684c739706d Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 30 May 2024 13:59:19 +0200 Subject: [PATCH 4/5] Fresh weights for people-polkadot --- .../cumulus_pallet_parachain_system.rs | 67 ++++--- .../src/weights/cumulus_pallet_xcmp_queue.rs | 33 ++-- .../src/weights/frame_system.rs | 59 +++--- .../src/weights/pallet_balances.rs | 45 ++--- .../src/weights/pallet_collator_selection.rs | 93 +++++----- .../src/weights/pallet_identity.rs | 169 +++++++++--------- .../src/weights/pallet_message_queue.rs | 165 ++++++++++------- .../src/weights/pallet_multisig.rs | 73 ++++---- .../src/weights/pallet_proxy.rs | 101 +++++------ .../src/weights/pallet_session.rs | 13 +- .../src/weights/pallet_timestamp.rs | 13 +- .../src/weights/pallet_utility.rs | 37 ++-- .../people-polkadot/src/weights/pallet_xcm.rs | 79 ++++---- ...lkadot_runtime_common_identity_migrator.rs | 21 +-- .../people-polkadot/src/weights/xcm/mod.rs | 6 +- .../xcm/pallet_xcm_benchmarks_fungible.rs | 47 +++-- .../xcm/pallet_xcm_benchmarks_generic.rs | 117 ++++++------ 17 files changed, 603 insertions(+), 535 deletions(-) diff --git a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_parachain_system.rs b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_parachain_system.rs index fcea5fd1bf..f0637269b7 100644 --- a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_parachain_system.rs +++ b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_parachain_system.rs @@ -1,11 +1,12 @@ -// Copyright (C) Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -13,41 +14,61 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Need to rerun +//! Autogenerated weights for `cumulus_pallet_parachain_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=./people-polkadot-chain-spec.json +// --steps=50 +// --repeat=20 +// --pallet=cumulus_pallet_parachain_system +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./people-polkadot-weights/ +// --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_parachain_system`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_parachain_system::WeightInfo for WeightInfo { - /// Storage: ParachainSystem LastDmqMqcHead (r:1 w:1) - /// Proof Skipped: ParachainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ReservedDmpWeightOverride (r:1 w:0) - /// Proof Skipped: ParachainSystem ReservedDmpWeightOverride (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: ParachainSystem ProcessedDownwardMessages (r:0 w:1) - /// Proof Skipped: ParachainSystem ProcessedDownwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: MessageQueue Pages (r:0 w:16) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) + /// Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1) + /// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1000) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12` - // Estimated: `8013` - // Minimum execution time: 1_622_000 picoseconds. - Weight::from_parts(1_709_000, 0) - .saturating_add(Weight::from_parts(0, 8013)) - // Standard Error: 22_138 - .saturating_add(Weight::from_parts(23_923_169, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `3517` + // Minimum execution time: 2_200_000 picoseconds. + Weight::from_parts(2_270_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + // Standard Error: 22_140 + .saturating_add(Weight::from_parts(182_153_021, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 8cc962f574..c0d6b4506b 100644 --- a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -52,8 +53,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_747_000 picoseconds. - Weight::from_parts(3_942_000, 0) + // Minimum execution time: 5_120_000 picoseconds. + Weight::from_parts(5_300_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,8 +73,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `3517` - // Minimum execution time: 10_922_000 picoseconds. - Weight::from_parts(11_354_000, 0) + // Minimum execution time: 13_990_000 picoseconds. + Weight::from_parts(14_220_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -84,8 +85,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 2_306_000 picoseconds. - Weight::from_parts(2_355_000, 0) + // Minimum execution time: 3_110_000 picoseconds. + Weight::from_parts(3_250_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,8 +97,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `1596` - // Minimum execution time: 3_192_000 picoseconds. - Weight::from_parts(3_295_000, 0) + // Minimum execution time: 4_280_000 picoseconds. + Weight::from_parts(4_430_000, 0) .saturating_add(Weight::from_parts(0, 1596)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,8 +107,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_016_000 picoseconds. - Weight::from_parts(6_124_000, 0) + // Minimum execution time: 7_310_000 picoseconds. + Weight::from_parts(7_500_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -128,8 +129,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 110_280_000 picoseconds. - Weight::from_parts(111_950_000, 0) + // Minimum execution time: 112_531_000 picoseconds. + Weight::from_parts(113_601_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -142,8 +143,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 48_195_000 picoseconds. - Weight::from_parts(50_369_000, 0) + // Minimum execution time: 55_230_000 picoseconds. + Weight::from_parts(55_871_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/people/people-polkadot/src/weights/frame_system.rs b/system-parachains/people/people-polkadot/src/weights/frame_system.rs index 4f0812c780..cfbe22d34c 100644 --- a/system-parachains/people/people-polkadot/src/weights/frame_system.rs +++ b/system-parachains/people/people-polkadot/src/weights/frame_system.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -51,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_532_000 picoseconds. - Weight::from_parts(1_588_000, 0) + // Minimum execution time: 2_140_000 picoseconds. + Weight::from_parts(2_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(403, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(352, 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: 4_419_000 picoseconds. - Weight::from_parts(4_550_000, 0) + // Minimum execution time: 5_690_000 picoseconds. + Weight::from_parts(5_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_830, 0).saturating_mul(b.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_694, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -76,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_775_000 picoseconds. - Weight::from_parts(2_874_000, 0) + // Minimum execution time: 3_690_000 picoseconds. + Weight::from_parts(3_940_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +99,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1612` - // Minimum execution time: 105_290_995_000 picoseconds. - Weight::from_parts(109_669_365_000, 0) + // Minimum execution time: 118_903_125_000 picoseconds. + Weight::from_parts(123_147_987_000, 0) .saturating_add(Weight::from_parts(0, 1612)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -111,11 +112,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_534_000 picoseconds. - Weight::from_parts(1_568_000, 0) + // Minimum execution time: 2_200_000 picoseconds. + Weight::from_parts(2_280_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_198 - .saturating_add(Weight::from_parts(768_344, 0).saturating_mul(i.into())) + // Standard Error: 2_823 + .saturating_add(Weight::from_parts(912_309, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -125,11 +126,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_563_000 picoseconds. - Weight::from_parts(1_604_000, 0) + // Minimum execution time: 2_260_000 picoseconds. + Weight::from_parts(2_320_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_486 - .saturating_add(Weight::from_parts(583_134, 0).saturating_mul(i.into())) + // Standard Error: 983 + .saturating_add(Weight::from_parts(663_398, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -139,11 +140,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76 + p * (69 ±0)` // Estimated: `77 + p * (70 ±0)` - // Minimum execution time: 3_237_000 picoseconds. - Weight::from_parts(3_300_000, 0) + // Minimum execution time: 4_170_000 picoseconds. + Weight::from_parts(4_270_000, 0) .saturating_add(Weight::from_parts(0, 77)) - // Standard Error: 2_408 - .saturating_add(Weight::from_parts(1_239_024, 0).saturating_mul(p.into())) + // Standard Error: 1_414 + .saturating_add(Weight::from_parts(1_322_415, 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())) @@ -154,8 +155,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_709_000 picoseconds. - Weight::from_parts(16_596_000, 0) + // Minimum execution time: 18_930_000 picoseconds. + Weight::from_parts(20_060_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,8 +178,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149` // Estimated: `1634` - // Minimum execution time: 110_588_500_000 picoseconds. - Weight::from_parts(112_901_646_000, 0) + // Minimum execution time: 116_622_483_000 picoseconds. + Weight::from_parts(119_357_067_000, 0) .saturating_add(Weight::from_parts(0, 1634)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_balances.rs b/system-parachains/people/people-polkadot/src/weights/pallet_balances.rs index 43a840c79b..d9709cf621 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_balances.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_balances.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -52,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 43_351_000 picoseconds. - Weight::from_parts(44_030_000, 0) + // Minimum execution time: 51_240_000 picoseconds. + Weight::from_parts(51_560_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 34_088_000 picoseconds. - Weight::from_parts(34_771_000, 0) + // Minimum execution time: 40_040_000 picoseconds. + Weight::from_parts(40_511_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 13_407_000 picoseconds. - Weight::from_parts(13_851_000, 0) + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_550_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 18_274_000 picoseconds. - Weight::from_parts(18_651_000, 0) + // Minimum execution time: 21_570_000 picoseconds. + Weight::from_parts(21_891_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -100,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 44_730_000 picoseconds. - Weight::from_parts(45_320_000, 0) + // Minimum execution time: 52_510_000 picoseconds. + Weight::from_parts(53_180_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -112,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 42_622_000 picoseconds. - Weight::from_parts(43_544_000, 0) + // Minimum execution time: 50_210_000 picoseconds. + Weight::from_parts(50_761_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -124,8 +125,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_262_000 picoseconds. - Weight::from_parts(16_673_000, 0) + // Minimum execution time: 19_360_000 picoseconds. + Weight::from_parts(19_930_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -137,11 +138,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 14_443_000 picoseconds. - Weight::from_parts(14_696_000, 0) + // Minimum execution time: 17_250_000 picoseconds. + Weight::from_parts(17_370_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 18_080 - .saturating_add(Weight::from_parts(13_914_112, 0).saturating_mul(u.into())) + // Standard Error: 12_266 + .saturating_add(Weight::from_parts(15_362_474, 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, 2603).saturating_mul(u.into())) @@ -152,8 +153,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 5_201_000 picoseconds. - Weight::from_parts(5_569_000, 0) + // Minimum execution time: 6_520_000 picoseconds. + Weight::from_parts(6_841_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_collator_selection.rs b/system-parachains/people/people-polkadot/src/weights/pallet_collator_selection.rs index 001ac1ce4c..7b199a29eb 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_collator_selection.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_collator_selection.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -55,11 +56,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `197 + b * (79 ±0)` // Estimated: `1188 + b * (2555 ±0)` - // Minimum execution time: 10_789_000 picoseconds. - Weight::from_parts(8_042_445, 0) + // Minimum execution time: 14_190_000 picoseconds. + Weight::from_parts(10_937_805, 0) .saturating_add(Weight::from_parts(0, 1188)) - // Standard Error: 7_586 - .saturating_add(Weight::from_parts(3_215_553, 0).saturating_mul(b.into())) + // Standard Error: 8_677 + .saturating_add(Weight::from_parts(3_916_619, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2555).saturating_mul(b.into())) @@ -78,13 +79,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `795 + b * (32 ±0) + c * (53 ±0)` // Estimated: `6287 + b * (37 ±0) + c * (53 ±0)` - // Minimum execution time: 38_784_000 picoseconds. - Weight::from_parts(33_483_179, 0) + // Minimum execution time: 43_670_000 picoseconds. + Weight::from_parts(43_035_011, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 18_928 - .saturating_add(Weight::from_parts(354_164, 0).saturating_mul(b.into())) - // Standard Error: 3_588 - .saturating_add(Weight::from_parts(278_603, 0).saturating_mul(c.into())) + // Standard Error: 5_966 + .saturating_add(Weight::from_parts(65_164, 0).saturating_mul(b.into())) + // Standard Error: 1_130 + .saturating_add(Weight::from_parts(85_765, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(b.into())) @@ -99,11 +100,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `119 + b * (32 ±0)` // Estimated: `6287` - // Minimum execution time: 11_128_000 picoseconds. - Weight::from_parts(10_875_605, 0) + // Minimum execution time: 13_920_000 picoseconds. + Weight::from_parts(14_097_131, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 3_139 - .saturating_add(Weight::from_parts(178_803, 0).saturating_mul(b.into())) + // Standard Error: 847 + .saturating_add(Weight::from_parts(71_905, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,8 +114,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_839_000 picoseconds. - Weight::from_parts(4_193_000, 0) + // Minimum execution time: 5_050_000 picoseconds. + Weight::from_parts(5_230_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,13 +133,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0 + c * (182 ±0) + k * (115 ±0)` // Estimated: `6287 + c * (901 ±29) + k * (901 ±29)` - // Minimum execution time: 8_841_000 picoseconds. - Weight::from_parts(9_232_000, 0) + // Minimum execution time: 11_310_000 picoseconds. + Weight::from_parts(11_580_000, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 161_183 - .saturating_add(Weight::from_parts(5_473_032, 0).saturating_mul(c.into())) - // Standard Error: 161_183 - .saturating_add(Weight::from_parts(5_062_373, 0).saturating_mul(k.into())) + // Standard Error: 180_859 + .saturating_add(Weight::from_parts(5_976_256, 0).saturating_mul(c.into())) + // Standard Error: 180_859 + .saturating_add(Weight::from_parts(5_764_922, 0).saturating_mul(k.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(c.into()))) @@ -155,11 +156,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `319 + c * (49 ±0)` // Estimated: `6287` - // Minimum execution time: 23_675_000 picoseconds. - Weight::from_parts(24_628_653, 0) + // Minimum execution time: 29_880_000 picoseconds. + Weight::from_parts(30_707_589, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 3_195 - .saturating_add(Weight::from_parts(235_225, 0).saturating_mul(c.into())) + // Standard Error: 696 + .saturating_add(Weight::from_parts(71_379, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +179,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `765 + c * (52 ±0)` // Estimated: `6287 + c * (54 ±0)` - // Minimum execution time: 31_408_000 picoseconds. - Weight::from_parts(35_038_583, 0) + // Minimum execution time: 40_610_000 picoseconds. + Weight::from_parts(42_206_170, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 4_384 - .saturating_add(Weight::from_parts(270_443, 0).saturating_mul(c.into())) + // Standard Error: 581 + .saturating_add(Weight::from_parts(89_595, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) @@ -204,11 +205,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `905 + c * (53 ±0)` // Estimated: `6287 + c * (54 ±0)` - // Minimum execution time: 49_505_000 picoseconds. - Weight::from_parts(53_836_940, 0) + // Minimum execution time: 60_730_000 picoseconds. + Weight::from_parts(62_334_826, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 4_586 - .saturating_add(Weight::from_parts(293_412, 0).saturating_mul(c.into())) + // Standard Error: 1_195 + .saturating_add(Weight::from_parts(94_762, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) @@ -224,11 +225,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `347 + c * (48 ±0)` // Estimated: `6287` - // Minimum execution time: 27_146_000 picoseconds. - Weight::from_parts(29_282_116, 0) + // Minimum execution time: 32_510_000 picoseconds. + Weight::from_parts(33_664_142, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 3_110 - .saturating_add(Weight::from_parts(238_927, 0).saturating_mul(c.into())) + // Standard Error: 793 + .saturating_add(Weight::from_parts(79_554, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -242,8 +243,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `155` // Estimated: `6196` - // Minimum execution time: 39_317_000 picoseconds. - Weight::from_parts(40_142_000, 0) + // Minimum execution time: 45_790_000 picoseconds. + Weight::from_parts(46_310_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -266,11 +267,11 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `2302 + c * (97 ±0) + r * (114 ±0)` // Estimated: `6287 + c * (2519 ±0) + r * (2603 ±0)` - // Minimum execution time: 17_561_000 picoseconds. - Weight::from_parts(17_854_000, 0) + // Minimum execution time: 22_290_000 picoseconds. + Weight::from_parts(22_510_000, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 288_319 - .saturating_add(Weight::from_parts(12_756_367, 0).saturating_mul(c.into())) + // Standard Error: 319_996 + .saturating_add(Weight::from_parts(14_036_037, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_identity.rs b/system-parachains/people/people-polkadot/src/weights/pallet_identity.rs index b0b13586f8..58d787b57f 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_identity.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_identity.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -53,11 +54,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_895_000 picoseconds. - Weight::from_parts(8_590_212, 0) + // Minimum execution time: 10_170_000 picoseconds. + Weight::from_parts(10_910_573, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_604 - .saturating_add(Weight::from_parts(87_335, 0).saturating_mul(r.into())) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(77_036, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,11 +69,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `4303` - // Minimum execution time: 17_096_000 picoseconds. - Weight::from_parts(17_662_108, 0) + // Minimum execution time: 21_900_000 picoseconds. + Weight::from_parts(22_556_446, 0) .saturating_add(Weight::from_parts(0, 4303)) - // Standard Error: 2_331 - .saturating_add(Weight::from_parts(144_299, 0).saturating_mul(r.into())) + // Standard Error: 1_301 + .saturating_add(Weight::from_parts(73_485, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,11 +88,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `6723 + s * (2589 ±0)` - // Minimum execution time: 8_686_000 picoseconds. - Weight::from_parts(19_330_027, 0) + // Minimum execution time: 11_530_000 picoseconds. + Weight::from_parts(26_340_120, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 4_453 - .saturating_add(Weight::from_parts(3_078_907, 0).saturating_mul(s.into())) + // Standard Error: 3_559 + .saturating_add(Weight::from_parts(3_752_733, 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)) @@ -109,11 +110,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` // Estimated: `6723` - // Minimum execution time: 8_667_000 picoseconds. - Weight::from_parts(19_709_115, 0) + // Minimum execution time: 11_440_000 picoseconds. + Weight::from_parts(26_469_985, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 3_712 - .saturating_add(Weight::from_parts(1_320_770, 0).saturating_mul(p.into())) + // Standard Error: 3_423 + .saturating_add(Weight::from_parts(1_527_524, 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()))) @@ -130,13 +131,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `534 + r * (5 ±0) + s * (32 ±0)` // Estimated: `6723` - // Minimum execution time: 26_398_000 picoseconds. - Weight::from_parts(24_499_146, 0) + // Minimum execution time: 32_480_000 picoseconds. + Weight::from_parts(34_550_972, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 13_346 - .saturating_add(Weight::from_parts(282_750, 0).saturating_mul(r.into())) - // Standard Error: 2_604 - .saturating_add(Weight::from_parts(1_323_320, 0).saturating_mul(s.into())) + // Standard Error: 3_821 + .saturating_add(Weight::from_parts(40_875, 0).saturating_mul(r.into())) + // Standard Error: 745 + .saturating_add(Weight::from_parts(1_506_296, 0).saturating_mul(s.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()))) @@ -150,11 +151,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `432 + r * (57 ±0)` // Estimated: `4303` - // Minimum execution time: 25_255_000 picoseconds. - Weight::from_parts(26_154_655, 0) + // Minimum execution time: 32_880_000 picoseconds. + Weight::from_parts(33_710_626, 0) .saturating_add(Weight::from_parts(0, 4303)) - // Standard Error: 2_887 - .saturating_add(Weight::from_parts(135_897, 0).saturating_mul(r.into())) + // Standard Error: 1_752 + .saturating_add(Weight::from_parts(83_866, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,11 +166,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `463` // Estimated: `4303` - // Minimum execution time: 23_589_000 picoseconds. - Weight::from_parts(24_350_992, 0) + // Minimum execution time: 30_611_000 picoseconds. + Weight::from_parts(31_279_114, 0) .saturating_add(Weight::from_parts(0, 4303)) - // Standard Error: 2_196 - .saturating_add(Weight::from_parts(72_241, 0).saturating_mul(r.into())) + // Standard Error: 1_248 + .saturating_add(Weight::from_parts(51_954, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,11 +181,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_047_000 picoseconds. - Weight::from_parts(6_500_824, 0) + // Minimum execution time: 7_660_000 picoseconds. + Weight::from_parts(8_100_141, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_223 - .saturating_add(Weight::from_parts(68_015, 0).saturating_mul(r.into())) + // Standard Error: 1_070 + .saturating_add(Weight::from_parts(65_495, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -195,11 +196,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_478_000 picoseconds. - Weight::from_parts(6_742_137, 0) + // Minimum execution time: 7_690_000 picoseconds. + Weight::from_parts(8_386_766, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_351 - .saturating_add(Weight::from_parts(63_864, 0).saturating_mul(r.into())) + // Standard Error: 1_018 + .saturating_add(Weight::from_parts(70_921, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -210,11 +211,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_169_000 picoseconds. - Weight::from_parts(6_542_624, 0) + // Minimum execution time: 7_630_000 picoseconds. + Weight::from_parts(8_157_028, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_231 - .saturating_add(Weight::from_parts(64_078, 0).saturating_mul(r.into())) + // Standard Error: 993 + .saturating_add(Weight::from_parts(60_239, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -227,11 +228,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `510 + r * (57 ±0)` // Estimated: `4303` - // Minimum execution time: 18_735_000 picoseconds. - Weight::from_parts(19_677_194, 0) + // Minimum execution time: 23_890_000 picoseconds. + Weight::from_parts(24_425_598, 0) .saturating_add(Weight::from_parts(0, 4303)) - // Standard Error: 4_321 - .saturating_add(Weight::from_parts(93_900, 0).saturating_mul(r.into())) + // Standard Error: 1_271 + .saturating_add(Weight::from_parts(82_894, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -251,13 +252,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `773 + r * (5 ±0) + s * (32 ±0)` // Estimated: `6723` - // Minimum execution time: 93_077_000 picoseconds. - Weight::from_parts(88_578_622, 0) + // Minimum execution time: 98_811_000 picoseconds. + Weight::from_parts(102_874_545, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 58_979 - .saturating_add(Weight::from_parts(968_727, 0).saturating_mul(r.into())) - // Standard Error: 11_508 - .saturating_add(Weight::from_parts(1_556_441, 0).saturating_mul(s.into())) + // Standard Error: 8_216 + .saturating_add(Weight::from_parts(87_859, 0).saturating_mul(r.into())) + // Standard Error: 1_603 + .saturating_add(Weight::from_parts(1_538_729, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -273,11 +274,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` // Estimated: `6723` - // Minimum execution time: 23_707_000 picoseconds. - Weight::from_parts(27_788_843, 0) + // Minimum execution time: 30_600_000 picoseconds. + Weight::from_parts(35_674_099, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 1_572 - .saturating_add(Weight::from_parts(92_414, 0).saturating_mul(s.into())) + // Standard Error: 1_256 + .saturating_add(Weight::from_parts(59_432, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -290,11 +291,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` // Estimated: `4303` - // Minimum execution time: 12_225_000 picoseconds. - Weight::from_parts(13_673_085, 0) + // Minimum execution time: 15_420_000 picoseconds. + Weight::from_parts(17_843_179, 0) .saturating_add(Weight::from_parts(0, 4303)) - // Standard Error: 972 - .saturating_add(Weight::from_parts(45_591, 0).saturating_mul(s.into())) + // Standard Error: 610 + .saturating_add(Weight::from_parts(19_463, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -309,11 +310,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` // Estimated: `6723` - // Minimum execution time: 26_820_000 picoseconds. - Weight::from_parts(29_686_359, 0) + // Minimum execution time: 34_870_000 picoseconds. + Weight::from_parts(38_098_506, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 1_853 - .saturating_add(Weight::from_parts(81_649, 0).saturating_mul(s.into())) + // Standard Error: 753 + .saturating_add(Weight::from_parts(44_603, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -328,11 +329,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `704 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 20_679_000 picoseconds. - Weight::from_parts(22_641_649, 0) + // Minimum execution time: 25_940_000 picoseconds. + Weight::from_parts(28_496_293, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 1_846 - .saturating_add(Weight::from_parts(93_771, 0).saturating_mul(s.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(49_994, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -342,8 +343,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_573_000 picoseconds. - Weight::from_parts(5_901_000, 0) + // Minimum execution time: 7_030_000 picoseconds. + Weight::from_parts(7_370_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -353,8 +354,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3517` - // Minimum execution time: 8_066_000 picoseconds. - Weight::from_parts(8_389_000, 0) + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(10_680_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -371,8 +372,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `4303` - // Minimum execution time: 65_572_000 picoseconds. - Weight::from_parts(67_000_000, 0) + // Minimum execution time: 76_551_000 picoseconds. + Weight::from_parts(77_370_000, 0) .saturating_add(Weight::from_parts(0, 4303)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -387,8 +388,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `4303` - // Minimum execution time: 19_271_000 picoseconds. - Weight::from_parts(19_791_000, 0) + // Minimum execution time: 23_930_000 picoseconds. + Weight::from_parts(24_590_000, 0) .saturating_add(Weight::from_parts(0, 4303)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -399,8 +400,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3550` - // Minimum execution time: 19_780_000 picoseconds. - Weight::from_parts(25_904_000, 0) + // Minimum execution time: 14_430_000 picoseconds. + Weight::from_parts(15_291_000, 0) .saturating_add(Weight::from_parts(0, 3550)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -413,8 +414,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `258` // Estimated: `4303` - // Minimum execution time: 15_979_000 picoseconds. - Weight::from_parts(16_546_000, 0) + // Minimum execution time: 20_460_000 picoseconds. + Weight::from_parts(20_770_000, 0) .saturating_add(Weight::from_parts(0, 4303)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -427,8 +428,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `98` // Estimated: `4303` - // Minimum execution time: 10_211_000 picoseconds. - Weight::from_parts(10_469_000, 0) + // Minimum execution time: 12_460_000 picoseconds. + Weight::from_parts(12_850_000, 0) .saturating_add(Weight::from_parts(0, 4303)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_message_queue.rs b/system-parachains/people/people-polkadot/src/weights/pallet_message_queue.rs index fe1911b77a..f91a576921 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_message_queue.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_message_queue.rs @@ -1,11 +1,12 @@ -// Copyright (C) Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -13,143 +14,169 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Need to rerun +//! Autogenerated weights for `pallet_message_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=./people-polkadot-chain-spec.json +// --steps=50 +// --repeat=20 +// --pallet=pallet_message_queue +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./people-polkadot-weights/ +// --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_message_queue`. pub struct WeightInfo(PhantomData); impl pallet_message_queue::WeightInfo for WeightInfo { - /// Storage: MessageQueue ServiceHead (r:1 w:0) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: MessageQueue BookStateFor (r:2 w:2) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:0) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ready_ring_knit() -> Weight { // Proof Size summary in bytes: - // Measured: `189` - // Estimated: `7534` - // Minimum execution time: 13_668_000 picoseconds. - Weight::from_parts(13_668_000, 0) - .saturating_add(Weight::from_parts(0, 7534)) + // Measured: `223` + // Estimated: `6044` + // Minimum execution time: 14_810_000 picoseconds. + Weight::from_parts(15_050_000, 0) + .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:2 w:2) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) fn ready_ring_unknit() -> Weight { // Proof Size summary in bytes: - // Measured: `184` - // Estimated: `7534` - // Minimum execution time: 11_106_000 picoseconds. - Weight::from_parts(11_106_000, 0) - .saturating_add(Weight::from_parts(0, 7534)) + // Measured: `218` + // Estimated: `6044` + // Minimum execution time: 12_990_000 picoseconds. + Weight::from_parts(13_270_000, 0) + .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn service_queue_base() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3517` - // Minimum execution time: 4_921_000 picoseconds. - Weight::from_parts(4_921_000, 0) + // Minimum execution time: 4_460_000 picoseconds. + Weight::from_parts(4_550_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_completion() -> Weight { // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 6_879_000 picoseconds. - Weight::from_parts(6_879_000, 0) + // Minimum execution time: 6_770_000 picoseconds. + Weight::from_parts(6_890_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_no_completion() -> Weight { // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 7_564_000 picoseconds. - Weight::from_parts(7_564_000, 0) + // Minimum execution time: 7_090_000 picoseconds. + Weight::from_parts(7_170_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `MessageQueue::BookStateFor` (r:0 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_item() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_963_000 picoseconds. - Weight::from_parts(59_963_000, 0) + // Minimum execution time: 155_941_000 picoseconds. + Weight::from_parts(157_871_000, 0) .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: MessageQueue BookStateFor (r:1 w:0) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn bump_service_head() -> Weight { // Proof Size summary in bytes: - // Measured: `99` - // Estimated: `5007` - // Minimum execution time: 7_200_000 picoseconds. - Weight::from_parts(7_200_000, 0) - .saturating_add(Weight::from_parts(0, 5007)) + // Measured: `171` + // Estimated: `3517` + // Minimum execution time: 8_390_000 picoseconds. + Weight::from_parts(8_780_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn reap_page() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 41_366_000 picoseconds. - Weight::from_parts(41_366_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 55_421_000 picoseconds. + Weight::from_parts(56_290_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_removed() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 60_538_000 picoseconds. - Weight::from_parts(60_538_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 74_790_000 picoseconds. + Weight::from_parts(75_821_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_updated() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 73_665_000 picoseconds. - Weight::from_parts(73_665_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 107_001_000 picoseconds. + Weight::from_parts(107_981_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_multisig.rs b/system-parachains/people/people-polkadot/src/weights/pallet_multisig.rs index 25d9150fe9..ec3ea01a82 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_multisig.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_multisig.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -51,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_933_000 picoseconds. - Weight::from_parts(14_199_609, 0) + // Minimum execution time: 13_090_000 picoseconds. + Weight::from_parts(13_559_872, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 14 - .saturating_add(Weight::from_parts(584, 0).saturating_mul(z.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(473, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) @@ -65,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `263 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 39_069_000 picoseconds. - Weight::from_parts(28_408_920, 0) + // Minimum execution time: 42_160_000 picoseconds. + Weight::from_parts(35_003_454, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 2_052 - .saturating_add(Weight::from_parts(135_321, 0).saturating_mul(s.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_376, 0).saturating_mul(z.into())) + // Standard Error: 370 + .saturating_add(Weight::from_parts(78_069, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_465, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `282` // Estimated: `6811` - // Minimum execution time: 26_422_000 picoseconds. - Weight::from_parts(15_847_152, 0) + // Minimum execution time: 27_510_000 picoseconds. + Weight::from_parts(20_107_020, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_428 - .saturating_add(Weight::from_parts(134_158, 0).saturating_mul(s.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_404, 0).saturating_mul(z.into())) + // Standard Error: 385 + .saturating_add(Weight::from_parts(81_571, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_442, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -103,13 +104,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 44_239_000 picoseconds. - Weight::from_parts(26_545_835, 0) + // Minimum execution time: 47_311_000 picoseconds. + Weight::from_parts(37_786_802, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 2_130 - .saturating_add(Weight::from_parts(210_825, 0).saturating_mul(s.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_825, 0).saturating_mul(z.into())) + // Standard Error: 447 + .saturating_add(Weight::from_parts(102_532, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_507, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -120,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `263 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 25_829_000 picoseconds. - Weight::from_parts(26_085_835, 0) + // Minimum execution time: 32_231_000 picoseconds. + Weight::from_parts(33_396_272, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_108 - .saturating_add(Weight::from_parts(139_425, 0).saturating_mul(s.into())) + // Standard Error: 498 + .saturating_add(Weight::from_parts(83_284, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `282` // Estimated: `6811` - // Minimum execution time: 14_290_000 picoseconds. - Weight::from_parts(14_444_533, 0) + // Minimum execution time: 17_960_000 picoseconds. + Weight::from_parts(18_711_852, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_077 - .saturating_add(Weight::from_parts(133_514, 0).saturating_mul(s.into())) + // Standard Error: 424 + .saturating_add(Weight::from_parts(80_456, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `454 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 27_331_000 picoseconds. - Weight::from_parts(28_424_632, 0) + // Minimum execution time: 33_150_000 picoseconds. + Weight::from_parts(34_338_146, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_257 - .saturating_add(Weight::from_parts(123_182, 0).saturating_mul(s.into())) + // Standard Error: 534 + .saturating_add(Weight::from_parts(81_790, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_proxy.rs b/system-parachains/people/people-polkadot/src/weights/pallet_proxy.rs index 394d8ab95c..f0d4a05bd6 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_proxy.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_proxy.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -53,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 12_112_000 picoseconds. - Weight::from_parts(12_592_286, 0) + // Minimum execution time: 15_460_000 picoseconds. + Weight::from_parts(16_025_809, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_052 - .saturating_add(Weight::from_parts(43_742, 0).saturating_mul(p.into())) + // Standard Error: 791 + .saturating_add(Weight::from_parts(31_899, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -72,13 +73,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `454 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 30_544_000 picoseconds. - Weight::from_parts(30_400_403, 0) + // Minimum execution time: 39_530_000 picoseconds. + Weight::from_parts(39_017_116, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_736 - .saturating_add(Weight::from_parts(149_620, 0).saturating_mul(a.into())) - // Standard Error: 2_827 - .saturating_add(Weight::from_parts(62_409, 0).saturating_mul(p.into())) + // Standard Error: 1_364 + .saturating_add(Weight::from_parts(168_242, 0).saturating_mul(a.into())) + // Standard Error: 1_409 + .saturating_add(Weight::from_parts(40_679, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,13 +93,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 20_982_000 picoseconds. - Weight::from_parts(21_447_054, 0) + // Minimum execution time: 27_260_000 picoseconds. + Weight::from_parts(27_734_700, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_876 - .saturating_add(Weight::from_parts(129_172, 0).saturating_mul(a.into())) - // Standard Error: 1_938 - .saturating_add(Weight::from_parts(11_639, 0).saturating_mul(p.into())) + // Standard Error: 1_166 + .saturating_add(Weight::from_parts(160_940, 0).saturating_mul(a.into())) + // Standard Error: 1_205 + .saturating_add(Weight::from_parts(1_830, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,13 +113,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 21_108_000 picoseconds. - Weight::from_parts(21_486_463, 0) + // Minimum execution time: 27_110_000 picoseconds. + Weight::from_parts(27_556_536, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_452 - .saturating_add(Weight::from_parts(132_605, 0).saturating_mul(a.into())) - // Standard Error: 2_533 - .saturating_add(Weight::from_parts(5_081, 0).saturating_mul(p.into())) + // Standard Error: 1_131 + .saturating_add(Weight::from_parts(161_653, 0).saturating_mul(a.into())) + // Standard Error: 1_168 + .saturating_add(Weight::from_parts(5_215, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,13 +135,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `386 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 27_495_000 picoseconds. - Weight::from_parts(28_100_498, 0) + // Minimum execution time: 35_810_000 picoseconds. + Weight::from_parts(35_426_638, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_700 - .saturating_add(Weight::from_parts(120_014, 0).saturating_mul(a.into())) - // Standard Error: 1_757 - .saturating_add(Weight::from_parts(27_079, 0).saturating_mul(p.into())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(142_989, 0).saturating_mul(a.into())) + // Standard Error: 1_205 + .saturating_add(Weight::from_parts(34_318, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -151,11 +152,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 19_528_000 picoseconds. - Weight::from_parts(20_091_613, 0) + // Minimum execution time: 25_710_000 picoseconds. + Weight::from_parts(26_128_239, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_199 - .saturating_add(Weight::from_parts(57_047, 0).saturating_mul(p.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(44_158, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -166,11 +167,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 19_650_000 picoseconds. - Weight::from_parts(20_475_973, 0) + // Minimum execution time: 25_700_000 picoseconds. + Weight::from_parts(26_214_188, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_630 - .saturating_add(Weight::from_parts(40_439, 0).saturating_mul(p.into())) + // Standard Error: 903 + .saturating_add(Weight::from_parts(51_793, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,11 +182,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_736_000 picoseconds. - Weight::from_parts(19_556_447, 0) + // Minimum execution time: 23_280_000 picoseconds. + Weight::from_parts(23_861_316, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_173 - .saturating_add(Weight::from_parts(28_103, 0).saturating_mul(p.into())) + // Standard Error: 851 + .saturating_add(Weight::from_parts(34_051, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,11 +197,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4706` - // Minimum execution time: 20_694_000 picoseconds. - Weight::from_parts(21_471_280, 0) + // Minimum execution time: 26_780_000 picoseconds. + Weight::from_parts(27_483_607, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 994 - .saturating_add(Weight::from_parts(9_701, 0).saturating_mul(p.into())) + // Standard Error: 831 + .saturating_add(Weight::from_parts(9_777, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -211,11 +212,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `164 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_971_000 picoseconds. - Weight::from_parts(20_153_101, 0) + // Minimum execution time: 24_090_000 picoseconds. + Weight::from_parts(24_764_858, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_738 - .saturating_add(Weight::from_parts(33_457, 0).saturating_mul(p.into())) + // Standard Error: 771 + .saturating_add(Weight::from_parts(35_188, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_session.rs b/system-parachains/people/people-polkadot/src/weights/pallet_session.rs index 9e4f912142..dca8dd1b8f 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_session.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_session.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -54,8 +55,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 15_871_000 picoseconds. - Weight::from_parts(16_413_000, 0) + // Minimum execution time: 19_851_000 picoseconds. + Weight::from_parts(20_160_000, 0) .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +69,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3745` - // Minimum execution time: 11_449_000 picoseconds. - Weight::from_parts(11_805_000, 0) + // Minimum execution time: 14_400_000 picoseconds. + Weight::from_parts(14_980_000, 0) .saturating_add(Weight::from_parts(0, 3745)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_timestamp.rs b/system-parachains/people/people-polkadot/src/weights/pallet_timestamp.rs index 0ad0bcf786..f42bac65d0 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_timestamp.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_timestamp.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -54,8 +55,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `49` // Estimated: `1493` - // Minimum execution time: 5_346_000 picoseconds. - Weight::from_parts(5_516_000, 0) + // Minimum execution time: 7_030_000 picoseconds. + Weight::from_parts(7_290_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `57` // Estimated: `0` - // Minimum execution time: 2_713_000 picoseconds. - Weight::from_parts(2_842_000, 0) + // Minimum execution time: 3_730_000 picoseconds. + Weight::from_parts(3_810_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_utility.rs b/system-parachains/people/people-polkadot/src/weights/pallet_utility.rs index 3d87e0277b..0d29a06cd1 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_utility.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_utility.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -51,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_831_000 picoseconds. - Weight::from_parts(5_008_121, 0) + // Minimum execution time: 4_840_000 picoseconds. + Weight::from_parts(19_759_881, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(2_782_730, 0).saturating_mul(c.into())) + // Standard Error: 1_783 + .saturating_add(Weight::from_parts(3_256_436, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_671_000 picoseconds. - Weight::from_parts(3_953_000, 0) + // Minimum execution time: 4_690_000 picoseconds. + Weight::from_parts(4_810_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -70,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_753_000 picoseconds. - Weight::from_parts(1_580_360, 0) + // Minimum execution time: 4_800_000 picoseconds. + Weight::from_parts(10_130_008, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_467 - .saturating_add(Weight::from_parts(2_981_681, 0).saturating_mul(c.into())) + // Standard Error: 810 + .saturating_add(Weight::from_parts(3_493_316, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_523_000 picoseconds. - Weight::from_parts(5_922_000, 0) + // Minimum execution time: 6_780_000 picoseconds. + Weight::from_parts(6_990_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -89,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_820_000 picoseconds. - Weight::from_parts(5_709_408, 0) + // Minimum execution time: 4_770_000 picoseconds. + Weight::from_parts(9_219_590, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_022 - .saturating_add(Weight::from_parts(2_783_647, 0).saturating_mul(c.into())) + // Standard Error: 902 + .saturating_add(Weight::from_parts(3_279_047, 0).saturating_mul(c.into())) } } diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_xcm.rs b/system-parachains/people/people-polkadot/src/weights/pallet_xcm.rs index 85e0121019..e1f6f855be 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_xcm.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_xcm.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -60,8 +61,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38` // Estimated: `3503` - // Minimum execution time: 17_364_000 picoseconds. - Weight::from_parts(17_896_000, 0) + // Minimum execution time: 22_770_000 picoseconds. + Weight::from_parts(23_410_000, 0) .saturating_add(Weight::from_parts(0, 3503)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,8 +83,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 56_829_000 picoseconds. - Weight::from_parts(57_896_000, 0) + // Minimum execution time: 71_851_000 picoseconds. + Weight::from_parts(73_250_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -108,14 +109,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) + // Minimum execution time: 8_670_000 picoseconds. + Weight::from_parts(8_910_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) @@ -124,8 +123,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_661_000 picoseconds. - Weight::from_parts(6_038_000, 0) + // Minimum execution time: 7_690_000 picoseconds. + Weight::from_parts(7_971_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,8 +134,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_869_000 picoseconds. - Weight::from_parts(1_975_000, 0) + // Minimum execution time: 2_670_000 picoseconds. + Weight::from_parts(2_770_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,8 +159,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `38` // Estimated: `3503` - // Minimum execution time: 22_600_000 picoseconds. - Weight::from_parts(23_150_000, 0) + // Minimum execution time: 29_420_000 picoseconds. + Weight::from_parts(30_080_000, 0) .saturating_add(Weight::from_parts(0, 3503)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -184,8 +183,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3720` - // Minimum execution time: 25_717_000 picoseconds. - Weight::from_parts(26_375_000, 0) + // Minimum execution time: 33_950_000 picoseconds. + Weight::from_parts(34_320_000, 0) .saturating_add(Weight::from_parts(0, 3720)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -196,8 +195,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_850_000 picoseconds. - Weight::from_parts(1_954_000, 0) + // Minimum execution time: 2_720_000 picoseconds. + Weight::from_parts(2_860_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -207,8 +206,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89` // Estimated: `13454` - // Minimum execution time: 16_170_000 picoseconds. - Weight::from_parts(16_747_000, 0) + // Minimum execution time: 21_080_000 picoseconds. + Weight::from_parts(21_380_000, 0) .saturating_add(Weight::from_parts(0, 13454)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -219,8 +218,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `93` // Estimated: `13458` - // Minimum execution time: 16_303_000 picoseconds. - Weight::from_parts(16_645_000, 0) + // Minimum execution time: 21_130_000 picoseconds. + Weight::from_parts(21_671_000, 0) .saturating_add(Weight::from_parts(0, 13458)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -231,8 +230,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `15946` - // Minimum execution time: 17_841_000 picoseconds. - Weight::from_parts(18_461_000, 0) + // Minimum execution time: 23_400_000 picoseconds. + Weight::from_parts(23_830_000, 0) .saturating_add(Weight::from_parts(0, 15946)) .saturating_add(T::DbWeight::get().reads(6)) } @@ -252,8 +251,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `6046` - // Minimum execution time: 22_681_000 picoseconds. - Weight::from_parts(23_459_000, 0) + // Minimum execution time: 29_080_000 picoseconds. + Weight::from_parts(29_690_000, 0) .saturating_add(Weight::from_parts(0, 6046)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -264,8 +263,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136` // Estimated: `11026` - // Minimum execution time: 10_860_000 picoseconds. - Weight::from_parts(11_210_000, 0) + // Minimum execution time: 13_850_000 picoseconds. + Weight::from_parts(14_260_000, 0) .saturating_add(Weight::from_parts(0, 11026)) .saturating_add(T::DbWeight::get().reads(4)) } @@ -275,8 +274,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `13465` - // Minimum execution time: 16_579_000 picoseconds. - Weight::from_parts(16_949_000, 0) + // Minimum execution time: 21_370_000 picoseconds. + Weight::from_parts(21_670_000, 0) .saturating_add(Weight::from_parts(0, 13465)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -297,8 +296,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `13471` - // Minimum execution time: 30_940_000 picoseconds. - Weight::from_parts(31_860_000, 0) + // Minimum execution time: 39_450_000 picoseconds. + Weight::from_parts(39_870_000, 0) .saturating_add(Weight::from_parts(0, 13471)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(4)) @@ -311,8 +310,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32` // Estimated: `1517` - // Minimum execution time: 3_484_000 picoseconds. - Weight::from_parts(3_621_000, 0) + // Minimum execution time: 4_710_000 picoseconds. + Weight::from_parts(4_850_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -323,8 +322,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `7669` // Estimated: `11134` - // Minimum execution time: 24_693_000 picoseconds. - Weight::from_parts(25_213_000, 0) + // Minimum execution time: 32_190_000 picoseconds. + Weight::from_parts(32_650_000, 0) .saturating_add(Weight::from_parts(0, 11134)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -335,8 +334,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `3555` - // Minimum execution time: 32_947_000 picoseconds. - Weight::from_parts(33_819_000, 0) + // Minimum execution time: 42_130_000 picoseconds. + Weight::from_parts(43_061_000, 0) .saturating_add(Weight::from_parts(0, 3555)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/system-parachains/people/people-polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs b/system-parachains/people/people-polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs index 77679bcdc9..74ebddb298 100644 --- a/system-parachains/people/people-polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs +++ b/system-parachains/people/people-polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `polkadot_runtime_common::identity_migrator` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -60,13 +61,13 @@ impl polkadot_runtime_common::identity_migrator::Weight // Proof Size summary in bytes: // Measured: `741 + r * (5 ±0) + s * (32 ±0)` // Estimated: `6723` - // Minimum execution time: 30_569_000 picoseconds. - Weight::from_parts(28_116_110, 0) + // Minimum execution time: 36_410_000 picoseconds. + Weight::from_parts(38_271_710, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 12_561 - .saturating_add(Weight::from_parts(311_879, 0).saturating_mul(r.into())) - // Standard Error: 2_573 - .saturating_add(Weight::from_parts(1_457_752, 0).saturating_mul(s.into())) + // Standard Error: 3_976 + .saturating_add(Weight::from_parts(62_655, 0).saturating_mul(r.into())) + // Standard Error: 814 + .saturating_add(Weight::from_parts(1_505_415, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -81,8 +82,8 @@ impl polkadot_runtime_common::identity_migrator::Weight // Proof Size summary in bytes: // Measured: `706` // Estimated: `6723` - // Minimum execution time: 41_584_000 picoseconds. - Weight::from_parts(43_230_000, 0) + // Minimum execution time: 51_381_000 picoseconds. + Weight::from_parts(51_950_000, 0) .saturating_add(Weight::from_parts(0, 6723)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/system-parachains/people/people-polkadot/src/weights/xcm/mod.rs b/system-parachains/people/people-polkadot/src/weights/xcm/mod.rs index 686370c098..09214d2288 100644 --- a/system-parachains/people/people-polkadot/src/weights/xcm/mod.rs +++ b/system-parachains/people/people-polkadot/src/weights/xcm/mod.rs @@ -59,10 +59,8 @@ impl XcmWeightInfo for PeoplePolkadotXcmWeight { fn withdraw_asset(assets: &Assets) -> Weight { assets.weigh_assets(XcmFungibleWeight::::withdraw_asset()) } - // Currently there is no trusted reserve - fn reserve_asset_deposited(_assets: &Assets) -> Weight { - // TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974 - Weight::from_parts(1_000_000_000_u64, 0) + fn reserve_asset_deposited(assets: &Assets) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::reserve_asset_deposited()) } fn receive_teleported_asset(assets: &Assets) -> Weight { assets.weigh_assets(XcmFungibleWeight::::receive_teleported_asset()) diff --git a/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index b9fab08833..0e88fdcd88 100644 --- a/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xcm_benchmarks::fungible` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -52,8 +53,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `3593` - // Minimum execution time: 28_454_000 picoseconds. - Weight::from_parts(29_162_000, 0) + // Minimum execution time: 33_500_000 picoseconds. + Weight::from_parts(34_110_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `153` // Estimated: `6196` - // Minimum execution time: 39_952_000 picoseconds. - Weight::from_parts(40_798_000, 0) + // Minimum execution time: 46_640_000 picoseconds. + Weight::from_parts(47_210_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,12 +89,22 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `223` // Estimated: `6196` - // Minimum execution time: 59_697_000 picoseconds. - Weight::from_parts(60_737_000, 0) + // Minimum execution time: 70_580_000 picoseconds. + Weight::from_parts(71_501_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn reserve_asset_deposited() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -110,8 +121,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 24_368_000 picoseconds. - Weight::from_parts(24_968_000, 0) + // Minimum execution time: 30_191_000 picoseconds. + Weight::from_parts(31_000_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -120,8 +131,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_837_000 picoseconds. - Weight::from_parts(2_940_000, 0) + // Minimum execution time: 3_620_000 picoseconds. + Weight::from_parts(3_760_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `System::Account` (r:1 w:1) @@ -130,8 +141,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 22_149_000 picoseconds. - Weight::from_parts(22_609_000, 0) + // Minimum execution time: 25_940_000 picoseconds. + Weight::from_parts(26_410_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +165,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `122` // Estimated: `3593` - // Minimum execution time: 49_769_000 picoseconds. - Weight::from_parts(50_650_000, 0) + // Minimum execution time: 58_880_000 picoseconds. + Weight::from_parts(60_061_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -176,8 +187,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 20_294_000 picoseconds. - Weight::from_parts(20_970_000, 0) + // Minimum execution time: 25_220_000 picoseconds. + Weight::from_parts(25_890_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index e70fe618c8..b87da9230b 100644 --- a/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -13,12 +13,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -62,8 +63,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 24_719_000 picoseconds. - Weight::from_parts(25_778_000, 0) + // Minimum execution time: 29_021_000 picoseconds. + Weight::from_parts(29_450_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -72,8 +73,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_203_000 picoseconds. - Weight::from_parts(1_270_000, 0) + // Minimum execution time: 1_650_000 picoseconds. + Weight::from_parts(1_740_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::Queries` (r:1 w:0) @@ -82,8 +83,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `32` // Estimated: `3497` - // Minimum execution time: 6_202_000 picoseconds. - Weight::from_parts(6_550_000, 0) + // Minimum execution time: 8_230_000 picoseconds. + Weight::from_parts(8_410_000, 0) .saturating_add(Weight::from_parts(0, 3497)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -91,56 +92,56 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_911_000 picoseconds. - Weight::from_parts(7_741_000, 0) + // Minimum execution time: 8_080_000 picoseconds. + Weight::from_parts(8_320_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_773_000 picoseconds. - Weight::from_parts(1_911_000, 0) + // Minimum execution time: 2_470_000 picoseconds. + Weight::from_parts(2_570_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_173_000 picoseconds. - Weight::from_parts(1_300_000, 0) + // Minimum execution time: 1_560_000 picoseconds. + Weight::from_parts(1_650_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_161_000 picoseconds. - Weight::from_parts(1_317_000, 0) + // Minimum execution time: 1_560_000 picoseconds. + Weight::from_parts(1_650_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_121_000 picoseconds. - Weight::from_parts(1_235_000, 0) + // Minimum execution time: 1_510_000 picoseconds. + Weight::from_parts(1_600_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_315_000 picoseconds. - Weight::from_parts(1_418_000, 0) + // Minimum execution time: 1_660_000 picoseconds. + Weight::from_parts(1_760_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_163_000 picoseconds. - Weight::from_parts(1_254_000, 0) + // Minimum execution time: 1_540_000 picoseconds. + Weight::from_parts(1_610_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) @@ -159,8 +160,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 20_703_000 picoseconds. - Weight::from_parts(21_088_000, 0) + // Minimum execution time: 25_160_000 picoseconds. + Weight::from_parts(26_070_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -171,8 +172,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `3555` - // Minimum execution time: 9_183_000 picoseconds. - Weight::from_parts(9_476_000, 0) + // Minimum execution time: 11_680_000 picoseconds. + Weight::from_parts(11_990_000, 0) .saturating_add(Weight::from_parts(0, 3555)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,8 +182,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_146_000 picoseconds. - Weight::from_parts(1_218_000, 0) + // Minimum execution time: 1_560_000 picoseconds. + Weight::from_parts(1_630_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1) @@ -201,8 +202,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `38` // Estimated: `3503` - // Minimum execution time: 18_675_000 picoseconds. - Weight::from_parts(19_580_000, 0) + // Minimum execution time: 23_610_000 picoseconds. + Weight::from_parts(24_350_000, 0) .saturating_add(Weight::from_parts(0, 3503)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -213,8 +214,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_937_000 picoseconds. - Weight::from_parts(3_086_000, 0) + // Minimum execution time: 3_960_000 picoseconds. + Weight::from_parts(4_140_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -222,40 +223,40 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_503_000 picoseconds. - Weight::from_parts(1_597_000, 0) + // Minimum execution time: 2_090_000 picoseconds. + Weight::from_parts(2_200_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_285_000 picoseconds. - Weight::from_parts(1_358_000, 0) + // Minimum execution time: 1_710_000 picoseconds. + Weight::from_parts(1_820_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_137_000 picoseconds. - Weight::from_parts(1_225_000, 0) + // Minimum execution time: 1_490_000 picoseconds. + Weight::from_parts(1_620_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_141_000 picoseconds. - Weight::from_parts(1_226_000, 0) + // Minimum execution time: 1_530_000 picoseconds. + Weight::from_parts(1_620_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_346_000 picoseconds. - Weight::from_parts(1_474_000, 0) + // Minimum execution time: 1_760_000 picoseconds. + Weight::from_parts(1_910_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) @@ -274,8 +275,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 23_573_000 picoseconds. - Weight::from_parts(24_680_000, 0) + // Minimum execution time: 29_350_000 picoseconds. + Weight::from_parts(29_990_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -284,8 +285,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_627_000 picoseconds. - Weight::from_parts(3_769_000, 0) + // Minimum execution time: 4_471_000 picoseconds. + Weight::from_parts(4_600_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) @@ -304,8 +305,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `70` // Estimated: `3535` - // Minimum execution time: 20_467_000 picoseconds. - Weight::from_parts(21_232_000, 0) + // Minimum execution time: 25_621_000 picoseconds. + Weight::from_parts(26_120_000, 0) .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -314,40 +315,40 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_202_000 picoseconds. - Weight::from_parts(1_260_000, 0) + // Minimum execution time: 1_600_000 picoseconds. + Weight::from_parts(1_700_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_190_000 picoseconds. - Weight::from_parts(1_246_000, 0) + // Minimum execution time: 1_540_000 picoseconds. + Weight::from_parts(1_630_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_138_000 picoseconds. - Weight::from_parts(1_236_000, 0) + // Minimum execution time: 1_500_000 picoseconds. + Weight::from_parts(1_590_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_105_000 picoseconds. - Weight::from_parts(1_297_000, 0) + // Minimum execution time: 1_550_000 picoseconds. + Weight::from_parts(1_610_000, 0) .saturating_add(Weight::from_parts(0, 0)) } pub(crate) fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_147_000 picoseconds. - Weight::from_parts(1_243_000, 0) + // Minimum execution time: 1_550_000 picoseconds. + Weight::from_parts(1_610_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } From 87be7064dc38802a9f0a242598e29b9981660671 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 30 May 2024 13:59:43 +0200 Subject: [PATCH 5/5] Fresh weights for people-kusama --- .../cumulus_pallet_parachain_system.rs | 67 ++++--- .../src/weights/pallet_message_queue.rs | 165 ++++++++++-------- .../people-kusama/src/weights/xcm/mod.rs | 6 +- .../xcm/pallet_xcm_benchmarks_fungible.rs | 10 ++ 4 files changed, 152 insertions(+), 96 deletions(-) diff --git a/system-parachains/people/people-kusama/src/weights/cumulus_pallet_parachain_system.rs b/system-parachains/people/people-kusama/src/weights/cumulus_pallet_parachain_system.rs index fcea5fd1bf..36014a287a 100644 --- a/system-parachains/people/people-kusama/src/weights/cumulus_pallet_parachain_system.rs +++ b/system-parachains/people/people-kusama/src/weights/cumulus_pallet_parachain_system.rs @@ -1,11 +1,12 @@ -// Copyright (C) Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -13,41 +14,61 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Need to rerun +//! Autogenerated weights for `cumulus_pallet_parachain_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-kusama-chain-spec.json")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=./people-kusama-chain-spec.json +// --steps=50 +// --repeat=20 +// --pallet=cumulus_pallet_parachain_system +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./people-kusama-weights/ +// --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `cumulus_pallet_parachain_system`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_parachain_system::WeightInfo for WeightInfo { - /// Storage: ParachainSystem LastDmqMqcHead (r:1 w:1) - /// Proof Skipped: ParachainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ReservedDmpWeightOverride (r:1 w:0) - /// Proof Skipped: ParachainSystem ReservedDmpWeightOverride (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: ParachainSystem ProcessedDownwardMessages (r:0 w:1) - /// Proof Skipped: ParachainSystem ProcessedDownwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: MessageQueue Pages (r:0 w:16) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) + /// Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1) + /// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1000) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12` - // Estimated: `8013` - // Minimum execution time: 1_622_000 picoseconds. - Weight::from_parts(1_709_000, 0) - .saturating_add(Weight::from_parts(0, 8013)) - // Standard Error: 22_138 - .saturating_add(Weight::from_parts(23_923_169, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `3517` + // Minimum execution time: 2_110_000 picoseconds. + Weight::from_parts(2_210_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) + // Standard Error: 53_320 + .saturating_add(Weight::from_parts(193_333_537, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/system-parachains/people/people-kusama/src/weights/pallet_message_queue.rs b/system-parachains/people/people-kusama/src/weights/pallet_message_queue.rs index fe1911b77a..02ad58d0a2 100644 --- a/system-parachains/people/people-kusama/src/weights/pallet_message_queue.rs +++ b/system-parachains/people/people-kusama/src/weights/pallet_message_queue.rs @@ -1,11 +1,12 @@ -// Copyright (C) Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -13,143 +14,169 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Need to rerun +//! Autogenerated weights for `pallet_message_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./people-kusama-chain-spec.json")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=./people-kusama-chain-spec.json +// --steps=50 +// --repeat=20 +// --pallet=pallet_message_queue +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./people-kusama-weights/ +// --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_message_queue`. pub struct WeightInfo(PhantomData); impl pallet_message_queue::WeightInfo for WeightInfo { - /// Storage: MessageQueue ServiceHead (r:1 w:0) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: MessageQueue BookStateFor (r:2 w:2) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:0) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ready_ring_knit() -> Weight { // Proof Size summary in bytes: - // Measured: `189` - // Estimated: `7534` - // Minimum execution time: 13_668_000 picoseconds. - Weight::from_parts(13_668_000, 0) - .saturating_add(Weight::from_parts(0, 7534)) + // Measured: `223` + // Estimated: `6044` + // Minimum execution time: 14_630_000 picoseconds. + Weight::from_parts(15_410_000, 0) + .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:2 w:2) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) fn ready_ring_unknit() -> Weight { // Proof Size summary in bytes: - // Measured: `184` - // Estimated: `7534` - // Minimum execution time: 11_106_000 picoseconds. - Weight::from_parts(11_106_000, 0) - .saturating_add(Weight::from_parts(0, 7534)) + // Measured: `218` + // Estimated: `6044` + // Minimum execution time: 12_680_000 picoseconds. + Weight::from_parts(13_110_000, 0) + .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn service_queue_base() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3517` - // Minimum execution time: 4_921_000 picoseconds. - Weight::from_parts(4_921_000, 0) + // Minimum execution time: 4_340_000 picoseconds. + Weight::from_parts(4_470_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_completion() -> Weight { // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 6_879_000 picoseconds. - Weight::from_parts(6_879_000, 0) + // Minimum execution time: 6_730_000 picoseconds. + Weight::from_parts(6_990_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_no_completion() -> Weight { // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 7_564_000 picoseconds. - Weight::from_parts(7_564_000, 0) + // Minimum execution time: 7_030_000 picoseconds. + Weight::from_parts(7_190_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `MessageQueue::BookStateFor` (r:0 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_item() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_963_000 picoseconds. - Weight::from_parts(59_963_000, 0) + // Minimum execution time: 158_961_000 picoseconds. + Weight::from_parts(160_341_000, 0) .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue ServiceHead (r:1 w:1) - /// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) - /// Storage: MessageQueue BookStateFor (r:1 w:0) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn bump_service_head() -> Weight { // Proof Size summary in bytes: - // Measured: `99` - // Estimated: `5007` - // Minimum execution time: 7_200_000 picoseconds. - Weight::from_parts(7_200_000, 0) - .saturating_add(Weight::from_parts(0, 5007)) + // Measured: `171` + // Estimated: `3517` + // Minimum execution time: 8_270_000 picoseconds. + Weight::from_parts(8_490_000, 0) + .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn reap_page() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 41_366_000 picoseconds. - Weight::from_parts(41_366_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 55_080_000 picoseconds. + Weight::from_parts(55_891_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_removed() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 60_538_000 picoseconds. - Weight::from_parts(60_538_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 74_080_000 picoseconds. + Weight::from_parts(74_860_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: MessageQueue BookStateFor (r:1 w:1) - /// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: MessageQueue Pages (r:1 w:1) - /// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_updated() -> Weight { // Proof Size summary in bytes: // Measured: `65667` - // Estimated: `72567` - // Minimum execution time: 73_665_000 picoseconds. - Weight::from_parts(73_665_000, 0) - .saturating_add(Weight::from_parts(0, 72567)) + // Estimated: `69050` + // Minimum execution time: 109_091_000 picoseconds. + Weight::from_parts(110_080_000, 0) + .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/system-parachains/people/people-kusama/src/weights/xcm/mod.rs b/system-parachains/people/people-kusama/src/weights/xcm/mod.rs index 37ea90fa3b..73e55b8559 100644 --- a/system-parachains/people/people-kusama/src/weights/xcm/mod.rs +++ b/system-parachains/people/people-kusama/src/weights/xcm/mod.rs @@ -59,10 +59,8 @@ impl XcmWeightInfo for PeopleKusamaXcmWeight { fn withdraw_asset(assets: &Assets) -> Weight { assets.weigh_assets(XcmFungibleWeight::::withdraw_asset()) } - // Currently there is no trusted reserve - fn reserve_asset_deposited(_assets: &Assets) -> Weight { - // TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974 - Weight::from_parts(1_000_000_000_u64, 0) + fn reserve_asset_deposited(assets: &Assets) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::reserve_asset_deposited()) } fn receive_teleported_asset(assets: &Assets) -> Weight { assets.weigh_assets(XcmFungibleWeight::::receive_teleported_asset()) diff --git a/system-parachains/people/people-kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/system-parachains/people/people-kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index 56d42a7e27..61e9373bb5 100644 --- a/system-parachains/people/people-kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/system-parachains/people/people-kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -94,6 +94,16 @@ impl WeightInfo { .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn reserve_asset_deposited() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)