diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index cd7b1b851c..7781d53836 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -1855,9 +1855,9 @@ mod benches { [pallet_bags_list, VoterList] // DelegatedStaking has no calls [pallet_election_provider_multi_block, MultiBlockElection] - [pallet_election_provider_multi_block_verifier, MultiBlockElectionVerifier] - [pallet_election_provider_multi_block_unsigned, MultiBlockElectionUnsigned] - [pallet_election_provider_multi_block_signed, MultiBlockElectionSigned] + [pallet_election_provider_multi_block::verifier, MultiBlockElectionVerifier] + [pallet_election_provider_multi_block::unsigned, MultiBlockElectionUnsigned] + [pallet_election_provider_multi_block::signed, MultiBlockElectionSigned] ); use frame_benchmarking::BenchmarkError; diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs index a95b0656e7..773761e66b 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_election_provider_multi_block` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `5899c669e078`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_election_provider_multi_block -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-interweb-gb1/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -58,8 +58,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `121` // Estimated: `3586` - // Minimum execution time: 15_249_000 picoseconds. - Weight::from_parts(16_150_000, 0) + // Minimum execution time: 7_880_000 picoseconds. + Weight::from_parts(8_400_000, 0) .saturating_add(Weight::from_parts(0, 3586)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +88,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `119010` // Estimated: `6309975` - // Minimum execution time: 19_109_007_000 picoseconds. - Weight::from_parts(19_550_135_000, 0) + // Minimum execution time: 10_900_194_000 picoseconds. + Weight::from_parts(11_076_254_000, 0) .saturating_add(Weight::from_parts(0, 6309975)) .saturating_add(T::DbWeight::get().reads(2508)) .saturating_add(T::DbWeight::get().writes(4)) @@ -130,8 +130,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `1398366` // Estimated: `3339756` - // Minimum execution time: 38_850_471_000 picoseconds. - Weight::from_parts(39_611_520_000, 0) + // Minimum execution time: 22_590_048_000 picoseconds. + Weight::from_parts(23_213_659_000, 0) .saturating_add(Weight::from_parts(0, 3339756)) .saturating_add(T::DbWeight::get().reads(3628)) .saturating_add(T::DbWeight::get().writes(6)) @@ -172,8 +172,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `1602332` // Estimated: `3543722` - // Minimum execution time: 38_831_301_000 picoseconds. - Weight::from_parts(39_503_921_000, 0) + // Minimum execution time: 24_030_739_000 picoseconds. + Weight::from_parts(25_136_119_000, 0) .saturating_add(Weight::from_parts(0, 3543722)) .saturating_add(T::DbWeight::get().reads(3335)) .saturating_add(T::DbWeight::get().writes(6)) @@ -188,8 +188,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 344_129_000 picoseconds. - Weight::from_parts(725_619_000, 0) + // Minimum execution time: 33_330_000 picoseconds. + Weight::from_parts(38_060_000, 0) .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +204,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `315` // Estimated: `6255` - // Minimum execution time: 324_800_000 picoseconds. - Weight::from_parts(629_469_000, 0) + // Minimum execution time: 33_420_000 picoseconds. + Weight::from_parts(36_480_000, 0) .saturating_add(Weight::from_parts(0, 6255)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -238,8 +238,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `240757` // Estimated: `2508847` - // Minimum execution time: 21_938_217_000 picoseconds. - Weight::from_parts(22_568_978_000, 0) + // Minimum execution time: 14_595_016_000 picoseconds. + Weight::from_parts(14_896_107_000, 0) .saturating_add(Weight::from_parts(0, 2508847)) .saturating_add(T::DbWeight::get().reads(1840)) .saturating_add(T::DbWeight::get().writes(2731)) @@ -284,20 +284,40 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`) fn export_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `2929798` - // Estimated: `5336488` - // Minimum execution time: 43_113_009_000 picoseconds. - Weight::from_parts(44_074_179_000, 0) - .saturating_add(Weight::from_parts(0, 5336488)) + // Measured: `2934784` + // Estimated: `5341474` + // Minimum execution time: 27_143_001_000 picoseconds. + Weight::from_parts(28_049_051_000, 0) + .saturating_add(Weight::from_parts(0, 5341474)) .saturating_add(T::DbWeight::get().reads(2973)) .saturating_add(T::DbWeight::get().writes(2974)) } + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) + /// Storage: `MultiBlockElection::Round` (r:1 w:0) + /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) + /// Storage: `MultiBlockElection::PagedVoterSnapshot` (r:1 w:0) + /// Proof: `MultiBlockElection::PagedVoterSnapshot` (`max_values`: None, `max_size`: Some(632664), added: 635139, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `Measured`) + /// Storage: `MultiBlockElection::PagedTargetSnapshot` (r:1 w:0) + /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(80026), added: 82501, mode: `Measured`) + /// Storage: `MultiBlockElection::DesiredTargets` (r:1 w:0) + /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0) + /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(37586026), added: 37588501, mode: `Measured`) fn manage() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 219_000 picoseconds. - Weight::from_parts(270_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `352685` + // Estimated: `358625` + // Minimum execution time: 673_703_321_000 picoseconds. + Weight::from_parts(690_363_562_000, 0) + .saturating_add(Weight::from_parts(0, 358625)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs index 2bc3829d9a..9cd517dad3 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs @@ -14,12 +14,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pallet_election_provider_multi_block_signed` +//! Autogenerated weights for `pallet_election_provider_multi_block::signed` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `5229d61b8b27`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `5899c669e078`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -29,8 +29,8 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm -// --pallet=pallet_election_provider_multi_block_signed -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --pallet=pallet_election_provider_multi_block::signed +// --header=/_work/ibp-interweb-gb1/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -44,12 +44,10 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -// TODO: https://github.com/polkadot-fellows/runtimes/issues/894 -use pallet_election_provider_multi_block::weights::traits::pallet_election_provider_multi_block_signed; -/// Weight functions for `pallet_election_provider_multi_block_signed`. +/// Weight functions for `pallet_election_provider_multi_block::signed`. pub struct WeightInfo(PhantomData); -impl pallet_election_provider_multi_block_signed::WeightInfo for WeightInfo { +impl pallet_election_provider_multi_block::signed::WeightInfo for WeightInfo { /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) /// Storage: `MultiBlockElectionSigned::Invulnerables` (r:1 w:0) @@ -68,8 +66,8 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `3189` // Estimated: `9129` - // Minimum execution time: 113_369_000 picoseconds. - Weight::from_parts(126_639_000, 0) + // Minimum execution time: 67_850_000 picoseconds. + Weight::from_parts(69_741_000, 0) .saturating_add(Weight::from_parts(0, 9129)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -94,8 +92,8 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `8036` // Estimated: `48626` - // Minimum execution time: 274_059_000 picoseconds. - Weight::from_parts(286_929_000, 0) + // Minimum execution time: 162_571_000 picoseconds. + Weight::from_parts(164_080_000, 0) .saturating_add(Weight::from_parts(0, 48626)) .saturating_add(T::DbWeight::get().reads(25)) .saturating_add(T::DbWeight::get().writes(21)) @@ -120,8 +118,8 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `3706` // Estimated: `9646` - // Minimum execution time: 285_389_000 picoseconds. - Weight::from_parts(301_009_000, 0) + // Minimum execution time: 211_412_000 picoseconds. + Weight::from_parts(223_271_000, 0) .saturating_add(Weight::from_parts(0, 9646)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) @@ -146,8 +144,8 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `19859` // Estimated: `25799` - // Minimum execution time: 267_589_000 picoseconds. - Weight::from_parts(284_139_000, 0) + // Minimum execution time: 190_301_000 picoseconds. + Weight::from_parts(198_451_000, 0) .saturating_add(Weight::from_parts(0, 25799)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) @@ -170,8 +168,8 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `4263` // Estimated: `44853` - // Minimum execution time: 160_640_000 picoseconds. - Weight::from_parts(166_439_000, 0) + // Minimum execution time: 98_360_000 picoseconds. + Weight::from_parts(100_440_000, 0) .saturating_add(Weight::from_parts(0, 44853)) .saturating_add(T::DbWeight::get().reads(22)) .saturating_add(T::DbWeight::get().writes(19)) @@ -195,11 +193,11 @@ impl pallet_election_provider_multi_block_signed::Weigh // Proof Size summary in bytes: // Measured: `3634 + p * (40 ±0)` // Estimated: `7098 + p * (2516 ±0)` - // Minimum execution time: 105_520_000 picoseconds. - Weight::from_parts(114_980_751, 0) + // Minimum execution time: 64_670_000 picoseconds. + Weight::from_parts(66_839_020, 0) .saturating_add(Weight::from_parts(0, 7098)) - // Standard Error: 57_706 - .saturating_add(Weight::from_parts(1_877_841, 0).saturating_mul(p.into())) + // Standard Error: 16_480 + .saturating_add(Weight::from_parts(1_114_789, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs index c1a4e92175..c2c676f668 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs @@ -14,12 +14,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pallet_election_provider_multi_block_unsigned` +//! Autogenerated weights for `pallet_election_provider_multi_block::unsigned` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `5899c669e078`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -29,8 +29,8 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm -// --pallet=pallet_election_provider_multi_block_unsigned -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --pallet=pallet_election_provider_multi_block::unsigned +// --header=/_work/ibp-interweb-gb1/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -44,12 +44,10 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -// TODO: https://github.com/polkadot-fellows/runtimes/issues/894 -use pallet_election_provider_multi_block::weights::traits::pallet_election_provider_multi_block_unsigned; -/// Weight functions for `pallet_election_provider_multi_block_unsigned`. +/// Weight functions for `pallet_election_provider_multi_block::unsigned`. pub struct WeightInfo(PhantomData); -impl pallet_election_provider_multi_block_unsigned::WeightInfo for WeightInfo { +impl pallet_election_provider_multi_block::unsigned::WeightInfo for WeightInfo { /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) @@ -66,8 +64,8 @@ impl pallet_election_provider_multi_block_unsigned::Wei // Proof Size summary in bytes: // Measured: `354` // Estimated: `6294` - // Minimum execution time: 1_717_707_000 picoseconds. - Weight::from_parts(2_073_098_000, 0) + // Minimum execution time: 1_023_012_000 picoseconds. + Weight::from_parts(1_041_173_000, 0) .saturating_add(Weight::from_parts(0, 6294)) .saturating_add(T::DbWeight::get().reads(7)) } @@ -93,8 +91,8 @@ impl pallet_election_provider_multi_block_unsigned::Wei // Proof Size summary in bytes: // Measured: `1939318` // Estimated: `1950208` - // Minimum execution time: 38_878_340_000 picoseconds. - Weight::from_parts(39_635_619_000, 0) + // Minimum execution time: 26_273_043_000 picoseconds. + Weight::from_parts(26_804_794_000, 0) .saturating_add(Weight::from_parts(0, 1950208)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs index 3ec2ced033..092fccd9e3 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs @@ -14,12 +14,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pallet_election_provider_multi_block_verifier` +//! Autogenerated weights for `pallet_election_provider_multi_block::verifier` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 +//! DATE: 2025-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `5899c669e078`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -29,8 +29,8 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm -// --pallet=pallet_election_provider_multi_block_verifier -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --pallet=pallet_election_provider_multi_block::verifier +// --header=/_work/ibp-interweb-gb1/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -44,12 +44,10 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -// TODO: https://github.com/polkadot-fellows/runtimes/issues/894 -use pallet_election_provider_multi_block::weights::traits::pallet_election_provider_multi_block_verifier; -/// Weight functions for `pallet_election_provider_multi_block_verifier`. +/// Weight functions for `pallet_election_provider_multi_block::verifier`. pub struct WeightInfo(PhantomData); -impl pallet_election_provider_multi_block_verifier::WeightInfo for WeightInfo { +impl pallet_election_provider_multi_block::verifier::WeightInfo for WeightInfo { /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:1 w:1) @@ -78,8 +76,8 @@ impl pallet_election_provider_multi_block_verifier::Wei // Proof Size summary in bytes: // Measured: `362849` // Estimated: `371264` - // Minimum execution time: 6_548_743_000 picoseconds. - Weight::from_parts(6_993_391_000, 0) + // Minimum execution time: 4_316_749_000 picoseconds. + Weight::from_parts(4_873_130_000, 0) .saturating_add(Weight::from_parts(0, 371264)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(4)) @@ -118,8 +116,8 @@ impl pallet_election_provider_multi_block_verifier::Wei // Proof Size summary in bytes: // Measured: `1350950` // Estimated: `1394015` - // Minimum execution time: 40_685_807_000 picoseconds. - Weight::from_parts(41_353_324_000, 0) + // Minimum execution time: 28_825_711_000 picoseconds. + Weight::from_parts(30_609_936_000, 0) .saturating_add(Weight::from_parts(0, 1394015)) .saturating_add(T::DbWeight::get().reads(47)) .saturating_add(T::DbWeight::get().writes(40)) @@ -156,8 +154,8 @@ impl pallet_election_provider_multi_block_verifier::Wei // Proof Size summary in bytes: // Measured: `1351299` // Estimated: `1394364` - // Minimum execution time: 40_416_515_000 picoseconds. - Weight::from_parts(40_995_549_000, 0) + // Minimum execution time: 28_671_179_000 picoseconds. + Weight::from_parts(30_715_872_000, 0) .saturating_add(Weight::from_parts(0, 1394364)) .saturating_add(T::DbWeight::get().reads(61)) .saturating_add(T::DbWeight::get().writes(53)) @@ -194,10 +192,12 @@ impl pallet_election_provider_multi_block_verifier::Wei fn on_initialize_invalid_non_terminal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `629577 + v * (53 ±0)` - // Estimated: `640861 + v * (6479 ±1_339)` - // Minimum execution time: 1_068_649_000 picoseconds. - Weight::from_parts(1_324_371_758, 0) + // Estimated: `640861 + v * (6479 ±1_372)` + // Minimum execution time: 709_440_000 picoseconds. + Weight::from_parts(844_325_176, 0) .saturating_add(Weight::from_parts(0, 640861)) + // Standard Error: 502_529 + .saturating_add(Weight::from_parts(9_086_376, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(21)) diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 8b5e6c9c10..348f82647f 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -1625,9 +1625,9 @@ mod benches { [pallet_bags_list, VoterList] // DelegatedStaking has no calls [pallet_election_provider_multi_block, MultiBlockElection] - [pallet_election_provider_multi_block_verifier, MultiBlockElectionVerifier] - [pallet_election_provider_multi_block_unsigned, MultiBlockElectionUnsigned] - [pallet_election_provider_multi_block_signed, MultiBlockElectionSigned] + [pallet_election_provider_multi_block::verifier, MultiBlockElectionVerifier] + [pallet_election_provider_multi_block::unsigned, MultiBlockElectionUnsigned] + [pallet_election_provider_multi_block::signed, MultiBlockElectionSigned] ); use frame_benchmarking::BenchmarkError;