From 388e8dc9d6ca2929196ce7d74263634db1576fd2 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 27 Oct 2023 09:35:36 +0000 Subject: [PATCH] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_collective --- substrate/frame/collective/src/weights.rs | 540 +++++++++++----------- 1 file changed, 272 insertions(+), 268 deletions(-) diff --git a/substrate/frame/collective/src/weights.rs b/substrate/frame/collective/src/weights.rs index 72fc1b9a2afc6..bee9d83105310 100644 --- a/substrate/frame/collective/src/weights.rs +++ b/substrate/frame/collective/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-10-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-nbnwcyh-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `runner-vmdtonbz-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: @@ -65,33 +65,33 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:101 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3158 ±0)` - // Estimated: `3664 + m * (2057 ±23) + p * (4316 ±23)` - // Minimum execution time: 20_633_000 picoseconds. - Weight::from_parts(21_142_000, 3664) - // Standard Error: 58_900 - .saturating_add(Weight::from_parts(4_099_193, 0).saturating_mul(m.into())) - // Standard Error: 58_900 - .saturating_add(Weight::from_parts(8_924_934, 0).saturating_mul(p.into())) + // Estimated: `9913 + m * (330 ±45) + p * (8730 ±45)` + // Minimum execution time: 19_816_000 picoseconds. + Weight::from_parts(20_182_000, 9913) + // Standard Error: 58_734 + .saturating_add(Weight::from_parts(4_193_836, 0).saturating_mul(m.into())) + // Standard Error: 58_734 + .saturating_add(Weight::from_parts(8_671_699, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 2057).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4316).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 8730).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `TxPause::PausedCalls` (r:1 w:0) @@ -100,21 +100,20 @@ impl WeightInfo for SubstrateWeight { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `347 + m * (32 ±0)` - // Estimated: `3997 + m * (32 ±0)` - // Minimum execution time: 21_535_000 picoseconds. - Weight::from_parts(20_771_819, 3997) - // Standard Error: 81 - .saturating_add(Weight::from_parts(2_116, 0).saturating_mul(b.into())) - // Standard Error: 841 - .saturating_add(Weight::from_parts(21_258, 0).saturating_mul(m.into())) + // Measured: `380 + m * (32 ±0)` + // Estimated: `4687` + // Minimum execution time: 19_336_000 picoseconds. + Weight::from_parts(18_094_092, 4687) + // Standard Error: 52 + .saturating_add(Weight::from_parts(2_312, 0).saturating_mul(b.into())) + // Standard Error: 544 + .saturating_add(Weight::from_parts(20_331, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:0) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `TxPause::PausedCalls` (r:1 w:0) @@ -123,29 +122,28 @@ impl WeightInfo for SubstrateWeight { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `347 + m * (32 ±0)` - // Estimated: `3997 + m * (32 ±0)` - // Minimum execution time: 23_809_000 picoseconds. - Weight::from_parts(23_100_503, 3997) - // Standard Error: 86 - .saturating_add(Weight::from_parts(2_079, 0).saturating_mul(b.into())) - // Standard Error: 894 - .saturating_add(Weight::from_parts(34_299, 0).saturating_mul(m.into())) + // Measured: `380 + m * (32 ±0)` + // Estimated: `9913` + // Minimum execution time: 21_419_000 picoseconds. + Weight::from_parts(21_144_641, 9913) + // Standard Error: 53 + .saturating_add(Weight::from_parts(1_891, 0).saturating_mul(b.into())) + // Standard Error: 548 + .saturating_add(Weight::from_parts(25_753, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. @@ -153,70 +151,71 @@ impl WeightInfo for SubstrateWeight { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `784 + m * (32 ±0) + p * (9 ±0)` - // Estimated: `4126 + m * (34 ±0) + p * (8 ±0)` - // Minimum execution time: 38_696_000 picoseconds. - Weight::from_parts(39_306_985, 4126) - // Standard Error: 252 - .saturating_add(Weight::from_parts(3_524, 0).saturating_mul(b.into())) - // Standard Error: 2_630 - .saturating_add(Weight::from_parts(45_530, 0).saturating_mul(m.into())) - // Standard Error: 2_596 - .saturating_add(Weight::from_parts(147_589, 0).saturating_mul(p.into())) + // Measured: `817 + m * (32 ±0) + p * (9 ±0)` + // Estimated: `9913` + // Minimum execution time: 33_727_000 picoseconds. + Weight::from_parts(35_347_287, 9913) + // Standard Error: 208 + .saturating_add(Weight::from_parts(3_570, 0).saturating_mul(b.into())) + // Standard Error: 2_170 + .saturating_add(Weight::from_parts(38_351, 0).saturating_mul(m.into())) + // Standard Error: 2_143 + .saturating_add(Weight::from_parts(106_608, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_parts(0, 34).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 8).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `885 + m * (64 ±0)` - // Estimated: `4349 + m * (64 ±0)` - // Minimum execution time: 27_918_000 picoseconds. - Weight::from_parts(29_791_853, 4349) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(76_389, 0).saturating_mul(m.into())) + // Measured: `918 + m * (64 ±0)` + // Estimated: `9913` + // Minimum execution time: 23_785_000 picoseconds. + Weight::from_parts(24_927_232, 9913) + // Standard Error: 2_423 + .saturating_add(Weight::from_parts(65_271, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + m * (64 ±0) + p * (4 ±0)` - // Estimated: `3944 + m * (65 ±0) + p * (4 ±0)` - // Minimum execution time: 29_474_000 picoseconds. - Weight::from_parts(28_285_460, 3944) - // Standard Error: 1_352 - .saturating_add(Weight::from_parts(50_809, 0).saturating_mul(m.into())) - // Standard Error: 1_318 - .saturating_add(Weight::from_parts(111_593, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(p.into())) + // Measured: `885 + m * (64 ±0) + p * (8 ±0)` + // Estimated: `9913` + // Minimum execution time: 38_781_000 picoseconds. + Weight::from_parts(41_634_907, 9913) + // Standard Error: 1_524 + .saturating_add(Weight::from_parts(53_456, 0).saturating_mul(m.into())) + // Standard Error: 1_487 + .saturating_add(Weight::from_parts(113_725, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::PreimageFor` (r:1 w:0) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -229,58 +228,59 @@ impl WeightInfo for SubstrateWeight { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1337 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` - // Estimated: `4197809 + b * (1 ±0) + m * (67 ±0) + p * (12 ±0)` - // Minimum execution time: 55_524_000 picoseconds. - Weight::from_parts(52_710_395, 4197809) - // Standard Error: 209 - .saturating_add(Weight::from_parts(4_467, 0).saturating_mul(b.into())) - // Standard Error: 2_209 - .saturating_add(Weight::from_parts(54_659, 0).saturating_mul(m.into())) - // Standard Error: 2_153 - .saturating_add(Weight::from_parts(204_879, 0).saturating_mul(p.into())) + // Measured: `1370 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` + // Estimated: `4197809` + // Minimum execution time: 58_891_000 picoseconds. + Weight::from_parts(58_273_879, 4197809) + // Standard Error: 192 + .saturating_add(Weight::from_parts(4_125, 0).saturating_mul(b.into())) + // Standard Error: 2_030 + .saturating_add(Weight::from_parts(47_761, 0).saturating_mul(m.into())) + // Standard Error: 1_979 + .saturating_add(Weight::from_parts(141_971, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 12).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + m * (64 ±0) + p * (4 ±0)` - // Estimated: `3964 + m * (65 ±0) + p * (4 ±0)` - // Minimum execution time: 33_099_000 picoseconds. - Weight::from_parts(31_152_268, 3964) - // Standard Error: 1_267 - .saturating_add(Weight::from_parts(56_502, 0).saturating_mul(m.into())) - // Standard Error: 1_236 - .saturating_add(Weight::from_parts(108_693, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(p.into())) + // Measured: `905 + m * (64 ±0) + p * (8 ±0)` + // Estimated: `9913` + // Minimum execution time: 41_504_000 picoseconds. + Weight::from_parts(43_672_712, 9913) + // Standard Error: 1_559 + .saturating_add(Weight::from_parts(57_223, 0).saturating_mul(m.into())) + // Standard Error: 1_520 + .saturating_add(Weight::from_parts(118_502, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::PreimageFor` (r:1 w:0) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -293,71 +293,73 @@ impl WeightInfo for SubstrateWeight { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1357 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` - // Estimated: `4197809 + b * (1 ±0) + m * (67 ±0) + p * (12 ±0)` - // Minimum execution time: 59_244_000 picoseconds. - Weight::from_parts(60_828_233, 4197809) - // Standard Error: 222 - .saturating_add(Weight::from_parts(2_993, 0).saturating_mul(b.into())) - // Standard Error: 2_347 - .saturating_add(Weight::from_parts(34_144, 0).saturating_mul(m.into())) - // Standard Error: 2_288 - .saturating_add(Weight::from_parts(165_237, 0).saturating_mul(p.into())) + // Measured: `1390 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` + // Estimated: `4197809` + // Minimum execution time: 61_169_000 picoseconds. + Weight::from_parts(61_835_444, 4197809) + // Standard Error: 181 + .saturating_add(Weight::from_parts(3_842, 0).saturating_mul(b.into())) + // Standard Error: 1_917 + .saturating_add(Weight::from_parts(36_871, 0).saturating_mul(m.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(145_472, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 12).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `671 + p * (4 ±0)` - // Estimated: `4080 + p * (5 ±0)` - // Minimum execution time: 17_061_000 picoseconds. - Weight::from_parts(20_511_697, 4080) - // Standard Error: 1_437 - .saturating_add(Weight::from_parts(85_273, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(p.into())) + // Measured: `1158 + p * (9 ±0)` + // Estimated: `9913` + // Minimum execution time: 28_135_000 picoseconds. + Weight::from_parts(33_956_267, 9913) + // Standard Error: 3_010 + .saturating_add(Weight::from_parts(117_558, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } // For backwards compatibility and tests. impl WeightInfo for () { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:101 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3158 ±0)` - // Estimated: `3664 + m * (2057 ±23) + p * (4316 ±23)` - // Minimum execution time: 20_633_000 picoseconds. - Weight::from_parts(21_142_000, 3664) - // Standard Error: 58_900 - .saturating_add(Weight::from_parts(4_099_193, 0).saturating_mul(m.into())) - // Standard Error: 58_900 - .saturating_add(Weight::from_parts(8_924_934, 0).saturating_mul(p.into())) + // Estimated: `9913 + m * (330 ±45) + p * (8730 ±45)` + // Minimum execution time: 19_816_000 picoseconds. + Weight::from_parts(20_182_000, 9913) + // Standard Error: 58_734 + .saturating_add(Weight::from_parts(4_193_836, 0).saturating_mul(m.into())) + // Standard Error: 58_734 + .saturating_add(Weight::from_parts(8_671_699, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 2057).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4316).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 8730).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `TxPause::PausedCalls` (r:1 w:0) @@ -366,21 +368,20 @@ impl WeightInfo for () { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `347 + m * (32 ±0)` - // Estimated: `3997 + m * (32 ±0)` - // Minimum execution time: 21_535_000 picoseconds. - Weight::from_parts(20_771_819, 3997) - // Standard Error: 81 - .saturating_add(Weight::from_parts(2_116, 0).saturating_mul(b.into())) - // Standard Error: 841 - .saturating_add(Weight::from_parts(21_258, 0).saturating_mul(m.into())) + // Measured: `380 + m * (32 ±0)` + // Estimated: `4687` + // Minimum execution time: 19_336_000 picoseconds. + Weight::from_parts(18_094_092, 4687) + // Standard Error: 52 + .saturating_add(Weight::from_parts(2_312, 0).saturating_mul(b.into())) + // Standard Error: 544 + .saturating_add(Weight::from_parts(20_331, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:0) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `TxPause::PausedCalls` (r:1 w:0) @@ -389,29 +390,28 @@ impl WeightInfo for () { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `347 + m * (32 ±0)` - // Estimated: `3997 + m * (32 ±0)` - // Minimum execution time: 23_809_000 picoseconds. - Weight::from_parts(23_100_503, 3997) - // Standard Error: 86 - .saturating_add(Weight::from_parts(2_079, 0).saturating_mul(b.into())) - // Standard Error: 894 - .saturating_add(Weight::from_parts(34_299, 0).saturating_mul(m.into())) + // Measured: `380 + m * (32 ±0)` + // Estimated: `9913` + // Minimum execution time: 21_419_000 picoseconds. + Weight::from_parts(21_144_641, 9913) + // Standard Error: 53 + .saturating_add(Weight::from_parts(1_891, 0).saturating_mul(b.into())) + // Standard Error: 548 + .saturating_add(Weight::from_parts(25_753, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `b` is `[2, 1024]`. @@ -419,70 +419,71 @@ impl WeightInfo for () { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `784 + m * (32 ±0) + p * (9 ±0)` - // Estimated: `4126 + m * (34 ±0) + p * (8 ±0)` - // Minimum execution time: 38_696_000 picoseconds. - Weight::from_parts(39_306_985, 4126) - // Standard Error: 252 - .saturating_add(Weight::from_parts(3_524, 0).saturating_mul(b.into())) - // Standard Error: 2_630 - .saturating_add(Weight::from_parts(45_530, 0).saturating_mul(m.into())) - // Standard Error: 2_596 - .saturating_add(Weight::from_parts(147_589, 0).saturating_mul(p.into())) + // Measured: `817 + m * (32 ±0) + p * (9 ±0)` + // Estimated: `9913` + // Minimum execution time: 33_727_000 picoseconds. + Weight::from_parts(35_347_287, 9913) + // Standard Error: 208 + .saturating_add(Weight::from_parts(3_570, 0).saturating_mul(b.into())) + // Standard Error: 2_170 + .saturating_add(Weight::from_parts(38_351, 0).saturating_mul(m.into())) + // Standard Error: 2_143 + .saturating_add(Weight::from_parts(106_608, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) - .saturating_add(Weight::from_parts(0, 34).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 8).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `885 + m * (64 ±0)` - // Estimated: `4349 + m * (64 ±0)` - // Minimum execution time: 27_918_000 picoseconds. - Weight::from_parts(29_791_853, 4349) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(76_389, 0).saturating_mul(m.into())) + // Measured: `918 + m * (64 ±0)` + // Estimated: `9913` + // Minimum execution time: 23_785_000 picoseconds. + Weight::from_parts(24_927_232, 9913) + // Standard Error: 2_423 + .saturating_add(Weight::from_parts(65_271, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + m * (64 ±0) + p * (4 ±0)` - // Estimated: `3944 + m * (65 ±0) + p * (4 ±0)` - // Minimum execution time: 29_474_000 picoseconds. - Weight::from_parts(28_285_460, 3944) - // Standard Error: 1_352 - .saturating_add(Weight::from_parts(50_809, 0).saturating_mul(m.into())) - // Standard Error: 1_318 - .saturating_add(Weight::from_parts(111_593, 0).saturating_mul(p.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(p.into())) + // Measured: `885 + m * (64 ±0) + p * (8 ±0)` + // Estimated: `9913` + // Minimum execution time: 38_781_000 picoseconds. + Weight::from_parts(41_634_907, 9913) + // Standard Error: 1_524 + .saturating_add(Weight::from_parts(53_456, 0).saturating_mul(m.into())) + // Standard Error: 1_487 + .saturating_add(Weight::from_parts(113_725, 0).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::PreimageFor` (r:1 w:0) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -495,58 +496,59 @@ impl WeightInfo for () { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1337 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` - // Estimated: `4197809 + b * (1 ±0) + m * (67 ±0) + p * (12 ±0)` - // Minimum execution time: 55_524_000 picoseconds. - Weight::from_parts(52_710_395, 4197809) - // Standard Error: 209 - .saturating_add(Weight::from_parts(4_467, 0).saturating_mul(b.into())) - // Standard Error: 2_209 - .saturating_add(Weight::from_parts(54_659, 0).saturating_mul(m.into())) - // Standard Error: 2_153 - .saturating_add(Weight::from_parts(204_879, 0).saturating_mul(p.into())) + // Measured: `1370 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` + // Estimated: `4197809` + // Minimum execution time: 58_891_000 picoseconds. + Weight::from_parts(58_273_879, 4197809) + // Standard Error: 192 + .saturating_add(Weight::from_parts(4_125, 0).saturating_mul(b.into())) + // Standard Error: 2_030 + .saturating_add(Weight::from_parts(47_761, 0).saturating_mul(m.into())) + // Standard Error: 1_979 + .saturating_add(Weight::from_parts(141_971, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 12).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + m * (64 ±0) + p * (4 ±0)` - // Estimated: `3964 + m * (65 ±0) + p * (4 ±0)` - // Minimum execution time: 33_099_000 picoseconds. - Weight::from_parts(31_152_268, 3964) - // Standard Error: 1_267 - .saturating_add(Weight::from_parts(56_502, 0).saturating_mul(m.into())) - // Standard Error: 1_236 - .saturating_add(Weight::from_parts(108_693, 0).saturating_mul(p.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(p.into())) + // Measured: `905 + m * (64 ±0) + p * (8 ±0)` + // Estimated: `9913` + // Minimum execution time: 41_504_000 picoseconds. + Weight::from_parts(43_672_712, 9913) + // Standard Error: 1_559 + .saturating_add(Weight::from_parts(57_223, 0).saturating_mul(m.into())) + // Standard Error: 1_520 + .saturating_add(Weight::from_parts(118_502, 0).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Preimage::PreimageFor` (r:1 w:0) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -559,37 +561,39 @@ impl WeightInfo for () { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1357 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` - // Estimated: `4197809 + b * (1 ±0) + m * (67 ±0) + p * (12 ±0)` - // Minimum execution time: 59_244_000 picoseconds. - Weight::from_parts(60_828_233, 4197809) - // Standard Error: 222 - .saturating_add(Weight::from_parts(2_993, 0).saturating_mul(b.into())) - // Standard Error: 2_347 - .saturating_add(Weight::from_parts(34_144, 0).saturating_mul(m.into())) - // Standard Error: 2_288 - .saturating_add(Weight::from_parts(165_237, 0).saturating_mul(p.into())) + // Measured: `1390 + b * (1 ±0) + m * (64 ±0) + p * (12 ±0)` + // Estimated: `4197809` + // Minimum execution time: 61_169_000 picoseconds. + Weight::from_parts(61_835_444, 4197809) + // Standard Error: 181 + .saturating_add(Weight::from_parts(3_842, 0).saturating_mul(b.into())) + // Standard Error: 1_917 + .saturating_add(Weight::from_parts(36_871, 0).saturating_mul(m.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(145_472, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 12).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: Some(6448), added: 8923, mode: `MaxEncodedLen`) /// Storage: `Council::CounterForVoting` (r:1 w:1) /// Proof: `Council::CounterForVoting` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `671 + p * (4 ±0)` - // Estimated: `4080 + p * (5 ±0)` - // Minimum execution time: 17_061_000 picoseconds. - Weight::from_parts(20_511_697, 4080) - // Standard Error: 1_437 - .saturating_add(Weight::from_parts(85_273, 0).saturating_mul(p.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(p.into())) + // Measured: `1158 + p * (9 ±0)` + // Estimated: `9913` + // Minimum execution time: 28_135_000 picoseconds. + Weight::from_parts(33_956_267, 9913) + // Standard Error: 3_010 + .saturating_add(Weight::from_parts(117_558, 0).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } }