diff --git a/relay/kusama/src/impls.rs b/relay/kusama/src/impls.rs index 20880646cb..2dcdd7b63b 100644 --- a/relay/kusama/src/impls.rs +++ b/relay/kusama/src/impls.rs @@ -92,7 +92,7 @@ where fn on_reap_identity(who: &AccountId, fields: u32, subs: u32) -> DispatchResult { use crate::{ impls::IdentityMigratorCalls::PokeDeposit, - weights::runtime_common_identity_migrator::WeightInfo as MigratorWeights, + weights::polkadot_runtime_common_identity_migrator::WeightInfo as MigratorWeights, }; let total_to_send = Self::calculate_remote_deposit(fields, subs); diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 434b0baad3..5be00a0bf6 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -967,7 +967,7 @@ impl claims::Config for Runtime { type VestingSchedule = Vesting; type Prefix = Prefix; type MoveClaimOrigin = EnsureRoot; - type WeightInfo = weights::runtime_common_claims::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_claims::WeightInfo; } parameter_types! { @@ -1005,7 +1005,7 @@ impl identity_migrator::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Reaper = EnsureSigned; type ReapIdentityHandler = impls::ToParachainIdentityReaper; - type WeightInfo = weights::runtime_common_identity_migrator::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_identity_migrator::WeightInfo; } impl pallet_utility::Config for Runtime { @@ -1440,7 +1440,7 @@ impl paras_registrar::Config for Runtime { type OnSwap = (Crowdloan, Slots); type ParaDeposit = ParaDeposit; type DataDepositPerByte = DataDepositPerByte; - type WeightInfo = weights::runtime_common_paras_registrar::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_paras_registrar::WeightInfo; } parameter_types! { @@ -1455,7 +1455,7 @@ impl slots::Config for Runtime { type LeasePeriod = LeasePeriod; type LeaseOffset = (); type ForceOrigin = EitherOf, LeaseAdmin>; - type WeightInfo = weights::runtime_common_slots::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_slots::WeightInfo; } parameter_types! { @@ -1476,7 +1476,7 @@ impl crowdloan::Config for Runtime { type Registrar = Registrar; type Auctioneer = Auctions; type MaxMemoLength = MaxMemoLength; - type WeightInfo = weights::runtime_common_crowdloan::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_crowdloan::WeightInfo; } parameter_types! { @@ -1495,7 +1495,7 @@ impl auctions::Config for Runtime { type SampleLength = SampleLength; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; type InitiateOrigin = EitherOf, AuctionAdmin>; - type WeightInfo = weights::runtime_common_auctions::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_auctions::WeightInfo; } type NisCounterpartInstance = pallet_balances::Instance2; @@ -1975,7 +1975,7 @@ pub mod migrations { ) { log::debug!(target: "runtime", "Cancelling scheduled auctions failed: {:?}", err); } - weights::runtime_common_auctions::WeightInfo::::cancel_auction() + weights::polkadot_runtime_common_auctions::WeightInfo::::cancel_auction() .saturating_add(weights::pallet_scheduler::WeightInfo::::cancel_named( ::MaxScheduledPerBlock::get(), )) @@ -2033,8 +2033,6 @@ pub type SignedPayload = generic::SignedPayload; mod benches { frame_benchmarking::define_benchmarks!( // Polkadot - // NOTE: Make sure to prefix these with `polkadot_runtime_common::` so - // that the path resolves correctly in the generated file. [polkadot_runtime_common::auctions, Auctions] [polkadot_runtime_common::crowdloan, Crowdloan] [polkadot_runtime_common::claims, Claims] diff --git a/relay/kusama/src/weights/mod.rs b/relay/kusama/src/weights/mod.rs index a2a426d424..64d53581e4 100644 --- a/relay/kusama/src/weights/mod.rs +++ b/relay/kusama/src/weights/mod.rs @@ -47,12 +47,12 @@ pub mod pallet_utility; pub mod pallet_vesting; pub mod pallet_whitelist; pub mod pallet_xcm; -pub mod runtime_common_auctions; -pub mod runtime_common_claims; -pub mod runtime_common_crowdloan; -pub mod runtime_common_identity_migrator; -pub mod runtime_common_paras_registrar; -pub mod runtime_common_slots; +pub mod polkadot_runtime_common_auctions; +pub mod polkadot_runtime_common_claims; +pub mod polkadot_runtime_common_crowdloan; +pub mod polkadot_runtime_common_identity_migrator; +pub mod polkadot_runtime_common_paras_registrar; +pub mod polkadot_runtime_common_slots; pub mod runtime_parachains_assigner_on_demand; pub mod runtime_parachains_configuration; pub mod runtime_parachains_coretime; diff --git a/relay/kusama/src/weights/runtime_common_auctions.rs b/relay/kusama/src/weights/polkadot_runtime_common_auctions.rs similarity index 92% rename from relay/kusama/src/weights/runtime_common_auctions.rs rename to relay/kusama/src/weights/polkadot_runtime_common_auctions.rs index 3ae18a8155..5830603d5a 100644 --- a/relay/kusama/src/weights/runtime_common_auctions.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_auctions.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::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-05, 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("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -54,8 +55,8 @@ impl polkadot_runtime_common::auctions::WeightInfo for // Proof Size summary in bytes: // Measured: `4` // Estimated: `1493` - // Minimum execution time: 7_667_000 picoseconds. - Weight::from_parts(7_995_000, 0) + // Minimum execution time: 9_260_000 picoseconds. + Weight::from_parts(9_510_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -78,8 +79,8 @@ impl polkadot_runtime_common::auctions::WeightInfo for // Proof Size summary in bytes: // Measured: `695` // Estimated: `6060` - // Minimum execution time: 66_644_000 picoseconds. - Weight::from_parts(69_287_000, 0) + // Minimum execution time: 107_190_000 picoseconds. + Weight::from_parts(121_620_000, 0) .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) @@ -110,8 +111,8 @@ impl polkadot_runtime_common::auctions::WeightInfo for // Proof Size summary in bytes: // Measured: `6946955` // Estimated: `15822990` - // Minimum execution time: 7_034_503_000 picoseconds. - Weight::from_parts(7_143_252_000, 0) + // Minimum execution time: 9_051_931_000 picoseconds. + Weight::from_parts(9_227_043_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3687)) .saturating_add(T::DbWeight::get().writes(3682)) @@ -128,8 +129,8 @@ impl polkadot_runtime_common::auctions::WeightInfo for // Proof Size summary in bytes: // Measured: `177732` // Estimated: `15822990` - // Minimum execution time: 5_483_280_000 picoseconds. - Weight::from_parts(5_678_419_000, 0) + // Minimum execution time: 7_352_693_000 picoseconds. + Weight::from_parts(7_586_335_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) diff --git a/relay/kusama/src/weights/runtime_common_claims.rs b/relay/kusama/src/weights/polkadot_runtime_common_claims.rs similarity index 92% rename from relay/kusama/src/weights/runtime_common_claims.rs rename to relay/kusama/src/weights/polkadot_runtime_common_claims.rs index 30d89a7011..af9c1b92a8 100644 --- a/relay/kusama/src/weights/runtime_common_claims.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_claims.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::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-05, 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("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -66,8 +67,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `612` // Estimated: `4764` - // Minimum execution time: 179_772_000 picoseconds. - Weight::from_parts(197_595_000, 0) + // Minimum execution time: 181_801_000 picoseconds. + Weight::from_parts(195_321_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -84,8 +85,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 11_512_000 picoseconds. - Weight::from_parts(13_403_000, 0) + // Minimum execution time: 11_890_000 picoseconds. + Weight::from_parts(12_420_000, 0) .saturating_add(Weight::from_parts(0, 1701)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) @@ -110,8 +111,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `612` // Estimated: `4764` - // Minimum execution time: 187_398_000 picoseconds. - Weight::from_parts(199_940_000, 0) + // Minimum execution time: 185_201_000 picoseconds. + Weight::from_parts(194_731_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -138,8 +139,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `686` // Estimated: `4764` - // Minimum execution time: 81_793_000 picoseconds. - Weight::from_parts(86_613_000, 0) + // Minimum execution time: 75_611_000 picoseconds. + Weight::from_parts(79_870_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -156,8 +157,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `440` // Estimated: `3905` - // Minimum execution time: 31_787_000 picoseconds. - Weight::from_parts(35_432_000, 0) + // Minimum execution time: 28_871_000 picoseconds. + Weight::from_parts(31_451_000, 0) .saturating_add(Weight::from_parts(0, 3905)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/relay/kusama/src/weights/runtime_common_crowdloan.rs b/relay/kusama/src/weights/polkadot_runtime_common_crowdloan.rs similarity index 89% rename from relay/kusama/src/weights/runtime_common_crowdloan.rs rename to relay/kusama/src/weights/polkadot_runtime_common_crowdloan.rs index ea9cf9a120..6dfa061100 100644 --- a/relay/kusama/src/weights/runtime_common_crowdloan.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_crowdloan.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::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-06, 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("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -60,8 +61,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `438` // Estimated: `3903` - // Minimum execution time: 46_789_000 picoseconds. - Weight::from_parts(51_028_000, 0) + // Minimum execution time: 84_580_000 picoseconds. + Weight::from_parts(86_900_000, 0) .saturating_add(Weight::from_parts(0, 3903)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -84,8 +85,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `497` // Estimated: `3962` - // Minimum execution time: 135_300_000 picoseconds. - Weight::from_parts(139_837_000, 0) + // Minimum execution time: 208_191_000 picoseconds. + Weight::from_parts(213_831_000, 0) .saturating_add(Weight::from_parts(0, 3962)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -100,8 +101,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `687` // Estimated: `6196` - // Minimum execution time: 70_040_000 picoseconds. - Weight::from_parts(72_140_000, 0) + // Minimum execution time: 117_641_000 picoseconds. + Weight::from_parts(120_270_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -113,11 +114,11 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `125 + k * (189 ±0)` // Estimated: `138 + k * (189 ±0)` - // Minimum execution time: 46_258_000 picoseconds. - Weight::from_parts(49_158_000, 0) + // Minimum execution time: 95_190_000 picoseconds. + Weight::from_parts(115_630_000, 0) .saturating_add(Weight::from_parts(0, 138)) - // Standard Error: 21_760 - .saturating_add(Weight::from_parts(39_151_058, 0).saturating_mul(k.into())) + // Standard Error: 21_856 + .saturating_add(Weight::from_parts(47_090_016, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -132,8 +133,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `514` // Estimated: `6196` - // Minimum execution time: 43_030_000 picoseconds. - Weight::from_parts(47_333_000, 0) + // Minimum execution time: 70_160_000 picoseconds. + Weight::from_parts(71_870_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -144,8 +145,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 22_206_000 picoseconds. - Weight::from_parts(23_970_000, 0) + // Minimum execution time: 35_150_000 picoseconds. + Weight::from_parts(43_160_000, 0) .saturating_add(Weight::from_parts(0, 3699)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +159,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 29_089_000 picoseconds. - Weight::from_parts(31_068_000, 0) + // Minimum execution time: 57_721_000 picoseconds. + Weight::from_parts(60_670_000, 0) .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -172,8 +173,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `238` // Estimated: `3703` - // Minimum execution time: 20_611_000 picoseconds. - Weight::from_parts(22_158_000, 0) + // Minimum execution time: 40_560_000 picoseconds. + Weight::from_parts(42_320_000, 0) .saturating_add(Weight::from_parts(0, 3703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -203,11 +204,11 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `163 + n * (356 ±0)` // Estimated: `5385 + n * (2832 ±0)` - // Minimum execution time: 117_484_000 picoseconds. - Weight::from_parts(17_569_702, 0) + // Minimum execution time: 163_171_000 picoseconds. + Weight::from_parts(168_321_000, 0) .saturating_add(Weight::from_parts(0, 5385)) - // Standard Error: 42_632 - .saturating_add(Weight::from_parts(53_393_948, 0).saturating_mul(n.into())) + // Standard Error: 67_691 + .saturating_add(Weight::from_parts(63_637_866, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/kusama/src/weights/runtime_common_identity_migrator.rs b/relay/kusama/src/weights/polkadot_runtime_common_identity_migrator.rs similarity index 68% rename from relay/kusama/src/weights/runtime_common_identity_migrator.rs rename to relay/kusama/src/weights/polkadot_runtime_common_identity_migrator.rs index 28c80d1c4c..7b999b032f 100644 --- a/relay/kusama/src/weights/runtime_common_identity_migrator.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_identity_migrator.rs @@ -1,43 +1,40 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. +// SPDX-License-Identifier: Apache-2.0 -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// 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 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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-02-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("rococo-dev")`, DB CACHE: 1024 +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: // ./target/production/polkadot // benchmark // pallet -// --chain=rococo-dev +// --chain=./kusama-chain-spec.json // --steps=50 // --repeat=20 -// --no-storage-info -// --no-median-slopes -// --no-min-squares // --pallet=polkadot_runtime_common::identity_migrator // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled -// --header=./polkadot/file_header.txt -// --output=./polkadot/runtime/rococo/src/weights/runtime_common_identity_migrator.rs +// --heap-pages=4096 +// --output=./kusama-weights/ +// --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -70,15 +67,13 @@ impl polkadot_runtime_common::identity_migrator::Weight /// The range of component `s` is `[0, 100]`. fn reap_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7457 + r * (5 ±0) + s * (32 ±0)` + // Measured: `7391 + r * (5 ±0) + s * (32 ±0)` // Estimated: `11037 + r * (7 ±0) + s * (32 ±0)` - // Minimum execution time: 157_343_000 picoseconds. - Weight::from_parts(159_289_236, 0) + // Minimum execution time: 181_550_000 picoseconds. + Weight::from_parts(190_125_430, 0) .saturating_add(Weight::from_parts(0, 11037)) - // Standard Error: 16_439 - .saturating_add(Weight::from_parts(224_293, 0).saturating_mul(r.into())) - // Standard Error: 3_367 - .saturating_add(Weight::from_parts(1_383_637, 0).saturating_mul(s.into())) + // Standard Error: 2_225 + .saturating_add(Weight::from_parts(1_607_494, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -95,8 +90,8 @@ impl polkadot_runtime_common::identity_migrator::Weight // Proof Size summary in bytes: // Measured: `7242` // Estimated: `11037` - // Minimum execution time: 114_384_000 picoseconds. - Weight::from_parts(115_741_000, 0) + // Minimum execution time: 145_051_000 picoseconds. + Weight::from_parts(146_251_000, 0) .saturating_add(Weight::from_parts(0, 11037)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/kusama/src/weights/runtime_common_paras_registrar.rs b/relay/kusama/src/weights/polkadot_runtime_common_paras_registrar.rs similarity index 91% rename from relay/kusama/src/weights/runtime_common_paras_registrar.rs rename to relay/kusama/src/weights/polkadot_runtime_common_paras_registrar.rs index da7ef411a5..1179c86e00 100644 --- a/relay/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_paras_registrar.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::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-06, 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("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -56,8 +57,8 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `96` // Estimated: `3561` - // Minimum execution time: 24_391_000 picoseconds. - Weight::from_parts(25_596_000, 0) + // Minimum execution time: 31_540_000 picoseconds. + Weight::from_parts(32_340_000, 0) .saturating_add(Weight::from_parts(0, 3561)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -84,8 +85,8 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `389` // Estimated: `3854` - // Minimum execution time: 5_993_849_000 picoseconds. - Weight::from_parts(6_011_821_000, 0) + // Minimum execution time: 7_219_003_000 picoseconds. + Weight::from_parts(7_330_365_000, 0) .saturating_add(Weight::from_parts(0, 3854)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) @@ -112,8 +113,8 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `306` // Estimated: `3771` - // Minimum execution time: 5_996_100_000 picoseconds. - Weight::from_parts(6_054_571_000, 0) + // Minimum execution time: 7_190_134_000 picoseconds. + Weight::from_parts(7_323_625_000, 0) .saturating_add(Weight::from_parts(0, 3771)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) @@ -136,8 +137,8 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `503` // Estimated: `3968` - // Minimum execution time: 50_060_000 picoseconds. - Weight::from_parts(52_092_000, 0) + // Minimum execution time: 93_270_000 picoseconds. + Weight::from_parts(95_591_000, 0) .saturating_add(Weight::from_parts(0, 3968)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -160,8 +161,8 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `775` // Estimated: `6715` - // Minimum execution time: 57_116_000 picoseconds. - Weight::from_parts(61_543_000, 0) + // Minimum execution time: 98_071_000 picoseconds. + Weight::from_parts(110_881_000, 0) .saturating_add(Weight::from_parts(0, 6715)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) @@ -189,11 +190,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `238` // Estimated: `3703` - // Minimum execution time: 32_785_000 picoseconds. - Weight::from_parts(33_247_000, 0) + // Minimum execution time: 39_550_000 picoseconds. + Weight::from_parts(39_990_000, 0) .saturating_add(Weight::from_parts(0, 3703)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_232, 0).saturating_mul(b.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_266, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -204,11 +205,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_970_000 picoseconds. - Weight::from_parts(7_513_782, 0) + // Minimum execution time: 7_420_000 picoseconds. + Weight::from_parts(7_500_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(910, 0).saturating_mul(b.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(803, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/relay/kusama/src/weights/runtime_common_slots.rs b/relay/kusama/src/weights/polkadot_runtime_common_slots.rs similarity index 85% rename from relay/kusama/src/weights/runtime_common_slots.rs rename to relay/kusama/src/weights/polkadot_runtime_common_slots.rs index dccac44368..48d0e6bbd9 100644 --- a/relay/kusama/src/weights/runtime_common_slots.rs +++ b/relay/kusama/src/weights/polkadot_runtime_common_slots.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::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-06, 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("./kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: @@ -54,8 +55,8 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `254` // Estimated: `3719` - // Minimum execution time: 26_919_000 picoseconds. - Weight::from_parts(27_818_000, 0) + // Minimum execution time: 34_210_000 picoseconds. + Weight::from_parts(34_940_000, 0) .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -74,15 +75,15 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei /// The range of component `t` is `[0, 100]`. fn manage_lease_period_start(c: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `591 + c * (20 ±0) + t * (234 ±0)` - // Estimated: `4062 + c * (2496 ±0) + t * (2709 ±0)` - // Minimum execution time: 704_222_000 picoseconds. - Weight::from_parts(708_202_000, 0) - .saturating_add(Weight::from_parts(0, 4062)) - // Standard Error: 84_256 - .saturating_add(Weight::from_parts(2_736_859, 0).saturating_mul(c.into())) - // Standard Error: 84_256 - .saturating_add(Weight::from_parts(8_817_667, 0).saturating_mul(t.into())) + // Measured: `480 + c * (20 ±0) + t * (234 ±0)` + // Estimated: `3951 + c * (2496 ±0) + t * (2709 ±0)` + // Minimum execution time: 921_855_000 picoseconds. + Weight::from_parts(938_995_000, 0) + .saturating_add(Weight::from_parts(0, 3951)) + // Standard Error: 110_059 + .saturating_add(Weight::from_parts(3_418_523, 0).saturating_mul(c.into())) + // Standard Error: 110_059 + .saturating_add(Weight::from_parts(11_178_525, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) @@ -100,8 +101,8 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `2726` // Estimated: `21814` - // Minimum execution time: 119_905_000 picoseconds. - Weight::from_parts(124_276_000, 0) + // Minimum execution time: 176_251_000 picoseconds. + Weight::from_parts(181_651_000, 0) .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) @@ -118,8 +119,8 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `550` // Estimated: `4015` - // Minimum execution time: 25_135_000 picoseconds. - Weight::from_parts(26_140_000, 0) + // Minimum execution time: 51_250_000 picoseconds. + Weight::from_parts(54_190_000, 0) .saturating_add(Weight::from_parts(0, 4015)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2))